Can't install PCAN-view on Ubuntu 24.04.2

This forum covers PCAN-Linux and Linux development issues concerning our products
christiaanvanarum
Posts: 8
Joined: Fri 14. Feb 2025, 14:06

Can't install PCAN-view on Ubuntu 24.04.2

Post by christiaanvanarum » Mon 17. Feb 2025, 10:00

Hi all,

Title mainly speaks for itself, but i've done the following:
I've followed the steps on the following page for the Ubuntu 24.04 distro: https://www.peak-system.com/fileadmin/m ... n-view.php
Now i get the following error in my terminal when i run sudo apt-get update, or sudo apt-get install pcanview-ncurses
It clearly has something to do with a incorrect GPG key, but what triggers this?

Is this command (quoted from the documentation page) correct? :

Code: Select all

wget -q http://www.peak-system.com/debian/peak-system-public-key.asc -O- | sudo tee /etc/apt/trusted.gpg.d/
I get the following error:

Code: Select all

Err:6 https://www.peak-system.com/debian noble InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY DE0B8CB39CEAA78D
Reading package lists... Done
W: GPG error: https://www.peak-system.com/debian noble InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY DE0B8CB39CEAA78D
E: The repository 'https://www.peak-system.com/debian noble InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Thanks in advance!

M.Heidemann
Sales & Support
Sales & Support
Posts: 1083
Joined: Fri 20. Sep 2019, 13:31

Re: Can't install PCAN-view on Ubuntu 24.04.2

Post by M.Heidemann » Mon 17. Feb 2025, 10:37

Hello,

You forgot to add the key to your trusted repositories, from what i can tell:

Code: Select all

wget -q http://www.peak-system.com/debian/peak-system-public-key.asc -O- | sudo apt-key add -
BR

Marvin
---
Marvin Heidemann
PEAK-Support Team

christiaanvanarum
Posts: 8
Joined: Fri 14. Feb 2025, 14:06

Re: Can't install PCAN-view on Ubuntu 24.04.2

Post by christiaanvanarum » Mon 17. Feb 2025, 10:40

Hi Marvin,

Thanks for the quick reply.

The command you provided is for pre-24.04 Ubuntu versions right? Since apt-key is deprecated.
The tutorial provides this command:

Code: Select all

wget -q http://www.peak-system.com/debian/peak-system-public-key.asc -O- | sudo tee /etc/apt/trusted.gpg.d/

M.Heidemann
Sales & Support
Sales & Support
Posts: 1083
Joined: Fri 20. Sep 2019, 13:31

Re: Can't install PCAN-view on Ubuntu 24.04.2

Post by M.Heidemann » Mon 17. Feb 2025, 10:52

Hello,

You are absolutely right, we didn't update this accordingly,
let me iterate through this on our test-setup and get back at you with
updated info, i wanna make sure everything works as intended using
the updated approach.

I'll get back to you as soon as i tested this,
give me a minute.

BR

Marvin
---
Marvin Heidemann
PEAK-Support Team

M.Heidemann
Sales & Support
Sales & Support
Posts: 1083
Joined: Fri 20. Sep 2019, 13:31

Re: Can't install PCAN-view on Ubuntu 24.04.2

Post by M.Heidemann » Mon 17. Feb 2025, 12:08

Hi,

Thank you for your patience!

It seems that we need to fix something regarding the signing of the package,
i can't get it to work either, regardless of procedure ( Seems like we missed something)

Our dev team is on it and i'll get back at you once i have a solution from them.

BR

Marvin
---
Marvin Heidemann
PEAK-Support Team

christiaanvanarum
Posts: 8
Joined: Fri 14. Feb 2025, 14:06

Re: Can't install PCAN-view on Ubuntu 24.04.2

Post by christiaanvanarum » Mon 17. Feb 2025, 13:30

Thanks for the notification! I'll wait patiently.

User avatar
S.Grosjean
Software Development
Software Development
Posts: 353
Joined: Wed 4. Jul 2012, 17:02

Re: Can't install PCAN-view on Ubuntu 24.04.2

Post by S.Grosjean » Tue 18. Feb 2025, 11:07

Hello,

The site's web page obviously contains an error: it lacks the name of the destination file for storing the public key on the local system:

it should read :

Code: Select all

$ wget -q http://www.peak-system.com/debian/peak-system-public-key.asc -O- | sudo tee /etc/apt/trusted.gpg.d/peak-system-public-key.asc
When you confirm that the installation works thanks to this correction, we'll fix it as soon as possible.

Thanks for reporting.

Regards,
— Stéphane

christiaanvanarum
Posts: 8
Joined: Fri 14. Feb 2025, 14:06

Re: Can't install PCAN-view on Ubuntu 24.04.2

Post by christiaanvanarum » Tue 18. Feb 2025, 12:08

Installing pcanview-ncurses now works flawlessly! Thanks for the fix.

I now have a different problem. But it might be a bit off-topic.

My PCAN-USB is not detected. It has the number IPEH-002021-401852 on it. And running ./pcan-kernel-version.sh (obtained from this page https://www.peak-system.com/fileadmin/m ... r-Included) outputs the following:

Code: Select all

Bus 001 Device 016: ID 0c72:000c PEAK System PCAN-USB needs Linux 3.4
And running

Code: Select all

grep PEAK_ /boot/config-`uname -r`
outputs the following:

Code: Select all

CONFIG_CAN_PEAK_PCIEFD=m
CONFIG_CAN_PEAK_PCI=m
CONFIG_CAN_PEAK_PCIEC=y
CONFIG_CAN_PEAK_PCMCIA=m
CONFIG_CAN_PEAK_USB=m
Does the "m" behind CONFIG_CAN_PEAK_USB mean i need a seperate module in order for it to communicate with the device? Since y means included in kernel. If so, where do i download this?

M.Heidemann
Sales & Support
Sales & Support
Posts: 1083
Joined: Fri 20. Sep 2019, 13:31

Re: Can't install PCAN-view on Ubuntu 24.04.2

Post by M.Heidemann » Tue 18. Feb 2025, 12:15

Hello,

PCANView will only work with the CHARDEV version of the driver,
the kernel included driver is SocketCAN only.

Check:

Code: Select all

ip link ls
If you see nodes like can0 then the driver is working correctly,
just under the wrong variant.

BR

Marvin
---
Marvin Heidemann
PEAK-Support Team

christiaanvanarum
Posts: 8
Joined: Fri 14. Feb 2025, 14:06

Re: Can't install PCAN-view on Ubuntu 24.04.2

Post by christiaanvanarum » Tue 18. Feb 2025, 12:24

Ah I see. So if I understand correctly, I'll just need to install the PCAN-Linux driver as described in the PCAN Driver for Linux v8 User Manual. Right?
https://www.peak-system.com/fileadmin/m ... an_eng.pdf

Locked