From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Vier Subject: Re: Bug#594089: keyboard-configuration: caps lock keycode problem Date: Wed, 27 Oct 2010 14:34:35 -0400 Message-ID: <4CC870BB.2050000@triadsys.com> References: <20101025045003.GA1438@core.coreip.homeip.net> <4CC58816.3090301@triadsys.com> <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> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <20101027160842.GB8745@core.coreip.homeip.net> Sender: linux-kernel-owner@vger.kernel.org To: Dmitry Torokhov Cc: Samuel Thibault , "594089@bugs.debian.org" <594089@bugs.debian.org>, "linux-input@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Jiri Kosina List-Id: linux-input@vger.kernel.org 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 thoug= h > 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/device= s > show? Maybe if Tom could compile and load evbug module it would show= us > where the additional events are coming form, becaus ethey surely are= not > generated by the keyboard itself (otherwise we'd have seen them in > evtest output for that device). Minor correction to what I wrote earlier about the scroll wheel. That i= s=20 actually my mouse. It says Dell but it's really made by Logitech. I just tried the console and what's funny is Favorites actually works a= s=20 Capslock and Previous works as right-shift. X has the opposite problem. In case anyone missed it, Debian Stable works fine with this keyboard.=20 The keyboard on the working Stable machine is exactly the same (same us= b=20 id's). I'm not familiar with the input stack, but in case it is a kerne= l=20 problem, the difference is: Stable dist, working: Linux zero 2.6.26-2-amd64 #1 SMP Thu Sep 16 15:56:38 UTC 2010 x86_64=20 GNU/Linux Testing dist, not working: Linux tom 2.6.32-5-amd64 #1 SMP Fri Sep 17 21:50:19 UTC 2010 x86_64=20 GNU/Linux /proc/bus/input/devices on the problem machine: I: Bus=3D0017 Vendor=3D0001 Product=3D0001 Version=3D0100 N: Name=3D"Macintosh mouse button emulation" P: Phys=3D S: Sysfs=3D/devices/virtual/input/input0 U: Uniq=3D H: Handlers=3Dmouse0 event0 B: EV=3D7 B: KEY=3D70000 0 0 0 0 B: REL=3D3 I: Bus=3D0003 Vendor=3D046d Product=3Dc016 Version=3D0110 N: Name=3D"Logitech Optical USB Mouse" P: Phys=3Dusb-0000:00:13.0-1/input0 S: Sysfs=3D/devices/pci0000:00/0000:00:13.0/usb5/5-1/5-1:1.0/input/inpu= t1 U: Uniq=3D H: Handlers=3Dmouse1 event1 B: EV=3D17 B: KEY=3D70000 0 0 0 0 B: REL=3D103 B: MSC=3D10 I: Bus=3D0019 Vendor=3D0000 Product=3D0001 Version=3D0000 N: Name=3D"Power Button" P: Phys=3DPNP0C0C/button/input0 S: Sysfs=3D/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input4 U: Uniq=3D H: Handlers=3Dkbd event4 B: EV=3D3 B: KEY=3D10000000000000 0 I: Bus=3D0019 Vendor=3D0000 Product=3D0001 Version=3D0000 N: Name=3D"Power Button" P: Phys=3DLNXPWRBN/button/input0 S: Sysfs=3D/devices/LNXSYSTM:00/LNXPWRBN:00/input/input5 U: Uniq=3D H: Handlers=3Dkbd event5 B: EV=3D3 B: KEY=3D10000000000000 0 I: Bus=3D0010 Vendor=3D001f Product=3D0001 Version=3D0100 N: Name=3D"PC Speaker" P: Phys=3Disa0061/input0 S: Sysfs=3D/devices/platform/pcspkr/input/input6 U: Uniq=3D H: Handlers=3Dkbd event6 B: EV=3D40001 B: SND=3D6 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/inpu= t9 U: Uniq=3D H: Handlers=3Dkbd event2 B: EV=3D120013 B: KEY=3D1000000000007 ff800000000007ff febeffdfffefffff ffffffffffffff= fe B: MSC=3D10 B: LED=3D1f 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/inpu= t10 U: Uniq=3D H: Handlers=3Dkbd mouse2 event3 B: EV=3D17 B: KEY=3Dfffffffffffff f8403340000 60d8fafd01d008 1f000000000000 0 B: REL=3D103 B: MSC=3D10 -- Tom Vier Senior Net/Sys Admin Triad Systems Engineering, Inc.