Hi!
According to this topic:
viewtopic.php?f=120&t=5914
I am wondering:
1. Is there any possibility to achieve the same on Linux system?
2. If not, does PCIe CAN FD device have any unique identifier that can be red from, for example, sysfs? / How to identify a device on Linux?
Best regards, Paweł Gmurczyk
Identify PCIe CAN FD device on Linux
-
- Sales & Support
- Posts: 1083
- Joined: Fri 20. Sep 2019, 13:31
Re: Identify PCIe CAN FD device on Linux
Hello,
Yes, this can also be achieved using our PCAN-Linux driver package under Linux.
In this case the assign parameter is used, which is described in the PCAN-Linux Driver documentation, page 39:
http://www.peak-system.com/fileadmin/me ... an_eng.pdf
To set the device ID via pcan-settings (described on page 31), the PCAN-Driver has to be used in CharDev-mode. Once the device has a device-id set the CharDriver can be uninstalled and the NetDev driver can be installed (If SocketCAN support is needed).
An example for the usage is given in this forum post ( example for NetDev, although the same principle applies to Chardev as well, refer to the PCAN Linux documentation to see the specifcs regarding the assign parameter)
viewtopic.php?f=59&t=6259
Best Regards
Marvin
Yes, this can also be achieved using our PCAN-Linux driver package under Linux.
In this case the assign parameter is used, which is described in the PCAN-Linux Driver documentation, page 39:
http://www.peak-system.com/fileadmin/me ... an_eng.pdf
To set the device ID via pcan-settings (described on page 31), the PCAN-Driver has to be used in CharDev-mode. Once the device has a device-id set the CharDriver can be uninstalled and the NetDev driver can be installed (If SocketCAN support is needed).
An example for the usage is given in this forum post ( example for NetDev, although the same principle applies to Chardev as well, refer to the PCAN Linux documentation to see the specifcs regarding the assign parameter)
viewtopic.php?f=59&t=6259
Best Regards
Marvin
---
Marvin Heidemann
PEAK-Support Team
Marvin Heidemann
PEAK-Support Team