Closed Piscator74 closed 1 year ago
Looks like permissions of a device on the host. You have the port set to auto
, so this section shouldn't be necessary:
devices:
- /dev/ttyUSB2:/dev/ttyUSB2
Such a device name shouldn't exist on the host. Maybe there is another driver installed on the host which is grabbing the usb device 051d:0002
and attaching it to a dev inode like this? Look for that driver and disable it.
Edit: Check also the doc Network UPS TOols#Can't_claim_USB
Thanks for the suggestion! The host was indeed locking the driver. It works now and I can read the status of the UPS.
I am trying to set up an UPS with the following yml
lsusb anb lsusb -v give the following information about the UPS
But I keep getting the following error in the docker logs. Any clue what is going wrong here?