I don't have that board, but now that you have gentoo-sources. Yes I would 
compile as a module for the kernel. And emerge i2c and lm_sensors. 

I believe the i2c emerge is for the user-mode tools or something like that. 

After all is said and done you can run 'sensors-detect' as root

#sensors-detect 
 This program will help you to determine which I2C/SMBus modules you need to
 load to use lm_sensors most effectively.
 You need to have done a `make install', issued a `depmod -a' and made sure
 `/etc/conf.modules' (or `/etc/modules.conf') contains the appropriate
 module path before you can use some functions of this utility. Read
 doc/modules for more information.
 Also, you need to be `root', or at least have access to the /dev/i2c[-/]* 
files
 for some things. You can use prog/mkdev/mkdev.sh to create these /dev files
 if you do not have them already.
 If you have patched your kernel and have some drivers built-in you can
 safely answer NO if asked to load some modules. In this case, things may
 seem a bit confusing, but they will still work.

 IF THIS IS AN IBM THINKPAD, PRESS CTRL-C NOW!
 IBM Thinkpads have a severely broken i2c/SMBus implementation, just scanning
 the bus will break your Thinkpad forever!
 If this is a non-Thinkpad IBM, we still suggest you press CTRL+C. We have
 had users reporting system breakage on other IBM systems as well.

 We can start with probing for (PCI) I2C or SMBus adapters.
 You do not need any special privileges for this.
 Do you want to probe now? (YES/no):

Follow thru the prompts, then it will tell you what to include in your 
/etc/config files.  You will also need to make a folder called /etc/sysconfig 
and it will put a file called lm_sensors in there, that basically has just 
this:
#MODULE_0=i2c-viapro
MODULE_1=i2c-isa
#MODULE_2=lm80
#MODULE_3=eeprom
MODULE_4=via686a

I commented out the modules I didn't want loading. 

Then there is a file /etc/sensors.conf that you will have to configure your 
offsets and such to calibrate the readings and change names. Scroll thru to 
find your sensor stuff. I used the chip "via686a-*" section for mine. You 
might even find something like CPU and SYS temp switch (they will call it 
temp1 and temp2 you can edit how they display by changing the label:
label temp1 "CPU Temp" ,,,,, you can also choose not to display one by:
ignore temp3. The best thing is to figure out what you want to show,... then 
if you have a similar program in windows or in bios, see what everything is 
at idle and go back to /etc/sensors.conf and configure them to the same.

There is a self-help list at lm_sensors where you can search for others that 
have had problems also. Like I can't get 'sensors -s' to run. Says can't 
access /proc/sensors to write, am I root?  They can't solve it either.
http://www2.lm-sensors.nu/~lm78/support2.html?category=unsorted

Hope this helps. Still, I mainly just set it up in gkrellm to see the 
temps,....

Dave
***********************************************************************
On Tuesday 03 June 2003 03:59 am, Paulo Jorge de Oliveira Cantante de Matos 
wrote:
> Hi Bryan,
>
> I had vanilla sources but I'll now compile gentoo-sources. Should I
> compile everythingof i2c as modules? ou everything built in the kernel
> or just the core? If I do this, do I still need to emerge i2c?
>
> Oh, thanks god someone has a A7V8X. Is your on board sound working? How?
> What do you need to compile in the kernel?
>
> Thanks a lot and Best regards,
>
> Paulo
>
> > Date: Mon, 2 Jun 2003 20:38:37 -0400
> > From: Bryan Feir <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED]
> > Message-ID: <[EMAIL PROTECTED]>
> > Mime-Version: 1.0
> > Content-Type: text/plain; charset=us-ascii
> > Subject: Re: [gentoo-user] gkrellm sensors with Asus
> >
> > On Mon, Jun 02, 2003 at 10:30:42AM -0400, Budd, Tracy wrote:
> > > On Mon, Jun 02, 2003 at 03:25:37PM +0000, Paulo Jorge de Oliveira
>
> Cantante de Matos wrote:
> > > > Hi all,
> > > >
> > > > I've bought an Asus A7V8X-Lan and compiled gkrellm. Unfortunately
>
> it is
>
> > > > not detecting motherboard sensors. I've never had any motherboard
>
> with
>
> > > > sensors before so I do not know how they work. Is it possible to
>
> make
>
> > > > this work with my motherboard? Do I need to recompile the kernel
>
> with
>
> > > > any special options?
> > >
> > > You need the I2C kernel options (under char device I believe). Then
>
> you
>
> > > need to emerge lm-sensors and run sensors-detect. Just follow the
>
> directions
>
> > > in the sensors-detect script, then you should see the sensors in
>
> gkrellm
>
> > > from the configure menu.
> > > Good luck,
> >
> >    There's a little extra note to this one.  I have an Asus A7V8X, and
>
> it
>
> > uses the new Via VT8233A bridge chip, PCI device code 1106:3177.  This
> > chipset is only supported by the 2.7.0 version of lm-sensors; so you
>
> must
>
> > do an 'ACCEPT_KEYWORDS=~x86 emerge lm-sensors'.  This version of
>
> lm-sensors
>
> > also requires either a patched kernel (gentoo-sources-2.4.20-r1 or
>
> greater,
>
> > lolo-sources-2.4.20.1 or greater, or xfs-sources-2.4.20_pre4 or
>
> greater) or
>
> > you have to install the ~x86 version of the i2c ebuild as well.
> >
> >    Paulo, if you have the gentoo, lolo, or xfs kernels installed, you
>
> should
>
> > be fine with just installing the ~x86 lm-sensors.  Otherwise, you
>
> should
>
> > probably do 'ACCEPT_KEYWORDS=~x86 emerge i2c' first.
>
> ---------------------------+-----------------------------------------------
>----
>
> > Bryan Feir           VA3GBF|"This Santa Claus business is played out.
>
> It's a
>
> > Home:[EMAIL PROTECTED]   | sneaking, underhand method, and the
>
> sooner it's
>
> >                            | exposed the better."     -- Stephen
>
> Leacock
>
> ---------------------------+-----------------------------------------------
>----
>
>
>
>
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list

Reply via email to