On Mon, May 03, 2004, Greg KH <[EMAIL PROTECTED]> wrote: > On Mon, May 03, 2004 at 12:21:20PM +0200, Joerg Pommnitz wrote: > > Hello listees, > > we are struggling with a 3rd party USB device. It comes with its own > > firmware and its own Linux USB serial drivers. > > Which device and driver is this? Do you have a pointer to the driver? > > > Unfortunately the > > communication between the device and the user application seems to break > > down from time to time. This situation can easily be resolved by > > unplugging and then re-plugging the device. Unfortunately this requires > > manual intervention. > > While resolving the real issue would be the preferred way to deal with > > this problem, we would settle for a way to do a software unplug/re-plug. > > Do you want to do this from within the kernel, or from userspace? If > from within the kernel, you should be able to drop the power to a hub > port and reenable it, but I haven't checked to see if that works in a > long time.
Wouldn't usb_reset_device() work? That's assuming the device isn't totally and completely hosed. It can be done via usbfs as well. JE ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
