Hello Everyone,
I created an addon to read data from a solar inverter. Unfortunately from time to time the serial interface accessible via USB stops working, so I would need to reset it writing to the following paths:
/sys/bus/usb/drivers/usb/bind
/sys/bus/usb/drivers/usb/unbind
Unfortunately each my try causes the following diagnostics
Writing Exception [Errno 30] Read-only file system: '/sys/bus/usb/drivers/usb/unbind' Type <class 'OSError'>
Writing Exception [Errno 30] Read-only file system: '/sys/bus/usb/drivers/usb/bind' Type <class 'OSError'>
I tried many ways. Used:
privileged:
- BPF
- CHECKPOINT_RESTORE
- DAC_READ_SEARCH
- IPC_LOCK
- NET_ADMIN
- NET_RAW
- PERFMON
- SYS_ADMIN
- SYS_MODULE
- SYS_NICE
- SYS_PTRACE
- SYS_RAWIO
- SYS_RESOURCE
- SYS_TIME
or
hassio_role: admin
full_access: true
but I always got the same problem.
Is any way to solve such problem?
Thanks in advance for any hint