2021-02-21, 08:22 PM
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
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