Hi, >> We've several pending requests regarding: >> - changing the default clock value, > The input clock rate for the CAN IP Core? Yes >> - reading the bus load value, >..as calculated by the USB device? or by the IP core, yes. >> - using a flashed device id. to better control the can interface number, >Can you make use of dev_id/dev_port >https://elixir.bootlin.com/linux/latest/source/include/linux/netdevice.h#L1687 Ok. I'll check that, thanks. >> - identifying the (USB) channel >Does udev offer all needed information? E.g.: Sorry, nope: identify the USB adapter <=> flash the LED (which USB device corresponds to which canX) >> Adding attributes under /sys/class/net/canX (or into a specific/private group) could be a solution. >Marc --- Stéphane Grosjean PEAK-System France 132, rue André Bisiaux F-54320 MAXEVILLE Tél : +(33) 9.72.54.51.97 De: Marc Kleine-Budde Envoyé: Jeudi 23 juillet 2020 17:23 À: Stéphane Grosjean Cc: linux-can@xxxxxxxxxxxxxxx Objet: Re: About sysfs usage by socket-can drivers On 7/23/20 4:50 PM, Stéphane Grosjean wrote: > We've several pending requests regarding: > - changing the default clock value, The input clock rate for the CAN IP Core? > - reading the bus load value, ..as calculated by the USB device? > - using a flashed device id. to better control the can interface number, Can you make use of dev_id/dev_port https://elixir.bootlin.com/linux/latest/source/include/linux/netdevice.h#L1687 > - identifying the (USB) channel Does udev offer all needed information? E.g.: udevadm test /sys/class/net/can0 > Adding attributes under /sys/class/net/canX (or into a specific/private group) could be a solution. Marc -- Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- PEAK-System Technik GmbH Sitz der Gesellschaft Darmstadt - HRB 9183 Geschaeftsfuehrung: Alexander Gach / Uwe Wilhelm Unsere Datenschutzerklaerung mit wichtigen Hinweisen zur Behandlung personenbezogener Daten finden Sie unter www.peak-system.com/Datenschutz.483.0.html