----- Original Message ----- From: "Matthew Bell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 30, 2003 6:56 PM Subject: [Linux-usb-users] USBDEVFS timeouts
> Hi, > I'm developing a userspace management daemon for the Alcatel ADSL USB modem with > the kernel driver written by Luca Barbieri (mostly aggregating various patches > by various people, finishing documentation, cleaning up interfaces). However, I > am having some trouble with the USBDEVFS subsystem: The modem has 3 interfaces: > 0, 1, 2; if 0 appears to be a standard INT/control endpoint; if 1 is the data > BULK interface used by the kernel driver; if 2 is the code BULK interface used > to upload the microcode to the modem; If I claim the interfaces 0, and 2 in the > userspace daemon at the same time and then try to perform bulk transfers on if > 2, they all fail with the following errors to syslog: > usb_control/bulk_msg: timeout > usbdevfs: USBDEVFS_BULK failed dev 02 ep 0x85 len 200 ret -110 > However, if I claim if 0 _after_ performing the transfers, I get no timeout > errors. I do not understand why this is happening, and was hoping that you might > be able to shed some light on the situation. Obviously, I have worked around the > problem, but, as the code stands, it is preventing me solving some issues > cleanly. If you want to help but need more information I can provide more > complete source code. > TIA Well, be warned that I don't really know what I'm doing. My issue seems only tangentially related to yours so feel free to discard this info. I have an external SanDisk USB dual-format memory card reader (Compact Flash/Smart Media). I found under both RedHat 8 and Mandrake 9, whenever I looked at a JPEG file on a SmartMedia card in the SanDisk via a browser, the SmartMedia card would get disconnected - the light for the card would go out, but the power light would stay on. Normally, this would lock up my entire system - only a hard reset would work. Now, in a totally different problem, RedHat 8.0 didn't install an SMP kernel on my dual Pentium MMX system. Following a lead on a RedHat forum, I downloaded an errata SMP kernel and installed it. Now I had a problem in that my SanDisk was getting mounted *before* my real SCSI drives, messing up device assignment and making the system unbootable. I followed the directions here: http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=77244 and this accomplished two things: (1) it stopped the SanDisk from getting mounted before my SCSI hard drives (2) it has stopped my memory card from getting disconnected after an access Maybe this will help you. ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
