Bjorn Andersson 1d8a3fff7d usb: Attempt detaching kernel driver
In the event that the kernel have some other driver attached to the
device the attempt claim of the interface will fail.

Lost in the libusb conversion was a call to USBDEVFS_DISCONNECT to first
detach any such drivers. Reintroduce this by invoking
libusb_detach_kernel_driver().

As with some other libusb functions there are multiple return values
denoting "success", so rely on libusb_claim_interface() to catch the
actual errors.

Reported-by: Maxim Akristiniy
Suggested-by: Maxim Akristiniy
Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
2024-06-07 21:50:57 +02:00
2024-05-08 18:29:38 +02:00
2017-08-29 13:56:05 +02:00
2017-10-04 19:33:09 -07:00
2024-04-09 11:36:05 +02:00
2024-06-07 21:50:57 +02:00
2024-04-09 11:36:05 +02:00

Qualcomm Download
=================

This tool communicates with USB devices of id 05c6:9008 to upload a flash
loader and use this to flash images.

Usage:
  qdl <prog.mbn> [<program> <patch> ...]

Building
========
In order to build the project you need libxml2 and libusb-1.0 headers
and libraries, found in e.g. the libxml2-dev and libusb-1.0.0-dev packages

With these installed run:
  make
Description
No description provided
Readme BSD-3-Clause 928 KiB
Languages
C 96.8%
Makefile 1.7%
Shell 1.5%