/dev/ttyS2 dissapears after update

Hi All,

I installed the latest Debian image, rock-5b_bookworm_kde_b5.output.img on SD card.

I used rsetup to enable the “Enable UART2-M0” overlay. This, after reboot, enables /dev/ttyS2 port. I can run “cat /dev/ttyS2” and see GPS data from the HAT.

After “apt-get update” and “apt-get upgrade” and reboot, the /dev/ttyS2 port is gone, replaced by the debug port /dev/ttyFIQ0 which does not give me the GPS data that /dev/ttyS2 gave me.

How do I prevent software updates from breaking /dev/ttyS2?

Thank you,
Errol

1 Like

Hi @errolt,
Instead of upgrading your system with upgrade, please use rsetup’s built-in system update function!

Using rsetup to update my system COMPLETELY BROKE IT! Now it doesn’t boot from NVME at all.

1 Like

That piece of garbage rsetup deleted most of the overlays from /boot/dtbo. Including overlays that I was USING, like the overlay to enable I2C on pins 3 and 5.

1 Like

Sorry, please try to hit Reply to get back to me, otherwise I may not receive the notification resulting in a delayed reply.
Please show me the result of you running the uname -a && sudo dkms status command