Closed tobster-de closed 5 months ago
One thing I noticed is that my PowerMate appears as a "HID-compliant consumer control device" underneath a "USB Input Device" instead of a "HID-compliant mouse." Mine also has a newer revision (0x400 instead of 0x109), although that may not matter.
Is is possible that another program, such as the official Griffin PowerMate software, is also running at the same time and preventing this program from opening the device? I'm not sure if these devices allow concurrent usage.
The specific error here is triggered by CreateFileW
in kernel32.dll
returning -1
. Sadly, HidSharp is not calling GetLastError
to get more details about why it returned -1
, although that may be possible with a breakpoint.
You may also try installing and using the official Griffin PowerMate software just to ensure that your USB and PowerMate hardware are working OK. This requires .NET Framework 2/3/3.5, which you can install using optionalfeatures.exe
:
Feel free to reopen if there is new information.
I wanted to revive my mate and found your project. I'm not sure if I'm doing something wrong here, but just executing the PowerMateVolume project or the unit test for the constructor produces the following:
The device should be there:
Do you have any hint, what's going on?