PCAN-USB on Mac OS

USB to CAN Interface
Locked
margieortiz
Posts: 2
Joined: Wed 12. Jun 2024, 10:08

PCAN-USB on Mac OS

Post by margieortiz » Wed 12. Jun 2024, 10:12

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?

M.Heidemann
Sales & Support
Sales & Support
Posts: 1083
Joined: Fri 20. Sep 2019, 13:31

Re: PCAN-USB on Mac OS

Post by M.Heidemann » Wed 12. Jun 2024, 11:24

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
---
Marvin Heidemann
PEAK-Support Team

margieortiz
Posts: 2
Joined: Wed 12. Jun 2024, 10:08

Re: PCAN-USB on Mac OS

Post by margieortiz » Thu 13. Jun 2024, 12:06

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.

M.Heidemann
Sales & Support
Sales & Support
Posts: 1083
Joined: Fri 20. Sep 2019, 13:31

Re: PCAN-USB on Mac OS

Post by M.Heidemann » Fri 14. Jun 2024, 14:00

Thanks for your feedback!

BR

Marvin

- closed -
---
Marvin Heidemann
PEAK-Support Team

Locked