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?
PCAN-USB on Mac OS
-
- Sales & Support
- Posts: 1083
- Joined: Fri 20. Sep 2019, 13:31
Re: PCAN-USB on Mac OS
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
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
Marvin Heidemann
PEAK-Support Team
-
- Posts: 2
- Joined: Wed 12. Jun 2024, 10:08
Re: PCAN-USB on Mac OS
Thanks for your answer. I got it.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
-
- Sales & Support
- Posts: 1083
- Joined: Fri 20. Sep 2019, 13:31
Re: PCAN-USB on Mac OS
Thanks for your feedback!
BR
Marvin
- closed -
BR
Marvin
- closed -
---
Marvin Heidemann
PEAK-Support Team
Marvin Heidemann
PEAK-Support Team