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
Can0 Issue in SK
#1
I’ve just built a new system with Pi5 and McArthur hat. Everything seemed OK until I found no nmea2000 data in SK. I’ve checked all the settings as per documentation and I can’t see anything wrong. All apps updated and system updated after install. In SK the message I see next to can0 is ‘Failed to load canSocket module. Cannot find module …/build/Release/can. The can leds on the hat are both blinking which I assume means data is being passed so hopefully the hat is OK. I’m reasonably sure the wires are correct even though the drop cable I used has different colours to normal nmea2000 protocol. I belled them out to identify which was which from the pins. Any help gratefully received. I’m not great at Linux commands do if it involves checking things in terminal I need learner guidance!
Reply
#2
If you are getting "Unable to load native socketcan interface" then you need to reinstall socket can. To do that:

Open the terminal on openplotter.
copy and paste each line into the terminal.


cd /usr/lib/node_modules/signalk-server/
sudo npm install socketcan
sudo systemctl restart signalk.service
Reply
#3
Thanks. Sorry to sound dim but is it press enter after each line before entering the next? Also is that a space between cd and /. I can’t copy paste at this stage so need to type.
Reply
#4
yes, its a space after cd
type each line and press enter.
when you get the prompt back do the next line.
Reply
#5
Thanks very much for your help. Unfortunately that fix didn’t do it in my case.
Reply
#6
I eventually found this and it worked

https://github.com/openplotter/openplott...r/issues/8
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)