Re: [gentoo-user] FAN-Speed readout/control ???
meino.cra...@gmx.de wrote: Hallo, I want to read the fan speed and want to control it with gentoo. My motherboard is a ASUS Crosshair IV Formula. lm_sensors does not report any relevant sensor. Does anyone got this working on this or an equivalent board with 890FX chipset? Thank you very much in advance for any help! Best regards mcc I'll tell you how I did mine. Just build all the sensor drivers into the kernel, not modules but built in. Compile and boot the kernel. Methos one, if you open gkrellm and it can see the fans, temp and such, then it is working. Sometimes you can look in gkrellm's configuration and find the driver. When you open the sensors window, it will list the path which contains the name of the sensor. Another way, cat /sys/devices/platform/ then hit tab twice. Mine for example lists it87.552. The it87 part is what you look for in the kernel. If you want to be certain it sees everything, continue with the cat command and hitting tab until you get to where it lists all the fan and temp files. Mine has two temps and about 4 fans I think it is. If you see what should be there then you have the right one. Then go back to the kernel and remove everything but the one that matches what you found either in gkrellm or the cat command. Rebuild the kernel and reboot. This seems like a lot of trouble but after spending about two hours on google and not finding the info, that was what I did. It isn't always the easy way but it works for me. You could also google for linux compatible hardware and see if someone was nice enough to post what they used on one of those sites. That doesn't always work. Hope that helps or gives you a good chuckle for the round about way of doing it. lol Dale :-) :-)
Re: [gentoo-user] FAN-Speed readout/control ???
Just build all the sensor drivers into the kernel, not modules but built in. A simpler way: - make sure you have CONFIG_I2C_CHARDEV=y, CONFIG_I2C_HELPER_AUTO=y and select the correct I2C hardware bus drivers for your platform (CONFIG_I2C_I801 for most recent Intel chipsets and CONFIG_I2C_PIIX4 for most recent AMD chipsets; reading the help text of the various drivers should point you in the right direction); - emerge sys-apps/lm_sensors - run sensors-detect - enable the drivers for all the things sensors-detect finds. Hopefully you won't have any unsupported chips... - you can then add lm_sensors to the default runlevel, so that it loads the correct modules during the boot process. The final step is to configure the software you use to display the sensor readings. It is usually a matter of attaching the correct labels to the various inputs, and possibly tweaking the scaling factors so that the readings match those shown by the BIOS; as the details depend on the specific manufacturer and model of your board, this will usually be a trial and error process, although google might help you. The comments in /etc/sensor3.conf, which controls software using the libraries provided by lm_sensors, are also a useful source of information. cat /sys/devices/platform/ This will miss those sensors which do not appear as a platform device (e.g. the AMD k10 on-die temperature sensors, which is a PCI device). andrea
Re: [gentoo-user] FAN-Speed readout/control ???
Andrea Conti a...@alyf.net [10-12-12 10:24]: Just build all the sensor drivers into the kernel, not modules but built in. A simpler way: - make sure you have CONFIG_I2C_CHARDEV=y, CONFIG_I2C_HELPER_AUTO=y and select the correct I2C hardware bus drivers for your platform (CONFIG_I2C_I801 for most recent Intel chipsets and CONFIG_I2C_PIIX4 for most recent AMD chipsets; reading the help text of the various drivers should point you in the right direction); - emerge sys-apps/lm_sensors - run sensors-detect - enable the drivers for all the things sensors-detect finds. Hopefully you won't have any unsupported chips... - you can then add lm_sensors to the default runlevel, so that it loads the correct modules during the boot process. The final step is to configure the software you use to display the sensor readings. It is usually a matter of attaching the correct labels to the various inputs, and possibly tweaking the scaling factors so that the readings match those shown by the BIOS; as the details depend on the specific manufacturer and model of your board, this will usually be a trial and error process, although google might help you. The comments in /etc/sensor3.conf, which controls software using the libraries provided by lm_sensors, are also a useful source of information. cat /sys/devices/platform/ This will miss those sensors which do not appear as a platform device (e.g. the AMD k10 on-die temperature sensors, which is a PCI device). andrea Hi Andrea, Hi Dale, Before I post my question I did, what you have suggested, Andrea. Sensors-detect reports the it87 chip to be included as module/in the kernel, which I did -- but the driver does not produces any output AMD k10 was already in and reports everything -- only the fan stuff was missing, which (normall) the ITE (it87) chip is used for. The version of lm_sensors, which is in portage reports here driver to be written but the svn-version of lm_sensors seems to support it. I installed that svn-version locally but I cant read from the ITE chip. Still only voltages and temperatures. GKrellm (normally I use conky) also detects no fans. @Dale: Do you have exactly the same board (ASUS Crosshair IV formula) as I, or? I tried to include everything into the kernel but unfortunately the results are the same: No fans and the it87 driver seems not to work for me... Any other ideas? Best regards and have a nive sunday! mcc
Re: [gentoo-user] FAN-Speed readout/control ???
meino.cra...@gmx.de wrote: Hi Andrea, Hi Dale, Before I post my question I did, what you have suggested, Andrea. Sensors-detect reports the it87 chip to be included as module/in the kernel, which I did -- but the driver does not produces any output AMD k10 was already in and reports everything -- only the fan stuff was missing, which (normall) the ITE (it87) chip is used for. The version of lm_sensors, which is in portage reports here driver to be written but the svn-version of lm_sensors seems to support it. I installed that svn-version locally but I cant read from the ITE chip. Still only voltages and temperatures. GKrellm (normally I use conky) also detects no fans. @Dale: Do you have exactly the same board (ASUS Crosshair IV formula) as I, or? I tried to include everything into the kernel but unfortunately the results are the same: No fans and the it87 driver seems not to work for me... Any other ideas? Best regards and have a nive sunday! mcc I have a Gigabyte mobo here. There are two places that you have to enable all the sensors tho. As was posted a bit ago, one is I2C Support and one is Hardware Monitoring Support both of which are under Device Drivers. Is it possible that you left one out? If you built all the drivers in and it didn't work, then you may have to wait on a newer kernel. If you are running a stable kernel, you may want to try a unstable one since they are newer and may have the updated drivers. I'm using 2.6.36 gentoo-sources here. Hope that helps. Dale :-) :-)
Re: [gentoo-user] FAN-Speed readout/control ???
On Sunday 12 December 2010 06:25:21 meino.cra...@gmx.de wrote: Hallo, I want to read the fan speed and want to control it with gentoo. My motherboard is a ASUS Crosshair IV Formula. lm_sensors does not report any relevant sensor. Does anyone got this working on this or an equivalent board with 890FX chipset? Thank you very much in advance for any help! Best regards mcc build all sensor drivers AND all transport as modules run sensors-detect edit lm_sensors conf in /etc/conf rc-update add lm_sensors default pwmconfig lots of stuff rc-update add fancontrol default. There are some problems with asus boards. They need some acpi support - and if they can do the fancontrol you have to deactivate that in the bios (google!). I used fancontrol with all my asrock boards. With my Asus board I am using the bios control, because it works pretty well. And always. And for all three fans connected. Even the ones connected with 3pin connectors.
Re: [gentoo-user] FAN-Speed readout/control ???
Dale rdalek1...@gmail.com [10-12-12 11:32]: meino.cra...@gmx.de wrote: Hi Andrea, Hi Dale, Before I post my question I did, what you have suggested, Andrea. Sensors-detect reports the it87 chip to be included as module/in the kernel, which I did -- but the driver does not produces any output AMD k10 was already in and reports everything -- only the fan stuff was missing, which (normall) the ITE (it87) chip is used for. The version of lm_sensors, which is in portage reports here driver to be written but the svn-version of lm_sensors seems to support it. I installed that svn-version locally but I cant read from the ITE chip. Still only voltages and temperatures. GKrellm (normally I use conky) also detects no fans. @Dale: Do you have exactly the same board (ASUS Crosshair IV formula) as I, or? I tried to include everything into the kernel but unfortunately the results are the same: No fans and the it87 driver seems not to work for me... Any other ideas? Best regards and have a nive sunday! mcc I have a Gigabyte mobo here. There are two places that you have to enable all the sensors tho. As was posted a bit ago, one is I2C Support and one is Hardware Monitoring Support both of which are under Device Drivers. Is it possible that you left one out? If you built all the drivers in and it didn't work, then you may have to wait on a newer kernel. If you are running a stable kernel, you may want to try a unstable one since they are newer and may have the updated drivers. I'm using 2.6.36 gentoo-sources here. Hope that helps. Dale :-) :-) Hi Dale, I enabled CONFIG_HWMON=y and CONFIG_I2C=y, I also see temperatures and voltages (I still a little confused by what ASUS states of the CPU-dye temperature of not being a physical temperature but one of arbitrary scale...but this another field to explore...). My kernel is a 2.36.6.2 vanilla...I didn't found any newer ;) ;) ;) Seems I am lost ?!? Best regards, mcc
Re: [gentoo-user] FAN-Speed readout/control ???
meino.cra...@gmx.de wrote: Dalerdalek1...@gmail.com [10-12-12 11:32]: meino.cra...@gmx.de wrote: Hi Andrea, Hi Dale, Before I post my question I did, what you have suggested, Andrea. Sensors-detect reports the it87 chip to be included as module/in the kernel, which I did -- but the driver does not produces any output AMD k10 was already in and reports everything -- only the fan stuff was missing, which (normall) the ITE (it87) chip is used for. The version of lm_sensors, which is in portage reports here driver to be written but the svn-version of lm_sensors seems to support it. I installed that svn-version locally but I cant read from the ITE chip. Still only voltages and temperatures. GKrellm (normally I use conky) also detects no fans. @Dale: Do you have exactly the same board (ASUS Crosshair IV formula) as I, or? I tried to include everything into the kernel but unfortunately the results are the same: No fans and the it87 driver seems not to work for me... Any other ideas? Best regards and have a nive sunday! mcc I have a Gigabyte mobo here. There are two places that you have to enable all the sensors tho. As was posted a bit ago, one is I2C Support and one is Hardware Monitoring Support both of which are under Device Drivers. Is it possible that you left one out? If you built all the drivers in and it didn't work, then you may have to wait on a newer kernel. If you are running a stable kernel, you may want to try a unstable one since they are newer and may have the updated drivers. I'm using 2.6.36 gentoo-sources here. Hope that helps. Dale :-) :-) Hi Dale, I enabled CONFIG_HWMON=y and CONFIG_I2C=y, I also see temperatures and voltages (I still a little confused by what ASUS states of the CPU-dye temperature of not being a physical temperature but one of arbitrary scale...but this another field to explore...). My kernel is a 2.36.6.2 vanilla...I didn't found any newer ;) ;) ;) Seems I am lost ?!? Best regards, mcc I built me a new rig in the past week. There are two reasons I don't buy bleeding edge. 1: Cost 2: Drivers not being ready and/or stable. My mobo is about a year old. That is enough time to let the kernel people sort out some nice drivers. Maybe someone here can point you to a place where you can see if they are being worked on. I'm sure there is a website with all kinds of info. The only one I can think of is http://kernel.org/ which shows a newer version than I have. May could see if they have new ones in them. Given what lm-sensors says and the fact the ones in the kernel don't work, I'm not sure what else to try. Dale :-) :_)
Re: [gentoo-user] FAN-Speed readout/control ???
AMD k10 was already in and reports everything -- only the fan stuff was missing, which (normall) the ITE (it87) chip is used for. Current IT87xx chips provide fan, temperature and voltage readings. If you built the drivers as modules, are you sure everything (it87 and the relevant i2c drivers) is loaded? Check the kernel log for any error messages. The version of lm_sensors, which is in portage reports here driver to be written but the svn-version of lm_sensors seems to support it Support for a specific sensor chip is provided by the kernel driver, not by lm_sensors. sensor-detect only provides advice based on the situation at the time it was released; if a more recent revision says that the chip is supported, it means that a driver for the chip now exists, *not* that the driver provided by the current kernel supports it. However, according to this page the it8720F chip seems to be supported starting from kernel 2.6.29, so kernel version is not your problem. http://www.lm-sensors.org/wiki/Devices andrea
Re: [gentoo-user] FAN-Speed readout/control ???
Andrea Conti a...@alyf.net [10-12-12 14:00]: AMD k10 was already in and reports everything -- only the fan stuff was missing, which (normall) the ITE (it87) chip is used for. Current IT87xx chips provide fan, temperature and voltage readings. If you built the drivers as modules, are you sure everything (it87 and the relevant i2c drivers) is loaded? Check the kernel log for any error messages. The version of lm_sensors, which is in portage reports here driver to be written but the svn-version of lm_sensors seems to support it Support for a specific sensor chip is provided by the kernel driver, not by lm_sensors. sensor-detect only provides advice based on the situation at the time it was released; if a more recent revision says that the chip is supported, it means that a driver for the chip now exists, *not* that the driver provided by the current kernel supports it. However, according to this page the it8720F chip seems to be supported starting from kernel 2.6.29, so kernel version is not your problem. http://www.lm-sensors.org/wiki/Devices andrea The chip on the board is a ITE IT8721. An excerpt of the top part of /usr/src/linux-2.36.6.2/drivers/hwmon/it87.c * * Supports: IT8705F Super I/O chip w/LPC interface *IT8712F Super I/O chip w/LPC interface *IT8716F Super I/O chip w/LPC interface *IT8718F Super I/O chip w/LPC interface *IT8720F Super I/O chip w/LPC interface *IT8726F Super I/O chip w/LPC interface *Sis950 A clone of the IT8705F * Therefore the chip is unsupported and the kernel is the source of the problem according to your explanations. mcc
Re: [gentoo-user] FAN-Speed readout/control ???
On Sunday 12 December 2010 14:06:33 meino.cra...@gmx.de wrote: IT8721 So look at the lm sensors site: http://www.lm-sensors.org/wiki/Devices ITEIT8721F, IT8758Eyesit87LPC2.6.37 or standalone driver (2010-10-12) We have a datasheet for the IT8721F. Different from previous IT87xxF chips (12 mV ADC instead of 16 mV, amongst other.) Two requests ( Jae Sammy, Virgil Gheorghiu.) The IT8758E was reported to have the same device ID, so hopefully they are fully compatible. Support added by Jean Delvare, please test the standalone driver and report. you could try this: http://khali.linux-fr.org/devel/misc/it87/it87.c google. 2minutes. It really is that simple.
Re: [gentoo-user] FAN-Speed readout/control ???
Volker Armin Hemmann volkerar...@googlemail.com [10-12-12 14:52]: On Sunday 12 December 2010 14:06:33 meino.cra...@gmx.de wrote: IT8721 So look at the lm sensors site: http://www.lm-sensors.org/wiki/Devices ITEIT8721F, IT8758Eyesit87LPC2.6.37 or standalone driver (2010-10-12) We have a datasheet for the IT8721F. Different from previous IT87xxF chips (12 mV ADC instead of 16 mV, amongst other.) Two requests ( Jae Sammy, Virgil Gheorghiu.) The IT8758E was reported to have the same device ID, so hopefully they are fully compatible. Support added by Jean Delvare, please test the standalone driver and report. you could try this: http://khali.linux-fr.org/devel/misc/it87/it87.c google. 2minutes. It really is that simple. Instead I backported the i87.c driver from the upcoming linux 2.36.7.rc5 itree into my linux-2.6.36.6 kernel. After recompiling i and a reboot it loads well but dmesg shows that there were conflicting ACPI areas then. The driver itsself suggests to use the atk0110-acpi driver instead the it87 one. So I will do that and give the BIOS the full control over the fans. Best regards mcc
Re: [gentoo-user] FAN-Speed readout/control ???
On Sunday 12 December 2010 14:57:26 meino.cra...@gmx.de wrote: Volker Armin Hemmann volkerar...@googlemail.com [10-12-12 14:52]: On Sunday 12 December 2010 14:06:33 meino.cra...@gmx.de wrote: IT8721 So look at the lm sensors site: http://www.lm-sensors.org/wiki/Devices ITEIT8721F, IT8758Eyesit87LPC2.6.37 or standalone driver (2010-10-12) We have a datasheet for the IT8721F. Different from previous IT87xxF chips (12 mV ADC instead of 16 mV, amongst other.) Two requests ( Jae Sammy, Virgil Gheorghiu.) The IT8758E was reported to have the same device ID, so hopefully they are fully compatible. Support added by Jean Delvare, please test the standalone driver and report. you could try this: http://khali.linux-fr.org/devel/misc/it87/it87.c google. 2minutes. It really is that simple. Instead I backported the i87.c driver from the upcoming linux 2.36.7.rc5 itree into my linux-2.6.36.6 kernel. After recompiling i and a reboot it loads well but dmesg shows that there were conflicting ACPI areas then. The driver itsself suggests to use the atk0110-acpi driver instead the it87 one. So I will do that and give the BIOS the full control over the fans. I did the same and it is working really well... apart from an annoying cpu-fan error at the boot, because the fan only start turning 1-2 minutes after turning the box on. k10temp-pci-00c3 Adapter: PCI adapter temp1: +38.1°C (high = +70.0°C, crit = +90.0°C) atk0110-acpi-0 Adapter: ACPI interface Vcore Voltage: +1.00 V (min = +0.85 V, max = +1.70 V) +3.3 Voltage: +3.39 V (min = +2.97 V, max = +3.63 V) +5 Voltage: +5.08 V (min = +4.50 V, max = +5.50 V) +12 Voltage: +12.52 V (min = +10.20 V, max = +13.80 V) CPU FAN Speed: 565 RPM (min = 600 RPM) CHASSIS FAN Speed: 1171 RPM (min = 600 RPM) CHASSIS FAN 2 Speed: 698 RPM (min = 600 RPM) CPU Temperature: +36.0°C (high = +60.0°C, crit = +95.0°C) MB Temperature: +29.0°C (high = +45.0°C, crit = +75.0°C)
Re: [gentoo-user] FAN-Speed readout/control ???
Volker Armin Hemmann volkerar...@googlemail.com [10-12-12 15:16]: On Sunday 12 December 2010 14:57:26 meino.cra...@gmx.de wrote: Volker Armin Hemmann volkerar...@googlemail.com [10-12-12 14:52]: On Sunday 12 December 2010 14:06:33 meino.cra...@gmx.de wrote: IT8721 So look at the lm sensors site: http://www.lm-sensors.org/wiki/Devices ITEIT8721F, IT8758Eyesit87LPC2.6.37 or standalone driver (2010-10-12) We have a datasheet for the IT8721F. Different from previous IT87xxF chips (12 mV ADC instead of 16 mV, amongst other.) Two requests ( Jae Sammy, Virgil Gheorghiu.) The IT8758E was reported to have the same device ID, so hopefully they are fully compatible. Support added by Jean Delvare, please test the standalone driver and report. you could try this: http://khali.linux-fr.org/devel/misc/it87/it87.c google. 2minutes. It really is that simple. Instead I backported the i87.c driver from the upcoming linux 2.36.7.rc5 itree into my linux-2.6.36.6 kernel. After recompiling i and a reboot it loads well but dmesg shows that there were conflicting ACPI areas then. The driver itsself suggests to use the atk0110-acpi driver instead the it87 one. So I will do that and give the BIOS the full control over the fans. I did the same and it is working really well... apart from an annoying cpu-fan error at the boot, because the fan only start turning 1-2 minutes after turning the box on. k10temp-pci-00c3 Adapter: PCI adapter temp1: +38.1°C (high = +70.0°C, crit = +90.0°C) atk0110-acpi-0 Adapter: ACPI interface Vcore Voltage: +1.00 V (min = +0.85 V, max = +1.70 V) +3.3 Voltage: +3.39 V (min = +2.97 V, max = +3.63 V) +5 Voltage: +5.08 V (min = +4.50 V, max = +5.50 V) +12 Voltage: +12.52 V (min = +10.20 V, max = +13.80 V) CPU FAN Speed: 565 RPM (min = 600 RPM) CHASSIS FAN Speed: 1171 RPM (min = 600 RPM) CHASSIS FAN 2 Speed: 698 RPM (min = 600 RPM) CPU Temperature: +36.0°C (high = +60.0°C, crit = +95.0°C) MB Temperature: +29.0°C (high = +45.0°C, crit = +75.0°C) Hi Volker, THAT'S INTERESTING!! What motherboard do you use and may be you can mail me your kernel config in a personal mail ? And: What exactly do you enable/disable in the BIOS of you board? When I try to enable fan control via bios I got a warning and loud beeps from the BIOS *AND* the fan do not start... When disabling fan control, the fan starts nearly instantly (acoustic-wise it is not that a problem ... the CPU fan works silently...). But what is the reason for the ACPI area conflict???
Re: [gentoo-user] FAN-Speed readout/control ???
On Sunday 12 December 2010 15:28:26 meino.cra...@gmx.de wrote: Volker Armin Hemmann volkerar...@googlemail.com [10-12-12 15:16]: On Sunday 12 December 2010 14:57:26 meino.cra...@gmx.de wrote: Volker Armin Hemmann volkerar...@googlemail.com [10-12-12 14:52]: On Sunday 12 December 2010 14:06:33 meino.cra...@gmx.de wrote: IT8721 So look at the lm sensors site: http://www.lm-sensors.org/wiki/Devices ITEIT8721F, IT8758Eyesit87LPC2.6.37 or standalone driver (2010-10-12) We have a datasheet for the IT8721F. Different from previous IT87xxF chips (12 mV ADC instead of 16 mV, amongst other.) Two requests ( Jae Sammy, Virgil Gheorghiu.) The IT8758E was reported to have the same device ID, so hopefully they are fully compatible. Support added by Jean Delvare, please test the standalone driver and report. you could try this: http://khali.linux-fr.org/devel/misc/it87/it87.c google. 2minutes. It really is that simple. Instead I backported the i87.c driver from the upcoming linux 2.36.7.rc5 itree into my linux-2.6.36.6 kernel. After recompiling i and a reboot it loads well but dmesg shows that there were conflicting ACPI areas then. The driver itsself suggests to use the atk0110-acpi driver instead the it87 one. So I will do that and give the BIOS the full control over the fans. I did the same and it is working really well... apart from an annoying cpu-fan error at the boot, because the fan only start turning 1-2 minutes after turning the box on. k10temp-pci-00c3 Adapter: PCI adapter temp1: +38.1°C (high = +70.0°C, crit = +90.0°C) atk0110-acpi-0 Adapter: ACPI interface Vcore Voltage: +1.00 V (min = +0.85 V, max = +1.70 V) +3.3 Voltage: +3.39 V (min = +2.97 V, max = +3.63 V) +5 Voltage: +5.08 V (min = +4.50 V, max = +5.50 V) +12 Voltage: +12.52 V (min = +10.20 V, max = +13.80 V) CPU FAN Speed: 565 RPM (min = 600 RPM) CHASSIS FAN Speed: 1171 RPM (min = 600 RPM) CHASSIS FAN 2 Speed: 698 RPM (min = 600 RPM) CPU Temperature: +36.0°C (high = +60.0°C, crit = +95.0°C) MB Temperature: +29.0°C (high = +45.0°C, crit = +75.0°C) Hi Volker, THAT'S INTERESTING!! What motherboard do you use and may be you can mail me your kernel config in a personal mail ? M4A79XTD EVO config will come per pm. And: What exactly do you enable/disable in the BIOS of you board? on: acc, c1e, usb, fan control (setting to optimal), ahci modus, on on keyboard/space bar, some other stuff. Off onboard sound, firewire, serial and all the other stuff I never use... oh and PNP OS, if I remember correctly. When I try to enable fan control via bios I got a warning and loud beeps from the BIOS *AND* the fan do not start... yeah and if you ignore that it should start rotating after a short while. The starting volts at room temperature are too low, but as soon as the cpu heats up, the volts increase and the fan spins. But what is the reason for the ACPI area conflict??? that it87blabla can be accessed by acpi stuff but the it87 driver does not know about it - or something like that. Read about it a few month ago and forgot everything.
Re: [gentoo-user] FAN-Speed readout/control ???
=== On Sun, 12/12, Volker Armin Hemmann wrote: === that it87blabla can be accessed by acpi stuff but the it87 driver does not know about it - or something like that. Read about it a few month ago and forgot everything. === On Asus boards try first the Asus ACPI driver, asus_atk0110 It seems more sensors are being made available through ACPI interfaces, but many drivers still use direct access to the chip. -- Keith Dart -- -- ~ Keith Dart ke...@dartworks.biz public key: ID: 19017044 http://www.dartworks.biz/ =