Suunto D5 USB interface

Jef Driesen jef at libdivecomputer.org
Mon Jan 6 15:02:47 CET 2020


On 2019-12-30 13:59, Brendan Horan wrote:
> [ 0.005245] [00000d2c] libusb: debug [libusb_open] open 1.6
> [ 0.005274] [00000d2c] libusb: debug [usbi_add_pollfd] add fd 28 events 
> 4
> [ 0.005279] [00000d2c] libusb: debug [libusb_claim_interface] interface 
> 0
> [0.005390] ERROR: Failed to claim the usb interface
> (LIBUSB_ERROR_BUSY). [in ../../src/usbhid.c:604 (dc_usbhid_open)]
> [ 0.005299] [00000d2c] libusb: debug [libusb_close]
> [ 0.005304] [00000d2c] libusb: debug [usbi_remove_pollfd] remove fd 28
> [ 0.005316] [00000d2c] libusb: debug [libusb_exit]

I'm afraid this didn't give much more info. It looks like the underlying 
ioctl syscall:

    ioctl(fd, IOCTL_USBFS_CLAIMINTF, &iface);

failed with EBUSY, and that's about it. There is no clue why it failed.

Jef


More information about the devel mailing list