dh1tw / streamdeck

Golang API for the Corsair / Elgato StreamDeck

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does not work with new model: 20GAA9902

Anthonyjmartin opened this issue · comments

Does not work with the current model of the 15 key Stream Deck. I have tried changing the ProductID which makes the hardware detectable but none of the examples run. When I try to run them they just hang indefinitely.

Hi @Anthonyjmartin,

I saw a submitted PR at node-elgato-stream-deck which mentioned a new version of the original streamdeck. Maybe the solution lies in that PR?

@Anthonyjmartin how did you detect the model number of your Stream Deck device? Were you able to use any other library?

I do see this in the journal

usb 1-3.3: new high-speed USB device number 15 using xhci_hcd
usb 1-3.3: New USB device found, idVendor=0fd9, idProduct=006d, bcdDevice= 2.00
usb 1-3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-3.3: Product: Stream Deck
usb 1-3.3: Manufacturer: Elgato
usb 1-3.3: SerialNumber: AL43J2C54200
input: Elgato Stream Deck as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.3/1-3.3:1.0/0003:0FD9:006D.000A/input/input29
hid-generic 0003:0FD9:006D.000A: input,hidraw3: USB HID v1.10 Device [Elgato Stream Deck] on usb-0000:00:14.0-3.3/input0

and I also tried changing the ATTRS{idProduct} to "006d" in /etc/udev/rules.d/99-streamdeck.rules but not even enumerate works.

Is there any solution?
I just entered the new vendor and product ID.
What I noticed is that the button callbacks work, but nothing is shown on the display.

I believe the format of the usb packets have changed and it will be necessary to run the Elgato stream deck software along with Wireshark and a USB packet capture tool to make code updates.

Just dig into this. And it's quit more than simple changing some IDs. It seems, that they now transfer the images with JPG Encoding. Even the brightness command has changed.

@Anthonyjmartin I've made a fork where I added support for the 6 keys version and cleaned up part of the system, I also made it non-compatible with Windows/MacOS because I use a different hid lib, and I don't think it'll be compatible as is with the 15 keys version, but if there's need I might buy one to get it working. Can you tell me which OS you're using too?