Thanks, that's a good one - I didn't knew it.. What if I want to do a hard reset of the device? How do I do that kind of reset - of course, I wouldn't want to physically disconnect and reconnect the device?
Do I have to do usb_put_dev () for it, and then search for it from the beginning? Thanks.. --- Alan Stern <[EMAIL PROTECTED]> wrote: > On Fri, 21 Apr 2006, usb usb wrote: > > > That's exactly what I'm doing, but I ran into some > > issues. May be I haven't understood it properly.. > But, > > how do I get the usb_device struct of this new > (reset) > > device? > > There's a difference between a new device and a > reset device. New devices > get new usb_device structures, whereas a device that > has been reset > continues to use the same old structure as before. > > So after calling usb_reset_device (assuming no > errors occur) you don't > have to do anything -- you've already got the > usb_device. > > Alan Stern > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- 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 _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users