[Bug 1878] New: evdev keyboard driver, keycode issues

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 22 00:27:13 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://bugs.freedesktop.org/show_bug.cgi?id=1878        
   
           Summary: evdev keyboard driver, keycode issues
           Product: xorg
           Version: 6.8.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Input/Keyboard
        AssignedTo: xorg-bugzilla-noise at freedesktop.org
        ReportedBy: smurf at smurf.noris.de


I am trying to use one of my USB keyboards with this input setting:

Section "InputDevice"
    Identifier  "Keyboard"
    Driver      "kbd"
    Option      "Protocol"      "evdev"
    Option      "Dev Name"      "*Multimedia Keyboard*"

    Option      "AutoRepeat"    "250 30"
    Option      "XkbRules"      "xfree86"
    Option      "XkbModel"  "pc104"
    Option      "XkbLayout" "de"
EndSection

Everything works, with one exception: the key less/greater/bar, formerly keycode
94, has moved to keycode 7.

$ xev
[...]
KeyPress event, serial 24, synthetic NO, window 0x2c00001,
    root 0x3a, subw 0x0, time 33338310, (117,54), root:(195,131),
    state 0x0, keycode 7 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:

KeyRelease event, serial 24, synthetic NO, window 0x2c00001,
    root 0x3a, subw 0x0, time 33338310, (117,54), root:(195,131),
    state 0x0, keycode 7 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:

Unfortunately xmodmap refuses to assign any meaning to that key:

 $ xmodmap -e "keycode 7 = less greater bar"
xmodmap:  commandline:0:  bad keycode value (out of range)
xmodmap:  1 error encountered, aborting.
 $        
   
   
--         
Configure bugmail: https://bugs.freedesktop.org/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