Page 1 of 1

Use hardware filter without pcan driver

Posted: Wed 7. Oct 2020, 05:25
by youngtaek
Hello,

I'm using pcan-usb and pcan-pcie (4ch) on my system.
System's nvidia jetson xavier, with L4T installed.
I want to use pcan devices without additional drivers installed, as SocketCAN device.
AFAIK there's API in driver that sets hardware filter in pcan device, but not sure if there's any available without pcan driver installed.
Is there any way?

Thank you in advance.

Re: Use hardware filter without pcan driver

Posted: Wed 7. Oct 2020, 08:11
by M.Heidemann
Hello,

Please see chapter 6.3 of the SocketCAN documentation:

https://www.kernel.org/doc/Documentatio ... ng/can.txt

As you can see this would be a feature where one would have to implement their
own solution as there is no "generic" function in SocketCAN to handle this.

We do not maintain the SocketCAN API and therefore cannot provide any support on how this might be implemented.

For further questions feel free to contact me again.

Best Regards

Marvin