claim interface -> "busy"

View: New views
3 Messages — Rating Filter:   Alert me  

claim interface -> "busy"

by Manfred Weiss :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hello all!

when i try to open a 2nd device within my
program, i get a problem when i claim the
interface. The errorcode says "busy".

i do the following:

--Device A---
1) select the device list.
2) open the device of interest
3) and claim the interface 0.
4) release the device list using 1 for the scnd paramter to decrement
the reference counter.

--Device B---
1) select the device list.
3) open the device of interest
4) and claim the interface 0.
But here i get the error code "busy".

Thanks for your support and best regards
manfred


--
manfred weiss
student of telematics

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Libusb-devel mailing list
Libusb-devel@...
https://lists.sourceforge.net/lists/listinfo/libusb-devel

Re: claim interface -> "busy"

by Alan Stern :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 10 Nov 2009, Manfred Weiss wrote:

> hello all!
>
> when i try to open a 2nd device within my
> program, i get a problem when i claim the
> interface. The errorcode says "busy".
>
> i do the following:
>
> --Device A---
> 1) select the device list.
> 2) open the device of interest
> 3) and claim the interface 0.
> 4) release the device list using 1 for the scnd paramter to decrement
> the reference counter.
>
> --Device B---
> 1) select the device list.
> 3) open the device of interest
> 4) and claim the interface 0.
> But here i get the error code "busy".

Probably interface 0 on device B has already been claimed by a kernel
driver.  You will have to detach that other driver before you can claim
the interface.

Alan Stern


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Libusb-devel mailing list
Libusb-devel@...
https://lists.sourceforge.net/lists/listinfo/libusb-devel

Re: claim interface -> "busy"

by Manfred Weiss :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Manfred Weiss schrieb:
> hello all!
>
> when i try to open a 2nd device within my
> program, i get a problem when i claim the
> interface. The errorcode says "busy".
>

Sorry guys!

Was my fault. Since we use the new design
nothing is as it was...

manfred

--
manfred weiss
student of telematics


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Libusb-devel mailing list
Libusb-devel@...
https://lists.sourceforge.net/lists/listinfo/libusb-devel