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.
RaZberry 7 Pro serial problem RPI4b bookworm
-
- Posts: 234
- Joined: 02 Mar 2020 22:41
Re: RaZberry 7 Pro serial problem RPI4b bookworm
Many thanks for your time @seattleneil. It is solved!
I had run before, but without the . And I got an empty return, as expected. However, thanks to your suggestion I run it with
and I got
.
So, I disabled agetty, rebooted and it works like a charm.
I hope this will help others.
I had run
Code: Select all
lsof -n | grep AMA0
Code: Select all
sudo
Code: Select all
sudo lsof -n | grep AMA0

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.