On Wed, 17 May 2006, Edward Averill wrote:

> Ok, this is a weird one so please bear with me.
> 
> I have a device that has two endpoints active - a USB Mass Storage
> endpoint, and a vendor-specific endpoint that is used for debugging.

There's no such thing as a Mass Storage endpoint.  Maybe you mean a Mass 
Storage interface.

> When the device crashes, it electrically disconnects the USB and then
> reconnects - gets re-enumerated, this time with ONLY the debug endpoint
> - but my CATC bus analyzer shows FC4 still sending commands to the (now
> nonexistent) mass storage endpoint!

How can you be sure that the Mass Storage interface doesn't get 
enumerated?  What shows up in /proc/bus/usb/devices?  What does dmesg say?

> Stranger still, disconnecting the crashed device, rebooting the FC4 box,
> and plugging the device back in produces the same results - as if
> somehow there's been some state set somewhere and the Linux box refuses
> to believe that the mass storage portion of the device is gone even
> though it's not returning it in the configuration when it's enumerated..
> 
> Windows handles this fine, which is a source of irritation to me (lol).
> 
> All suggestions appreciated, this is causing some heartburn here.

If you want the kernel's-eye-view of what happens during enumeration, use 
the usbmon facility.  Instructions are in the kernel source, 
Documentation/usb/usbmon.txt.

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
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to