Hi.
We have some USB to CAN devices, and we have the typical problem that
the device node (e.g. /dev/pcan0, /dev/pcan1, etc.) is not always the
same for the same physical port. I understand that this is expected,
but that is solved by inspecting a bit the information that the kernel
provides to
Hola Alejandro,
Alejandro Exojo wrote:
But it seems to be failing quite a lot for me, at least on some kernel
versions. I was expecting that `udevadm info --query=path` or `lsusb
-t` would report exactly the same across reboots if the devices are
the same ones, plugged to the same physical
2014-03-20 10:52 GMT+01:00 Peter Stuge pe...@stuge.se:
I understand the expectation, but I don't think Linux meets it.
The difference in your logs is the usbX bus number, which really can
not persist beyond the lifetime of that bus.
Think of a laptop with a CardBus slot. CardBus is just PCI.
On Thu, 20 Mar 2014, Alejandro Exojo wrote:
2014-03-20 10:52 GMT+01:00 Peter Stuge pe...@stuge.se:
I understand the expectation, but I don't think Linux meets it.
The difference in your logs is the usbX bus number, which really can
not persist beyond the lifetime of that bus.
Think