timothycrosley / streamdeck-ui

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

Add support for new Stream Deck Mini (when python-elgato-streamdeck upgraded past 0.9.1) #248

Closed victoriadrake closed 1 year ago

victoriadrake commented 2 years ago

Describe the bug

Stream Deck doesn't appear to be recognized by streamdeck-ui.

It appears to be connected as Elgato Systems GmbH Stream Deck Mini shows up with lsusb.

To Reproduce Steps to reproduce the behavior:

  1. Install streamdeck-ui with the precooked script (https://github.com/timothycrosley/streamdeck-ui/blob/master/scripts/ubuntu_install.sh)
  2. Plug in Stream Deck Mini to USB port
  3. Launch with terminal command streamdeck as instructed

Expected behavior The Stream Deck Mini should appear in the dropdown menu on the left.

Screenshots

image

Operating system (please complete the following information)

Stream Deck Version

JitteryDoodle commented 2 years ago

I'm having this same issue on 20.04 with the Stream Deck Mini.

JitteryDoodle commented 2 years ago

Possibly related to https://github.com/abcminiuser/python-elgato-streamdeck/issues/95, as I have a new device serial for my Mini as described.

dodgyrabbit commented 2 years ago

@RocketSEA the change was implemented 10h ago in the upstream library. Once they publish a new build, I will update streamdeck_ui to use it. A change to /etc/udev/rules.d/70-streamdeck.rules will also be required.

JitteryDoodle commented 2 years ago

Could you assist with a workaround until then? I have upgraded to the latest commit using:

❯ sudo pip3 install -U git+https://github.com/abcminiuser/python-elgato-streamdeck.git@4d2770ed4aa66d4035defc507f163ab83ee85dd9
Collecting git+https://github.com/abcminiuser/python-elgato-streamdeck.git@4d2770ed4aa66d4035defc507f163ab83ee85dd9
  Cloning https://github.com/abcminiuser/python-elgato-streamdeck.git (to revision 4d2770ed4aa66d4035defc507f163ab83ee85dd9) to /tmp/pip-req-build-8k0ku3a5
  Running command git clone -q https://github.com/abcminiuser/python-elgato-streamdeck.git /tmp/pip-req-build-8k0ku3a5
Building wheels for collected packages: streamdeck
  Building wheel for streamdeck (setup.py) ... done
  Created wheel for streamdeck: filename=streamdeck-0.9.2-py3-none-any.whl size=24144 sha256=b90613a11b3f05de7dac441543e4548f5e97a43f82929b1e06d16ec4d652f62e
  Stored in directory: /root/.cache/pip/wheels/92/65/1c/e01c984032dc9803acac8c4481b68549b812b58ed117658ec5
Successfully built streamdeck
Installing collected packages: streamdeck
  Attempting uninstall: streamdeck
    Found existing installation: streamdeck 0.9.1
    Uninstalling streamdeck-0.9.1:
      Successfully uninstalled streamdeck-0.9.1
Successfully installed streamdeck-0.9.2

I've also manually added this to /etc/udev/rules.d/70-streamdeck.rules:

SUBSYSTEM=="usb", ATTRS{idVendor}=="0fd9", ATTRS{idProduct}=="0090", TAG+="uaccess"

Still, it doesn't work. Any ideas?

I've also got it built with poetry, but I'm not sure how to actually put these changes to use in that environment.

coljac commented 2 years ago

@RocketSEA I followed what you tried, and was successful. I can use and configure the mini without any issues now.

JitteryDoodle commented 2 years ago

@RocketSEA I followed what you tried, and was successful. I can use and configure the mini without any issues now.

Interesting - I just tried again from scratch and still was unable to get that method to work. Can you provide the steps you took to install by chance?

dodgyrabbit commented 1 year ago

Version 2.0.5 has been published and now supports the new mini. Please review the updated readme to make the required changes to /etc/udev/rules.d/70-streamdeck.rules.

To upgrade, run:

pip install streamdeck_ui --upgrade