All of lore.kernel.org
 help / color / mirror / Atom feed
* sensors-detect enhancement needed for sysfs
@ 2005-05-19  6:24 Mark Studebaker
  2005-05-19  6:24 ` Mark M. Hoffman
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Mark Studebaker @ 2005-05-19  6:24 UTC (permalink / raw)
  To: lm-sensors

I've enhanced i2cdetect, i2cdump, and i2cset using the new common
function in
i2cbusses.c to list all the i2c busses, whether in 2.4 or 2.6 kernels.
In 2.6 it's essentially 'cat /sys/class/i2c-adapter/*/device/name' but
see i2cbusses for details like finding the sysfs mount point.

We need a perl volunteer to make a similar enhancement at two places
in sensors-detect where it scans /proc/bus/i2c.

Note that the adapter name, but not the algorithm, is available in
sysfs.
I've hacked around that in libsensors and in the programs above.
Guess it's not really necessary.

Anybody like to tackle sensors-detect?

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

end of thread, other threads:[~2005-05-19  6:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-19  6:24 sensors-detect enhancement needed for sysfs Mark Studebaker
2005-05-19  6:24 ` Mark M. Hoffman
2005-05-19  6:24 ` Mark Studebaker
2005-05-19  6:24 ` Mark Studebaker
2005-05-19  6:24 ` Jean Delvare

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.