Skip to content

J1939 messages not sent/received in Ubuntu 20.04 (Kernel 5.4) #212

Closed
@BalkanRising

Description

@BalkanRising

Hi guys, hope all is well! I think I am facing an issue with the j1939 driver in kernel 5.4. The below test works with a very old set of j1939/can drivers on my arm board running kernel 4.9 but fails on Ubuntu 20.04 x86/Kernel 5.4:

Terminal 1:

testj1939 -r vcan0

Terminal 2:

testj1939 -s8 vcan0:0x80 :0x12300

Problem: In Ubuntu 20.04, Terminal one never prints anything out, indicating the message I sent from terminal 2 did not get properly sent or received. Before I start debugging the driver, I am wondering if there are any known issues with what I am trying to do? I did not see anything while looking through older issues on here.

Setup

Install Ubuntu 20.04 and can-utils and then do the following to set up machine:

modprobe vcan
sudo ip link add dev vcan0 type vcan
sudo ip link set up vcan0
modprobe can-j1939

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions