Search found 7 matches

by TomyYamy
Thu 11. Apr 2024, 14:40
Forum: Linux
Topic: Linux 6.5 Mainline kernel driver (NetDev): PCAN-USB Pro FD lost channel-id assignment after reconnect
Replies: 14
Views: 45374

Re: Linux 6.5 Mainline kernel driver (NetDev): PCAN-USB Pro FD lost channel-id assignment after reconnect

Hi Marvin,

I have tried an additional trial with Windows and PCAN-View. Please see attached screen shot.

I can set ID as well as Ubuntu trial. But the other side is fixed with 0-FFFFFFFFh.

It is new for me. Perhaps does it mean PCAN-USB Pro FD can apply ID only one side channel and anther ...
by TomyYamy
Wed 10. Apr 2024, 18:57
Forum: Linux
Topic: Linux 6.5 Mainline kernel driver (NetDev): PCAN-USB Pro FD lost channel-id assignment after reconnect
Replies: 14
Views: 45374

Re: Linux 6.5 Mainline kernel driver (NetDev): PCAN-USB Pro FD lost channel-id assignment after reconnect

Hi Marvin,

I can share additional information. here is my machine that I tests.

Mother board: ASUS Sabertooth X79
Chipset: Intel X79
USB controller: ASMedia® USB 3.0 controllers

We also tried Ubuntu 20.04 and peak-linux-driver-8.17.0 (latest). But the situation is same.
I don't think it is ...
by TomyYamy
Tue 9. Apr 2024, 17:34
Forum: Linux
Topic: Linux 6.5 Mainline kernel driver (NetDev): PCAN-USB Pro FD lost channel-id assignment after reconnect
Replies: 14
Views: 45374

Re: Linux 6.5 Mainline kernel driver (NetDev): PCAN-USB Pro FD lost channel-id assignment after reconnect

Hi Marin,

Before going to the option, May I make sure?

"when i set the corresponding IDs the will be A) set and B) retained (Using both config file and script)"

Did you disconnect the PCAN-USB Pro FD then re-connect between A) set and B) ?

Could you please also paste your output log of represent ...
by TomyYamy
Mon 8. Apr 2024, 17:35
Forum: Linux
Topic: Linux 6.5 Mainline kernel driver (NetDev): PCAN-USB Pro FD lost channel-id assignment after reconnect
Replies: 14
Views: 45374

Re: Linux 6.5 Mainline kernel driver (NetDev): PCAN-USB Pro FD lost channel-id assignment after reconnect

Could you please try this represent shell script in your end with Ubuntu 22.04 kernel v6.5?


#! /bin/bash

read -p "Please connect PCAN-USB Pro to a USB port. Then hit enter: "

echo "Setting '10' to 'can0's non-volatile memory."
sudo ethtool -E can0 value 10

echo "Setting '11' to 'can1's non ...
by TomyYamy
Mon 8. Apr 2024, 16:43
Forum: Linux
Topic: Linux 6.5 Mainline kernel driver (NetDev): PCAN-USB Pro FD lost channel-id assignment after reconnect
Replies: 14
Views: 45374

Re: Linux 6.5 Mainline kernel driver (NetDev): PCAN-USB Pro FD lost channel-id assignment after reconnect

Hi Marin,

Thank you for your support. As I mentioned at the first post. ID set way is

Ubuntu2204:~$ sudo ethtool -E can0 value 10
Ubuntu2204:~$ cat /sys/class/net/can0/peak_usb/can_channel_id
0000000A
Ubuntu2204:~$ sudo ethtool -E can1 value 11
Ubuntu2204:~$ cat /sys/class/net/can1/peak_usb/can ...
by TomyYamy
Fri 5. Apr 2024, 20:54
Forum: Linux
Topic: Linux 6.5 Mainline kernel driver (NetDev): PCAN-USB Pro FD lost channel-id assignment after reconnect
Replies: 14
Views: 45374

Re: Linux 6.5 Mainline kernel driver (NetDev): PCAN-USB Pro FD lost channel-id assignment after reconnect

Hi Marvin.

Thank you for your support. Yes I have done "70-persistent-net.rules" and "/bin/peak_usb_device_namer". However, it did not work. And more than that, the setting and can_channel_id setting is independent issue.
Please see "/bin/peak_usb_device_namer". It includes following line.

CAN_ID ...
by TomyYamy
Fri 5. Apr 2024, 05:28
Forum: Linux
Topic: Linux 6.5 Mainline kernel driver (NetDev): PCAN-USB Pro FD lost channel-id assignment after reconnect
Replies: 14
Views: 45374

Linux 6.5 Mainline kernel driver (NetDev): PCAN-USB Pro FD lost channel-id assignment after reconnect

I'm using several PCAN-USB Pro FDs on Linux. I would like identify the adapter to correct can interface number in Linux. In order to that can_channel_id is necessary to identify them in /etc/udev/rules.d/.
PCAN-USB Pro FD can keep only one channel of can_channel_id. It can not keep both channels ...