Re: Q re /proc/bus/i2c
From: Martin Schlemmer
Date: Sat Jan 10 2004 - 14:42:06 EST
On Sat, 2004-01-10 at 21:15, Gene Heskett wrote:
> On Saturday 10 January 2004 13:20, Martin Schlemmer wrote:
> >On Sat, 2004-01-10 at 17:59, John Lash wrote:
> >> In a 2.6.x kernel, the sensors information is kept in sysfs. I
> >> haven't actually tried installing lmsensors on my 2.6 system, but
> >> if I look in: /sys/bus/i2c/devices/0-002d/
> >> I can see files for all of the sensors on my system.
> >>
> >> Check below in your last mail where it is complaining about
> >> "Algorithm: Unavailable from sysfs".
> >
> >Right, needs sysfs mounted. You should (after creating /sys) add
> >the following to /etc/fstab:
> >
> >--
> >none /sys sysfs defaults 0 0
> >--
>
> >From my fstab, and its been there for several months now:
> ---
> none /sys sysfs defaults 0 0
> ---
> Also, from my mtab:
> Well, I was gonna quote that too, but apparently my entry in
> rc.sysinit doesn't record it in mtab. I've got a message in the log
> to the effect that its already mounted or is otherwise busy. I'd put
> that line in rc.sysinit a few (2-3) weeks ago, thinking it needed to
> be done earlier than the fstab driven mount. I'll remove it from
> rc.sysinit and reboot for effects.
>
> Done.
>
> I also moved the mount of /proc/bus/usb to fstab while I was at it,
> and they are all recorded in mtab now:
> ---
> none /proc/bus/usb usbfs rw 0 0
> none /sys sysfs rw 0 0
> ---
> But the response from sensors is still as I posted before, "Algorithm:
> Unavailable from sysfs"
>
> tvtime still works, so thats promising. Sounds like they (the Feed
> Bag Information folks) got something/someone(s) trapped on a plane at
> Dulles according to FOX News, who are of course makeing the usual
> mountain out of whats probably a molehill.
>
> Next thing to check?
What mobo (make, model, etc - sorry, missed that), and do you
have appropriate modules loaded. Also, maybe add a dmesg.
--
Martin Schlemmer
Attachment:
signature.asc
Description: This is a digitally signed message part