Listen-Only mode on Linux stopped working
-
- Posts: 10
- Joined: Fri 14. Jun 2024, 20:03
Listen-Only mode on Linux stopped working
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.
-
- Sales & Support
- Posts: 1083
- Joined: Fri 20. Sep 2019, 13:31
Re: Listen-Only mode on Linux stopped working
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:
and
?
https://www.peak-system.com/fileadmin/m ... n-view.php
Can you show me the output for:
Code: Select all
uname -a
Code: Select all
dmesg
---
Marvin Heidemann
PEAK-Support Team
Marvin Heidemann
PEAK-Support Team
-
- Posts: 10
- Joined: Fri 14. Jun 2024, 20:03
Re: Listen-Only mode on Linux stopped working
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
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
- Attachments
-
dmesg.txt
- (107.18 KiB) Downloaded 358 times
-
- Support
- Posts: 14
- Joined: Tue 31. Aug 2010, 12:42
Re: Listen-Only mode on Linux stopped working
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:
Afterwards check PCANView again.
BR
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
BR
-
- Posts: 10
- Joined: Fri 14. Jun 2024, 20:03
Re: Listen-Only mode on Linux stopped working
Thanks, it works!
Freddy
Freddy
-
- Sales & Support
- Posts: 1083
- Joined: Fri 20. Sep 2019, 13:31
Re: Listen-Only mode on Linux stopped working
Hi,
Thanks for the feedback!
Best Regards
Marvin
- Topic closed -
Thanks for the feedback!

Best Regards
Marvin
- Topic closed -
---
Marvin Heidemann
PEAK-Support Team
Marvin Heidemann
PEAK-Support Team