Welcome to the Linux Foundation Forum!

USB Device claim failed on Linux node using libusb APIs

ankitparmar
ankitparmar Posts: 1

I am using libUSB version 0.21 for HID device access.
If process A is claimed the device & while control transfer if it return -7 error code.
Then process B is not able to claim the device if Process B tries to check the kernel Active driver status & detach is also not helping to get the claim.

Following libUSB API used for above operation.
libusb_control_transfer()
libusb_kernel_driver_active()
libusb_detach_kernel_driver()
libusb_claim_interface()

Thanks in advance!!

Categories

Upcoming Training