summaryrefslogtreecommitdiffstats
path: root/src/usb-device.c
AgeCommit message (Collapse)AuthorFilesLines
2021-01-05usb-device: Specify alternate id for cold flashingPali Rohár1-1/+1
2021-01-05usb-device: Add N900 U-Boot mode (TTY via USB) to device listPali Rohár1-1/+2
2021-01-05usb-device: Check that usb device provides required interface/alternate settingsPali Rohár1-0/+12
2021-01-05usb-device: Remove dead usb_set_configuration() codePali Rohár1-24/+14
It is on worng place, must be called prior usb_claim_interface() and currently no device use it.
2021-01-05usb-device: Remove 0x0421/0x3f00 from listPali Rohár1-1/+0
It was some internal Nokia development board with just temporary device id. Not a real RX-34 device.
2021-01-05usb-device: Fix interface id for Nokia N9 Sync mode and disable it as it use ↵Pali Rohár1-1/+1
unsupported ADL protocol
2021-01-05usb-device: Fix iterating over supported list of devicesPali Rohár1-2/+2
2020-12-26usb-device: Add device ids for Nokia N950 and Nokia N9Pali Rohár1-3/+10
2020-11-29usb-device: Fix range or printable charactersPali Rohár1-1/+1
2020-11-29usb-device: Fix error message for usb_set_altinterfacePali Rohár1-1/+1
2020-04-25all: Fix delays for all operationsPali Rohár1-1/+1
2018-04-19usb-device: restore N800 supportAaro Koskinen1-1/+1
N800 has stopped working at some point, not sure why: $ 0xFFFF -I [...] Waiting for USB device... Found USB device: SU-18/RX-44/RX-48/RX-51/RM-680 (0x421:0x105) in NOLO mode USB device product string: Nokia N800 (Update mode) USB device serial number string: (not detected) Detected USB device: RX-34 Error: Device mishmash Add the device to 0421:0105 list, and it works again: Waiting for USB device... Found USB device: SU-18/RX-34/RX-44/RX-48/RX-51/RM-680 (0x421:0x105) in NOLO mode USB device product string: Nokia N800 (Update mode) USB device serial number string: (not detected) Detected USB device: RX-34 Initializing NOLO... Device: RX-34 [...]
2016-12-24all: Add basic support for Nokia N9Aaro Koskinen1-2/+4
2016-12-21usb-device: Detect Nokia N950 in disk modePali Rohár1-1/+2
2016-12-17usb-device: Add another product string for RM-680Aaro Koskinen1-1/+1
2016-12-16all: Fix compilation when u_int*_t are not defined and used by usb.hPali Rohár1-8/+6
2016-12-07usb-device: Do not reattach kernel driver after closing cold flash modePali Rohár1-1/+2
2016-12-07usb-device: Do not print verbose message "Reattach kernel driver to USB ↵Pali Rohár1-2/+0
interface..."
2016-12-06usb-device: Check that we are not using broken libusb-1.0 libraryPali Rohár1-0/+9
2016-12-06all: Revert libusb-1.0 supportPali Rohár1-59/+89
Listing of usb devices with libusb-1.0 is too slow and not usable for flashing or cold-flashing Nokia N900. Old libusb (0.1) does not have this problem and works perfectly. Problem for libusb-1.0 was reported at least two times into libusb-devel mailing list, but upstream developers are totally ignore it. One message is in archive: https://sourceforge.net/p/libusb/mailman/message/34985373/ Because of that there is just one option: use tested and working libusb 0.1 library instead some experimental and non-working libusb-1.0.
2016-06-27all: Add support for Nokia N950 (RM-680)Pali Rohár1-3/+5
2016-05-12usb-device: Do not reattach kernel driver if USB interface is not usedPali Rohár1-0/+3
2016-03-12mkii: Implement rebooting to Update modePali Rohár1-4/+4
2016-03-12mkii: Define MKII_UPDATE_MODE instead hardcoded constantPali Rohár1-2/+2
2016-03-09usb-device: Finish usb device detection based on product stringsPali Rohár1-5/+20
2016-03-09usb-device: Add FLASH_DISK usb ids for all supported devicesPali Rohár1-2/+5
2016-02-23usb-device: Autodetect Nokia 770 device from product stringPali Rohár1-1/+3
2016-01-23usb-device: Fix memory leak when listing devicesPali Rohár1-0/+3
2016-01-23all: Switch to libusb-1.0Sebastian Reichel1-87/+57
libusb 0.1 is deprecated. This updates 0xFFFF to use the newer libusb 1.0 API instead.
2014-11-26all: Fix overflow in shift operatorsPali Rohár1-2/+2
2014-11-26all: Use nanosleep (via SLEEP) instead usleepPali Rohár1-1/+1
2014-11-21usb-device: Difference between Update and PC Suite modePali Rohár1-3/+7
2014-11-18usb-device: Do not claim USB interface in raw disk modePali Rohár1-11/+18
2014-11-18usb-device: Enable also RAW diskPali Rohár1-3/+3
2014-11-18usb-device: Rename usb_switch_to_mkii to usb_switch_to_updatePali Rohár1-1/+3
2014-11-18usb-device: Enable Mk II protocolPali Rohár1-2/+2
2014-11-09usb-device: Reattach kernel driverPali Rohár1-0/+29
2014-09-29usb-device: Fix memory leakPali Rohár1-0/+1
2013-09-20usb-device: Do not use sighandler_tPali Rohár1-1/+1
2013-09-07usb-device: Handle Ctrl+C SIGINT and quit wait loopPali Rohár1-1/+19
2013-09-07usb-device: Remove useless check for LIBUSB_HAS_GET_DRIVER_NPPali Rohár1-1/+1
2013-04-07usb-device: Disable Mk II protocol and RAW disk because are not implemented yetPali Rohár1-2/+2
2013-04-07usb-device: Fix crashing when accessing out of global array ↵Pali Rohár1-1/+1
usb_flash_protocols in function usb_flash_protocol_to_string
2012-11-21usb-device: Disable FLASH_DISK and FLASH_MKII modes in usb device table ↵Pali Rohár1-3/+3
until there will be implementation
2012-11-21usb-device: Fix formatting messages and fix usb_switch_to_coldPali Rohár1-2/+10
2012-11-20usb-device: Fix usb_switch_to_coldPali Rohár1-1/+3
2012-11-15usb-device: Added support for Mk IIPali Rohár1-2/+10
2012-09-23usb-device: Added usb_switch_to_ functionsPali Rohár1-0/+42
2012-09-23usb-device: Check for USB product string if device match, remove detected_ ↵Pali Rohár1-4/+32
prefix
2012-09-23usb-device: Fix serial number stringPali Rohár1-2/+7