On Mon, 27 Jun 2005, Marco Schramel wrote: > Hi all, > > we have the problem that a read (bulk in) sometimes fails with > usb_control/bulk_msg: timeout. > Sometimes this happens, when the application is running, datas are transfers > and at the same time i call "cat /proc/bus/usb/devices". > Then our device does not answer. It only will answer when it is reseted (new > power on, it is selfpowered). > Is there any functionallity in usb for 2.4.25 to reset the hub port on which > this device is connected. Maybe this could help ... .
There's the USBDEVFS_RESET ioctl in usbfs. It works a lot better with recent 2.6 kernels than it does with rather old 2.4 kernels. Alan Stern ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
