Skip to content

Trixie Changes (USB devices group changes) #480

@meckiemac

Description

@meckiemac

With Debian Trixie, the group assignment behavior for some USB devices in the /dev tree changes. Assigning the openhab user to the dialout group does not work anymore, since the some handling of user/group assignments changed. New an USB-Serial-Adapter (just my case) are now assigned to the plugdev group. I had to manually reverse the behaviour (entry in /dev/udev/rules.d) for the openhab container used devices.

See inputlabs/ctrl#51 and further mentioned links.

Summary

add openhab user also to the plugdev group

Expected Behavior

openhab user is part of plugdev group

Current Behavior

openhab user is not part of plugdev and can not access usb-serial adapters under Debian trixie

Possible Solution

workaround is to force the old behaviour with a /dev/udev/rules.d/ entry to put the group back to dialout.

Steps to Reproduce

  1. Debian Trixie w/ USB-Serial Adapter and devices passed thru to the container

Your Environment

Debian Trixie

Image

  • openHAB version: 5.0.1 w/ smartmeter add on
  • Image tag used: latest-delian

Docker Host

  • Operating System: Raspbian GNU/Linux (trixie)
  • Docker Version: latest
  • Architecture: arm64

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions