Hello All,
First off, I know that this group is not exactly the right place to post
this query, but a) it's a bit urgent b) the usual googling did not help
much in this case (at least for me!) and c) i know you guys are good
;-) ..really.
I am in the process of porting a 2.4 temperature sensor device driver to
the 2.6 Linux kernel (specifically to v 2.6.15.3). All ok, except that I
want to insert an entry in /sys instead of /proc for the driver (as that
is suggested as the new "correct" interface..).
I have read some documentation on sysfs and Rubini's lddbus example in
the LDD3 book; however, i am still a little confused: do we really need
to create a new /sys/bus/<driver_name> for each device inserted into the
lernel at runtime? if (probably) not, where _exactly_ do i create my
entry, and of course, _how _ exactly? have any of you done this or come
across sample code/tutorial out there that demonstrates just this?
Request your help as i'm stuck here...
TIA,
kaiwan.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|