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

Monitor a USB-connected uninterruptible power supply with "Alpine Linux" #3

Open
beigna opened this issue Dec 21, 2022 · 0 comments
Open

Comments

@beigna
Copy link

beigna commented Dec 21, 2022

Article: https://www.fedux.org/articles/monitor-a-usb-connected-uninterruptible-power-supply-with-alpine-linux.html

Hello, nice article. I need to ask you about a (maybe) missing info on the "Fix udev-setup" because I can't understand how NUT gives the proper /dev/... path to udev for the rw permissions.

I'm on a fresh alpine install getting the following error:

# upsdrvctl start
Network UPS Tools - UPS driver controller 2.8.0
Network UPS Tools - Megatec/Q1 protocol serial driver 1.58 (2.8.0)

Unable to open /dev/ttyUSB0: Permission denied

  Current user id: nut (101)
Serial port owner: root (0)
Serial port group: dialout (20)
     Mode of port: 0660
# lsusb
Bus 001 Device 004: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
# ls -al /dev/bus/usb/*/*
crw-rw----    1 root     root      189,   3 Dec 21 18:57 /dev/bus/usb/001/004
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant