Hello, I am trying to submit a control IRP packet to an USB device (UsbDevice. asyncSubmit(UsbControlIrp irp)) and I get the following Exception:
javax.usb.UsbException: Error submitting IRP : Device or resource busy at com.ibm.jusb.os.linux.LinuxPipeRequest.completeUsbIrp(LinuxPipeRequest.j ava:84) at com.ibm.jusb.os.linux.LinuxPipeRequest.setCompleted(LinuxPipeRequest.jav a:74) at com.ibm.jusb.os.linux.JavaxUsb.nativeDeviceProxy(Native Method) at com.ibm.jusb.os.linux.LinuxDeviceProxy$1.run(LinuxDeviceProxy.java:87) at java.lang.Thread.run(Thread.java:536) My question: I assume the problem is because Linux loads an USB driver for this device (keyboard driver). Is that true or is there some other issue to this problem? If it is true, how can I remove the driver? Thank you very much and kind regards, Tomaz My code: //I search for my USB device and put it into this.m_udDevice //create control IRP UsbControlIrp uciSetDescriptorRequest = this.m_udDevice.createUsbControlIrp( (byte) 0x21, (byte) 0x09, (short) 0x0300, (short) 0x0000); uciSetDescriptorRequest.setData(new byte[] {0x02}); //submit control IRP try { this.m_udDevice.syncSubmit(uciSetDescriptorRequest); //exception is thrown in above method } catch (IllegalArgumentException ex) { ex.printStackTrace(); } catch (UsbException ex) { ex.printStackTrace(); } ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idG21&alloc_id040&op=click _______________________________________________ javax-usb-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/javax-usb-devel