RPi3: AEOTEC Z-Stick Gen5 Port does not exist issue

I am trying to setup z-stick on Pi3, I am using OH2.

I am getting this error serial Error: Port /dev/ttyACM0 does not exist

pi3 seems to mapping the the z-stick to ttyACM0 but some how I still get this error.
following are output of the few commands I ran. It might help in finding real issue

pi@raspberrypi:/dev $ ls -al /dev | grep ttyACM0
crw-rw----  1 root dialout 166,   0 Feb  9 14:55 ttyACM0

pi@raspberrypi:/dev/serial/by-path $ lsusb
Bus 001 Device 015: ID 0658:0200 Sigma Designs, Inc. 
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

pi@raspberrypi:/dev/serial/by-path $ dmesg | tail
[12681.031486] usb 1-1.2: USB disconnect, device number 13
[13633.999258] usb 1-1.2: new full-speed USB device number 14 using dwc_otg
[13634.132549] usb 1-1.2: New USB device found, idVendor=0658, idProduct=0200
[13634.132563] usb 1-1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[13634.133724] cdc_acm 1-1.2:1.0: ttyACM0: USB ACM device
[13635.911486] usb 1-1.2: USB disconnect, device number 14
[13637.229278] usb 1-1.5: new full-speed USB device number 15 using dwc_otg
[13637.362548] usb 1-1.5: New USB device found, idVendor=0658, idProduct=0200
[13637.362563] usb 1-1.5: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[13637.363732] cdc_acm 1-1.5:1.0: ttyACM0: USB ACM device

pi@raspberrypi:/dev/serial/by-path $ ls -al /dev/serial/by-path
total 0
drwxr-xr-x 2 root root 60 Feb  9 14:55 .
drwxr-xr-x 4 root root 80 Feb  9 14:55 ..
lrwxrwxrwx 1 root root 13 Feb  9 14:55 platform-3f980000.usb-usb-0:1.5:1.0 -> ../../ttyACM0

pi@raspberrypi:/dev/serial/by-path $ ls -al /dev/serial/by-id
total 0
drwxr-xr-x 2 root root 60 Feb  9 14:55 .
drwxr-xr-x 4 root root 80 Feb  9 14:55 ..
lrwxrwxrwx 1 root root 13 Feb  9 14:55 usb-0658_0200-if00 -> ../../ttyACM0

pi@raspberrypi:/dev/serial/by-path $ ls -al /sys/class/tty/ | grep ttyACM0
lrwxrwxrwx  1 root root 0 Feb  9 15:04 ttyACM0 -> ../../devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.0/tty/ttyACM0

Thanks
Sameer.

did you give openhab permission?

sudo adduser openhab dialout
sudo adduser openhab tty  

Thanks Nicolas, That worked.

you saved my day, Thanks a ton again

1 Like