Page 1 of 1

use ID of hardware instead of PUDS_USBBUS1

Posted: Tue 30. Jun 2015, 09:56
by barry
Dear,

I have 2 peak usb connected to one pc.
It seems from time to time they switch USB ID 0x51 <=> 0x52.

This is annoying because then you don't know what pcan usb you are dealing with.

I know you can set a hardware ID (0x00 to 0xFF) and read this out from the device.
But then you already need to be connected before you can decide what adapter to use.

Is there a way to initialize the adapter using the HW ID instead of the USB adapter BUS 0x51/0x52 ?

regards

Re: use ID of hardware instead of PUDS_USBBUS1

Posted: Tue 30. Jun 2015, 10:10
by K.Wagner
Hello,

the channel number is determined by the system at plug-in time. That is why adapters sometimes get a different channel when the computer boots.

This post shows a workaround to avoid this problem.