Serial port group ownership dialout vs. audio mismatch after upgrade to 2025.1.0

Hello,

after upgrade to HA Core 2025.1.0, I find that a serial line sensor reading does not work any longer. I use a command line with “tio” to connect to serial port /dev/ttyUSB3 (via by-id symlink).

The serial port is owned by audio (ID 18), whereas the command line tool uses dialout (ID 20), as it’s run from the “homeassistant” container.

$ ls -lan /dev/ttyUSB3
crw-rw----    1 0        18        188,   3 Jan  4 01:32 /dev/ttyUSB3
-------------------------^^
homeassistant:/config# tio -b 57600 /dev/serial/by-id/usb-Prolific_Technology_Inc._USB-Serial_Controller-if00-port0 --script "send('abc');"
[01:34:56.206] tio 3.8
[01:34:56.207] Press ctrl-t q to quit
[01:34:56.209] Connected to /dev/serial/by-id/usb-Prolific_Technology_Inc._USB-Serial_Controller-if00-port0
[01:34:56.210] Running script
[01:34:56.210] Sending file 'abc' using XMODEM-1K
[01:34:56.210] Error: Could not open file    <-----------------------------------
[01:34:56.210] Aborted
[01:34:59.403] Disconnected

homeassistant:/config# id
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy),20(dialout),26(tape),27(video)
---------------------------------------------------------------------------------------------------^^

How can I add audio to the list of groups available in the homeassistant container? Or change the ownership of /dev/ttyUSB* to dialout ?

Note: in deCONZ does not connect to Conbee II USB · Issue #70240 · home-assistant/core · GitHub a similar issue has been mentioned as a side note as well, but I fail to see how that was resolved back then.

Another weird thing is that /dev/ttyACM0 is in the audio group instead of dialout . Tried changing the group to dialout but got “read-only filesystem”.

Any pointers appreciated. Thank you.