On Mon, 16 May 2005, coin wrote: > > I think you missed the obvious bug. You don't pass the value, you pass > > the pointer. > > > > So something like: > > > > >> ioctl(fd, USBDEVFS_CLAIMINTERFACE, &interface); > > > > should do the trick. I hope this helps, > > > With &interface I got: > ioctl: Device or resource busy
No doubt because another driver, probably the HID driver, has already claimed the interface. What does /proc/bus/usb/devices show? 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
