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. My bad, you are of course correct. >> 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? I have a CATC USB Chief hooked between the device and my FC4 box, I have a trace of all bus traffic during the enumeration process and beyond. At no time during the devices crash mode did it return a configuration containing a mass storage interface, only the debug interface. And yet, a few seconds after enumeration I see TEST UNIT READY being sent to Endpoint 2, which was one of the endpoints in the previously reported configuration. The config I see sent in response to the inquiry from the host doesn't contain an endpoint 2! I'll check dmesg and /proc/bus/usb/devices as well. >> 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. I'll give that a shot, this thing is certainly giving me heartburn. Thanks! ..ed.. ------------------------------------------------------- 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&kid0709&bid&3057&dat1642 _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
