Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To verify: USB/serial name patterns to check with "port=auto" #1020

Open
jimklimov opened this issue Apr 19, 2021 · 1 comment
Open

To verify: USB/serial name patterns to check with "port=auto" #1020

jimklimov opened this issue Apr 19, 2021 · 1 comment
Labels

Comments

@jimklimov
Copy link
Member

/dev/hidraw0 per #1012
/dev/ttyXRUSB0 per #1017 and #954

@biergaizi
Copy link
Contributor

/dev/ttyXRUSB0 per #1017 and #954

I think NUT should not assume there's any special serial port name patterns. For the Linux kernel, the rule is that all serial devices must use generic names such as ttyACM and ttyUSB. We can't just make assumptions from the device name. To me, I doubt whether automatic serial port configuration is really a good idea at all (since we should not make assumption based on device name, so it means other very convoluted methods of detection must be used, e.g. checking which kernel module is binded to which USB device).

The name /dev/ttyXRUSB0 reported by UPS2000 users is a nonstandard name in a out-of-tree unofficial driver, likely bundled in a distro downstream kernel. Since Linux 5.1It has already been replaced by the upstream driver, which uses a generic name.

@jimklimov jimklimov added the USB label Nov 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants