diff options
| author | Stephen Nothnagel <srnoth@users.noreply.github.com> | 2026-04-06 14:54:35 -0400 |
|---|---|---|
| committer | Stephen Nothnagel <srnoth@users.noreply.github.com> | 2026-04-06 14:57:41 -0400 |
| commit | 2509879017df77a0a7478df63d3e30c193c5ed7c (patch) | |
| tree | af22b100ef19d860666cd1dd29b84763dab55704 /python | |
| parent | 0792a6b2b7ab32006ff45832a35de4536547cbd3 (diff) | |
| download | vyos-1x-2509879017df77a0a7478df63d3e30c193c5ed7c.tar.gz vyos-1x-2509879017df77a0a7478df63d3e30c193c5ed7c.zip | |
serial: T8211: fix symlink collisions for multi-port USB serial adapters
Multi-port USB serial adapters (e.g., MosChip MCS7840) where all ports
share the same USB ID_PATH create identical symlink names in
/dev/serial/by-bus/, causing only the last-enumerated port to be
accessible.
Split the existing catch-all rule for devices with .ID_PORT into two
cases:
- Port 0: keeps the base symlink name (backward compatible)
- Port 1+: appends pN suffix (e.g., usb0b1.4.1p1.0p1)
Devices where each port has a unique ID_PATH (e.g., FTDI FT4232H) and
single-port devices are unaffected.
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions
