Walter Kerkhofs wrote:
Hi,
When shutting down the computer I always saw a warning in red about acpid, so i decided to do something about it. I ran as root /usr/sbin/sensors-detect, and choose to use the option to configure for the ISA port.
This than generated the configuration lines for my system, wich I have to copy to two seperate files. The first line is this:
#I2C module options alias char-major-89 i2c-dev
And I have to copy this in /etc/modprobe.conf, but besides this file there is also this file /etc/modprobe.conf.local. This confused me because in /etc/modprobe.conf is a line that says to put local configuration in /etc/modprobe.conf.laocal.
Where must I put the generated lines in ?
Because I now have a warning that says in red: acpid lm-sensors.
And where do I have to put these lines:
#I2C adapter drivers modprobe i2c-viapro modprobe i2c-isa #I2C chip drivers modprobe eeprom #Warning the required module smbus-arp is not currently installed on your system. #For status of 2.6 kernel ports see htpp://secure.netroedge.com/~Im78/supported.html #If driver is built-in to the kernel, or unavailable, comment out the following line. modprobe smbus-arp modprobe w83627hf #sleep 2 # optional /usr/bin/sensors -s # recommended
Again I have to put these lines in /etc/rc, I found these files:
/etc/rc.d.README /etc/rc.splash /etc/rc.status
But no /etc/rc.
Desktop SUSE Linux 10.0 x86_64:
Processor: AMD Athlon 64 3000+ 256 MB DDR. Memory: 512 MB DDR. Graphics card: Nvidia GeForce FX 5700 LE 256 MB DDR. Motherboard: Asus K8V Deluxe.
Thanks in advance.
Greetings,
Walter Kerkhofs
I would put the line alias char-major-89 i2c-dev in modprobe.conf. However, it may already be there. I would then type the lines by hand: modprobe i2c-viapro modprobe i2c-isa modprobe eeprom and then run /usr/bin/sensors -c /etc/sensors.conf to see if sensors can be read. If they can then follow the recommendation which states: "To load everything that is needed, add this to some /etc/rc* file" This terse message assumes you know about run-level scripts. There is no /etc/rc directory or file per se (unless you create one for your own purposes). There is /etc/rc.d and its subdirectories. Read the /etc/rc.d/README file for more exhaustive information. Typically, the scripts located in the /etc/rc.d/rcX.d directories get "started" and "stopped" each time the machined enters and exits the desired run level (X is 0-6). There's of course much more to this but do a "man insserv" to get a better idea and don't forget to memorize /etc/rc.d/README. "insserv myscript" is the proper way to insert a script into the boot/run level change sequence. In other words you can write a script including the three lines: modprobe i2c-viapro modprobe i2c-isa modprobe eeprom and some comment header info (which insserv consumes) to tell insserv where to place the rc script. In my system which is also an ASUS K8V Deluxe, when I type /usr/bin/sensors -c /etc/sensors.conf I get w83627ehf-isa-0290 Adapter: ISA adapter Case Fan: 0 RPM (min = 1205 RPM, div = 32) CPU Fan: 3375 RPM (min = 1704 RPM, div = 8) fan3: 0 RPM (min = 191 RPM, div = 128) fan4: 0 RPM (min = 10546 RPM, div = 128) Sys Temp: +28°C (high = +45°C, hyst = +40°C) CPU Temp: +26.0°C (high = +45.0°C, hyst = +40.0°C) temp3: +29.0°C (high = +80.0°C, hyst = +75.0°C) HTH PS. I have no idea what to do when "sensors -s" returns with nothing. I haven't read that part of the documentation.