From mboxrd@z Thu Jan 1 00:00:00 1970 From: MrNice Date: Mon, 17 Sep 2012 17:19:34 +0000 Subject: Re: [lm-sensors] No such subfeature known when sensors -s Message-Id: <50575BA6.9070502@iol.ie> List-Id: References: <5051971B.7030608@iol.ie> In-Reply-To: <5051971B.7030608@iol.ie> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lm-sensors@vger.kernel.org On 17/09/12 16:14, Guenter Roeck wrote: > On Mon, Sep 17, 2012 at 11:51:08AM +0100, MrNice wrote: >> On Sun, Sep 16, 2012 at 09:03:17PM +0100, Jean-Pierre Thibert wrote: >>> On 16/09/12 19:53, Guenter Roeck wrote: >>>> On Sun, Sep 16, 2012 at 07:44:58AM +0100, Jean-Pierre Thibert wrote: >>>> [ ... ] >>>>> I have an ASRock 970 Extreme4 UEFI version P2.00 >>>>> In the H/W Monitor page of the UEFI/BIOS, I have the following: >>>>> CPU Temperature : 36.5 =B0C >>>>> M/B Temperature : 28.0 =B0C >>>>> >>>>> CPU Fan 1 Speed : 1065 RPM (this is a pwm connector with 4 pins. >>>>> I have a pwm fan) called CPU_FAN1 on the motherboard >>>>> CPU Fan 2 Speed : N/A (this is a 3 pins connector. No connected >>>>> fan) called CPU_FAN2 on the motherboard >>>>> Chassis Fan 1 Speed : N/A (this is a pwm connector with 4 pins. >>>>> No connected fan) called CHA_FAN1 on the motherboard >>>>> Chassis Fan 2 Speed : 730 RPM (this is a 3 pins connector. I have >>>>> a 3 pins connected fan) called CHA_FAN2 on the motherboard >>>>> Chassis Fan 3 Speed : 760 RPM (this is a 3 pins connector. I have >>>>> a 3 pins connected fan) called CHA_FAN3 on the motherboard >>>>> Power Fan Speed : N/A (this is a 3 pins connector. No connected >>>>> fan) called PWR_FAN1 on the motherboard >>>>> >>>>> Vcore : +1.328 V >>>>> + 12.00V : +12.144 V >>>>> + 5.00V : +5.136 V >>>>> + 3.30V : +3.280 V >>>>> >>>>> lm-sensors has almost all the values but no fan speed. >>>>> I don't know why I had the CPU_FAN2 for a short time and it disappear= ed. >>>>> I can't understand what you suggest to have the value back. Could >>>> I did not suggest anything. >>>> >>>> I found some information about the board. The chassis fans are connect= ed to >>>> memory mapped IO, so there is nothing we can do there. There are two C= PU fans, >>>> multiplexed to the SuperIO chip through GPIO pins. It _might be possib= le that >>>> we can manually set those pins. >>>> >>>> Please send the output of the following commands: >>>> isadump -y -k 0x87,0x87 0x2e 0x2f >>>> isadump -y -k 0x87,0x87 0x2e 0x2f 8 >>>> dmidecode >>>> >>>> Thanks, >>>> Guenter >>>> >>>> >>>> >>>> >>> sudo isadump -y -k 0x87,0x87 0x2e 0x2f >>> 0 1 2 3 4 5 6 7 8 9 a b c d e f >>> 00: ff ff 00 ff ff ff ff 0b ff ff ff ff ff ff ff ff >>> 10: ff ff ff ff ff ff ff ff ff ff f8 ce 00 00 ff ff >>> 20: c3 33 ff 00 5c 00 00 90 00 ff 60 04 81 00 00 01 >>> 30: e1 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> 40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> 60: 02 90 00 00 ff ff ff ff ff ff ff ff ff ff ff ff >>> 70: 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> e0: 7f 7f ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> f0: 00 00 00 a4 ff 10 00 87 47 00 00 ff ff ff ff ff >>> >>> >>> sudo isadump -y -k 0x87,0x87 0x2e 0x2f 8 >>> 0 1 2 3 4 5 6 7 8 9 a b c d e f >>> 00: ff ff 00 ff ff ff ff 08 ff ff ff ff ff ff ff ff >>> 10: ff ff ff ff ff ff ff ff ff ff f8 ce 00 00 ff ff >>> 20: c3 33 ff 00 5c 00 00 90 00 ff 60 04 81 00 00 01 >>> 30: 01 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> 40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> 60: 00 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >>> f0: f3 f3 00 ff 00 00 00 00 ff ff ff ff ff ff ff ff >>> >> I just noticed that you dropped the mailing list in your reply. >> Please don't do that; others may need the information later on, >> and I myself use it for searches. >> >> I initially thought the above does not help, but it kind of makes sense. >> >> You can try the following command sequence (at your own risk): >> >> isaset -y -f 0x2e 0x87 >> isaset -y -f 0x2e 0x87 >> isaset -y 0x2e 0x2f 0x7 0x8 >> isaset -y 0x2e 0x2f 0xf0 0xb2 >> isaset -y 0x2e 0x2f 0xf1 0xb3 >> >> The 0xb3 in the last command should select CPUFANIN. Replace it with 0xf= 2 to >> select CPUFANIN2. >> >> You'll have to copy the commands into a file and execute it as shell scr= ipt. >> >> Do _not_ play with other settings of register 0xf0 or 0xf1. The informat= ion >> in the ASRock tool suggests that one of the bits is used to control the = DDR3 >> voltage. >> >> Guenter >> >> I am a bit afraid with "(at your own risk):" >> Do I really need to do that? > Only if you want to see the CPU fan speed. > >> Could you check again the hexa values to be sure. > You are welcome to check yourself. You can find the ASRock board paramete= rs in > the Conf subdirectory of the ASRock performance tuning utility. The file = for > your board is named 970E4.xml. The datasheet for the SuperIO chip is avai= lable > from Nuvoton's web site. The datasheet for NCT6776F is marked as "Request= ", > but you can download and use the datasheet for NCT5577D instead; it is mo= stly > the same. > >> The last command I have to add should be: >> isaset -y 0x2e 0x2f 0xf1 0xf2 >> yes? > If your fan is connected to CPUFANIN2, yes. Otherwise it would be "isaset= -y > 0x2e 0x2f 0xf1 0xb3". > >> What will I to do after that? directly run sensors or something else? >> > Yes, if you run the sensors command, you should see the CPUFAN speed. > > Guenter > > I had a look on the NCT5577D datasheet but it's not for me ;-) So I tried your commands in a file named cpufan: #!/bin/bash isaset -y -f 0x2e 0x87 isaset -y -f 0x2e 0x87 isaset -y 0x2e 0x2f 0x7 0x8 isaset -y 0x2e 0x2f 0xf0 0xb2 isaset -y 0x2e 0x2f 0xf1 0xf2 I have this error sudo ./cpufan Data mismatch, wrote 0x87, read 0xff back. Data mismatch, wrote 0x87, read 0x09 back. Nothing more with sensors What can I do? _______________________________________________ lm-sensors mailing list lm-sensors@lm-sensors.org http://lists.lm-sensors.org/mailman/listinfo/lm-sensors