> 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
------------------------------------------------------- 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_idt12&alloc_id344&op=click _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel