public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Adi J. Sieker" <adi@core.adi.io>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Jiri Kosina <jkosina@suse.cz>, Oliver Neukum <oliver@neukum.org>,
	USB list <linux-usb@vger.kernel.org>,
	linux-input@vger.kernel.org,
	Kernel development list <linux-kernel@vger.kernel.org>
Subject: Re: USB keyboard recognized as HID keyboard but doesn't work
Date: Tue, 03 May 2011 11:40:24 +0200	[thread overview]
Message-ID: <4DBFCD88.6020900@sieker.io> (raw)
In-Reply-To: <Pine.LNX.4.44L0.1105021826040.8810-100000@netrider.rowland.org>

On 03/05/11 00:29, Alan Stern wrote:
> On Mon, 2 May 2011, Adi J. Sieker wrote:
>
>>> Interestingly, the usbmon trace shows that the interrupt endpoint for
>>> interface 1 isn't being used by usbhid.  I don't know why, but it
>>> shouldn't make much difference for your purposes since that interface
>>> appears to be associated with the gaming interface.  But maybe I'm
>>> wrong and it is important somehow...
>>>
>>> The other noticeable thing is that the keyboard didn't accept the
>>> Set-Idle request for interface 1.
>>>
>>> You said before that the keyboard worked okay when driven by a guest
>>> Windows OS, right?  Can you collect an equivalent usbmon trace for
>>> that?  Comparing the two traces may be instructive.
>>
>> I hope this is what you meant. :)
>> Attached is a usbmon trace when I attach the keyboard to a VBox VM
>> running a Windows XP guest. I have no idea how to get a USB trace from
>> within Windows. The last block is when I pressed h twice in the Windows
>> XP guest.
>
> This is perfect.  It shows that the H key is reported using the
> interrupt endpoint on interface 1, which explains why it's not working
> with usbhid.  It also shows that the rejected Set-Idle request doesn't
> matter.
>
Do you know of a way for me to tell the kernel/usbhid to use interface 1 
and ignore interface 0?

Thanks
    Adi

  reply	other threads:[~2011-05-03  9:40 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4DBF16D8.8040209@sieker.io>
2011-05-02 21:06 ` USB keyboard recognized as HID keyboard but doesn't work 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 [this message]
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
2011-04-30 20:23 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

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=4DBFCD88.6020900@sieker.io \
    --to=adi@core.adi.io \
    --cc=jkosina@suse.cz \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=oliver@neukum.org \
    --cc=stern@rowland.harvard.edu \
    /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