Hello! I'm using javax.usb together with jsyncmanager (or trying to) to sync my Palm PDA. Unfortunately I get an error when trying to sync:
javax.usb.UsbException: Could not claim interface : Device or resource busy I have tryed the example UsbView app and was able to navigate to the device's UsbInterface. I tryed claiming it with and without UsbInterfacePolicy and forceClaim but it gave the same error. Anybody has any ideas what could be wrong? (System info at the end) Also, I have to run the application as root, since I don't see all devices as a normal user. Is there any way I can set javax.usb up so it will read usb correctly even when run by a normal user? Thanks! System info: Linux 2.4.25-gentoo-r2 $ lsmod visor 11400 0 (unused) usbserial 17372 0 [visor] $ lsusb Bus 004 Device 017: ID 0830:0060 Palm, Inc. Palm Tungsten T $ java com.ibm.jusb.tools.UsbView UsbDevice (Palm Handheld ) Manufacturer : Palm, Inc. Product : Palm Handheld Serial Number : Speed : Full Is Configured : true Active UsbConfiguration Number : 1 bLength : 18 bDescriptorType : 0x01 bcdUSB : 0100 bDeviceClass : 0x00 bDeviceSubClass : 0x00 bDeviceProtocol : 0x00 bMaxPacketSize0 : 16 idVendor : 0x0830 idProduct : 0x0060 bcdDevice : 0100 iManufacturer : 1 iProduct : 2 iSerialNumber : 5 bNumConfigurations : 1 UsbConfiguration 1 Configuration String : <undefined> Is Active : true bLength : 9 bDescriptorType : 0x02 wTotalLength : 46 bNumInterfaces : 1 bConfigurationValue : 1 iConfiguration : 0 bmAttributes : 0xc0 bMaxPower : 2 mA UsbInterface 0 Interface String : <undefined> Is Active : true Is Claimed : true Active Alternate Setting Number : 0 Number of Alternate Settings : 1 bLength : 9 bDescriptorType : 0x04 bInterfaceNumber : 0 bAlternateSetting : 0 bNumEndpoints : 4 bInterfaceClass : 0xff bInterfaceSubClass : 0x00 bInterfaceProtocol : 0x00 iInterface : 0 -- // Pavel ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ javax-usb-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/javax-usb-devel