Page 1 of 1
PCAN-USB X6 Socket CAN Passive Mode
Posted: Wed 12. May 2021, 16:03
by a.yuzva
Is it possible to set PCAN-USB X6 into passive mode using the socket(netdev from Linux mainline kernel) driver, or is it only possible with chardev driver (compiled from peak website)?
Re: PCAN-USB X6 Socket CAN Passive Mode
Posted: Wed 12. May 2021, 16:16
by M.Heidemann
Hello,
To confirm:
Do you mean by "passive mode" listen-only, so no interaction with the bus
apart from reading?
Best Regards
Marvin
Re: PCAN-USB X6 Socket CAN Passive Mode
Posted: Wed 12. May 2021, 19:21
by a.yuzva
M.Heidemann wrote: ↑Wed 12. May 2021, 16:16
Hello,
To confirm:
Do you mean by "passive mode" listen-only, so no interaction with the bus
apart from reading?
Best Regards
Marvin
Hi Marvin,
Correct, listen only.
Thank you,
Andriy
Re: PCAN-USB X6 Socket CAN Passive Mode
Posted: Fri 14. May 2021, 09:29
by M.Heidemann
Hello,
Yes, you can with the "listen-only" paramenter:
Code: Select all
sudo ip link set canx up type can bitrate 100000 listen-only on
Please see:
https://www.kernel.org/doc/Documentatio ... ng/can.txt
Best Regards
Marvin