Hi!

I have a "Microsoft Natural Ergonomic Keyboard 4000 v1.0" (USB) and I am unable to get the numeric keypad to work under GNOME on my Debian Lenny box (amd64). They work fine in a console, but under X they neither work as arrow keys nor digits.

I first thought it was my .Xmodmap file that was playing tricks on me (it has done so before), but it does not work even when not loading it, so I have no clue about what is happening.

"xev" shows strange things when I press the keys, when pressing "0" I get a ButtonPress:

  ButtonPress event, serial 33, synthetic NO, window 0x3a00001,
      root 0x101, subw 0x0, time 3998372, (163,59), root:(306,1405),
      state 0x0, button 1, same_screen YES

Pressing "1" I get a KeyRelease, and a number of "MotionNotify":

  MotionNotify event, serial 33, synthetic NO, window 0x3a00001,
      root 0x101, subw 0x0, time 4039475, (163,13), root:(306,1359),
      state 0x0, is_hint 0, same_screen YES

  MotionNotify event, serial 33, synthetic NO, window 0x3a00001,
      root 0x101, subw 0x0, time 4039475, (163,13), root:(306,1359),
      state 0x0, is_hint 0, same_screen YES

  KeyRelease event, serial 33, synthetic NO, window 0x3a00001,
      root 0x101, subw 0x0, time 4039595, (163,13), root:(306,1359),
      state 0x0, keycode 87 (keysym 0xff9c, KP_End), same_screen YES,
      XLookupString gives 0 bytes:
      XFilterEvent returns: False

Does anyone have a clue about what is going wrong? I have an identical keyboard connected to another machine, which also runs GNOME and Debian Lenny (that too amd64) and there it works fine.


Identification (from dmesg):

  [    3.178041] usb 6-2: New USB device found, idVendor=045e, idProduct=00db
  [    3.178045] usb 6-2: New USB device strings: Mfr=1, Product=2, 
SerialNumber=0
  [    3.178048] usb 6-2: Product: Natural® Ergonomic Keyboard 4000
  [    3.178051] usb 6-2: Manufacturer: Microsoft
  [    3.178130] usb 6-2: configuration #1 chosen from 1 choice
  [    3.191321]  sda6 >
  [    3.191704] sd 0:0:0:0: [sda] Attached SCSI disk
  [    3.198364] input: Microsoft Natural® Ergonomic Keyboard 4000 as 
/devices/pci0000:00/0000:00:1d.1/usb6/6-2/6-2:1.0/input/input4
  [    3.198420] microsoft 0003:045E:00DB.0002: input,hidraw1: USB HID v1.11 
Keyboard [Microsoft Natural® Ergonomic Keyboard 4000] on 
usb-0000:00:1d.1-2/input0
  [    3.222269] input: Microsoft Natural® Ergonomic Keyboard 4000 as 
/devices/pci0000:00/0000:00:1d.1/usb6/6-2/6-2:1.1/input/input5
  [    3.222322] microsoft 0003:045E:00DB.0003: input,hidraw2: USB HID v1.11 
Device [Microsoft Natural® Ergonomic Keyboard 4000] on 
usb-0000:00:1d.1-2/input1



From /etc/X11/xorg.conf:

  Section "InputDevice"
   Identifier      "Generic Keyboard"
   Driver          "kbd"
   Option          "XkbRules"      "xorg"
   Option          "XkbModel"      "microsoft"
   Option          "XkbLayout"     "fi"
  EndSection

("fi" from old habits; I have tested with XKbModel both as "pc105" and "microsoft, but it makes no difference).


From /var/log/Xorg.0.log:

  (II) config/udev: Adding input device Microsoft Natural® Ergonomic Keyboard 
4000 (/dev/input/event4)
  (**) Microsoft Natural® Ergonomic Keyboard 4000: Applying InputClass "evdev 
keyboard catchall"
  (**) Microsoft Natural® Ergonomic Keyboard 4000: always reports core events
  (**) Microsoft Natural® Ergonomic Keyboard 4000: Device: "/dev/input/event4"
  (II) Microsoft Natural® Ergonomic Keyboard 4000: Found keys
  (II) Microsoft Natural® Ergonomic Keyboard 4000: Configuring as keyboard
  (II) XINPUT: Adding extended input device "Microsoft Natural® Ergonomic Keyboard 
4000" (type: KEYBOARD)
  (**) Option "xkb_rules" "evdev"
  (**) Option "xkb_model" "pc105"
  (**) Option "xkb_layout" "se"
  (II) config/udev: Adding input device Microsoft Natural® Ergonomic Keyboard 
4000 (/dev/input/event5)
  (**) Microsoft Natural® Ergonomic Keyboard 4000: Applying InputClass "evdev 
keyboard catchall"
  (**) Microsoft Natural® Ergonomic Keyboard 4000: always reports core events
  (**) Microsoft Natural® Ergonomic Keyboard 4000: Device: "/dev/input/event5"
  (II) Microsoft Natural® Ergonomic Keyboard 4000: Found 1 mouse buttons
  (II) Microsoft Natural® Ergonomic Keyboard 4000: Found scroll wheel(s)
  (II) Microsoft Natural® Ergonomic Keyboard 4000: Found relative axes
  (II) Microsoft Natural® Ergonomic Keyboard 4000: Found absolute axes
  (II) Microsoft Natural® Ergonomic Keyboard 4000: Found keys
  (II) Microsoft Natural® Ergonomic Keyboard 4000: Configuring as mouse
  (II) Microsoft Natural® Ergonomic Keyboard 4000: Configuring as keyboard
  (**) Microsoft Natural® Ergonomic Keyboard 4000: YAxisMapping: buttons 4 and 
5
  (**) Microsoft Natural® Ergonomic Keyboard 4000: EmulateWheelButton: 4, 
EmulateWheelInertia: 10, EmulateWheelTimeout: 200
  (II) XINPUT: Adding extended input device "Microsoft Natural® Ergonomic Keyboard 
4000" (type: KEYBOARD)
  (**) Option "xkb_rules" "evdev"
  (**) Option "xkb_model" "pc105"
  (**) Option "xkb_layout" "se"
  (EE) Microsoft Natural® Ergonomic Keyboard 4000: failed to initialize for 
relative axes.
  (II) Microsoft Natural® Ergonomic Keyboard 4000: initialized for absolute 
axes.

--
\\// Peter - http://www.softwolves.pp.se/


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/alpine.deb.2.00.1108171211180.3...@ds9.cixit.se

Reply via email to