You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After an upgrade of a debian VM, I had always the same error message: Driver: Failed to open the serial port: Error: Operation not permitted, cannot open /dev/ttyAMA0.
After a couple of months, I found only now why ! My usb device was blocked by usbguard.
Here are the following steps that I followed to fix the issue.
Display the list of usb devices with lsusb
Bus 001 Device 003: ID 0658:0200 Sigma Designs, Inc. Aeotec Z-Stick Gen5 (ZW090) - UZB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
If your device is listed, unplug it and enter the following command: sudo dmesg -C.
Plug it again, enter the following command: dmesg > usb.txt then more usb.txt
[ 2772.612186] usb 1-4: New USB device found, idVendor=0658, idProduct=0200, bcdDev
ice= 0.00
[ 2772.612194] usb 1-4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2772.612477] usb 1-4: Device is not authorized for usage
If your device is not authorized, enter: sudo usbguard list-devices --blocked.
If your device is listed: sudo usbguard allow-device -p X where X is your device id (6 in this case)
Then restart zwave-js-ui: sudo zwave-js-ui.restart
Now another your device should be available with a new name (check /dev folder).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
After an upgrade of a debian VM, I had always the same error message:
Driver: Failed to open the serial port: Error: Operation not permitted, cannot open /dev/ttyAMA0
.After a couple of months, I found only now why ! My usb device was blocked by usbguard.
Here are the following steps that I followed to fix the issue.
lsusb
sudo dmesg -C
.Plug it again, enter the following command:
dmesg > usb.txt
thenmore usb.txt
sudo usbguard list-devices --blocked
.sudo usbguard allow-device -p X
where X is your device id (6 in this case)sudo zwave-js-ui.restart
Beta Was this translation helpful? Give feedback.
All reactions