Unfortunately, the bad news is that despite this being a wired mouse, Corsair are using the new protocol that we don't have support for yet. It will probably be a while before we get it working. I think they'll be switching most new devices to it going forward, so we'll eventually have to support it.
That said, can you please run sudo usbhid-dump -d 1b1c:1b70
And after that, compile this https://github.com/ckb-next/getUsbString and run
sudo ./getUsbString 0x1b1c 0x1b70 4
and
sudo ./getUsbString 0x1b1c 0x1b70 5
Please paste the output of all of those here.
Here you go:
sudo usbhid-dump -d 1b1c:1b70
003:012:003:DESCRIPTOR 1562186967.142327
05 01 09 06 A1 01 05 07 19 E0 29 E7 15 00 25 01
75 01 95 08 81 02 19 00 29 97 15 00 25 01 75 01
95 98 81 02 05 08 19 01 29 03 25 01 75 01 95 03
91 02 75 05 95 01 91 01 C0
003:012:002:DESCRIPTOR 1562186967.142570
06 42 FF 09 02 A1 01 15 00 26 FF 00 75 08 95 40
09 02 81 02 C0
003:012:001:DESCRIPTOR 1562186967.142859
06 42 FF 09 01 A1 01 15 00 26 FF 00 75 08 95 40
09 01 81 02 95 40 09 01 91 02 C0
003:012:000:DESCRIPTOR 1562186967.143125
05 01 09 02 A1 01 09 01 A1 00 05 09 19 01 29 20
15 00 25 01 95 20 75 01 81 02 75 10 95 02 05 01
09 30 09 31 16 01 80 26 FF 7F 81 06 75 08 95 01
05 01 09 38 15 81 25 7F 81 06 C0 C0
sudo ./getUsbString 0x1b1c 0x1b70 4
Read 12 bytes
Raw (hex): 0c 03 56 00 30 00 33 00 30 00 30 00
String: V0300
sudo ./getUsbString 0x1b1c 0x1b70 5
Read 10 bytes
Raw (hex): 0a 03 42 00 50 00 30 00 30 00
String: BP00
What could be done to help getting some kind of support? I think I'm able to change some things from iCue (DPI, color etc.) and sniff packets with Wireshark
EDIT: probably uses the same protocol as #346 - "Bragi protocol"(?) - packet sniffing is the only way
A tiny bit of work decoding how Bragi works was done here: https://gist.github.com/Halamix2/9ebaa8c00f9223ec75bb3b5ba3d4dc77
Any updates on this? Would be greatly appreciated!
I was able to decode only what is in gist (mode, DPI, color), I don't know how to get x/y data (so basically I can change color and DPI but cannot use the mouse as a mouse) or how to integrate any of that into ckb-next
There is now incomplete and experimental Wireshark Dissector for Bragi: https://github.com/Halamix2/bragi_logs
Most helpful comment
There is now incomplete and experimental Wireshark Dissector for Bragi: https://github.com/Halamix2/bragi_logs