Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 2515

Raspberry Pi OS • Re: /dev/serial0 missing

$
0
0
The /dev/serial0 link is created by a udev rule.

The 6.12 update is closer to the upstream device-tree / sys-fs setup and unfortunately that breaks the udev rule. We are working on updating the udev rules because unless there's a very simple downstream patch it makes sense to follow upstream

There's a WIP udev rule here
https://github.com/timg236/raspberrypi- ... ee/serial0

Code:

git clone https://github.com/timg236/raspberrypi-sys-mods --branch serial0# Backup current filecp /etc/udev/rules.d/99-com.rules $HOMEsudo cp raspberrypi-sys-mods/etc.armhf/udev/rules.d/99-com.rules /etc/udev/rules.d
Reboot, or to test with /dev/ttyS0 or /dev/ttyAMA0 if you have dtoverlay=disable-bt in config.txt

Code:

sudo udevadm test /dev/ttyS0

Statistics: Posted by timg236 — Mon Apr 07, 2025 4:36 pm



Viewing all articles
Browse latest Browse all 2515

Trending Articles