On Mon, 1 May 2006, David Brownell wrote:

> I'd go for just removing all the "is it bus powered" logic, given that
> peripheral firmware doesn't seem to handle it reliably enough.  A comment
> about those firmware bugs would be useful.

Okay.

> On Monday 01 May 2006, Alan Stern wrote:
> > Now there's a bugzilla report (6448) in which it turns out that an Apacer 
> > MP3 player crashes when it receives the Get-Device-Status request!  
> 
> Yuck.  One nice thing about open source is that it's actually possible
> to fix bugs like that.  Has anyone found out what Apacer plans to do
> about that bug of theirs?  Reported them to USB-IF, if they're claiming
> to be USB 2.0 conformant?  :)

I haven't reported anything.  For that matter, I don't even know whether 
they do claim to be USB-2.0 conformant.

> Note that nothing was checking the GET_DEVICE_STATUS request; that
> probably failed, and the host should have logged a fault right instead
> of later.

>From the usbmon log, you can see that Get-Device-Status got a STALL and so
did the following Set-Configuration.  I'm assuming that means the firmware
crashed, although in fact it might not have been quite so bad.

There _was_ an error message in the kernel log, but it was for the failure
of the Set-Configuration, not the failure of the Get-Device-Status.  I 
didn't bother to report errors there since they didn't seem particularly 
important; the code was conservative and assumed the device was 
bus-powered unless it learned otherwise.

Alan Stern



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to