Migration from RPI3 to RPI4

I tried to migrate from RPI3 to RP4.
I did image of current version and then with second card I started rpi4. Everything seems to work correctly with one small “detail” - zwave. I have Aeotec controller but RPI4 doesn’t see it.
My serial is not listed

ls -l /dev/serial/by-id
ls: cannot access ‘/dev/serial/by-id’: No such file or directory

I have also zigbee controller but it discovered correctly

Did I missed something?

After switching to RPI3 controller works correctly

sudo dmesg | grep tty should show what devices the OS sees.

There is a known bug with the Aeotec and the RPi4. The has to do with the USB3 controller. A workaround is to connect the stick to a USB2 hub.

see: Pi4 && Aeotec Z-Wave USB Stick Gen5 - Raspberry Pi Forums

1 Like

Although that is true the error stated indicated an incorrect device name. The stick would still be seen bu the OS, but as a non-functional USB3 device .

Below outputs


[16:38:22] openhabian@openhab:~$ sudo dmesg | grep tty
[sudo] password for openhabian:
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835 .enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=656 bcm2708_f b.fbheight=416 bcm2708_fb.fbdepth=16 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3f000 000 vc_mem.mem_size=0x3f600000 dwc_otg.lpm_enable=0 console=ttyS0,115200 consol e=tty1 root=PARTUUID=048cd265-02 rootfstype=ext4 elevator=deadline fsck.repair=y es rootwait
[ 0.001186] printk: console [tty1] enabled
[ 3.050902] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 114, base_baud = 0) is a PL011 rev2
[ 6.558367] systemd[1]: Created slice system-getty.slice.
[ 10.727528] cdc_acm 1-1.2:1.0: ttyACM0: USB ACM device
[ 10.902302] usb 1-1.1.2: cp210x converter now attached to ttyUSB0


[17:00:39] openhabian@openhab:~$ sudo dmesg | grep tty
[sudo] password for openhabian:
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 smsc95xx.macaddr=E4:5F:01:00:E0:C1 vc_mem.mem_base=0x3f000000 vc_mem.mem_size=0x3f600000 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=PARTUUID=048cd265-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[ 0.001815] printk: console [tty1] enabled
[ 1.481027] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 36, base_baud = 0) is a PL011 rev2
[ 2.713044] printk: console [ttyAMA0] enabled
[ 2.734050] fe215040.serial: ttyS0 at MMIO 0xfe215040 (irq = 37, base_baud = 62500000) is a 16550
[ 4.689890] systemd[1]: Created slice system-getty.slice.
[ 4.697290] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 8.989961] usb 1-1.3: cp210x converter now attached to ttyUSB0

What are you using on the Pi 3? Looking quickly the device for both may be /dev/ttyAMA0.

It is zigbee controller

I bought USB 2.0 hub and controller is now available in the OH.
Thanks for a hint!