Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Multiple libusb_open for same device

Status
Not open for further replies.

Mai Said

Newbie level 1
Joined
Aug 5, 2015
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
9
I am using libusb-1.0 , when I try to call libusb_open multiple times back to back for the same device , it succeeds in the first call and returns -3 ( error-access) in the next time. Is this scenario guaranteed to always occur. Does libusb prevents multiple open to same device from the same process or different processes?
pseudo code to my scenario:
libusb_open(id)
libusb_open(same_id)

If libusb allow multiple open to same device, is there a way to avoid that or a parameter to set to make only one open allowed per usb device.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top