Re: Bug#594089: keyboard-configuration: caps lock keycode problem

From: Dmitry Torokhov
Date: Wed Oct 27 2010 - 16:26:04 EST


On Wednesday, October 27, 2010 01:20:09 pm H Hartley Sweeten wrote:
> Wednesday, October 27, 2010 12:25 PM, Dmitry Torokhov wrote:
> >> I: Bus=0003 Vendor=046d Product=c30a Version=0110
> >> N: Name="Logitech Logitech USB Keyboard"
> >> P: Phys=usb-0000:00:13.0-2/input0
> >> S: Sysfs=/devices/pci0000:00/0000:00:13.0/usb5/5-2/5-2:1.0/input/input9
> >> U: Uniq=
> >> H: Handlers=kbd event2
> >> B: EV=120013
> >> B: KEY=1000000000007 ff800000000007ff febeffdfffefffff fffffffffffffffe
> >> B: MSC=10
> >> B: LED=1f
> >>
> >> I: Bus=0003 Vendor=046d Product=c30a Version=0110
> >> N: Name="Logitech Logitech USB Keyboard"
> >> P: Phys=usb-0000:00:13.0-2/input1
> >> S: Sysfs=/devices/pci0000:00/0000:00:13.0/usb5/5-2/5-2:1.1/input/input10
> >> U: Uniq=
> >> H: Handlers=kbd mouse2 event3
> >> B: EV=17
> >> B: KEY=fffffffffffff f8403340000 60d8fafd01d008 1f000000000000 0
> >> B: REL=103
> >> B: MSC=10
> >
> > Hmm, this keyboard registers 2 input devices... I wonder, if you press
> > CapsLock/Favories and RightShift/Previous and monitor both event devices
> > with evtest - will it report events on both devices at once?
>
> I haven't really been following this thread but I think the two input
> devices is normal if the keyboard has multi-media keys. All the "extra"
> keys show up as a separate input device.
>
> You might get the CapsLock and RightShift events on one device and the
> Favorites and Previous events on the other.

It is normal on sane devices however in this case there are "ghost"
key presses coming from an unknown source.


--
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/