Will the 6 CAN ports always enumerate in the same order?
For example, port 1 will always be PCAN_USBBUS1, etc., etc.
I am assuming no other PCAN USB products are installed on the PC.
Device Enumeration Order
Re: Device Enumeration Order
Hello,
yes, it will always enumerate in the same order. If no other PCAN-USB based device is attached to the computer, the channels 1 to 6 of the PCAN-USB X6 are PCAN_USBBUS1 to PCAN_USBUS6 respectively.
yes, it will always enumerate in the same order. If no other PCAN-USB based device is attached to the computer, the channels 1 to 6 of the PCAN-USB X6 are PCAN_USBBUS1 to PCAN_USBUS6 respectively.
Best regards,
Keneth
Keneth
-
- Posts: 2
- Joined: Fri 31. May 2019, 15:26
Re: Device Enumeration Order
Awesome! Thank you!
Re: Device Enumeration Order
Hello,
we have 2 pcan-usb x6. After reboot the ports sometimes does not enumerate in the same order.
Is there any way to configure the interfaces according to the usb-ports or something else?
thx
we have 2 pcan-usb x6. After reboot the ports sometimes does not enumerate in the same order.
Is there any way to configure the interfaces according to the usb-ports or something else?
thx
-
- Sales & Support
- Posts: 1083
- Joined: Fri 20. Sep 2019, 13:31
Re: Device Enumeration Order
Hello,
Which operating system do you currently use?
Please let us know.
Best regards
Marvin
Which operating system do you currently use?
Please let us know.
Best regards
Marvin
---
Marvin Heidemann
PEAK-Support Team
Marvin Heidemann
PEAK-Support Team
Re: Device Enumeration Order
hey marvin,
we use ubuntu 18.04 with build-in drivers
we use ubuntu 18.04 with build-in drivers
-
- Sales & Support
- Posts: 1083
- Joined: Fri 20. Sep 2019, 13:31
Re: Device Enumeration Order
Hello,
the mainline kernel driver does not allow for fixed enumeration.
Please use the proprietary PCAN-Linux driver package and build for NetDev-mode (Compatible with SocketCAN):
https://www.peak-system.com/fileadmin/m ... 2.0.tar.gz
Please see the PCAN-Linux documentation, chapter 3 -"Installation" for information on how to build the driver
in NetDev mode:
https://www.peak-system.com/fileadmin/m ... an_eng.pdf
You can set the channel number according to the device number, a detailed description for setting the device-number and
use the "assign" parameter to have the channel-number adhere to this device number is detailed in the following forum post:
viewtopic.php?f=7&t=1861
For further information on the assign paramter, please see the PCAN-Linux documentation on page 39:
https://www.peak-system.com/fileadmin/m ... an_eng.pdf
Best Regards
Marvin
the mainline kernel driver does not allow for fixed enumeration.
Please use the proprietary PCAN-Linux driver package and build for NetDev-mode (Compatible with SocketCAN):
https://www.peak-system.com/fileadmin/m ... 2.0.tar.gz
Please see the PCAN-Linux documentation, chapter 3 -"Installation" for information on how to build the driver
in NetDev mode:
https://www.peak-system.com/fileadmin/m ... an_eng.pdf
You can set the channel number according to the device number, a detailed description for setting the device-number and
use the "assign" parameter to have the channel-number adhere to this device number is detailed in the following forum post:
viewtopic.php?f=7&t=1861
For further information on the assign paramter, please see the PCAN-Linux documentation on page 39:
https://www.peak-system.com/fileadmin/m ... an_eng.pdf
Best Regards
Marvin
---
Marvin Heidemann
PEAK-Support Team
Marvin Heidemann
PEAK-Support Team