qdl icon indicating copy to clipboard operation
qdl copied to clipboard

support macos: use libusb instead of udev

Open notly opened this issue 5 years ago • 2 comments

Signed-off-by: hello [email protected]

notly avatar May 29 '20 02:05 notly

@notly I just tried your branch. I don't think libusb is being cleaned up properly. After qdl exits I attempt to run it again and get:

qdl: libusb_claim_interface: Device or resource busy

Opened PR which fixes this -> https://github.com/nullog/qdl/pull/1

jwinarske avatar Apr 22 '21 22:04 jwinarske

Did some testing on this with UFS target (USB 3.0 Fedora 33). Same flat build folder for both tests, files in question have been un-sparsed using img2img.

I've included the largest deltas.

The libusb branch should be re-based to tip of tree, and pick up the larger buffer size in case of SS.

system_a =  1,610,612,736 bytes
userdata =  1,999,998,976 bytes
modem_a =      62,558,208 bytes
dsp_a =        67,108,864 bytes

udev (master)

[PROGRAM] flashed "system_a" successfully at 12582kB/s [PROGRAM] flashed "userdata" successfully at 12440kB/s [PROGRAM] flashed "modem_a" successfully at 12218kB/s [PROGRAM] flashed "dsp_a" successfully at 10922kB/s

libusb

[PROGRAM] flashed "system_a" successfully at 12098kB/s [PROGRAM] flashed "userdata" successfully at 12056kB/s [PROGRAM] flashed "modem_a" successfully at 15273kB/s [PROGRAM] flashed "dsp_a" successfully at 13107kB/s

jwinarske avatar May 04 '21 16:05 jwinarske

superseded by #59

konradybcio avatar May 14 '24 22:05 konradybcio