anyone using "sysfsutils" in a practical way?
as i'm reviewing the courseware i'll be teaching in a couple weeks, i'm making notes as to what should go, what should stay and what should be added to bring it entirely up to date. i'm going to de-emphasize proc files, other than to show some examples in the fs/proc/ directory if students want to hack up a couple simple ones for their drivers, knowing that they're not meant to be permanent. and i want to more emphasize kobjects and sysfs. to that end, i'm aware of the "sysfsutils" package, although i haven't used it yet. is anyone familiar with it, to the point they're *using* it for useful things, as opposed to just playing with it? i'll probably get around to checking it out this weekend, just curious as to how i'd promote its use if/when the time comes. thanks. rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================
Possibly off-topic but Alessandro Rubini has uploaded a set of small sample drivers (among other things) at: http://gnudd.com/workdoc.shtml Maybe there is something of interest in there for your course? Thanks On Fri, May 6, 2011 at 4:25 PM, Robert P. J. Day <rpjday@crashcourse.ca>wrote:
as i'm reviewing the courseware i'll be teaching in a couple weeks, i'm making notes as to what should go, what should stay and what should be added to bring it entirely up to date.
i'm going to de-emphasize proc files, other than to show some examples in the fs/proc/ directory if students want to hack up a couple simple ones for their drivers, knowing that they're not meant to be permanent.
and i want to more emphasize kobjects and sysfs. to that end, i'm aware of the "sysfsutils" package, although i haven't used it yet. is anyone familiar with it, to the point they're *using* it for useful things, as opposed to just playing with it? i'll probably get around to checking it out this weekend, just curious as to how i'd promote its use if/when the time comes. thanks.
rday
--
======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca
Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- /manohar
On Fri, 6 May 2011, Manohar Vanga wrote:
Possibly off-topic but Alessandro Rubini has uploaded a set of small sample drivers (among other things) at:
http://gnudd.com/workdoc.shtml
Maybe there is something of interest in there for your course?
ah, i was entirely unaware of that site, thanks. rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================
On Fri, May 06, 2011 at 10:25:08AM -0400, Robert P. J. Day wrote:
and i want to more emphasize kobjects and sysfs. to that end, i'm aware of the "sysfsutils" package, although i haven't used it yet.
It's obsolete, and doesn't work on modern kernels, please never use it. Use libudev instead if you want access to sysfs data for devices. thanks, greg k-h
On Fri, 6 May 2011, Greg KH wrote:
On Fri, May 06, 2011 at 10:25:08AM -0400, Robert P. J. Day wrote:
and i want to more emphasize kobjects and sysfs. to that end, i'm aware of the "sysfsutils" package, although i haven't used it yet.
It's obsolete, and doesn't work on modern kernels, please never use it.
Use libudev instead if you want access to sysfs data for devices.
ok, good to know, thanks. rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================
participants (3)
-
Greg KH -
Manohar Vanga -
Robert P. J. Day