From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755946Ab0J0TZS (ORCPT ); Wed, 27 Oct 2010 15:25:18 -0400 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 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; b=ZL8Fzlwn3QKNUt75eabJaZaNyKsg7EPh/t0qDOsE/tvMMBpJJcApyhQusafvSepCiR i5cTIwpAjFM6t8YEPsS+96SQyuZ2fa5e6yjpqneW2a1rwZEZ9p3IKP7pPnOrnBp8GALk 0hHEt/3JBr9xV4Y6GSkMGHZTSXj7KRVhAP2WE= Date: Wed, 27 Oct 2010 12:25:08 -0700 From: Dmitry Torokhov 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 Subject: Re: Bug#594089: keyboard-configuration: caps lock keycode problem 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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4CC870BB.2050000@triadsys.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 écrit : > >> 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 though > > 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/devices > > 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 is 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 as Capslock and Previous works as right-shift. X has the > opposite problem. > > 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: > > Stable dist, working: > Linux zero 2.6.26-2-amd64 #1 SMP Thu Sep 16 15:56:38 UTC 2010 x86_64 > 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 > GNU/Linux > > > /proc/bus/input/devices on the problem machine: > ... > > 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? -- Dmitry