Request modules: Enable Kvaser CAN interface modules, kvaser_usb and kvaser_pciefd

Open
#6,965 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
55/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Tech stack
linux

Research direction

Search the Raspberry Pi defconfig files for CONFIG_CAN_KVASER_PCIEFD and CONFIG_CAN_KVASER_USB, then compare nearby CAN driver settings. Enable both symbols as modules and verify the resulting configuration and Kvaser device behavior with ip link show | grep can on the stated Raspberry Pi hardware.

Written by the indexing model from the issue text.

Description

Describe the bug

Please enable the Kvaser CAN interface modules, kvaser_usb and kvaser_pciefd, in the Raspberry Pi defconfigs:

CONFIG_CAN_KVASER_PCIEFD=m
CONFIG_CAN_KVASER_USB=m

There are numerous solutions and proof-of-concepts where a Raspberry Pi is combined with Kvaser USB CAN interfaces. Additionally, various setups using Kvaser PCIe or M.2 cards with the CM4 or Raspberry Pi 5 are becoming increasingly popular.

Steps to reproduce the behaviour

Plug-in Kvaser USB device or Kvaser PCIe device.

ip link show | grep can

expected

$ ip link show | grep can
6: can0: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UP mode DEFAULT group default qlen 10
    link/can 
7: can1: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UP mode DEFAULT group default qlen 10
    link/can 
8: can2: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UP mode DEFAULT group default qlen 10
    link/can 
9: can3: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UP mode DEFAULT group default qlen 10
    link/can 
Device (s)

Raspberry Pi 5

System
$ cat /etc/rpi-issue 
Raspberry Pi reference 2025-05-13
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 5dabc7dc940059dfbc46af5d97b60a1e812523dd, stage2

$ vcgencmd version
2025/03/10 17:10:37 
Copyright (c) 2012 Broadcom
version 2bb2ae64 (release) (embedded)

$ uname -a
Linux raspberrypi 6.12.25+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.12.25-1+rpt1 (2025-04-30) aarch64 GNU/Linux
Logs

No response

Additional context

No response

Dominant language
C
Stars
13.2k
Forks
5.5k
Avg merge
2d 21h
Merged PRs (30d)
21

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from raspberrypi/linux

All issues in raspberrypi/linux

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.