hi usb folks,
i am using libusb1(libusb1-1.0.0-2.5.moblin2.i586) to talk to a widget and am getting an error i need to debug.
dmesg has ...
203.791177] usb 3-2: new low speed USB device using uhci_hcd and address 2
[ 203.959260] usb 3-2: New USB device found, idVendor=1808, idProduct=5555
[ 203.959275] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 203.959288] usb 3-2: Product: USB to OBD-2
[ 203.959296] usb 3-2: Manufacturer: Multiplex Engineering
[ 203.959639] usb 3-2: configuration #1 chosen from 1 choice
[ 203.989634] generic-usb 0003:1808:5555.0003: hiddev97,hidraw2: USB HID v1.00 Device [Multiplex Engineering USB to
OBD-2] on usb-0000:00:1d.1-2/input0
*[ 206.189373] usb 3-2: usbfs: process 1923 (obdscan) did not claim interface 0 before use
[ 206.189417] usb 3-2: usbfs: process 1923 (obdscan) did not claim interface 0 before use
[ 206.189457] usb 3-2: usbfs: process 1923 (obdscan) did not claim interface 0 before use*
my issue is that i did indeed claim my interface and got a zero return from the call, yet this
sysfs complains.
my api use looks like, ...
r = libusb_init(NULL);
libusb_set_debug(NULL, 0x3);
err = libusb_open(found, &devh); (this found is legit and i get a handle back in devh)
r = libusb_kernel_driver_active(devh, 0);
if (r > 0) {
r = libusb_detach_kernel_driver(devh, 0);
* r = libusb_claim_interface(devh, 0);*
if (devh) {
r = libusb_release_interface(devh, 0);
libusb_close(devh);
}
libusb_exit(NULL);
would some kind soul tell me how to crank up the sysfs verbosity so i can debug this issue?
tia, jackc...
--
jack craig
jackc@xxxxxxxxxxxxxxxxxxx
831-684-1375 (Office)
831-596-6924 (cell)
IM: jackcraigaptos (AIM)
_________________________________
This email has been ClamScanned !
www.LinuxLightHouse.com
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html