mirror of
https://github.com/linux-msm/qdl.git
synced 2026-02-25 13:12:25 -08:00
1d8a3fff7dae6761d27bc90db23c33827084003e
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>
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
Languages
C
96.8%
Makefile
1.7%
Shell
1.5%