Re: 04d9:a055: Trust GXT 18 Gaming Keyboard: error -22

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 26 Nov 2011, Sergey Spiridonov wrote:

> 26.11.2011 16:37, Alan Stern пишет:
> 
> > Telling me about it doesn't do much good if you don't include any 
> > debugging information, such as the dmesg log and perhaps also the 
> > usbmon trace.  Try the notebook, since it doesn't have lots of other 
> > USB devices to confuse the issue.  In fact, try unplugging the mouse 
> > from the notebook before plugging in the keyboard.
> 
> Sorry. Dmesg error was the same -22, that is why i did not send dmesg
> output.
> 
> I tried as you told, to disconnect all USB devices, including mouse and
> connect only this keyboard. I did it on 2 notebooks, one is Maxdata
> O.book, another is Toshiba Satellite. O.book has some built-in USB
> devices which I can not disconnect, Satellite has no built-in USB
> devices. I also mounted debugfs and redirected output from 0u socket
> into file.
> 
> You can find lsusb -v, usbmon and dmesg output for both notebooks in
> attachment.
> 
> Everything was done on Debian Squeeze, kernel 2.6.32. I have here also
> Livecd with Suse 12.1 with kernel 3.1, so I can repeat this with this
> kernel if needed.

It might be a good idea to try with the more recent kernel.  Whatever 
the problem was, it may have been fixed already.

After looking through all this, I don't see the cause of your error.  
Only one thing went wrong: the keyboard sent a STALL when it received
the Set Idle request for the second interface.  But the usbhid driver
ignores errors for Set Idle, so that shouldn't have mattered.

Maybe something was wrong with the report descriptor for the second
interface.  The usbmon log showed that everything stopped after that
descriptor was received.  But I don't know what might be wrong or how
to fix it.

Jiri is more familiar with all this stuff; perhaps he can help.

There's one more thing you can do if the newer kernel still doesn't
work: Run "rmmod usbhid" before doing "lsusb -v" on the Satellite
notebook (with the keyboard plugged in and nothing else, of course).  
That will enable lsusb to get the report descriptor and print it out.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux