Hej!
Jag har ett "Microsoft Natural Ergonomic Keyboard 4000 v1.0" (USB) och jag
får inte de numeriska tangentarna att fungera under GNOME på min Debian
Lenny-maskin (amd64). De fungerar fint i en terminal, men under X så ger
de varken piltangenter eller siffror.
Jag trodde först det var min .Xmodmap-fil som spökade (det har den gjort
förr), men det fungerar inte utan att ladda den, heller, så jag förstår inte
vad det är som händer.
"xev" visar konstiga saker när jag trycker på knapparna, trycker jag "0" får
jag en 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
Trycker jag "1" får jag en KeyRelease, plus ett gäng "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
Är det någon som har någon aning om vad det är som kan vara galet? Jag har
ett likadant tangentbord på en annan dator, som jag också kör GNOME och
Debian Lenny på (också den amd64) och där fungerar det bra.
Identifikation (från 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
Ur /etc/X11/xorg.conf:
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "microsoft"
Option "XkbLayout" "fi"
EndSection
("fi" av gammal vana; jag har testat med XKbModel både som "pc105" och
"microsoft", men det gör ingen skillnad).
Ur /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-swedish-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive:
http://lists.debian.org/alpine.deb.2.00.1108150852180.22...@ds9.cixit.se