Matthias Fuchs wrote: > Hi, > > I am wondering what is the best way to provide > some product information for a CAN interface device (hardware version, > serialno, firmware version)? My favour way is to generate some files > in sysfs as it is typically (but limited) done for USB devices.
How would the product information be used in user space by an application? Wouldn't a "dev_info" not be enough? > Would /sys/class/net/can*/version be suitable? I don't think so. We do device configuration via netlink. > Any suggestions? > > And next question: how should we implement a way to update > the firmware of a CAN interface? Devices might load firmware on > every driver start. This could be handled by Linux' firmware > mechanism. But what kind of interface should be used for > a flash firmware updater? /sys/class/net/can*/firmware ? IIRC, there is a generic interface for firmware downloads, which should be used. I think the softing driver does use it. Wolfgang. > Further suggestions? > > Matthias > _______________________________________________ > Socketcan-core mailing list > [email protected] > https://lists.berlios.de/mailman/listinfo/socketcan-core > > _______________________________________________ Socketcan-core mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-core
