RaZberry 7 Pro serial problem RPI4b bookworm

Discussions about Z-Way software and Z-Wave technology in general
seattleneil
Posts: 234
Joined: 02 Mar 2020 22:41

Re: RaZberry 7 Pro serial problem RPI4b bookworm

Post by seattleneil »

Please run the following command: sudo lsof -n | grep AMA0

One possible explanation is that you have 2 z-way-server processes running and they are interfering with each other. Another possibility is you have some other process talking to the serial port. The command listed above will show you if either of these situations exist.
judge
Posts: 6
Joined: 09 Nov 2019 15:13

Re: RaZberry 7 Pro serial problem RPI4b bookworm

Post by judge »

Many thanks for your time @seattleneil. It is solved!
I had run

Code: Select all

lsof -n | grep AMA0
before, but without the

Code: Select all

sudo
. And I got an empty return, as expected. However, thanks to your suggestion I run it with

Code: Select all

sudo lsof -n | grep AMA0
:roll: and I got

Code: Select all

agetty    23744                             root    0u      CHR             204,64       0t0        134 /dev/ttyAMA0
agetty    23744                             root    1u      CHR             204,64       0t0        134 /dev/ttyAMA0
agetty    23744                             root    2u      CHR             204,64       0t0        134 /dev/ttyAMA0
.
So, I disabled agetty, rebooted and it works like a charm.
I hope this will help others.
Post Reply