On Mon, 16 May 2005, coin wrote:

> >         ctrl.ifno = 0; /* Interface number */
> >         ctrl.ioctl_code = USBDEVFS_DISCONNECT;
> >         ioctl(fd, USBDEBVFS_IOCTL, &ctrl);
> 
> I've disconnected with that code and I've recived success. But when I
> try to claim again, y receiv ioctl: Device or resource busy again.

Look in /proc/bus/usb/devices to see what's happening.

Alan Stern



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to