David Brownell wrote:

Wes Janzen wrote:

I can't seem to open the hiddev device... The driver appears to install and the APC UPS is listed in lsusb with the driver HID, but I can't open it.

I suspect it is caused by this:
<7>drivers/usb/host/ehci-q.c: clear tt 00:0a.2-3 p3 buffer, a4 ep0
<3>drivers/usb/core/hub.c: usb-00:0a.2-3 clear tt 1 (0040) error -32
<7>drivers/usb/host/ehci-q.c: clear tt 00:0a.2-3 p3 buffer, a4 ep0
<3>drivers/usb/core/hub.c: usb-00:0a.2-3 clear tt 1 (0040) error -32


Translation:  an ep0 (control) OUT request stalled, so the device
with address 4 on port 3 of that transaction translating hub
supposedly left its transaction translator (TT) in a state that
needed to be cleared out.  But that TT didn't cooperate, maybe
because the wrong data was sent in the "clear tt" request; the
spec was not completely clear there.  (Repeats.)  Someone who
knows hubs better than I do should take a look.

This would be a 2.5 kernel.  There's something not quite right
in how the Transaction Translator (TT) state gets cleared
when certain errors come up ... it always seems to generate
messages.  But I've never seen it matter, despite what the
spec says those TT hubs need.

Does this happen if you don't use EHCI ... say, by hooking
this UPS up directly to a root hub, instead of through a
USB 2.0 hub?  Folk have had plenty of APC problems that don't
relate to that particular funky USB 2.0 feature.

Well, I don't get any message now...but it still doesn't work. It doesn't say what hiddev device it is attached to when I connect it, but if I loop through all 16 trying to open them, the open fails on every one. I thought it used to tell me which hiddev it was using when I connected it before, but maybe that was kernel 2.5.69. I'm using 2.5.73 now.

I'm able to connect to it in windows, so at least I know it is capable of connecting.


<7>drivers/usb/host/ehci-q.c: clear tt 00:0a.2-3 p3 buffer, a4 ep0
<7>drivers/usb/core/file.c: looking for a minor, starting at 0
<3>drivers/usb/core/hub.c: usb-00:0a.2-3 clear tt 1 (0040) error -32

I get those same error messages in my log when I try to open the hiddev for the UPS.


That "looking for a minor" suggests that whatever the problem was,
it got better...

- Dave




------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel




------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to