Page 1 of 1

PCAN-USB on Mac OS

Posted: Wed 12. Jun 2024, 10:12
by margieortiz
Hello,
I have a Perl program that's running a couple of CAN-servers to interact with a HIL setup. And with the connected Linux machines it's just the case of:

ifconfig -a | grep can
ip link set can0 type can bitrate 250000
ip link set up can0
And then I can reference these CAN-interfaces to my perl program via .ini files:

Port 9921
socketCAN:can0:250
But on the OSX system, the CAN-dongles doesn't even show up with ifconfig -a. I thought I just had to install the drivers from Mac-CAN for it to work. I get the dongles listed as available with the can_moni tool and can send/receive frames manually that way. Are there any solutions to achieving this on Mac? Or am I better off trying to get a ubuntu container running and letting it access the host's devices, i.e the CAN dongles?

Re: PCAN-USB on Mac OS

Posted: Wed 12. Jun 2024, 11:24
by M.Heidemann
Hello,

MAC OS is a BSD based hybrid-kernel (XNU) and as far as i am aware, there is no native
SocketCAN implementation for OSX. I have seen solutions by hobbyists on github, but
support will be rather limited for this...

We are not affiliated with MAC-CAN but as far as i am aware MAC-CAN doesn't take the
Socket-based approach, you should check the MAC-CAN docs for more information.

From our end there is no MAC OSX support.

Best Regards

Marvin

Re: PCAN-USB on Mac OS

Posted: Thu 13. Jun 2024, 12:06
by margieortiz
Hello,

MAC OS is a BSD based hybrid-kernel (XNU) and as far as i am aware, there is no native
SocketCAN implementation for OSX. I have seen solutions by hobbyists on github, but
support will be rather limited for this...
geometry dash scratch
We are not affiliated with MAC-CAN but as far as i am aware MAC-CAN doesn't take the
Socket-based approach, you should check the MAC-CAN docs for more information.

From our end there is no MAC OSX support.

Best Regards

Marvin
Thanks for your answer. I got it.

Re: PCAN-USB on Mac OS

Posted: Fri 14. Jun 2024, 14:00
by M.Heidemann
Thanks for your feedback!

BR

Marvin

- closed -