Linux CAN drivers development
 help / color / mirror / Atom feed
* Associate physical device with device name
@ 2018-01-26 14:38 Jimmy Assarsson
  2018-02-08 12:05 ` Jimmy Assarsson
  2018-02-08 12:45 ` Marc Kleine-Budde
  0 siblings, 2 replies; 12+ messages in thread
From: Jimmy Assarsson @ 2018-01-26 14:38 UTC (permalink / raw)
  To: linux-can@vger.kernel.org

Hi,

We would like to be able to associate physical (Kvaser) USB devices with
their device names (can0 etc.).
The interface's EAN (article number) combined with serial number, form a
unique identifier.

It is not possible to do this from the USB descriptor. Since the serial
number is not provided in the USB descriptor. And the same PID is reused
for multiple EAN numbers. It is preferable with a solution that is
independent of interface type (USB etc.), since we may support other
devices in the future.

This is somewhat similar to '"user id" for can usb adapters',
https://marc.info/?l=linux-can&m=146565019622100

What is the preferable way of solving this kind of problem? Is sysfs
suitable?


Regards,
Jimmy

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2018-02-10 11:01 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-26 14:38 Associate physical device with device name Jimmy Assarsson
2018-02-08 12:05 ` Jimmy Assarsson
2018-02-08 12:45 ` Marc Kleine-Budde
2018-02-08 13:04   ` Jimmy Assarsson
2018-02-09  7:50     ` Jimmy Assarsson
2018-02-09 10:47     ` Marc Kleine-Budde
2018-02-09 11:21       ` Jimmy Assarsson
2018-02-09 13:24         ` Marc Kleine-Budde
2018-02-09 15:35           ` Jimmy Assarsson
2018-02-09 17:09             ` Oliver Hartkopp
2018-02-10  9:58               ` Kurt Van Dijck
2018-02-10 11:01               ` André Hartmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox