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 |
Attachment:
signature.asc
Description: OpenPGP digital signature