Good questions, see the new FAQ entries: http://javax-usb.org/faq.html#busy_error http://javax-usb.org/faq.html#force_claim
On Mon, 12 Dec 2005, Kiser, Nicholas R wrote: >Dan, > >I have a few more questions about claiming the USB interface. I guess >I'm a little confused on how to actually call the forceClaim method. In >your initial response you mentioned that I call it through an instance of >the UsbInterfacePolicy. How is it that I actually get that instance? >Are there any repercussions to releasing an interface that has been >forcibly claimed? > >Thanks for all of your help, > >Nick > > > >-----Original Message----- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dan >Streetman >Sent: Tuesday, December 06, 2005 3:28 PM >To: Kiser, Nicholas R >Subject: Re: USB Resource Busy Question > > > >A Linux kernel driver is driving your device, you need to use the >"forceClaim" method of a UsbInterfacePolicy instance when you claim the >interface. This will kick the existing driver off your interface. Do >that only for USB devices you really want to drive. > >On Tue, 6 Dec 2005, Kiser, Nicholas R wrote: > >>Dan, >> >>I am trying to use the JSR80 API to talk to a USB device. Every time I try >>to claim the device's interface I get an error saying that the "device or >>resource" is busy. It doesn't appear that any other programs are talking to >>the device since all I'm doing is connecting it to the computer and running >>my application. I have looked all over online for information on this, but >>have had no luck. Have you seen this before? Do you have any idea why this >>might be occuring? >> >>Thanks, >> >>Nick Kiser >> > > -- 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ javax-usb-devel mailing list javax-usb-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/javax-usb-devel