> > > First of all, are driver versions located anywhere in the sysfs tree?
> > > I've looked through the code of some devices and didn't see any.  What
> > > I'ld like to do is add a software driver version to the sysfs tree but
> > > don't know the proper location to do so.  I'm thinking of
> > > /sys/modules/<module name>/version.  Does this work for everybody?
> > 
> > why do it in the kernel at all vs. using 'modinfo'?
> 
> How do you use modinfo if the driver is compiled statically into the 
> kernel?

If driver is compiled statically, you use /proc/version.
There's an issue of having heavily patched kernels built statically,
but that's something I suspect embedded people have to address
as part of release engineering for appliance firmware.

-- Pete


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to