-
Notifications
You must be signed in to change notification settings - Fork 4
Description
New RC-5 devices (S/N EFE24*, ID 246c:9001) now use HID protocol.
Can read but cannot write parameters. On writing something strange happens:
sudo python3 elitech --device /dev/hidraw2 parameter get interval ConfigReadCommand(Device('/dev/hidraw2'), "interval") [[76, 78)] Request: 00 33 CC 00 0C 03 00 00 00 4C 00 02 5C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Response: 33 CC 00 0E 03 00 00 00 4C 00 02 00 2A 88 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 interval: 7m
sudo python3 elitech --device /dev/hidraw2 parameter set interval 6m ConfigWriteCommand(Device('/dev/hidraw2'), "interval=6m") [[76, 78)] Request: 00 33 CC 00 0C 03 00 00 00 4C 00 02 5C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Response: 33 CC 00 0E 03 00 00 00 4C 00 02 00 2A 88 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [Response[76, 78)] Request: 00 33 CC 00 0E 04 00 00 00 4C 00 02 00 24 83 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Response: 33 CC 00 0D 04 00 00 00 4C 00 01 01 5E 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
sudo python3 elitech --device /dev/hidraw2 parameter get interval ConfigReadCommand(Device('/dev/hidraw2'), "interval") [[76, 78)] Request: 00 33 CC 00 0C 03 00 00 00 4C 00 02 5C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Response: 33 CC 00 0E 03 00 00 00 4C 00 02 00 24 82 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 interval: 6m
When plugged to Windows, Elitech software displays 7minutes.
When back to Linux:
sudo python3 elitech --device /dev/hidraw2 parameter get interval ConfigReadCommand(Device('/dev/hidraw2'), "interval") [[76, 78)] Request: 00 33 CC 00 0C 03 00 00 00 4C 00 02 5C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Response: 33 CC 00 0E 03 00 00 00 4C 00 02 FF FF 5C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 interval: 7j14h2m30s