km4ack / pi-build

https://youtube.com/km4ack
339 stars 71 forks source link

Update-Tool breaks Ublox GPS device because of missing /dev/serial/by-id link #517

Open bleriotx opened 1 year ago

bleriotx commented 1 year ago

I just ran the Build-a-Pi Update-Tool on my 32-bit Pi3B+ and it broke my UBlox GPS clock sync.

There is a bug in the latest release of Debian that affects the Pi. The /usr/lib/udev/rules.d/60-serial.rules has a bug in it that prevents the creation of the symbolic link /dev/serial/by-id.

This will break your Ublox GPS device.

To fix it - do the following: 1) sudo cp /usr/lib/udev/rules.d/60-serial.rules /usr/lib/udev/rules.d/60-serial.rules.ori 2) Replace the /usr/lib/udev/rules.d/60-serial.rules file with the one found here: https://github.com/systemd/systemd/tree/main/rules.d/60-serial.rules 3) Reboot and you should be good to go.

Thanks to all who created this killer project. I use my Build-A-Pi on POTA activation's a lot!

N1SPW

mikesamosr commented 1 year ago

I applied this fix, rebooted and have the same problem where it still does not display the GPS device. When i list the USB devices it does show "U-Blox AG" device. I also reviewed the modified file 60-serial.rules and it has the changes applied. Any ideas?