From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Torokhov Subject: Re: Bug#594089: keyboard-configuration: caps lock keycode problem Date: Wed, 27 Oct 2010 12:25:08 -0700 Message-ID: <20101027192508.GA29761@core.coreip.homeip.net> References: <20101025180320.GA4725@const.famille.thibault.fr> <4CC6E9D8.8010201@triadsys.com> <20101026161820.GE13097@core.coreip.homeip.net> <4CC7426C.8040502@triadsys.com> <20101027091029.GB28895@core.coreip.homeip.net> <20101027120513.GT4725@const.famille.thibault.fr> <99F91536-4413-430C-9932-7CEF6AB656DB@gmail.com> <20101027152242.GO4725@const.famille.thibault.fr> <20101027160842.GB8745@core.coreip.homeip.net> <4CC870BB.2050000@triadsys.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from mail-gy0-f174.google.com ([209.85.160.174]:45701 "EHLO mail-gy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755662Ab0J0TZQ (ORCPT ); Wed, 27 Oct 2010 15:25:16 -0400 Content-Disposition: inline In-Reply-To: <4CC870BB.2050000@triadsys.com> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Tom Vier Cc: Samuel Thibault , "594089@bugs.debian.org" <594089@bugs.debian.org>, "linux-input@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Jiri Kosina On Wed, Oct 27, 2010 at 02:34:35PM -0400, Tom Vier wrote: > On 10/27/2010 12:08 PM, Dmitry Torokhov wrote: > > On Wed, Oct 27, 2010 at 05:22:42PM +0200, Samuel Thibault wrote: > >> Dmitry Torokhov, le Wed 27 Oct 2010 08:06:26 -0700, a =E9crit : > >> Sure, but dumpkeys shows the table from scancodes to keycodes, not= from > >> input events to scancodes. > > > > I am just wondering if some of the translation is leaking even thou= gh > > the keyboard is in raw mode... > > > > OK, scratch that... Are there any other input devices? Anything > > connected via uinput and listening? What does /proc/bus/input/devic= es > > show? Maybe if Tom could compile and load evbug module it would sho= w us > > where the additional events are coming form, becaus ethey surely ar= e not > > generated by the keyboard itself (otherwise we'd have seen them in > > evtest output for that device). >=20 > Minor correction to what I wrote earlier about the scroll wheel. > That is actually my mouse. It says Dell but it's really made by > Logitech. >=20 > I just tried the console and what's funny is Favorites actually > works as Capslock and Previous works as right-shift. X has the > opposite problem. >=20 > In case anyone missed it, Debian Stable works fine with this > keyboard. The keyboard on the working Stable machine is exactly the > same (same usb id's). I'm not familiar with the input stack, but in > case it is a kernel problem, the difference is: >=20 > Stable dist, working: > Linux zero 2.6.26-2-amd64 #1 SMP Thu Sep 16 15:56:38 UTC 2010 x86_64 > GNU/Linux >=20 > Testing dist, not working: > Linux tom 2.6.32-5-amd64 #1 SMP Fri Sep 17 21:50:19 UTC 2010 x86_64 > GNU/Linux >=20 >=20 > /proc/bus/input/devices on the problem machine: >=20 =2E.. >=20 > I: Bus=3D0003 Vendor=3D046d Product=3Dc30a Version=3D0110 > N: Name=3D"Logitech Logitech USB Keyboard" > P: Phys=3Dusb-0000:00:13.0-2/input0 > S: Sysfs=3D/devices/pci0000:00/0000:00:13.0/usb5/5-2/5-2:1.0/input/in= put9 > U: Uniq=3D > H: Handlers=3Dkbd event2 > B: EV=3D120013 > B: KEY=3D1000000000007 ff800000000007ff febeffdfffefffff ffffffffffff= fffe > B: MSC=3D10 > B: LED=3D1f >=20 > I: Bus=3D0003 Vendor=3D046d Product=3Dc30a Version=3D0110 > N: Name=3D"Logitech Logitech USB Keyboard" > P: Phys=3Dusb-0000:00:13.0-2/input1 > S: Sysfs=3D/devices/pci0000:00/0000:00:13.0/usb5/5-2/5-2:1.1/input/in= put10 > U: Uniq=3D > H: Handlers=3Dkbd mouse2 event3 > B: EV=3D17 > B: KEY=3Dfffffffffffff f8403340000 60d8fafd01d008 1f000000000000 0 > B: REL=3D103 > B: MSC=3D10 >=20 Hmm, this keyboard registers 2 input devices... I wonder, if you press CapsLock/Favories and RightShift/Previous and monitor both event device= s with evtest - will it report events on both devices at once? --=20 Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-input" = in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html