All of lore.kernel.org
 help / color / mirror / Atom feed
* anyone using "sysfsutils" in a practical way?
@ 2011-05-06 14:25 Robert P. J. Day
  2011-05-06 14:34 ` Manohar Vanga
  2011-05-06 14:48 ` Greg KH
  0 siblings, 2 replies; 5+ messages in thread
From: Robert P. J. Day @ 2011-05-06 14:25 UTC (permalink / raw)
  To: kernelnewbies


  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
========================================================================

^ permalink raw reply	[flat|nested] 5+ messages in thread

* anyone using "sysfsutils" in a practical way?
  2011-05-06 14:25 anyone using "sysfsutils" in a practical way? Robert P. J. Day
@ 2011-05-06 14:34 ` Manohar Vanga
  2011-05-06 14:47   ` Robert P. J. Day
  2011-05-06 14:48 ` Greg KH
  1 sibling, 1 reply; 5+ messages in thread
From: Manohar Vanga @ 2011-05-06 14:34 UTC (permalink / raw)
  To: kernelnewbies

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 at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>



-- 
/manohar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110506/fc19ed03/attachment-0001.html 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* anyone using "sysfsutils" in a practical way?
  2011-05-06 14:34 ` Manohar Vanga
@ 2011-05-06 14:47   ` Robert P. J. Day
  0 siblings, 0 replies; 5+ messages in thread
From: Robert P. J. Day @ 2011-05-06 14:47 UTC (permalink / raw)
  To: kernelnewbies

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
========================================================================

^ permalink raw reply	[flat|nested] 5+ messages in thread

* anyone using "sysfsutils" in a practical way?
  2011-05-06 14:25 anyone using "sysfsutils" in a practical way? Robert P. J. Day
  2011-05-06 14:34 ` Manohar Vanga
@ 2011-05-06 14:48 ` Greg KH
  2011-05-06 14:59   ` Robert P. J. Day
  1 sibling, 1 reply; 5+ messages in thread
From: Greg KH @ 2011-05-06 14:48 UTC (permalink / raw)
  To: kernelnewbies

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* anyone using "sysfsutils" in a practical way?
  2011-05-06 14:48 ` Greg KH
@ 2011-05-06 14:59   ` Robert P. J. Day
  0 siblings, 0 replies; 5+ messages in thread
From: Robert P. J. Day @ 2011-05-06 14:59 UTC (permalink / raw)
  To: kernelnewbies

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
========================================================================

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-05-06 14:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-06 14:25 anyone using "sysfsutils" in a practical way? Robert P. J. Day
2011-05-06 14:34 ` Manohar Vanga
2011-05-06 14:47   ` Robert P. J. Day
2011-05-06 14:48 ` Greg KH
2011-05-06 14:59   ` Robert P. J. Day

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.