[Bug 968] New input driver for linux input devices (evdev)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Nov 4 02:58:56 PST 2004


Please do not reply to this email: if you want to comment on the bug, go to          
the URL shown below and enter yourcomments there.   
 
https://freedesktop.org/bugzilla/show_bug.cgi?id=968        
   




------- Additional Comments From olivier.chapuis at free.fr  2004-11-04 02:58 -------
(In reply to comment #9)
> Created an attachment (id=987)
 --> (https://freedesktop.org/bugzilla/attachment.cgi?id=987&action=view) [edit]
> Forgot the Imakefile [nt]
> 

I love the idea to have two detached keyboards. I tried the patch
and it does not seem to work (it works for mouse).
I get the following:

Config:

Section "InputDevice"
    Identifier "USBKeyboard"
    Driver "evdev"
    # today my usb keyboard is here
    Option "Device" "/dev/input/event2"
EndSection

Section "ServerLayout"
    ...
    InputDevice "USBKeyboard"
    ...
EndSection

Log at init:

(**) Option "AlwaysCore" "off"
(**) USBKeyboard: Device: "/dev/input/event2"
...
(II) XINPUT: Adding extended input device "USBKeyboard" (type: MOUSE)
...
(II) USBKeyboard: fd=7
(II) USBKeyboard: No button events available

result of "xinput list":

...
"USBKeyboard"  id=0    [XExtensionDevice]
        Num_keys is 129
        Min_keycode is 8
        Max_keycode is 136
...

But when I run  "xinput test USBKeyboard", each time I type
on a key I get (in Xorg.0.log):

LookupDeviceIntRec id=0x8 not found

and xinput report no key events.

Anyway I guess that to get two detached keyboards I need to have
2 USB keyboards using the evdev driver (one core keyboard and an
"Extension" keyboard)?
In other words, I've a laptop with a keyboard and I want to plug
an USB keyboard which will not generate core key events but only
XInput extended key events. Is this (potentially) possible with
your evdev driver? Or should I patch the linux kernel too?

Thanks, Olivier
        
   
   
--         
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email       
   
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the xorg-bugzilla-noise mailing list