linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* keyboard problem with UP & PrintScrn
@ 2010-04-03 13:32 Ed Tomlinson
  2010-04-03 13:51 ` Ed Tomlinson
  0 siblings, 1 reply; 2+ messages in thread
From: Ed Tomlinson @ 2010-04-03 13:32 UTC (permalink / raw)
  To: linux-hotplug

Hi,

I reciently switched to xorg 1.8 which uses udev for keyboard setup when using evdev.  My UP and Printscrn 
keys  did not work (all other keys work as expected).  xev does not show the keypress events for either of these 
keys.  Googling lead me to /lib/udev/keymap.  Running this with the -i option also fails to show the keypress events.  
There is also a constant stream of null events from keymap -i with the keypress / keyrelease events  coming out in 
this stream when a key is pressed.

In xorg.conf I have:

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "evdev"
        option      "Device" "/dev/input/event0"
        option      "CoreKeyboard"
        option      "XkbModel" "pc105"
        option      "XkbLayout" "ca"
        option      "XkbVariant" "fr"
        Option      "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

and extracting from: udevadm info --export-db > /tmp/udev-db.txt"
I get:

P: /devices/platform/i8042
E: UDEV_LOG=3
E: DEVPATH=/devices/platform/i8042
E: DRIVER=i8042
E: MODALIAS=platform:i8042
E: SUBSYSTEM=platform

P: /devices/platform/i8042/serio0
E: UDEV_LOG=3
E: DEVPATH=/devices/platform/i8042/serio0
E: DRIVER=atkbd
E: SERIO_TYPE\x06
E: SERIO_PROTO\0
E: SERIO_ID\0
E: SERIO_EXTRA\0
E: MODALIAS=serio:ty06pr00id00ex00
E: SUBSYSTEM=serio
E: DMI_VENDOR=System manufacturer

P: /devices/platform/i8042/serio0/input/input0
E: UDEV_LOG=3
E: DEVPATH=/devices/platform/i8042/serio0/input/input0
E: PRODUCT\x11/1/1/ab41
E: NAME="AT Translated Set 2 keyboard"
E: PHYS="isa0060/serio0/input0"
E: EV=120013
E: KEY=402000000 3803078f800d001 feffffdfffefffff fffffffffffffffe
E: MSC=10
E: LED=7
E: MODALIAS=input:b0011v0001p0001eAB41-e0,1,4,11,14,k71,72,73,74,75,76,77,79,7A,7B,7C,7D,7E,7F,80,8C,8E,8F,9B,9C,9D,9E,9F,A3,A4,A5,A6,AC,AD,B7,B8,B9,D9,E2,ram4,l0,1,2,sfw
E: SUBSYSTEM=input

P: /devices/platform/i8042/serio0/input/input0/event0
N: input/event0
S: char/13:64
S: input/by-path/platform-i8042-serio-0-event-kbd
E: UDEV_LOG=3
E: DEVPATH=/devices/platform/i8042/serio0/input/input0/event0
E: MAJOR\x13
E: MINORd
E: DEVNAME=/dev/input/event0
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: ID_INPUT_KEYBOARD=1
E: ID_SERIAL=noserial
E: ID_PATH=platform-i8042-serio-0
E: DMI_VENDOR=System manufacturer
E: DEVLINKS=/dev/char/13:64 /dev/input/by-path/platform-i8042-serio-0-event-kbd

The kernel is 2.6.33.2 and udev is 151-r1 (gentoo)

How do we go about debugging this one?

Thanks
Ed Tomlinson

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: keyboard problem with UP & PrintScrn
  2010-04-03 13:32 keyboard problem with UP & PrintScrn Ed Tomlinson
@ 2010-04-03 13:51 ` Ed Tomlinson
  0 siblings, 0 replies; 2+ messages in thread
From: Ed Tomlinson @ 2010-04-03 13:51 UTC (permalink / raw)
  To: linux-hotplug

Hi,

Just realized that udev is just showing a single entry for a key press.  Unless the constant stream events
is not normal please ignore this.

Thanks
Ed

On Saturday 03 April 2010 09:32:34 Ed Tomlinson wrote:
> Hi,
> 
> I reciently switched to xorg 1.8 which uses udev for keyboard setup when using evdev.  My UP and Printscrn 
> keys  did not work (all other keys work as expected).  xev does not show the keypress events for either of these 
> keys.  Googling lead me to /lib/udev/keymap.  Running this with the -i option also fails to show the keypress events.  
> There is also a constant stream of null events from keymap -i with the keypress / keyrelease events  coming out in 
> this stream when a key is pressed.
> 
> In xorg.conf I have:
> 
> Section "InputDevice"
>         Identifier  "Keyboard0"
>         Driver      "evdev"
>         option      "Device" "/dev/input/event0"
>         option      "CoreKeyboard"
>         option      "XkbModel" "pc105"
>         option      "XkbLayout" "ca"
>         option      "XkbVariant" "fr"
>         Option      "XkbOptions" "terminate:ctrl_alt_bksp"
> EndSection
> 
> and extracting from: udevadm info --export-db > /tmp/udev-db.txt"
> I get:
> 
> P: /devices/platform/i8042
> E: UDEV_LOG=3
> E: DEVPATH=/devices/platform/i8042
> E: DRIVER=i8042
> E: MODALIAS=platform:i8042
> E: SUBSYSTEM=platform
> 
> P: /devices/platform/i8042/serio0
> E: UDEV_LOG=3
> E: DEVPATH=/devices/platform/i8042/serio0
> E: DRIVER=atkbd
> E: SERIO_TYPE\x06
> E: SERIO_PROTO\0
> E: SERIO_ID\0
> E: SERIO_EXTRA\0
> E: MODALIAS=serio:ty06pr00id00ex00
> E: SUBSYSTEM=serio
> E: DMI_VENDOR=System manufacturer
> 
> P: /devices/platform/i8042/serio0/input/input0
> E: UDEV_LOG=3
> E: DEVPATH=/devices/platform/i8042/serio0/input/input0
> E: PRODUCT\x11/1/1/ab41
> E: NAME="AT Translated Set 2 keyboard"
> E: PHYS="isa0060/serio0/input0"
> E: EV=120013
> E: KEY=402000000 3803078f800d001 feffffdfffefffff fffffffffffffffe
> E: MSC=10
> E: LED=7
> E: MODALIAS=input:b0011v0001p0001eAB41-e0,1,4,11,14,k71,72,73,74,75,76,77,79,7A,7B,7C,7D,7E,7F,80,8C,8E,8F,9B,9C,9D,9E,9F,A3,A4,A5,A6,AC,AD,B7,B8,B9,D9,E2,ram4,l0,1,2,sfw
> E: SUBSYSTEM=input
> 
> P: /devices/platform/i8042/serio0/input/input0/event0
> N: input/event0
> S: char/13:64
> S: input/by-path/platform-i8042-serio-0-event-kbd
> E: UDEV_LOG=3
> E: DEVPATH=/devices/platform/i8042/serio0/input/input0/event0
> E: MAJOR\x13
> E: MINORd
> E: DEVNAME=/dev/input/event0
> E: SUBSYSTEM=input
> E: ID_INPUT=1
> E: ID_INPUT_KEY=1
> E: ID_INPUT_KEYBOARD=1
> E: ID_SERIAL=noserial
> E: ID_PATH=platform-i8042-serio-0
> E: DMI_VENDOR=System manufacturer
> E: DEVLINKS=/dev/char/13:64 /dev/input/by-path/platform-i8042-serio-0-event-kbd
> 
> The kernel is 2.6.33.2 and udev is 151-r1 (gentoo)
> 
> How do we go about debugging this one?
> 
> Thanks
> Ed Tomlinson
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-03 13:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-03 13:32 keyboard problem with UP & PrintScrn Ed Tomlinson
2010-04-03 13:51 ` Ed Tomlinson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).