Page 1 of 1

Listen-Only mode on Linux stopped working

Posted: Tue 9. Jul 2024, 03:10
by freddy.ben-zeev
I've moved my setup to a new system and the Listen Only mode does not seem to work any more. I'm using Ubuntu 20.04 with peak-system USB adapter. The driver version is v8.18.0 and the PCAN-View version is v0.9.3-2-gd2f361a. Without Listen Only option the PCAN-View transmits and traces the messages on the bus, but if I set Listen Only (and use a different device to send the CAN messages) the trace window remains empty. If I use the Windows PCAN-View it works just fine.

Re: Listen-Only mode on Linux stopped working

Posted: Tue 9. Jul 2024, 09:20
by M.Heidemann
I was not able to replicate this behavior on in my tests using pcan-linux 8.18 and PCAN-View 0.9.3-53-g5adad75. Please check if you can upgrade to the latest version of PCAN-View using the installation described here:

https://www.peak-system.com/fileadmin/m ... n-view.php

Can you show me the output for:

Code: Select all

uname -a
and

Code: Select all

dmesg
?

Re: Listen-Only mode on Linux stopped working

Posted: Tue 9. Jul 2024, 18:35
by freddy.ben-zeev
The PCAN-View I've installed from the provided link shows version 0.9.3-2-gd2f361a and not 0.9.3-53-g5adad75 (as in your post). Just to be sure I removed and reinstalled.

uname -a:

dcval@dcval-NT2-HP-Z4-G4-Workstation:~/Downloads$ uname -a
Linux dcval-NT2-HP-Z4-G4-Workstation 5.15.0-113-generic #123~20.04.1-Ubuntu SMP Wed Jun 12 17:33:13 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

dmesg:

Attached.

Thanks,

Freddy

Re: Listen-Only mode on Linux stopped working

Posted: Wed 10. Jul 2024, 08:41
by PEAK-System
From what i can see in your logs:

You are using the wrong driver variant, seems like you installed the NETDEV driver which is compatible with SocketCAN applications but not PCANView.

To confirm:

Switch to your peak-driver directory:

Code: Select all

sudo make uninstall

Code: Select all

make clean

Code: Select all

make

Code: Select all

sudo make install

Code: Select all

sudo modprobe pcan
Afterwards check PCANView again.

BR

Re: Listen-Only mode on Linux stopped working

Posted: Thu 11. Jul 2024, 22:56
by freddy.ben-zeev
Thanks, it works!

Freddy

Re: Listen-Only mode on Linux stopped working

Posted: Fri 12. Jul 2024, 08:05
by M.Heidemann
Hi,

Thanks for the feedback! :)

Best Regards

Marvin

- Topic closed -