foruny
(Paco Foruny)
September 5, 2019, 8:35pm
1
Platform information: Raspberry pi 4 Model B Rev 1.1
Hardware: CPUArchitecture/RAM/storage
OS: what OS is used and which version Kernel = Linux 4.19.66-v7l+
Java Runtime Environment: which java platform is used and what version
openHAB version:openHAB 2.5.0~M2-1 (Milestone Build)
Issue of the topic: Trying to configure zwave stick, port ttyACM0 is not listed as available
File /dev/ttyACM0 does not exist. Configuring ttyAMA0 as the zwave controller port does not work as zwave controller (aeotec Z-Stick Gen5 model ZW090-C) is unable to get online status.
I made a fresh installation from openhabian-pi-raspbian-201908050414-gitca0976f-crc6a66b5a1.img.xz
(https://github.com/openhab/openhabian/releases/download/v1.5/openhabian-pi-raspbian-201908050414-gitca0976f-crc6a66b5a1.img.xz )
I will appreciate any comment on how to proceed to get the zwave controller working.
run this command and post output
dmesg -T | grep tty
1 Like
MDAR
(Stuart Hanlon, UK importer of Velbus hardware)
September 5, 2019, 9:41pm
3
This topic might help you
I am trying to figure out how USB works on openhabian on rpi3B+.
On windows USB sticks shows up as com5, com17 and so on… And the numbers changes on reboot. On my RPI I seem to experience the same:
So i have a usb rs485 dongle using the modbus binding, this now throws me tons of errors, and this is enough to make the whole Openhab to freeze, GUI, works fine, but no other events are occuring!!
2018-10-30 07:40:17.639 [ERROR] [et.wimpi.modbus.net.SerialConnection] - open port failed: Unknown Li…
Benjy
(Ben Clark)
September 5, 2019, 10:29pm
4
Hi @foruny
I’m guessing you’re plugging the Aeotec Z-stick into the RPi directly? Unfortunately, the two have issues together:
Hi @chev ,
Firstly welcome to the forums, I believe you have done the setup of your stick correctly. The debugging suggestions others have suggested to you would have lead you to the same place (although, for other issues you may want to install Java 8).
I arrived here because I’ve just run into the same problem and unfortunately it looks like the Z-Wave Gen5 is incompatible with the Raspberry Pi 4’s USB ports.
See: https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=245031#p1502030
To ge…
I use an amazonbasics hub attached to the RPi 4 to use my Aeotec stick. /dev/ACM0
shows up after then.
1 Like
foruny
(Paco Foruny)
September 6, 2019, 8:13am
5
After running dmesg -c I ran dmesg -T | grep tty
No output. It seems like plugging the stick is not recognized by the system.
Plugging the zstick directly into a Pi4 will not work because the zstick dies not follow the usb specification. The port shuts down to prevent hardware damage to the Pi.
A workaround is to use a USB 2 hub between the Pi4 and the zstick.
The permanent solution is to use a usb certified device that meets the specifications.
foruny
(Paco Foruny)
September 6, 2019, 8:42am
7
Thank you @Benjy . I understand that there is a design flaw on the hardware of the Aeon Labs Z-Stick Gen5, not being able to pass usb certification program. Fortunately the workaround of connecting though an USB hub worked for me.
2 Likes
after dmesg -T | grep tty
[Wed Jun 8 17:48:48 2022] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:640x480M@60 smsc95xx.macaddr=E4:5F:01:79:7C:5B vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=91192829-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
[Wed Jun 8 17:48:48 2022] printk: console [tty1] enabled
[Wed Jun 8 17:48:49 2022] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 34, base_baud = 0) is a PL011 rev2
[Wed Jun 8 17:48:51 2022] systemd[1]: Created slice system-getty.slice.
[Wed Jun 8 23:33:37 2022] cdc_acm 1-1.4:1.0: ttyACM0: USB ACM device
[Thu Jun 9 13:14:38 2022] cdc_acm 1-1.4:1.0: ttyACM0: USB ACM device
cant find ACM0 and AMA0 isnt working =(
what is the result of the command
ls -l /dev/serial/by-id/
Wolfgang_S:
ls -l /dev/serial/by-id/
its crazy, I connected an arduino UNO.
sometimes ttyACM0 is showing and the board is connected
some minutes later the board is no longer available / not found
ls: cannot access '/dev/serial/by-id/': No such file or directory
could it be that this is linked to a power supply problem.
its definitly the overheating, i always lose the uno when outdoor temperatures are 30*C +