Linux kernel driver not needed for SocketCAN (AF_CAN, PF_CAN)
  • 0
  • You can get SocketCan just by using vcan
    ip link add type vcan

    (see Documentation/networking/can.txt in the linux kernel source)

    and then feeding packets into it. So the driver can be written from user-space.

  • 0
  • That said, a kernel driver might give better performance. Performance of the current firmware is atrocious, and there is an existing socketcan driver for what is almost the same avr hardware https://github.com/fabiobaltieri/open-usb-can

  • 0
  • administrators

    Yeah, I've been looking into that. Should be relatively straight forward. I'm going to make a firmware version specifically for SocketCAN as it doesn't need the MITM stuff.

  • 0
  • I'd love to see a high-performance SocketCAN implementation with CBT. There are a growing number of tools and libraries out there that make this an awesome tool.

  • 4
    Posts
  • 763
    Views
  • Log in to reply