TLDR Tech / Dev
USB for Software Developers
Writing a USB driver is not as daunting as perceived, especially when utilizing user-space libraries like libusb. This article goes through how to identify a USB device (an Android phone in bootloader mode) by its Vendor/Product IDs, programmatically enumerate it, and then communicate with the device by requesting status and descriptor information via the control endpoint.
Read the full story