This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Make Raspberry Pi GPS HAT Work in OpenPlotter
#6
Found the solution thanks to Google and other people, you have to enable a dummy serial port:

Enable extra serial port:
Sudo nano /boot/config.txt
add the following to the bottom: enable_uart=1
save and exit
The port is now available as ttyS0 or as serial0

Disable the console output for that port:
sudo systemctl stop serial-getty@ttyS0.service
sudo systemctl disable serial-getty@ttyS0.service
sudo nano /boot/cmdline.txt
Remove the line: console=serial0,115200

Reboot
Add ttyS0 to openplotter as incoming serial port

(2016-07-24, 07:46 AM)Ewald Harmsen Wrote: Found the solution thanks to Google and other people, you have to enable a dummy serial port:

Enable extra serial port:
Sudo nano /boot/config.txt
add the following to the bottom: enable_uart=1
save and exit
The port is now available as ttyS0 or as serial0

Disable the console output for that port:
sudo systemctl stop serial-getty@ttyS0.service
sudo systemctl disable serial-getty@ttyS0.service
sudo nano /boot/cmdline.txt
Remove the line: console=serial0,115200

Reboot
Add ttyS0 to openplotter as incoming serial port

Is maybe a good idea to include this fix in a new release of open plotter.
serial0 is a reference to ttyAMA0 on RPI2 and to ttyS0 on RPI3
Reply


Messages In This Thread
RE: Make Raspberry Pi GPS HAT Work in OpenPlotter - by Ewald Harmsen - 2016-07-24, 07:46 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)