diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2018-04-19 22:46:11 +0300 |
---|---|---|
committer | Aaro Koskinen <aaro.koskinen@iki.fi> | 2018-04-19 22:46:11 +0300 |
commit | 7f38b4bd10f6bb7428460eb814a0be2ba5e5aa4a (patch) | |
tree | b81b33cf55b42852c3d1a61917584fd8a829dd5b | |
parent | 9e5646d30e237879bfdf1d1396c95d330381dc4f (diff) | |
download | 0xFFFF-7f38b4bd10f6bb7428460eb814a0be2ba5e5aa4a.tar.bz2 |
usb-device: restore N800 support
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
[...]
-rw-r--r-- | src/usb-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usb-device.c b/src/usb-device.c index 5379b82..f7c16bb 100644 --- a/src/usb-device.c +++ b/src/usb-device.c @@ -47,7 +47,7 @@ static struct usb_flash_device usb_devices[] = { { 0x0421, 0x0096, -1, -1, -1, FLASH_DISK, { DEVICE_RX_44, 0 } }, - { 0x0421, 0x0105, 2, 1, -1, FLASH_NOLO, { DEVICE_SU_18, DEVICE_RX_44, DEVICE_RX_48, DEVICE_RX_51, DEVICE_RM_680, DEVICE_RM_696, 0 } }, + { 0x0421, 0x0105, 2, 1, -1, FLASH_NOLO, { DEVICE_SU_18, DEVICE_RX_34, DEVICE_RX_44, DEVICE_RX_48, DEVICE_RX_51, DEVICE_RM_680, DEVICE_RM_696, 0 } }, { 0x0421, 0x0106, 0, -1, -1, FLASH_COLD, { DEVICE_RX_51, DEVICE_RM_680, DEVICE_RM_696, 0 } }, { 0x0421, 0x0189, -1, -1, -1, FLASH_DISK, { DEVICE_RX_48, 0 } }, { 0x0421, 0x01c7, -1, -1, -1, FLASH_DISK, { DEVICE_RX_51, 0 } }, |