Skip to content

Unable to open serial communications #6607

Open
@Kreeblah

Description

Creating a bug report/issue

Required Information

  • DietPi version | v8.21.1
  • Distro version | Bullseye and Bookworm
  • Kernel version | Linux DietPi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
  • SBC model | RPi 4B
  • Power supply used | Official RPi PSU
  • SD card used | SanDisk Extreme Pro

Additional Information (if applicable)

  • Software title | gpsd
  • Was the software title installed freshly or updated/migrated? Installed freshly
  • Can this issue be replicated on a fresh installation of DietPi? Yes

Steps to reproduce

I had a bug report for my GPS-based stratum 0 time server at https://github.com/Kreeblah/DietPiTimeServer that indicated that the user couldn't get a GPS lock. After looking into it, it seems that the current RPi images have changed something which prevents the steps I have from allowing gpsd from accessing the serial interface on the GPIO pins, because it never receives data from the GPS hat.

Currently, the only working image is the Bullseye image in the "old" directory on the DietPi site (this one from 31 July). The current Bullseye image and both Bookworm images (old and current) exhibit the issue.

Expected behaviour

The same steps should be able to be used to obtain data from the GPS hat from the serial GPIO pins.

Actual behaviour

gpsd never seems to be able to obtain that data.

Extra details

I'm attaching a sample config.txt here from one of the non-working images (after configuration) in case there's something I'm missing, but as far as I know, this should have the mini UART device correctly configured.

config.txt

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions