Open cpaelzer opened 6 years ago
I thought I found the issue in myself missing the pps-gpio
overlay on this new installation.
But with the overlay configured (dtoverlay=pps-gpio,gpiopin=4
) and pps-gpio
module properly loaded the behavior of /dev/ttyAMA0
in regard to GPS is still the same as before.
I have a similar issue with RPi 3B+ and raspbian version from about a month + Adafruit Ultimate GPS Hat.
gpsinit
often fails but not always.
It seems like there is a mismatch of baud rate between the Pi and the MTK3339 that can't be resolved by gpsinit.
Also, running gpsinit in the startup script of gpsd results to nothing (setting baud rate at 115200 and updates intervals at 10Hz plus some SBAS settings, lauching gpsmon just to find out that it's at 9600 and 1Hz). I was beginning to wonder if GPSD resets the chip and the port at startup thus creating conflict with gpsinit.
I had it running for ~3hours in a loop now, for me it seems to never work. I have a Rpi3B (no +) and the same Adafruit Ultimate GPS Hat.
Unfortunately, I no longer have a Pi to test with but the scripts still seem to work with the Ultimate GPS breakout module and an x86 host. Let me see if I can borrow a Pi this weekend and test.
Did you remove the reference to "console" in your "/boot/cmdline.txt"? remove "console=ttyAMA0,115200"
Also make sure the UDEV rules are setup correctly. I have this setup on a RPi3.
Later, Jeff
Not sure if this is relevant, but Dragino has a long Wiki page about the RPi3 and serial issues, maybe that applies here, too: Getting GPS to work on Raspberry Pi 3
Hi, this is disturbingly similar to issue #5 , so maybe my hat is also just damaged - I'm not sure. It wan't shared in the other issue how the further debugging was done, so I hope to get some insights by filing and discussing a new issue.
I came from adafruit forums and found this great github project here.
I then realized I really need to (re-)initialize my GPS as it is probably a year and 500km out of sync to its last good status it had with a friend of mine. But when I try to initialize I only get this:
I tried to set raw mode if I get anything, but I don't
So it is just dead - maybe? But I lack a good idea how to check and would be happy about any advice in that regard.