-
Notifications
You must be signed in to change notification settings - Fork 13
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
[device-report] royal kludge rk84 iso layout (ger) #45
Comments
Hey @ViktorTrojan, have you tried running the tool for your device? Since the device it not added you can try interfacing with it with all the custom parameters. It should be something like this: sinowealth-kb-tool.exe read --vendor_id 0x258a --product_id 0x00f4 --firmware_size 61440 foobar.hex If it works, please share the command you used (including the different parameters), the firmware and bootloader md5sum, and I will add your device as a new part in this tool. |
When I try to run it I get an error. What can I do to debug this? I have the firmware update software from the manufacturer if that helps. sinowealth-kb-tool.exe read --vendor_id 0x258a --product_id 0x00f4 --firmware_size 61440 foobar.hex |
Hm, that's interesting... Have you tried running it only once? Try running it again. If this issue persists, I assume this device might be running a different bootloader than the other keyboards encountered so far. |
I have the same keyboard and am running into the same issue. I recorded the communication with wireshark when flashing the firmware with the official application: The record starts with me connecting the keyboard to the pc and then executing the firmware update without pressing any keys. From the picture in a blog post, I assume you have a keyboard with this chip? My RK84 has a slightly differently named chip: |
I am currently trying to dump the keyboard firmware with https://github.com/gashtaan/sinowealth-8051-dumper, but so far I wasn't able to. Most of the time I get a "Connection failed", except for one time where is asked me to press enter and then printed |
Here is the full dump: RK84 firmware
|
@Luro02 thanks for providing the dumps. Although, as you can probably tell, the dump you got from sinowealth-8051-dumper has sectors of your main firmware blanked out. If you're interested in getting the firmware, then that doesn't matter, because the USB packets you captured through wireshark have the full firmware payload, including the bytes that should be in those blanked-out sectors. The bootloader part of that dump is fully intact and I checked that it's another instance of
Also, there's something I noticed in your wireshark dump: does the update utility automatically reset your keyboard from the bootloader back to the newly flashed main firmware? |
Oh, I assumed that was just padding.
I am running the tool on windows. I will try running it on Linux.
I did not try writing to it, because I do not want to brick my keyboard. Based on the code, this would not work, because it fails here Line 69 in 0ff0965
which is executed independently of the read/write choice. And like mentioned above, the actual failure is here Lines 241 to 245 in 0ff0965
because the keyboard doesn't understand the command?
I think it does. I have recorded a video of the flashing process: Vid.20240301.093556.mp4Before the video was taken it had the rainbow effect that you can see at the end of the video, then it locks the colors in the pattern you can see at the start of the video. The colors are random, but I always have this pattern. It resets all settings I have made (but I guess that is obvious based on the communication I recorded). |
This is what I got on WSL:
I have cloned the repo and made some changes to have more output, for some reason it did work then??? Click me> cargo run -- read --vendor_id 0x258a --product_id 0x00f4 --firmware_size 61440 foobar.hex
Compiling sinowealth-kb-tool v0.0.8 (D:\projects\sinowealth-kb-tool)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.82s
Running `target\debug\sinowealth-kb-tool.exe read --vendor_id 0x258a --product_id 0x00f4 --firmware_size 61440 foobar.hex`
DEBUG [sinowealth_kb_tool::isp] Listing all connected devices...
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x0db0, pid=0x0076): manufacturer=Some("MSI") product=Some("MYSTIC LIGHT ") path="\\\\?\\HID#VID_0DB0&PID_0076#9&37d31a3f&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x0001 usage=0x0000
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_00#8&802cee6&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x0001 usage=0x0002
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col01#8&2bda0ca8&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}\\KBD" usage_page=0x0001 usage=0x0006
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col02#8&2bda0ca8&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x0001 usage=0x0080
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col03#8&2bda0ca8&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x000c usage=0x0001
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col04#8&2bda0ca8&0&0003#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0xff01 usage=0xff01
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_02#8&39192188&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0xff00 usage=0xff00
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x258a, pid=0x00f4): manufacturer=Some("SINO WEALTH") product=Some("RK Bluetooth Keyboard") path="\\\\?\\HID#VID_258A&PID_00F4&MI_00#9&33279c25&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}\\KBD" usage_page=0x0001 usage=0x0006
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x258a, pid=0x00f4): manufacturer=Some("SINO WEALTH") product=Some("RK Bluetooth Keyboard") path="\\\\?\\HID#VID_258A&PID_00F4&MI_01&Col01#9&f505e63&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x0001 usage=0x0080
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x258a, pid=0x00f4): manufacturer=Some("SINO WEALTH") product=Some("RK Bluetooth Keyboard") path="\\\\?\\HID#VID_258A&PID_00F4&MI_01&Col02#9&f505e63&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x000c usage=0x0001
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x258a, pid=0x00f4): manufacturer=Some("SINO WEALTH") product=Some("RK Bluetooth Keyboard") path="\\\\?\\HID#VID_258A&PID_00F4&MI_01&Col03#9&f505e63&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0xff00 usage=0x0001
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x258a, pid=0x00f4): manufacturer=Some("SINO WEALTH") product=Some("RK Bluetooth Keyboard") path="\\\\?\\HID#VID_258A&PID_00F4&MI_01&Col04#9&f505e63&0&0003#{4d1e55b2-f16f-11cf-88cb-001111000030}\\KBD" usage_page=0x0001 usage=0x0006
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x258a, pid=0x00f4): manufacturer=Some("SINO WEALTH") product=Some("RK Bluetooth Keyboard") path="\\\\?\\HID#VID_258A&PID_00F4&MI_01&Col05#9&f505e63&0&0004#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0xff00 usage=0x0001
DEBUG [sinowealth_kb_tool::isp] Found 13 devices
DEBUG [sinowealth_kb_tool::isp] Listing all connected devices...
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x0db0, pid=0x0076): manufacturer=Some("MSI") product=Some("MYSTIC LIGHT ") path="\\\\?\\HID#VID_0DB0&PID_0076#9&37d31a3f&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x0001 usage=0x0000
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_00#8&802cee6&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x0001 usage=0x0002
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col01#8&2bda0ca8&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}\\KBD" usage_page=0x0001 usage=0x0006
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col02#8&2bda0ca8&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x0001 usage=0x0080
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col03#8&2bda0ca8&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x000c usage=0x0001
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col04#8&2bda0ca8&0&0003#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0xff01 usage=0xff01
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_02#8&39192188&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0xff00 usage=0xff00
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x258a, pid=0x00f4): manufacturer=Some("SINO WEALTH") product=Some("RK Bluetooth Keyboard") path="\\\\?\\HID#VID_258A&PID_00F4&MI_00#9&33279c25&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}\\KBD" usage_page=0x0001 usage=0x0006
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x258a, pid=0x00f4): manufacturer=Some("SINO WEALTH") product=Some("RK Bluetooth Keyboard") path="\\\\?\\HID#VID_258A&PID_00F4&MI_01&Col01#9&f505e63&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x0001 usage=0x0080
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x258a, pid=0x00f4): manufacturer=Some("SINO WEALTH") product=Some("RK Bluetooth Keyboard") path="\\\\?\\HID#VID_258A&PID_00F4&MI_01&Col02#9&f505e63&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x000c usage=0x0001
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x258a, pid=0x00f4): manufacturer=Some("SINO WEALTH") product=Some("RK Bluetooth Keyboard") path="\\\\?\\HID#VID_258A&PID_00F4&MI_01&Col03#9&f505e63&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0xff00 usage=0x0001
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x258a, pid=0x00f4): manufacturer=Some("SINO WEALTH") product=Some("RK Bluetooth Keyboard") path="\\\\?\\HID#VID_258A&PID_00F4&MI_01&Col04#9&f505e63&0&0003#{4d1e55b2-f16f-11cf-88cb-001111000030}\\KBD" usage_page=0x0001 usage=0x0006
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x258a, pid=0x00f4): manufacturer=Some("SINO WEALTH") product=Some("RK Bluetooth Keyboard") path="\\\\?\\HID#VID_258A&PID_00F4&MI_01&Col05#9&f505e63&0&0004#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0xff00 usage=0x0001
DEBUG [sinowealth_kb_tool::isp] Found 13 devices
INFO [sinowealth_kb_tool::isp] Looking for vId:0x258a pId:0x00f4
DEBUG [sinowealth_kb_tool::isp] Found Device: "\\\\?\\HID#VID_258A&PID_00F4&MI_01&Col03#9&f505e63&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}" 0xff00 0x0001
DEBUG [sinowealth_kb_tool::isp] Opening: "\\\\?\\HID#VID_258A&PID_00F4&MI_01&Col03#9&f505e63&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}"
INFO [sinowealth_kb_tool::isp] Found regular device. Entering ISP mode...
DEBUG [sinowealth_kb_tool::isp] Sending ISP mode command
DEBUG [sinowealth_kb_tool::isp] Listing all connected devices...
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x0db0, pid=0x0076): manufacturer=Some("MSI") product=Some("MYSTIC LIGHT ") path="\\\\?\\HID#VID_0DB0&PID_0076#9&37d31a3f&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x0001 usage=0x0000
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_00#8&802cee6&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x0001 usage=0x0002
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col01#8&2bda0ca8&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}\\KBD" usage_page=0x0001 usage=0x0006
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col02#8&2bda0ca8&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x0001 usage=0x0080
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col03#8&2bda0ca8&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x000c usage=0x0001
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col04#8&2bda0ca8&0&0003#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0xff01 usage=0xff01
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_02#8&39192188&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0xff00 usage=0xff00
DEBUG [sinowealth_kb_tool::isp] Found 7 devices
INFO [sinowealth_kb_tool::isp] Regular device not found. Trying ISP device...
DEBUG [sinowealth_kb_tool::isp] Listing all connected devices...
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x0db0, pid=0x0076): manufacturer=Some("MSI") product=Some("MYSTIC LIGHT ") path="\\\\?\\HID#VID_0DB0&PID_0076#9&37d31a3f&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x0001 usage=0x0000
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_00#8&802cee6&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x0001 usage=0x0002
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col01#8&2bda0ca8&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}\\KBD" usage_page=0x0001 usage=0x0006
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col02#8&2bda0ca8&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x0001 usage=0x0080
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col03#8&2bda0ca8&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x000c usage=0x0001
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col04#8&2bda0ca8&0&0003#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0xff01 usage=0xff01
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_02#8&39192188&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0xff00 usage=0xff00
DEBUG [sinowealth_kb_tool::isp] Found 7 devices
DEBUG [sinowealth_kb_tool::isp] Listing all connected devices...
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x0db0, pid=0x0076): manufacturer=Some("MSI") product=Some("MYSTIC LIGHT ") path="\\\\?\\HID#VID_0DB0&PID_0076#9&37d31a3f&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x0001 usage=0x0000
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_00#8&802cee6&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x0001 usage=0x0002
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col01#8&2bda0ca8&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}\\KBD" usage_page=0x0001 usage=0x0006
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col02#8&2bda0ca8&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x0001 usage=0x0080
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col03#8&2bda0ca8&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x000c usage=0x0001
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col04#8&2bda0ca8&0&0003#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0xff01 usage=0xff01
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_02#8&39192188&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0xff00 usage=0xff00
DEBUG [sinowealth_kb_tool::isp] Found 7 devices
INFO [sinowealth_kb_tool::isp] Retrying... Attempt 2/10
DEBUG [sinowealth_kb_tool::isp] Listing all connected devices...
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x0db0, pid=0x0076): manufacturer=Some("MSI") product=Some("MYSTIC LIGHT ") path="\\\\?\\HID#VID_0DB0&PID_0076#9&37d31a3f&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x0001 usage=0x0000
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_00#8&802cee6&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x0001 usage=0x0002
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col01#8&2bda0ca8&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}\\KBD" usage_page=0x0001 usage=0x0006
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col02#8&2bda0ca8&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x0001 usage=0x0080
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col03#8&2bda0ca8&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x000c usage=0x0001
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col04#8&2bda0ca8&0&0003#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0xff01 usage=0xff01
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_02#8&39192188&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0xff00 usage=0xff00
DEBUG [sinowealth_kb_tool::isp] Found 7 devices
INFO [sinowealth_kb_tool::isp] Looking for vId:0x258a pId:0x00f4
INFO [sinowealth_kb_tool::isp] Regular device didn't come up...
DEBUG [sinowealth_kb_tool::isp] Listing all connected devices...
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x0db0, pid=0x0076): manufacturer=Some("MSI") product=Some("MYSTIC LIGHT ") path="\\\\?\\HID#VID_0DB0&PID_0076#9&37d31a3f&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x0001 usage=0x0000
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_00#8&802cee6&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x0001 usage=0x0002
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col01#8&2bda0ca8&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}\\KBD" usage_page=0x0001 usage=0x0006
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col02#8&2bda0ca8&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x0001 usage=0x0080
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col03#8&2bda0ca8&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x000c usage=0x0001
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col04#8&2bda0ca8&0&0003#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0xff01 usage=0xff01
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_02#8&39192188&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0xff00 usage=0xff00
DEBUG [sinowealth_kb_tool::isp] Found 7 devices
INFO [sinowealth_kb_tool::isp] Regular device not found. Trying ISP device...
DEBUG [sinowealth_kb_tool::isp] Listing all connected devices...
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x0db0, pid=0x0076): manufacturer=Some("MSI") product=Some("MYSTIC LIGHT ") path="\\\\?\\HID#VID_0DB0&PID_0076#9&37d31a3f&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x0001 usage=0x0000
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_00#8&802cee6&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x0001 usage=0x0002
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col01#8&2bda0ca8&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}\\KBD" usage_page=0x0001 usage=0x0006
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col02#8&2bda0ca8&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x0001 usage=0x0080
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col03#8&2bda0ca8&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x000c usage=0x0001
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col04#8&2bda0ca8&0&0003#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0xff01 usage=0xff01
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_02#8&39192188&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0xff00 usage=0xff00
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x0603, pid=0x1020): manufacturer=Some("(Standard system devices)") product=Some("") path="\\\\?\\HID#VID_0603&PID_1020&Col01#8&2da0b3f2&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}\\KBD" usage_page=0x0001 usage=0x0006
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x0603, pid=0x1020): manufacturer=Some("(Standard system devices)") product=Some("") path="\\\\?\\HID#VID_0603&PID_1020&Col02#8&2da0b3f2&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0xff00 usage=0x0001
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x0603, pid=0x1020): manufacturer=Some("(Standard system devices)") product=Some("") path="\\\\?\\HID#VID_0603&PID_1020&Col03#8&2da0b3f2&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0xff00 usage=0x0001
DEBUG [sinowealth_kb_tool::isp] Found 10 devices
DEBUG [sinowealth_kb_tool::isp] Listing all connected devices...
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x0db0, pid=0x0076): manufacturer=Some("MSI") product=Some("MYSTIC LIGHT ") path="\\\\?\\HID#VID_0DB0&PID_0076#9&37d31a3f&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x0001 usage=0x0000
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_00#8&802cee6&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x0001 usage=0x0002
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col01#8&2bda0ca8&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}\\KBD" usage_page=0x0001 usage=0x0006
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col02#8&2bda0ca8&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x0001 usage=0x0080
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col03#8&2bda0ca8&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x000c usage=0x0001
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col04#8&2bda0ca8&0&0003#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0xff01 usage=0xff01
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_02#8&39192188&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0xff00 usage=0xff00
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x0603, pid=0x1020): manufacturer=Some("(Standard system devices)") product=Some("") path="\\\\?\\HID#VID_0603&PID_1020&Col01#8&2da0b3f2&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}\\KBD" usage_page=0x0001 usage=0x0006
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x0603, pid=0x1020): manufacturer=Some("(Standard system devices)") product=Some("") path="\\\\?\\HID#VID_0603&PID_1020&Col02#8&2da0b3f2&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0xff00 usage=0x0001
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x0603, pid=0x1020): manufacturer=Some("(Standard system devices)") product=Some("") path="\\\\?\\HID#VID_0603&PID_1020&Col03#8&2da0b3f2&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0xff00 usage=0x0001
DEBUG [sinowealth_kb_tool::isp] Found 10 devices
INFO [sinowealth_kb_tool::isp] Retrying... Attempt 3/10
DEBUG [sinowealth_kb_tool::isp] Listing all connected devices...
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x0db0, pid=0x0076): manufacturer=Some("MSI") product=Some("MYSTIC LIGHT ") path="\\\\?\\HID#VID_0DB0&PID_0076#9&37d31a3f&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x0001 usage=0x0000
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_00#8&802cee6&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x0001 usage=0x0002
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col01#8&2bda0ca8&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}\\KBD" usage_page=0x0001 usage=0x0006
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col02#8&2bda0ca8&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x0001 usage=0x0080
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col03#8&2bda0ca8&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x000c usage=0x0001
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col04#8&2bda0ca8&0&0003#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0xff01 usage=0xff01
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_02#8&39192188&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0xff00 usage=0xff00
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x0603, pid=0x1020): manufacturer=Some("(Standard system devices)") product=Some("") path="\\\\?\\HID#VID_0603&PID_1020&Col01#8&2da0b3f2&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}\\KBD" usage_page=0x0001 usage=0x0006
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x0603, pid=0x1020): manufacturer=Some("(Standard system devices)") product=Some("") path="\\\\?\\HID#VID_0603&PID_1020&Col02#8&2da0b3f2&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0xff00 usage=0x0001
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x0603, pid=0x1020): manufacturer=Some("(Standard system devices)") product=Some("") path="\\\\?\\HID#VID_0603&PID_1020&Col03#8&2da0b3f2&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0xff00 usage=0x0001
DEBUG [sinowealth_kb_tool::isp] Found 10 devices
INFO [sinowealth_kb_tool::isp] Looking for vId:0x258a pId:0x00f4
INFO [sinowealth_kb_tool::isp] Regular device didn't come up...
DEBUG [sinowealth_kb_tool::isp] Listing all connected devices...
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x0db0, pid=0x0076): manufacturer=Some("MSI") product=Some("MYSTIC LIGHT ") path="\\\\?\\HID#VID_0DB0&PID_0076#9&37d31a3f&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x0001 usage=0x0000
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_00#8&802cee6&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x0001 usage=0x0002
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col01#8&2bda0ca8&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}\\KBD" usage_page=0x0001 usage=0x0006
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col02#8&2bda0ca8&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x0001 usage=0x0080
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col03#8&2bda0ca8&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x000c usage=0x0001
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col04#8&2bda0ca8&0&0003#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0xff01 usage=0xff01
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_02#8&39192188&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0xff00 usage=0xff00
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x0603, pid=0x1020): manufacturer=Some("(Standard system devices)") product=Some("") path="\\\\?\\HID#VID_0603&PID_1020&Col01#8&2da0b3f2&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}\\KBD" usage_page=0x0001 usage=0x0006
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x0603, pid=0x1020): manufacturer=Some("(Standard system devices)") product=Some("") path="\\\\?\\HID#VID_0603&PID_1020&Col02#8&2da0b3f2&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0xff00 usage=0x0001
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x0603, pid=0x1020): manufacturer=Some("(Standard system devices)") product=Some("") path="\\\\?\\HID#VID_0603&PID_1020&Col03#8&2da0b3f2&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0xff00 usage=0x0001
DEBUG [sinowealth_kb_tool::isp] Found 10 devices
INFO [sinowealth_kb_tool::isp] Regular device not found. Trying ISP device...
DEBUG [sinowealth_kb_tool::isp] Listing all connected devices...
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x0db0, pid=0x0076): manufacturer=Some("MSI") product=Some("MYSTIC LIGHT ") path="\\\\?\\HID#VID_0DB0&PID_0076#9&37d31a3f&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x0001 usage=0x0000
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_00#8&802cee6&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x0001 usage=0x0002
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col01#8&2bda0ca8&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}\\KBD" usage_page=0x0001 usage=0x0006
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col02#8&2bda0ca8&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x0001 usage=0x0080
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col03#8&2bda0ca8&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0x000c usage=0x0001
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_01&Col04#8&2bda0ca8&0&0003#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0xff01 usage=0xff01
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x04d9, pid=0xa09f): manufacturer=Some("E-Signal") product=Some("USB Gaming Mouse") path="\\\\?\\HID#VID_04D9&PID_A09F&MI_02#8&39192188&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0xff00 usage=0xff00
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x0603, pid=0x1020): manufacturer=Some("(Standard system devices)") product=Some("") path="\\\\?\\HID#VID_0603&PID_1020&Col01#8&2da0b3f2&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}\\KBD" usage_page=0x0001 usage=0x0006
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x0603, pid=0x1020): manufacturer=Some("(Standard system devices)") product=Some("") path="\\\\?\\HID#VID_0603&PID_1020&Col02#8&2da0b3f2&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0xff00 usage=0x0001
DEBUG [sinowealth_kb_tool::isp] Found Device(vid=0x0603, pid=0x1020): manufacturer=Some("(Standard system devices)") product=Some("") path="\\\\?\\HID#VID_0603&PID_1020&Col03#8&2da0b3f2&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}" usage_page=0xff00 usage=0x0001
DEBUG [sinowealth_kb_tool::isp] Found 10 devices
DEBUG [sinowealth_kb_tool::isp] Found Device: "\\\\?\\HID#VID_0603&PID_1020&Col02#8&2da0b3f2&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}" 0xff00 0x0001
DEBUG [sinowealth_kb_tool::isp] Found Device: "\\\\?\\HID#VID_0603&PID_1020&Col03#8&2da0b3f2&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}" 0xff00 0x0001
DEBUG [sinowealth_kb_tool::isp] Request device: "\\\\?\\HID#VID_0603&PID_1020&Col02#8&2da0b3f2&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}"
DEBUG [sinowealth_kb_tool::isp] Data device: "\\\\?\\HID#VID_0603&PID_1020&Col03#8&2da0b3f2&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}"
INFO [sinowealth_kb_tool::isp] Connected!
INFO [sinowealth_kb_tool::isp] Enabling firmware...
INFO [sinowealth_kb_tool::isp] Reading...
DEBUG [sinowealth_kb_tool::isp] Reading page 0 @ offset 0x0000
DEBUG [sinowealth_kb_tool::isp] Reading page 1 @ offset 0x0800
DEBUG [sinowealth_kb_tool::isp] Reading page 2 @ offset 0x1000
DEBUG [sinowealth_kb_tool::isp] Reading page 3 @ offset 0x1800
DEBUG [sinowealth_kb_tool::isp] Reading page 4 @ offset 0x2000
DEBUG [sinowealth_kb_tool::isp] Reading page 5 @ offset 0x2800
DEBUG [sinowealth_kb_tool::isp] Reading page 6 @ offset 0x3000
DEBUG [sinowealth_kb_tool::isp] Reading page 7 @ offset 0x3800
DEBUG [sinowealth_kb_tool::isp] Reading page 8 @ offset 0x4000
DEBUG [sinowealth_kb_tool::isp] Reading page 9 @ offset 0x4800
DEBUG [sinowealth_kb_tool::isp] Reading page 10 @ offset 0x5000
DEBUG [sinowealth_kb_tool::isp] Reading page 11 @ offset 0x5800
DEBUG [sinowealth_kb_tool::isp] Reading page 12 @ offset 0x6000
DEBUG [sinowealth_kb_tool::isp] Reading page 13 @ offset 0x6800
DEBUG [sinowealth_kb_tool::isp] Reading page 14 @ offset 0x7000
DEBUG [sinowealth_kb_tool::isp] Reading page 15 @ offset 0x7800
DEBUG [sinowealth_kb_tool::isp] Reading page 16 @ offset 0x8000
DEBUG [sinowealth_kb_tool::isp] Reading page 17 @ offset 0x8800
DEBUG [sinowealth_kb_tool::isp] Reading page 18 @ offset 0x9000
DEBUG [sinowealth_kb_tool::isp] Reading page 19 @ offset 0x9800
DEBUG [sinowealth_kb_tool::isp] Reading page 20 @ offset 0xa000
DEBUG [sinowealth_kb_tool::isp] Reading page 21 @ offset 0xa800
DEBUG [sinowealth_kb_tool::isp] Reading page 22 @ offset 0xb000
DEBUG [sinowealth_kb_tool::isp] Reading page 23 @ offset 0xb800
DEBUG [sinowealth_kb_tool::isp] Reading page 24 @ offset 0xc000
DEBUG [sinowealth_kb_tool::isp] Reading page 25 @ offset 0xc800
DEBUG [sinowealth_kb_tool::isp] Reading page 26 @ offset 0xd000
DEBUG [sinowealth_kb_tool::isp] Reading page 27 @ offset 0xd800
DEBUG [sinowealth_kb_tool::isp] Reading page 28 @ offset 0xe000
DEBUG [sinowealth_kb_tool::isp] Reading page 29 @ offset 0xe800
INFO [sinowealth_kb_tool] MD5: 7658c72d2cdc04ab66f1216a206f6913 |
For some reason, the tool is now working with my keyboard: Output Compiling sinowealth-kb-tool v0.0.8 (D:\projects\sinowealth-kb-tool)
Finished dev [unoptimized + debuginfo] target(s) in 0.68s
Running `target\debug\sinowealth-kb-tool.exe read --vendor_id 0x258a --product_id 0x00f4 --firmware_size 61440 foobar.hex`
INFO [sinowealth_kb_tool::isp] Looking for vId:0x258a pId:0x00f4
DEBUG [sinowealth_kb_tool::isp] Found Device: "\\\\?\\HID#VID_258A&PID_00F4&MI_01&Col03#9&f505e63&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}" 0xff00 0x0001
DEBUG [sinowealth_kb_tool::isp] Opening: "\\\\?\\HID#VID_258A&PID_00F4&MI_01&Col03#9&f505e63&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}"
INFO [sinowealth_kb_tool::isp] Found regular device. Entering ISP mode...
INFO [sinowealth_kb_tool::isp] Regular device not found. Trying ISP device...
INFO [sinowealth_kb_tool::isp] Retrying... Attempt 2/10
INFO [sinowealth_kb_tool::isp] Looking for vId:0x258a pId:0x00f4
INFO [sinowealth_kb_tool::isp] Regular device didn't come up...
INFO [sinowealth_kb_tool::isp] Regular device not found. Trying ISP device...
INFO [sinowealth_kb_tool::isp] Retrying... Attempt 3/10
INFO [sinowealth_kb_tool::isp] Looking for vId:0x258a pId:0x00f4
INFO [sinowealth_kb_tool::isp] Regular device didn't come up...
INFO [sinowealth_kb_tool::isp] Regular device not found. Trying ISP device...
DEBUG [sinowealth_kb_tool::isp] Found Device: "\\\\?\\HID#VID_0603&PID_1020&Col02#8&2da0b3f2&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}" 0xff00 0x0001
DEBUG [sinowealth_kb_tool::isp] Found Device: "\\\\?\\HID#VID_0603&PID_1020&Col03#8&2da0b3f2&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}" 0xff00 0x0001
DEBUG [sinowealth_kb_tool::isp] Request device: "\\\\?\\HID#VID_0603&PID_1020&Col02#8&2da0b3f2&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}"
DEBUG [sinowealth_kb_tool::isp] Data device: "\\\\?\\HID#VID_0603&PID_1020&Col03#8&2da0b3f2&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}"
INFO [sinowealth_kb_tool::isp] Connected!
INFO [sinowealth_kb_tool::isp] Enabling firmware...
INFO [sinowealth_kb_tool::isp] Reading...
DEBUG [sinowealth_kb_tool::isp] Reading page 0 @ offset 0x0000
DEBUG [sinowealth_kb_tool::isp] Reading page 1 @ offset 0x0800
DEBUG [sinowealth_kb_tool::isp] Reading page 2 @ offset 0x1000
DEBUG [sinowealth_kb_tool::isp] Reading page 3 @ offset 0x1800
DEBUG [sinowealth_kb_tool::isp] Reading page 4 @ offset 0x2000
DEBUG [sinowealth_kb_tool::isp] Reading page 5 @ offset 0x2800
DEBUG [sinowealth_kb_tool::isp] Reading page 6 @ offset 0x3000
DEBUG [sinowealth_kb_tool::isp] Reading page 7 @ offset 0x3800
DEBUG [sinowealth_kb_tool::isp] Reading page 8 @ offset 0x4000
DEBUG [sinowealth_kb_tool::isp] Reading page 9 @ offset 0x4800
DEBUG [sinowealth_kb_tool::isp] Reading page 10 @ offset 0x5000
DEBUG [sinowealth_kb_tool::isp] Reading page 11 @ offset 0x5800
DEBUG [sinowealth_kb_tool::isp] Reading page 12 @ offset 0x6000
DEBUG [sinowealth_kb_tool::isp] Reading page 13 @ offset 0x6800
DEBUG [sinowealth_kb_tool::isp] Reading page 14 @ offset 0x7000
DEBUG [sinowealth_kb_tool::isp] Reading page 15 @ offset 0x7800
DEBUG [sinowealth_kb_tool::isp] Reading page 16 @ offset 0x8000
DEBUG [sinowealth_kb_tool::isp] Reading page 17 @ offset 0x8800
DEBUG [sinowealth_kb_tool::isp] Reading page 18 @ offset 0x9000
DEBUG [sinowealth_kb_tool::isp] Reading page 19 @ offset 0x9800
DEBUG [sinowealth_kb_tool::isp] Reading page 20 @ offset 0xa000
DEBUG [sinowealth_kb_tool::isp] Reading page 21 @ offset 0xa800
DEBUG [sinowealth_kb_tool::isp] Reading page 22 @ offset 0xb000
DEBUG [sinowealth_kb_tool::isp] Reading page 23 @ offset 0xb800
DEBUG [sinowealth_kb_tool::isp] Reading page 24 @ offset 0xc000
DEBUG [sinowealth_kb_tool::isp] Reading page 25 @ offset 0xc800
DEBUG [sinowealth_kb_tool::isp] Reading page 26 @ offset 0xd000
DEBUG [sinowealth_kb_tool::isp] Reading page 27 @ offset 0xd800
DEBUG [sinowealth_kb_tool::isp] Reading page 28 @ offset 0xe000
DEBUG [sinowealth_kb_tool::isp] Reading page 29 @ offset 0xe800
INFO [sinowealth_kb_tool] MD5: 7658c72d2cdc04ab66f1216a206f6913 The only problem is that the tool leaves the keyboard in the bootloader mode, which could be perceived as a bricked keyboard: Luckily, the real flashing tool does not care about that and works, even when the keyboard is in this state (unplugging the keyboard works as well...). Writing works but leaves the keyboard in bootloader mode too. For future reference in case someone else runs into this:The RK Keyboard does a web request checking for updates, which you can intercept with for example fiddler classic. The request is currently done at the start of the application and when you press the "Firmware Update" button. (This is the link: http://www.rkgaming.com/Work/Update-RGB/update_version.xml) In there you can find the link to download the executable for your keyboard. That is the one executed by the rk software as well. |
Then you've been experiencing a different issue from @ViktorTrojan. They are experiencing problems that can occur only after that point. (just clarifying this, since you mentioned that it's the same issue in your first comment).
I wasn't aware that there are bootloader versions that have a built-in reset command (mine does not have it). I'll test out
Hm, that's peculiar. So you're saying in the end it started working without doing any changes to the tool or your environment? |
Yes |
Today I was unable to read/write the keyboard again, but thanks to all the logs I posted, I found the culprit: In the logs that I posted where it flashed successfully it selects the request and data device like this:
when it failed to read/flash, it selected the devices like this
with this device selection I get the same error:
The tool selects the wrong device for request/data. It should select them based on the path, so the one with |
…k84-iso support (#47) Initiated from #45 and #46 This PR adds: * Sorting to device enumeration, so that `data` and `request` devices on Windows are selected deterministically. * Reboot functionality for devices that use bootloaders that are currently known to support it - `cfc8661d`. Also exposed as an arg, so that it can be enabled/disabled whenever that's not the default option for the device/bootloader. * A section in the readme tracking bootloader / host platform support and bootloader / function support. * The Royal Kludge RK84 part. * A new debugging function meant to list out all connected HID devices. Thanks to @Luro02 who tracked down the device enumeration issue and proposed a fix for it (along with the reboot feature, list feature, and rk84 device report)! --------- Co-authored-by: Luro02 <24826124+Luro02@users.noreply.github.com>
@ViktorTrojan the latest v0.0.9 release should likely solve the issue you've been experiencing. Please try it out and let us know. |
Sorry for late respone, tried it with latest version (v.0.0.10) which worked |
Device Info
SH68F90A
BYK916
Part Info
Operations Tested
Platforms Tested
Checksums
beefcafebeefcafebeefcafebeefcafe
deadbeefdeadbeefdeadbeefdeadbeef
HID Dump
A dump from usbhid-dump, win-hid-dump or mac-hid-dump
HID Tool Output
The text was updated successfully, but these errors were encountered: