It sounds like there is already a driver driving your device (in the 2.6 kernel at least). In the file /proc/bus/usb/devices, if you find your device, does the I: line say that it has a driver? If so, you need to remove the driver if you want to drive it via javax.usb. If you use the UsbInterfacePolicy with the forceClaim() option set to true, you can kick the existing driver off and drive it yourself. You need a kernel version 2.4.23 or later (including 2.6).
On Thu, 10 Jun 2004, Sathya Peri wrote: >Hello Everyone, > > > I installed JSR on my system. I have a USB device Mag-Tek card reader with >which Iam trying to communicate using JSR javax.usb. But Iam having problem >with Interface claim. My device has only one interface under the active >configuration. Now whenever Iam trying to claim this interface, it is >failing. The exception that I get is :- Interface claim error: Device or >resource busy. > > Iam running this program on Fedora Core relase 2 (Tettnang). My Linux >kernel version is 2.6.5-1.3.58. But interestingly the same program if I run >in Mandrake Linux 9.2 and kernel version 2.4.22, it is working. The program >is able to claim the interface. > > So what do you think I should do? Any suggestions? > >Thanks >Sathya > > > >------------------------------------------------------- >This SF.Net email is sponsored by the new InstallShield X. >>From Windows to Linux, servers to mobile, InstallShield X is the >one installation-authoring solution that does it all. Learn more and >evaluate today! http://www.installshield.com/Dev2Dev/0504 >_______________________________________________ >javax-usb-devel mailing list >[EMAIL PROTECTED] >https://lists.sourceforge.net/lists/listinfo/javax-usb-devel > -- Dan Streetman [EMAIL PROTECTED] --------------------- 186,272 miles per second: It isn't just a good idea, it's the law! ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ javax-usb-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/javax-usb-devel