public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Adi J. Sieker" <adi@core.adi.io>
To: USB list <linux-usb@vger.kernel.org>
Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: USB keyboard recognized as HID keyboard but doesn't work
Date: Mon, 02 May 2011 22:49:54 +0200	[thread overview]
Message-ID: <4DBF18F2.80103@sieker.io> (raw)
In-Reply-To: <Pine.LNX.4.44L0.1105021622510.2106-100000@iolanthe.rowland.org>

[-- Attachment #1: Type: text/plain, Size: 1523 bytes --]

On 02/05/11 22:27, Alan Stern wrote:
> On Mon, 2 May 2011, Adi J. Sieker wrote:
>
>>> Something else that might help is a usbmon trace showing what happens
>>> when you plug in the keyboard.  Instructions are in the kernel source
>>> file Documentation/usb/usbmon.txt.  In particular, while running the
>>> test try pressing some of the normal keys that don't work.
>>>
>>
>> The attached file usbmon-working.out is the output when I pressed the
>> backspace key. When I press any of the non working keys which is
>> everything but the backspace and menu key. I don't get any output even
>> when using 0u.
>
> Sorry, I wasn't clear enough.  I meant for you to start the usbmon
> trace _before_ plugging in the keyboard, so we can see what happens as
> the keyboard is initialized and probed.
>

You were clear enough, I just couldn't read. :)

Attached is the usbmon trace when I plug the keyboard in.

lsusb shows the keyboard as:
Bus 002 Device 008: ID 060b:0230 Solid Year

Relevant section from /sys/kernel/debug/usb/devices
T:  Bus=02 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#=  8 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=060b ProdID=0230 Rev= 2.20
S:  Manufacturer=KB
S:  Product=USB Keyboard
C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=01 Driver=usbhid
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
I:* If#= 1 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid
E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms


Cheers
    Adi

[-- Attachment #2: usbmon.out --]
[-- Type: text/plain, Size: 3675 bytes --]

f7290780 1275690550 C Ii:2:002:1 0:2048 2 = 0200
f7290780 1275690564 S Ii:2:002:1 -115:2048 2 <
ed799a80 1275690577 S Ci:2:002:0 s a3 00 0000 0001 0004 4 <
ed799a80 1275690733 C Ci:2:002:0 0 4 = 01010100
ed799a80 1275690760 S Co:2:002:0 s 23 01 0010 0001 0000 0
ed799a80 1275690874 C Co:2:002:0 0 0
ed799a80 1275690896 S Co:2:002:0 s 23 03 0016 0001 0000 0
ed799a80 1275690994 C Co:2:002:0 0 0
ed799a80 1275691013 S Ci:2:002:0 s a3 00 0000 0001 0004 4 <
ed799a80 1275691108 C Ci:2:002:0 0 4 = 01010000
ed799a80 1275721328 S Ci:2:002:0 s a3 00 0000 0001 0004 4 <
ed799a80 1275721498 C Ci:2:002:0 0 4 = 01010000
ed799a80 1275753292 S Ci:2:002:0 s a3 00 0000 0001 0004 4 <
ed799a80 1275753488 C Ci:2:002:0 0 4 = 01010000
ed799a80 1275785291 S Ci:2:002:0 s a3 00 0000 0001 0004 4 <
ed799a80 1275785487 C Ci:2:002:0 0 4 = 01010000
ed799a80 1275817293 S Ci:2:002:0 s a3 00 0000 0001 0004 4 <
ed799a80 1275817494 C Ci:2:002:0 0 4 = 01010000
ed799a80 1275817523 S Co:2:002:0 s 23 03 0004 0001 0000 0
ed799a80 1275817611 C Co:2:002:0 0 0
ed799a80 1275833290 S Ci:2:002:0 s a3 00 0000 0001 0004 4 <
ed799a80 1275833487 C Ci:2:002:0 0 4 = 03031000
ed799a80 1275889293 S Co:2:002:0 s 23 01 0014 0001 0000 0
ed799a80 1275889496 C Co:2:002:0 0 0
ed799a80 1275889532 S Ci:2:000:0 s 80 06 0100 0000 0040 64 <
ed799a80 1275892102 C Ci:2:000:0 0 18 = 12011001 00000008 0b063002 20020102 0001
ed799a80 1275892117 S Co:2:002:0 s 23 03 0004 0001 0000 0
ed799a80 1275892202 C Co:2:002:0 0 0
ed799a80 1275909792 S Ci:2:002:0 s a3 00 0000 0001 0004 4 <
ed799a80 1275910014 C Ci:2:002:0 0 4 = 03031000
f7290780 1275946520 C Ii:2:002:1 0:2048 2 = 0200
f7290780 1275946525 S Ii:2:002:1 -115:2048 2 <
ed799a80 1275965292 S Co:2:002:0 s 23 01 0014 0001 0000 0
ed799a80 1275965488 C Co:2:002:0 0 0
ed799a80 1275965498 S Co:2:000:0 s 00 05 0008 0000 0000 0
ed799a80 1275966256 C Co:2:000:0 0 0
ed799a80 1275985295 S Ci:2:008:0 s 80 06 0100 0000 0012 18 <
ed799a80 1275988172 C Ci:2:008:0 0 18 = 12011001 00000008 0b063002 20020102 0001
ed799a80 1275988197 S Ci:2:008:0 s 80 06 0200 0000 0009 9 <
ed799a80 1275990297 C Ci:2:008:0 0 9 = 09023b00 020100a0 32
ed799a80 1275990322 S Ci:2:008:0 s 80 06 0200 0000 003b 59 <
ed799a80 1275996802 C Ci:2:008:0 0 59 = 09023b00 020100a0 32090400 00010301 01000921 10010001 224b0007 05810308
ed799a80 1275996831 S Ci:2:008:0 s 80 06 0300 0000 00ff 255 <
ed799a80 1275998034 C Ci:2:008:0 0 4 = 04030904
ed799a80 1275998059 S Ci:2:008:0 s 80 06 0302 0409 00ff 255 <
ed799a80 1276001661 C Ci:2:008:0 0 26 = 1a035500 53004200 20004b00 65007900 62006f00 61007200 6400
ed799a80 1276001690 S Ci:2:008:0 s 80 06 0301 0409 00ff 255 <
ed799a80 1276002925 C Ci:2:008:0 0 6 = 06034b00 4200
ed799a80 1276003106 S Co:2:008:0 s 00 09 0001 0000 0000 0
ed799a80 1276004260 C Co:2:008:0 0 0
ed799a80 1276004420 S Co:2:008:0 s 21 0a 0000 0000 0000 0
ed799a80 1276005203 C Co:2:008:0 0 0
ed799a80 1276005225 S Ci:2:008:0 s 81 06 2200 0000 004b 75 <
ed799a80 1276013206 C Ci:2:008:0 0 75 = 05010906 a1010507 19e029e7 15002501 75019508 81029501 75088101 95037501
ee1bd480 1276013657 S Co:2:008:0 s 21 09 0200 0000 0001 1 = 00
ee1bd280 1276013838 S Ii:2:008:1 -115:8 8 <
ee1bdb00 1276014194 S Co:2:008:0 s 21 0a 0000 0001 0000 0
ee1bd480 1276014952 C Co:2:008:0 0 1 >
ee1bdb00 1276015579 C Co:2:008:0 -32 0
ee1bdb00 1276015635 S Ci:2:008:0 s 81 06 2200 0001 006c 108 <
ee1bdb00 1276026705 C Ci:2:008:0 0 108 = 05010980 a1018501 19812983 15002501 95037501 81029501 75058101 c0050c09
ee11ad80 1276027069 S Ci:2:002:0 s a3 00 0000 0001 0004 4 <
ee11ad80 1276027199 C Ci:2:002:0 0 4 = 03030000
ee1bd480 1276051645 S Co:2:008:0 s 21 09 0200 0000 0001 1 = 01
ee1bd480 1276052955 C Co:2:008:0 0 1 >

  reply	other threads:[~2011-05-02 20:50 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-30 20:23 USB keyboard recognized as HID keyboard but doesn't work Adi J. Sieker
2011-05-01  7:53 ` Oliver Neukum
2011-05-01 17:49   ` Adi J. Sieker
2011-05-02 14:04     ` Alan Stern
2011-05-02 19:35       ` Adi J. Sieker
2011-05-02 20:27         ` Alan Stern
2011-05-02 20:49           ` Adi J. Sieker [this message]
     [not found] <4DBF16D8.8040209@sieker.io>
2011-05-02 21:06 ` Alan Stern
2011-05-02 21:19   ` Adi J. Sieker
2011-05-02 22:29     ` Alan Stern
2011-05-03  9:40       ` Adi J. Sieker
2011-05-03 13:49         ` Alan Stern
2011-05-06 12:58           ` Jiri Kosina
2011-05-06 13:59             ` Adi J. Sieker
2011-05-07 22:24               ` Christoph Fritz
2011-05-08 19:51                 ` Adi J. Sieker
2011-05-08 21:26                   ` Christoph Fritz
2011-05-10  8:24                 ` Adi J. Sieker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DBF18F2.80103@sieker.io \
    --to=adi@core.adi.io \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox