-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Logitech Unifying different usb id #17
Comments
[812047.995334] usb 1-3: USB disconnect, device number 82 |
lsusb also reports:
|
you need flash new bootloader to it |
I have logitech mouse G700s.
lsusb says:
Bus 001 Device 075: ID 046d:c531 Logitech, Inc. C-U0007 [Unifying Receiver]
I modified the usb id in unifying.py
And I tried to dump the firmware.
But I get:
sudo python2 prog/usb-flasher/logitech-usb-backup.py firmware-backup.bin infopage.bin
[2019-01-17 20:54:00.392] Found Logitech Unifying dongle - HID mode
[2019-01-17 20:54:00.392] Detaching kernel driver from Logitech dongle - HID mode
[2019-01-17 20:54:00.557] Putting dongle into firmware update mode
Traceback (most recent call last):
File "prog/usb-flasher/logitech-usb-backup.py", line 19, in
dongle = unifying_dongle()
File "/home/zibri/nrf-research-firmware/prog/usb-flasher/unifying.py", line 63, in init
self.enter_firmware_update_mode()
File "/home/zibri/nrf-research-firmware/prog/usb-flasher/unifying.py", line 135, in enter_firmware_update_mode
response = self.send_command(0x21, 0x09, 0x0210, 0x0002, "\x10\xFF\x81\xF1\x01\x00\x00", ep=0x83)
File "/home/zibri/nrf-research-firmware/prog/usb-flasher/unifying.py", line 179, in send_command
ret = self.dongle.ctrl_transfer(request_type, request, value, index, data, timeout=timeout)
File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 1034, in ctrl_transfer
self._ctx.managed_claim_interface(self, interface_number)
File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 102, in wrapper
return f(self, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 167, in managed_claim_interface
self.backend.claim_interface(self.handle, i)
File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 811, in claim_interface
_check(self.lib.libusb_claim_interface(dev_handle.handle, intf))
File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 595, in _check
raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 2] Entity not found
The text was updated successfully, but these errors were encountered: