timothycrosley / streamdeck-ui

A Linux compatible UI for the Elgato Stream Deck.
https://timothycrosley.github.io/streamdeck-ui/
MIT License
1.13k stars 243 forks source link

Additional Stream Deck Mini Ignored - Stuck on Serial of 1st Stream Deck Mini #359

Open ATSiem opened 1 year ago

ATSiem commented 1 year ago

Describe the bug Everything works with my 1st Stream Deck Mini. I added a 2nd Mini, and a 3rd Standard, and it fails to recognize either. Stream Deck fails to load until I plugin the original Stream Deck Mini. The udev rules have been updated, and lsusb recognizes both devices.

I found the serial of the 1st (only working) device referenced in /.streamdeck_ui.json - and I manually edited all references - but it still does not update the UI to list the new serial, or recognize the new Stream Decks.

I did a grep to search all files... and only the above .json came back with a reference to the original serial. I am unable to find where this reference to the single serial is maintained...

See related issue: https://github.com/timothycrosley/streamdeck-ui/issues/352

To Reproduce Steps to reproduce the behavior:

  1. Start Ubuntu with a new (different) Stream Deck Mini plugged in.

Expected behavior Recognize new Stream Deck Mini + Serial, enable configuring buttons.

Operating system (please complete the following information)

Stream Deck Version

ATSiem commented 1 year ago

I've reviewed this issue, and tried creating a new blank config via mv .streamdeck_ui.json .backup-streamdeck_ui.json

When connecting my 2nd Stream Deck Mini (the one that Stream Deck continuously fails to recognize), the streamdeck Terminal says 'Waiting for Stream Deck(s)' - and it does not create a config file.

As soon as I connect my original Stream Deck Mini, the Streamdeck interface loads without issue, and populates that serial number and creates a new Config file.

Trying the 2nd one again, it is not recognized - plugged in tandem to the other, and independently. And I've tested each on the same and different USB ports/hubs (USB 2 and 3 direct on Raspberry Pi 4).

I also tried connecting my Stream Deck MK.2 (15 keys) - it works on my Mac - but still, Stream Deck fails to load on Ubuntu until the 1st Stream Deck Mini I ever connected... is connected!

ATSiem commented 1 year ago

@dodgyrabbit Thoughts? This feels related to https://github.com/timothycrosley/streamdeck-ui/issues/253# - but I cannot understand why only the serial of the 1st device I ever connected is recognized... and the other two always fail.