Skip to content

fix(hid): add StreamDeck+ udev rule + correct HID migration default#1

Open
motoham88 wants to merge 1 commit into
mainfrom
fix/StreamDeck-Comms-Missing
Open

fix(hid): add StreamDeck+ udev rule + correct HID migration default#1
motoham88 wants to merge 1 commit into
mainfrom
fix/StreamDeck-Comms-Missing

Conversation

@motoham88

Copy link
Copy Markdown
Owner

Summary

Test plan

  • Plug in StreamDeck+ on Linux, reload udev rules, confirm device connects without root
  • On a fresh/affected install, verify HidEncoderEnabled flips to True on startup (check via Preferences → Serial checkbox state)
  • Confirm RC-28, PowerMate, ShuttleXpress still work (udev rules untouched)
  • Confirm macOS is unaffected (no udev involved; migration logic is platform-agnostic)

Fixes regression introduced by aethersdr#3258.

🤖 Generated with Claude Code

…-enables on upgrade (aethersdr#3257)

Two root causes for StreamDeck+ going dark after the v26.6 opt-in gate (aethersdr#3258):

1. packaging/linux/60-hid-encoders.rules was missing the StreamDeck+ entry
   (0fd9:0084). Without it hidraw is root-only on Linux, so hid_open() fails
   silently and the device never initialises.

2. The v1 migration in MainWindow read HidEncoderAutoDetect with default "False",
   but the old code treated the key's *absence* as True (implicit default on
   line 8029). Users who never touched that setting had HID implicitly on, yet
   the migration wrote HidEncoderEnabled=False for them. V2 migration detects
   and corrects installs that were already written with the wrong default.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant