-
-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Hey, first off - this software looks fantastic, amazing job.
I have a ThermalTake Level 20 RGB Extended Gaming Mouse Pad that I am trying to integrate into my home automation system so that I can set the lights with a batch file, and the IPC server trigger looks like it's going to get me there.
However the device is not supported, so I have attempted to add support to your codebase but I am hitting a wall and not sure how to proceed. I am assuming I have not configured the device correctly and am hoping you can give me some guidance.
First time using wireshark, but I can see the packet that is setting the setup data, just unsure which values are important here.
Crash log:
12:11:19.5146: Creating Device Manager...
12:11:19.6047: Searching for controller changes
12:11:19.6097: Searching for "Dpsg" controllers
12:11:19.7138: Searching for "Level 20 Desk" controllers
12:11:19.7138: Searching for "Level 20 Mouse Pad" controllers
Service failed with unhandled exception:
System.ArgumentOutOfRangeException: Non-negative number required.
Parameter name: length
at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length)
at TTController.Service.Hardware.HidDeviceProxy.WriteBytes(Byte[] bytes) in P:\Source\Username\TTController\Source\TTController.Service\Hardware\HidDeviceProxy.cs:line 40
at TTController.Service.Hardware.HidDeviceProxy.WriteReadBytes(Byte[] bytes) in P:\Source\Username\TTController\Source\TTController.Service\Hardware\HidDeviceProxy.cs:line 76
at TTController.Plugin.Level20MousePadController.Level20MousePadControllerProxy.Init()
at TTController.Service.Managers.DeviceManager.SearchForControllers() in P:\Source\Username\TTController\Source\TTController.Service\Managers\DeviceManager.cs:line 80
at TTController.Service.Managers.DeviceManager..ctor() in P:\Source\Username\TTController\Source\TTController.Service\Managers\DeviceManager.cs:line 36
at TTController.Service.TTService.Initialize() in P:\Source\Username\TTController\Source\TTController.Service\TTService.cs:line 64
at TTController.Service.Program.<>c.<MainMenu>b__5_1() in P:\Source\Username\TTController\Source\TTController.Service\Program.cs:line 49
Here is my Debug Report:
I only have the one TT product, and if I remove the mousepad then all four 0x9007 lines disappear.
Info
-------------------------------
»
» OS: Windows 10 Enterprise 2004 [19041.1.x86fre.vb_release.191206-1406]
» Build: 0.11.0-beta+24.Branch.master.Sha.724a739238b6d72d9f539b5a72a91917db668f1a
»
-------------------------------
Applications
-------------------------------
»
»
-------------------------------
HID
-------------------------------
»
» [0x264a, 0x9007]: \\?\hid#vid_264a&pid_9007&mi_01&col03#9&2122ec9b&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030}
» [0x264a, 0x9007]: \\?\hid#vid_264a&pid_9007&mi_01&col01#9&2122ec9b&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}\kbd
» [0x264a, 0x9007]: \\?\hid#vid_264a&pid_9007&mi_01&col02#9&2122ec9b&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}
» [0x264a, 0x9007]: \\?\hid#vid_264a&pid_9007&mi_00#9&345308d9&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
»
-------------------------------
Controllers
-------------------------------
»
»
-------------------------------
Sensors
-------------------------------
»
» Nuvoton NCT6798D:
» Temperature:
» Temperature #1 (/lpc/nct6798d/temperature/1): 47.0 °C
» Temperature #2 (/lpc/nct6798d/temperature/2): 33.0 °C
» Temperature #3 (/lpc/nct6798d/temperature/3): 82.5 °C
» Temperature #4 (/lpc/nct6798d/temperature/4): 52.0 °C
» Temperature #6 (/lpc/nct6798d/temperature/6): 76.0 °C
»
» AMD Ryzen 7 3700X:
» Temperature:
» Core (Tctl/Tdie) (/amdcpu/0/temperature/2): 58.8 °C
» CCD1 (Tdie) (/amdcpu/0/temperature/3): 57.8 °C
»
» NVIDIA GeForce GTX 970:
» Temperature:
» GPU Core (/gpu-nvidia/0/temperature/0): 48.0 °C
»
» ST3000DM001-1ER166:
» Temperature:
» Temperature (/hdd/1/temperature/0): 37.0 °C
»
» Crucial_CT256MX100SSD1:
» Temperature:
» Temperature (/ssd/0/temperature/0): 40.0 °C
»
-------------------------------
Here is my wireshark dump.
I went through plugging in the mouse pad, starting iTAKE engine, and setting all three LEDs to red
level20mousepad.zip
Thanks!