I am trying to test a USB headset on a intel-based Mac running OS X. I am running the USB View demo app, and can see the device....but when I open the USB Test Application for that device (or for any USB device, it seems) and click the 'Open Device' button, I get a USBException 'Device not opened for exclusive access'. I've googled around for a solution but have yet to come across one....if anybody has any idea how to figure out whats keeping the device from opening and how to fix the problem, please let me know.
Regards,
Chris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Gave up on a Java-based solution to reading the USB port....never could figure out how to solve the exclusive access problem. We decided to go with RealBasic with a plugin that reads human interface devices....worked like a charm!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I got the following USBException when trying to open a device on a intel-based Mac OS X: LibusbJava.ust_set_configuration: usb_set_configuration(SetConfiguration): device not opened for exclusive access.
I observed a similar error (not the same) in Ubuntu 7.10 regarding access permission when trying to call the function usb_set_configuration(). I've found some references that point to add a new rule file for udev in order to give permission for a group and it worked fine for me.
Does someone have any idea how can we solve this problem for Mac OS X ?
Regards,
-- Euclides
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Unfortunately I don't know the solution to the problem. You may get some more help on the libusb mailing list http://sourceforge.net/mail/?group_id=1674 as this question is not a problem related to libusbjava but the underlying libusb.
Regards, Spandi
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to test a USB headset on a intel-based Mac running OS X. I am running the USB View demo app, and can see the device....but when I open the USB Test Application for that device (or for any USB device, it seems) and click the 'Open Device' button, I get a USBException 'Device not opened for exclusive access'. I've googled around for a solution but have yet to come across one....if anybody has any idea how to figure out whats keeping the device from opening and how to fix the problem, please let me know.
Regards,
Chris
Gave up on a Java-based solution to reading the USB port....never could figure out how to solve the exclusive access problem. We decided to go with RealBasic with a plugin that reads human interface devices....worked like a charm!
I got the following USBException when trying to open a device on a intel-based Mac OS X: LibusbJava.ust_set_configuration: usb_set_configuration(SetConfiguration): device not opened for exclusive access.
I observed a similar error (not the same) in Ubuntu 7.10 regarding access permission when trying to call the function usb_set_configuration(). I've found some references that point to add a new rule file for udev in order to give permission for a group and it worked fine for me.
Does someone have any idea how can we solve this problem for Mac OS X ?
Regards,
-- Euclides
Hi
Unfortunately I don't know the solution to the problem. You may get some more help on the libusb mailing list http://sourceforge.net/mail/?group_id=1674 as this question is not a problem related to libusbjava but the underlying libusb.
Regards, Spandi