Can adaptor issue

After updating rpi from *old *to latest, unable to get USB Can adaptor working in signalk server

Using USB (canable.io) Can adaptor for n2k.
works fine on
Old_setup : rpi4 (older rpiOS/earlier nodejs, earlier signalk 1.4x server)

*Latest *Rpi4 build (same hw) but with latest rpiOS/nodejs/skserver
(linux 12 bookworm, nodejs v20.18.0, skserver V2.11.0)
.... and using 64bit version of Bookworm.. (as reccomended on rpi imager download)

Config
  • have added two lines to /etc/rc.local
-

# initialise CAN bus
sudo ip link set can0 up type can bitrate 250000
sudo ip link set can0 txqueuelen 1000

exit 0

-

sudo lsusb
shows the USB device listed as expected

sudo ifconfig
shows below (the can adaptor is definitely there and generating messages.... but i note that ALL packets are shown as dropped.. a clue?)


signalk server
have setup connection in server identical to old version
nmea2000 source = Canbus (canboat.js)
interface = can0
(& done a server restart .. multiple times)

Summary:
i can reconnect a rpi4 (same hw) with older setup - and it finds n2k USB interface and works as expected (n2k working ok)
then swap to new rpi (exact same hw) but with updated OS/node/signalk refuses to work
(n2k connection in dashboard shows up with 5msg/s ... and NO signalk paths populated) ... it should be showing >140 msg/s.. and lots of paths
... something about the newer rpiOS? or nodejs? or ??? or is this a 64bit issue (old rpi was on 32bit i recall)
image.png
Was this page helpful?