Skip to content

cant add streamdeck to Companion running inside LXC #3564

@popeter1

Description

@popeter1

Make sure you're on the latest stable or beta build

  • I have tested this on the latest stable or beta release

Is this a bug in companion itself or a module?

  • I believe this to be a bug in companion and not a specific module

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

I am trying to run companion inside a LXC on my Proxmox server
i have setup the LXC to enable USB passthru and see the Streamdeck on lsusb

root@HA-Bitfocus:~# lsusb Bus 001 Device 005: ID 0fd9:0060 Elgato Systems GmbH Stream Deck

when trying to rescan USB the streamdeck does not show up and checking logs i get this

25.07.19 19:49:26 Surface/Controller: Found "elgato-streamdeck" device, but no access. Please quit any other applications using the device, and try again.

I assume this is related to being a LXC and there should be an easy fix but cant find anything online

Steps To Reproduce

install Ubuntu 24.10 LTS LXC on Proxmox

add the following lines to the LXC's conf

`lxc.cgroup2.devices.allow: a

lxc.cap.drop:

lxc.cgroup2.devices.allow: c 188:* rwm

lxc.cgroup2.devices.allow: c 189:* rwm

lxc.mount.entry: /dev/serial/by-id dev/serial/by-id none bind,optional,create=dir

lxc.mount.entry: /dev/ttyUSB0 dev/ttyUSB0 none bind,optional,create=file

lxc.mount.entry: /dev/ttyUSB1 dev/ttyUSB1 none bind,optional,create=file

lxc.mount.entry: /dev/ttyACM0 dev/ttyACM0 none bind,optional,create=file

lxc.mount.entry: /dev/ttyACM1 dev/ttyACM1 none bind,optional,create=file`

run the headless script to install companion

try scanning for USB devices

Expected Behavior

No response

Environment (please complete the following information)

- OS: Ubuntu 24.10 LTS
- Browser: Firefox
- Companion Version: V4.1.0

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BUGSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions