diff options
author | Chris Michael <cp.michael@samsung.com> | 2015-01-13 15:35:55 -0500 |
---|---|---|
committer | Chris Michael <cp.michael@samsung.com> | 2015-01-13 15:35:55 -0500 |
commit | 0c105e4f68e57a1559a4152c885646ca7d51f7e5 (patch) | |
tree | 9510b060d59bf6d41577988dc1da07cc9d92cbff /src/lib/ecore_drm/ecore_drm_tty.c | |
parent | 6b1e62afa4a6f1b6f76425945315ff9043b1062e (diff) |
ecore-drm: Re-enable setting K_OFF keyboard mode
Summary: Now that things are shaping up, we can re-enable the K_OFF
tty mode which will help with buffering input, etc.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_drm/ecore_drm_tty.c')
-rw-r--r-- | src/lib/ecore_drm/ecore_drm_tty.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_tty.c b/src/lib/ecore_drm/ecore_drm_tty.c index 2bf7027f9f..0a0c51c063 100644 --- a/src/lib/ecore_drm/ecore_drm_tty.c +++ b/src/lib/ecore_drm/ecore_drm_tty.c | |||
@@ -51,13 +51,12 @@ _ecore_drm_tty_setup(Ecore_Drm_Device *dev) | |||
51 | return EINA_FALSE; | 51 | return EINA_FALSE; |
52 | } | 52 | } |
53 | 53 | ||
54 | /* NB: Don't set this. This Turns OFF keyboard on the VT */ | 54 | if (ioctl(dev->tty.fd, KDSKBMUTE, 1) && |
55 | /* if (ioctl(dev->tty.fd, KDSKBMUTE, 1) && */ | 55 | ioctl(dev->tty.fd, KDSKBMODE, K_OFF)) |
56 | /* ioctl(dev->tty.fd, KDSKBMODE, K_OFF)) */ | 56 | { |
57 | /* { */ | 57 | ERR("Could not set K_OFF keyboard mode: %m"); |
58 | /* ERR("Could not set K_OFF keyboard mode: %m"); */ | 58 | return EINA_FALSE; |
59 | /* return EINA_FALSE; */ | 59 | } |
60 | /* } */ | ||
61 | 60 | ||
62 | if (kmode != KD_GRAPHICS) | 61 | if (kmode != KD_GRAPHICS) |
63 | { | 62 | { |