| View previous topic :: View next topic |
| Author |
Message |
lagalopex Guru


Joined: 16 Oct 2004 Posts: 428
|
Posted: Mon Oct 05, 2009 12:31 pm Post subject: [SOLVED] uinput and evdev |
|
|
Hello!
I already have my mouse running with the evdev-driver. Now I wanted to use evdev for the keyboard as well.
I have some event-files in /dev/input/ having named symlinks (by udev: normal, special and extra)
My "normal" keyboard is working.
Then I have an additional event file for "special" keys that does not report any keypress (checked with xev) anymore.
And I have a uinput-driver that is creating an additinal event file ("extra") but xorg cant use it:
| Code: | (**) Option "SendCoreEvents"
(**) Keyboard3: always reports core events
(**) Keyboard3: Device: "/dev/input/extra"
(EE) Unable to open evdev device "/dev/input/extra".
(II) UnloadModule: "evdev"
(EE) PreInit returned NULL for "Keyboard3" |
In the config file I have for all three keyboards:
| Code: | Section "InputDevice"
Identifier "Keyboard1"
Driver "evdev"
Option "AutoRepeat" "500 30"
Option "XkbModel" "evdev"
Option "XkbLayout" "de"
Option "Device" "/dev/input/normal"
EndSection
...
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 2"
InputDevice "Mouse" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Keyboard2" "SendCoreEvents"
InputDevice "Keyboard3" "SendCoreEvents"
EndSection |
The main problem is the uinput events not working.
Its a stable amd64 system. _________________ System: AMD Phenom II X4 840, 16GB RAM, NVidia GeForce GT 520, ASUS M4A87TD/USB3, Raid, Seagate Constellation ES
AMD64 system slow/unresponsive during disk access...
Last edited by lagalopex on Mon Oct 05, 2009 2:19 pm; edited 1 time in total |
|
| Back to top |
|
 |
Mike Hunt Watchman


Joined: 19 Jul 2009 Posts: 5287
|
Posted: Mon Oct 05, 2009 12:43 pm Post subject: |
|
|
try adding this to xorg.conf | Code: | Section "ServerFlags"
Option "AllowEmptyInput" "false"
EndSection |
|
|
| Back to top |
|
 |
lagalopex Guru


Joined: 16 Oct 2004 Posts: 428
|
Posted: Mon Oct 05, 2009 2:19 pm Post subject: |
|
|
Thanks. Now is gets loaded. And the reason why xev did not see an event was the fact that the key was bound to global action due to changes in the keycodes.
So everything is fine now! _________________ System: AMD Phenom II X4 840, 16GB RAM, NVidia GeForce GT 520, ASUS M4A87TD/USB3, Raid, Seagate Constellation ES
AMD64 system slow/unresponsive during disk access... |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|