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
Daisy hat and openplotter
#1
Hi,

I have an updated openplotter install on a raspberry pi4. Everything seems to be working with the exception of the daisy hat that is connected to the pi gpio. I've followed the guide on how to install the daisy hat from wegmatt: https://wegmatt.com/files/dAISy%20HAT%20...kstart.pdf

Then, I go to the openplotter-serial utilitiy, setup an alias for the daisy and add the connection to signalk. But the ais data does not show up in signalk, but shows following error: "PM: error: permission denied, cannot open /dev/ttyOP_ais" and status is "not connected (retry delay 86s)"

Just for a test, I tried to add the daisy directly within opencpn with following error message:

"The device selected is not accessible; opencpn will likely not be able

to use this device as-is. You might want to exit openvpn, reboot and
retry after creating a file called /etc/udev/rules.d/70-openvpn.rules
with the following content:

KERNEL=="ttyUSB", MODE="0666"
KERNEL=="ttyACM*", MODE="066"
KERNEL=="ttyS*", MODE="0666"

For more info, see the file LINUX_DEVICES.md in the distribution docs.
"

I'm pretty sure the daisy is connected correctly, because if I do a sudo cat /dev/serial0 from terminal I actually see !AIVDM sentences. However if I remove the sudo, I get a permission denied. So I'm suspecting that signalk does not have permissions to the serial connection? Or maybe something else is running on openplotter that uses the serial somehow (and prevents signalk from reading)? Perhaps I have some weird settings from updating openplotter a few times? Seems a lot of updates was made to the system (which seems very nice upgrades by the way)

Did anyone experience something similar and found a solution? 

Thanks in advance
Reply


Messages In This Thread
Daisy hat and openplotter - by bjarnej - 2021-02-21, 08:22 PM
RE: Daisy hat and openplotter - by Ski_Entropy - 2021-03-15, 04:25 AM
RE: Daisy hat and openplotter - by rsalles - 2021-03-22, 08:36 PM
RE: Daisy hat and openplotter - by rsalles - 2021-03-22, 08:38 PM
RE: Daisy hat and openplotter - by bjarnej - 2021-03-23, 11:05 PM
RE: Daisy hat and openplotter - by DG3612 - 2021-06-10, 03:48 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)