On 08/07/2024 22:46, Lee wrote:
On Sun, Jul 7, 2024 at 8:51 PM Andy Smith wrote:In my experience USB serial gadgets on Linux tend to just work or will never work.It worked this time! Other than plugging it into a windows machine that had the proper drivers first, I don't know what changed.
Some devices may advertise them as mass storage drives at first to autorun windows drivers installer. I would not expect it from a cheap serial port adapter though. See the usb-modeswitch package to change exposed USB interface from command line.
Great! I had to add myself to the dialout group to be able to talk to the device, but screen /dev/ttyUSB0 38400 works.
systemd-logind may grant access to the currently active user. Search for "uaccess" in /usr/lib/udev/rules.d/
<https://github.com/systemd/systemd/issues/4288> "Document the uaccess mechanism / dynamic device permissions" <https://enotty.pipebreaker.pl/2012/05/23/linux-automatic-user-acl-management> Tomasz Torcz. Linux automatic user ACL management