NCT6776 global registers 0x1c=0 and 0x24=0x5c on
Hi,
Only 2 of the 5 fans are showing up on my ASRock P67 Extreme4 motherboard. It due to the NCT6776 global configuration register 0x1c and 0x24 values. The fans work if I modify these registers prior to loading the w83627ehf driver.
My question is where are these registers initialized? Should I ask ASRock to fix the BIOS?
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 02 ff ff ff ff ff ff ff ff 10: ff ff ff ff ff ff ff ff ff ff f8 0e 00 00 ff ff 20: c3 33 ff 00 5c 00 00 98 00 ff 20 00 80 00 00 01 30: 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
isaset -y -f 0x2e 0x87
isaset -y -f 0x2e 0x87
isaset -y 0x2e 0x2f 0x1c 0x3
isaset -y 0x2e 0x2f 0x24 0x1c
Thanks, Mike
Signature · 7 lines
Mike Campin [email protected] _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] NCT6776 global registers 0x1c=0 and 0x24=0x5c
Hi,
--------------------------------------------------
From: "Mike Campin" <[email protected]>
Sent: Sunday, April 10, 2011 6:04 PM
To: <[email protected]>
Subject: [lm-sensors] NCT6776 global registers 0x1c=0 and 0x24=0x5c onASRock Extreme4
Quoted 18 lines
Hi,
Only 2 of the 5 fans are showing up on my ASRock P67 Extreme4 motherboard. It due to the NCT6776 global configuration register
0x1cand0x24values. The fans work if I modify these registers prior to loading the w83627ehf driver.My question is where are these registers initialized? Should I ask ASRock to fix the BIOS?
isadump -y -k 0x87,0x87
0x2e0x2f0 1 2 3 4 5 6 7 8 9 a b c d e f
00: ff ff 00 ff ff ff ff 02 ff ff ff ff ff ff ff ff 10: ff ff ff ff ff ff ff ff ff ff f8 0e 00 00 ff ff 20: c3 33 ff 00 5c 00 00 98 00 ff 20 00 80 00 00 01 30: 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Quoted 15 lines
isaset -y -f
0x2e0x87
isaset -y -f0x2e0x87
isaset -y0x2e0x2f0x1c0x3
isaset -y0x2e0x2f0x240x1cThanks, Mike
Signature · 7 lines
Mike Campin [email protected] _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
ASRock designed the board, so they should setup the hardware monitoring chip correctly. Allowing users to change the chip configuration is a really bad idea, as many of the pins can have different functionality/electrical spcifications depending on the config. Setting up a pin incorrectly could blow the chip (Configuring a pin so that it's a source that's connected to an unprotected/limited sink for example).
So ASRock should fix the BIOS.
Regards
Ian Dobson
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] NCT6776 global registers 0x1c=0 and 0x24=0x5c
In reply to Mike CampinQuoted 43 lines · Ian Dobson
Hi,
--------------------------------------------------
From: "Mike Campin" <[email protected]>
Sent: Sunday, April 10, 2011 6:04 PM
To: <[email protected]>
Subject: [lm-sensors] NCT6776 global registers 0x1c=0 and 0x24=0x5c onASRock Extreme4Quoted 18 lines
Hi,
Only 2 of the 5 fans are showing up on my ASRock P67 Extreme4 motherboard. It due to the NCT6776 global configuration register
0x1cand0x24values. The fans work if I modify these registers prior to loading the w83627ehf driver.My question is where are these registers initialized? Should I ask ASRock to fix the BIOS?
isadump -y -k 0x87,0x87
0x2e0x2f0 1 2 3 4 5 6 7 8 9 a b c d e f
00: ff ff 00 ff ff ff ff 02 ff ff ff ff ff ff ff ff 10: ff ff ff ff ff ff ff ff ff ff f8 0e 00 00 ff ff 20: c3 33 ff 00 5c 00 00 98 00 ff 20 00 80 00 00 01 30: 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffQuoted 15 lines
isaset -y -f
0x2e0x87
isaset -y -f0x2e0x87
isaset -y0x2e0x2f0x1c0x3
isaset -y0x2e0x2f0x240x1cThanks, Mike
Signature · 7 lines
Mike Campin [email protected] _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 8 lines
ASRock designed the board, so they should setup the hardware monitoring chip correctly. Allowing users to change the chip configuration is a really bad idea, as many of the pins can have different functionality/electrical spcifications depending on the config. Setting up a pin incorrectly could blow the chip (Configuring a pin so that it's a source that's connected to an unprotected/limited sink for example).
So ASRock should fix the BIOS.
Seconded. But before flaming Asrock, two things worth checking:
* Availability of a BIOS update fixing the issue.
* Options in the BIOS to enable/disable the monitoring of specific fans. I can imagine that the BIOS skips the configuration steps for fans for which monitoring was disabled (although that would probably mean more code than just doing it unconditionally...)
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
[lm-sensors] NCT6776 global registers 0x1c=0 and 0x24=0x5c onASRock
In reply to Mike CampinHi,
Quoted 60 lines · Ian Dobson
Quoted 43 lines
Hi,
--------------------------------------------------
From: "Mike Campin" <lm_sensorsat ootsa.homelinux.net>
Sent: Sunday, April 10, 2011 6:04 PM
To: <lm-sensors at lm-sensors.org>
Subject: [lm-sensors] NCT6776 global registers 0x1c=0 and 0x24=0x5c onASRock Extreme4Quoted 25 lines
Hi,
Only 2 of the 5 fans are showing up on my ASRock P67 Extreme4 motherboard. It due to the NCT6776 global configuration register
0x1cand0x24values. The fans work if I modify these registers prior to loading the w83627ehf driver.My question is where are these registers initialized? Should I ask ASRock to fix the BIOS?
isadump -y -k 0x87,0x87
0x2e0x2f0 1 2 3 4 5 6 7 8 9 a b c d e f
00: ff ff 00 ff ff ff ff 02 ff ff ff ff ff ff ff ff 10: ff ff ff ff ff ff ff ff ff ff f8 0e 00 00 ff ff 20: c3 33 ff 00 5c 00 00 98 00 ff 20 00 80 00 00 01 30: 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffisaset -y -f
0x2e0x87
isaset -y -f0x2e0x87
isaset -y0x2e0x2f0x1c0x3
isaset -y0x2e0x2f0x240x1cThanks, Mike
Quoted 8 lines
--
Mike Campinlm_sensorsat ootsa.homelinux.net_______________________________________________
lm-sensors mailing list
lm-sensors at lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensorsQuoted 8 lines
ASRock designed the board, so they should setup the hardware monitoring chip correctly. Allowing users to change the chip configuration is a really bad idea, as many of the pins can have different functionality/electrical spcifications depending on the config. Setting up a pin incorrectly could blow the chip (Configuring a pin so that it's a source that's connected to an unprotected/limited sink for example).
So ASRock should fix the BIOS.
Seconded. But before flaming Asrock, two things worth checking:
* Availability of a BIOS update fixing the issue.
* Options in the BIOS to enable/disable the monitoring of specific fans. I can imagine that the BIOS skips the configuration steps for fans for which monitoring was disabled (although that would probably mean more code than just doing it unconditionally...)
Quoted 2 lines
--
Jean Delvare
I own an Asrock P67 Extreme4 too and have the same problem. It can be solved by following Mike Campin's instructions, which I successfully incorporated into /etc/init.d/lm_sensors. There is no BIOS available that fixes this issue, but I noticed that SpeedFan for Windows (www.almico.com/speedfan.php) seems to do something similar, otherwise it would show only 2 fans too. So maybe we could get that into lm_sensors, even if the BIOS is at fault here?
Regards,
Harald
Signature · 6 lines
`Experience is the best teacher.' _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] NCT6776 global registers 0x1c=0 and 0x24=0x5c
In reply to Mike CampinHi,
Quoted 65 lines · Harald Judt
Hi,
Quoted 60 lines · Ian Dobson
Quoted 43 lines
Hi,
--------------------------------------------------
From: "Mike Campin" <lm_sensorsat ootsa.homelinux.net>
Sent: Sunday, April 10, 2011 6:04 PM
To: <lm-sensors at lm-sensors.org>
Subject: [lm-sensors] NCT6776 global registers 0x1c=0 and 0x24=0x5c onASRock Extreme4Quoted 25 lines
Hi,
Only 2 of the 5 fans are showing up on my ASRock P67 Extreme4 motherboard. It due to the NCT6776 global configuration register
0x1cand0x24values. The fans work if I modify these registers prior to loading the w83627ehf driver.My question is where are these registers initialized? Should I ask ASRock to fix the BIOS?
isadump -y -k 0x87,0x87
0x2e0x2f0 1 2 3 4 5 6 7 8 9 a b c d e f
00: ff ff 00 ff ff ff ff 02 ff ff ff ff ff ff ff ff 10: ff ff ff ff ff ff ff ff ff ff f8 0e 00 00 ff ff 20: c3 33 ff 00 5c 00 00 98 00 ff 20 00 80 00 00 01 30: 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffisaset -y -f
0x2e0x87
isaset -y -f0x2e0x87
isaset -y0x2e0x2f0x1c0x3
isaset -y0x2e0x2f0x240x1cThanks, Mike
Quoted 8 lines
--
Mike Campinlm_sensorsat ootsa.homelinux.net_______________________________________________
lm-sensors mailing list
lm-sensors at lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensorsQuoted 8 lines
ASRock designed the board, so they should setup the hardware monitoring chip correctly. Allowing users to change the chip configuration is a really bad idea, as many of the pins can have different functionality/electrical spcifications depending on the config. Setting up a pin incorrectly could blow the chip (Configuring a pin so that it's a source that's connected to an unprotected/limited sink for example).
So ASRock should fix the BIOS.
Seconded. But before flaming Asrock, two things worth checking:
* Availability of a BIOS update fixing the issue.
* Options in the BIOS to enable/disable the monitoring of specific fans. I can imagine that the BIOS skips the configuration steps for fans for which monitoring was disabled (although that would probably mean more code than just doing it unconditionally...)Quoted 2 lines
--
Jean Delvare
Quoted 8 lines
I own an Asrock P67 Extreme4 too and have the same problem. It can be solved by following Mike Campin's instructions, which I successfully incorporated into
/etc/init.d/lm_sensors. There is no BIOS available that fixes this issue, but I noticed that SpeedFan for Windows (www.almico.com/speedfan.php) seems to do something similar, otherwise it would show only 2 fans too. So maybe we could get that intolm_sensors, even if the BIOS is at fault here?
See above ... worst case this can result in defective hardware if misconfigured.
We could possibly introduce some kind of module parameter, but I don't feel too comfortable with that - wrong values may still blow up the hardware. Any opinions, anyone ?
Guenter
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] NCT6776 global registers 0x1c=0 and 0x24=0x5c
In reply to Mike CampinHi,
--------------------------------------------------
From: "Guenter Roeck" <[email protected]>
Sent: Wednesday, December 21, 2011 6:01 PM
To: "Harald Judt" <[email protected]>
Cc: <[email protected]>
Subject: Re: [lm-sensors] NCT6776 global registers 0x1c=0 and 0x24=0x5c onASRock Extreme4
Quoted 92 lines
Hi,
Quoted 74 lines · Harald Judt
Hi,
Quoted 69 lines · Ian Dobson
Quoted 59 lines
Hi,
--------------------------------------------------
From: "Mike Campin" <lm_sensorsat ootsa.homelinux.net>
Sent: Sunday, April 10, 2011 6:04 PM
To: <lm-sensors at lm-sensors.org>
Subject: [lm-sensors] NCT6776 global registers 0x1c=0 and 0x24=0x5c onASRock
Extreme4Quoted 29 lines
Hi,
Only 2 of the 5 fans are showing up on my ASRock P67 Extreme4 motherboard.
It due to the NCT6776 global configuration register0x1cand0x24values.
The fans work if I modify these registers prior to loading the w83627ehf
driver.My question is where are these registers initialized? Should I ask ASRock
to fix the BIOS?isadump -y -k 0x87,0x87
0x2e0x2f0 1 2 3 4 5 6 7 8 9 a b c d e f
00: ff ff 00 ff ff ff ff 02 ff ff ff ff ff ff ff ff 10: ff ff ff ff ff ff ff ff ff ff f8 0e 00 00 ff ff 20: c3 33 ff 00 5c 00 00 98 00 ff 20 00 80 00 00 01 30: 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffisaset -y -f
0x2e0x87
isaset -y -f0x2e0x87
isaset -y0x2e0x2f0x1c0x3
isaset -y0x2e0x2f0x240x1cThanks, Mike
Quoted 8 lines
--
Mike Campinlm_sensorsat ootsa.homelinux.net_______________________________________________
lm-sensors mailing list
lm-sensors at lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensorsASRock designed the board, so they should setup the hardware monitoring chip
correctly. Allowing users to change the chip configuration is a really bad
idea, as many of the pins can have different functionality/electrical spcifications depending on the config. Setting up a pin incorrectly could
blow the chip (Configuring a pin so that it's a source that's connected to
an unprotected/limited sink for example).Quoted 1 line
So ASRock should fix the BIOS.
Seconded. But before flaming Asrock, two things worth checking:
* Availability of a BIOS update fixing the issue.
* Options in the BIOS to enable/disable the monitoring of specific fans. I can imagine that the BIOS skips the configuration steps for fans for which monitoring was disabled (although that would probably mean more code than just doing it unconditionally...)Quoted 2 lines
--
Jean DelvareQuoted 8 lines
I own an Asrock P67 Extreme4 too and have the same problem. It can be solved by following Mike Campin's instructions, which I successfully incorporated into
/etc/init.d/lm_sensors. There is no BIOS available that fixes this issue, but I noticed that SpeedFan for Windows (www.almico.com/speedfan.php) seems to do something similar, otherwise it would show only 2 fans too. So maybe we could get that intolm_sensors, even if the BIOS is at fault here?See above ... worst case this can result in defective hardware if misconfigured.
We could possibly introduce some kind of module parameter, but I don't feel
too comfortable with that - wrong values may still blow up the hardware. Any opinions, anyone ?
Quoted 6 lines
Guenter
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
I wouldn't recommend a module parameter, leave the driver as it is. If there is a hack (using isaset) just use that. It's too easy for a user to set a module parameter hoping that it'll fix some random problem, and if the module kills the hardware, then the module is too blame.
Asrock should fix the BIOS, that's the correct option.
Regards
Ian Dobson
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] NCT6776 global registers 0x1c=0 and 0x24=0x5c
In reply to Mike CampinQuoted 108 lines · Ian Dobson
Hi,
--------------------------------------------------
From: "Guenter Roeck" <[email protected]>
Sent: Wednesday, December 21, 2011 6:01 PM
To: "Harald Judt" <[email protected]>
Cc: <[email protected]>
Subject: Re: [lm-sensors] NCT6776 global registers 0x1c=0 and 0x24=0x5c onASRock Extreme4Quoted 92 lines
Hi,
Quoted 74 lines · Harald Judt
Hi,
Quoted 69 lines · Ian Dobson
Quoted 59 lines
Hi,
--------------------------------------------------
From: "Mike Campin" <lm_sensorsat ootsa.homelinux.net>
Sent: Sunday, April 10, 2011 6:04 PM
To: <lm-sensors at lm-sensors.org>
Subject: [lm-sensors] NCT6776 global registers 0x1c=0 and 0x24=0x5c onASRock
Extreme4Quoted 29 lines
Hi,
Only 2 of the 5 fans are showing up on my ASRock P67 Extreme4 motherboard.
It due to the NCT6776 global configuration register0x1cand0x24values.
The fans work if I modify these registers prior to loading the w83627ehf
driver.My question is where are these registers initialized? Should I ask ASRock
to fix the BIOS?isadump -y -k 0x87,0x87
0x2e0x2f0 1 2 3 4 5 6 7 8 9 a b c d e f
00: ff ff 00 ff ff ff ff 02 ff ff ff ff ff ff ff ff 10: ff ff ff ff ff ff ff ff ff ff f8 0e 00 00 ff ff 20: c3 33 ff 00 5c 00 00 98 00 ff 20 00 80 00 00 01 30: 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffisaset -y -f
0x2e0x87
isaset -y -f0x2e0x87
isaset -y0x2e0x2f0x1c0x3
isaset -y0x2e0x2f0x240x1cThanks, Mike
Quoted 8 lines
--
Mike Campinlm_sensorsat ootsa.homelinux.net_______________________________________________
lm-sensors mailing list
lm-sensors at lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensorsASRock designed the board, so they should setup the hardware monitoring chip
correctly. Allowing users to change the chip configuration is a really bad
idea, as many of the pins can have different functionality/electrical spcifications depending on the config. Setting up a pin incorrectly could
blow the chip (Configuring a pin so that it's a source that's connected to
an unprotected/limited sink for example).Quoted 1 line
So ASRock should fix the BIOS.
Seconded. But before flaming Asrock, two things worth checking:
* Availability of a BIOS update fixing the issue.
* Options in the BIOS to enable/disable the monitoring of specific fans. I can imagine that the BIOS skips the configuration steps for fans for which monitoring was disabled (although that would probably mean more code than just doing it unconditionally...)Quoted 2 lines
--
Jean DelvareQuoted 8 lines
I own an Asrock P67 Extreme4 too and have the same problem. It can be solved by following Mike Campin's instructions, which I successfully incorporated into
/etc/init.d/lm_sensors. There is no BIOS available that fixes this issue, but I noticed that SpeedFan for Windows (www.almico.com/speedfan.php) seems to do something similar, otherwise it would show only 2 fans too. So maybe we could get that intolm_sensors, even if the BIOS is at fault here?See above ... worst case this can result in defective hardware if misconfigured.
We could possibly introduce some kind of module parameter, but I don't feel
too comfortable with that - wrong values may still blow up the hardware. Any opinions, anyone ?Quoted 6 lines
Guenter
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 7 lines
I wouldn't recommend a module parameter, leave the driver as it is. If there is a hack (using isaset) just use that. It's too easy for a user to set a module parameter hoping that it'll fix some random problem, and if the module kills the hardware, then the module is too blame.
Asrock should fix the BIOS, that's the correct option.
I wonder if you could set these register values only on this specific motherboard by checking the DMI table to determine the motherboard vendor and model number.
At least then you can work around a broken BIOS until the vendor provides a fix.
Ira
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] NCT6776 global registers 0x1c=0 and 0x24=0x5c
In reply to Mike CampinQuoted 117 lines · Ira W. Snyder
Quoted 108 lines · Ian Dobson
Hi,
--------------------------------------------------
From: "Guenter Roeck" <[email protected]>
Sent: Wednesday, December 21, 2011 6:01 PM
To: "Harald Judt" <[email protected]>
Cc: <[email protected]>
Subject: Re: [lm-sensors] NCT6776 global registers 0x1c=0 and 0x24=0x5c onASRock Extreme4Quoted 92 lines
Hi,
Quoted 74 lines · Harald Judt
Hi,
Quoted 69 lines · Ian Dobson
Quoted 59 lines
Hi,
--------------------------------------------------
From: "Mike Campin" <lm_sensorsat ootsa.homelinux.net>
Sent: Sunday, April 10, 2011 6:04 PM
To: <lm-sensors at lm-sensors.org>
Subject: [lm-sensors] NCT6776 global registers 0x1c=0 and 0x24=0x5c onASRock
Extreme4Quoted 29 lines
Hi,
Only 2 of the 5 fans are showing up on my ASRock P67 Extreme4 motherboard.
It due to the NCT6776 global configuration register0x1cand0x24values.
The fans work if I modify these registers prior to loading the w83627ehf
driver.My question is where are these registers initialized? Should I ask ASRock
to fix the BIOS?isadump -y -k 0x87,0x87
0x2e0x2f0 1 2 3 4 5 6 7 8 9 a b c d e f
00: ff ff 00 ff ff ff ff 02 ff ff ff ff ff ff ff ff 10: ff ff ff ff ff ff ff ff ff ff f8 0e 00 00 ff ff 20: c3 33 ff 00 5c 00 00 98 00 ff 20 00 80 00 00 01 30: 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffisaset -y -f
0x2e0x87
isaset -y -f0x2e0x87
isaset -y0x2e0x2f0x1c0x3
isaset -y0x2e0x2f0x240x1cThanks, Mike
Quoted 8 lines
--
Mike Campinlm_sensorsat ootsa.homelinux.net_______________________________________________
lm-sensors mailing list
lm-sensors at lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensorsASRock designed the board, so they should setup the hardware monitoring chip
correctly. Allowing users to change the chip configuration is a really bad
idea, as many of the pins can have different functionality/electrical spcifications depending on the config. Setting up a pin incorrectly could
blow the chip (Configuring a pin so that it's a source that's connected to
an unprotected/limited sink for example).Quoted 1 line
So ASRock should fix the BIOS.
Seconded. But before flaming Asrock, two things worth checking:
* Availability of a BIOS update fixing the issue.
* Options in the BIOS to enable/disable the monitoring of specific fans. I can imagine that the BIOS skips the configuration steps for fans for which monitoring was disabled (although that would probably mean more code than just doing it unconditionally...)Quoted 2 lines
--
Jean DelvareQuoted 8 lines
I own an Asrock P67 Extreme4 too and have the same problem. It can be solved by following Mike Campin's instructions, which I successfully incorporated into
/etc/init.d/lm_sensors. There is no BIOS available that fixes this issue, but I noticed that SpeedFan for Windows (www.almico.com/speedfan.php) seems to do something similar, otherwise it would show only 2 fans too. So maybe we could get that intolm_sensors, even if the BIOS is at fault here?See above ... worst case this can result in defective hardware if misconfigured.
We could possibly introduce some kind of module parameter, but I don't feel
too comfortable with that - wrong values may still blow up the hardware. Any opinions, anyone ?Quoted 6 lines
Guenter
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensorsQuoted 7 lines
I wouldn't recommend a module parameter, leave the driver as it is. If there is a hack (using isaset) just use that. It's too easy for a user to set a module parameter hoping that it'll fix some random problem, and if the module kills the hardware, then the module is too blame.
Asrock should fix the BIOS, that's the correct option.
Quoted 7 lines
I wonder if you could set these register values only on this specific motherboard by checking the DMI table to determine the motherboard vendor and model number.
At least then you can work around a broken BIOS until the vendor provides a fix.
Possibly, and it might be what SpeedFan is doing. That should be done in drivers/platform/x86, though.
Guenter
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] NCT6776 global registers 0x1c=0 and 0x24=0x5c
In reply to Mike CampinAm 21.12.2011 21:55, schrieb Ira W. Snyder:
Quoted 109 lines · Ian Dobson
Quoted 108 lines
Hi,
--------------------------------------------------
From: "Guenter Roeck"<[email protected]>
Sent: Wednesday, December 21, 2011 6:01 PM
To: "Harald Judt"<[email protected]> Cc:<[email protected]>
Subject: Re: [lm-sensors] NCT6776 global registers 0x1c=0 and 0x24=0x5c onASRock Extreme4Quoted 98 lines
Hi,
Quoted 74 lines · Harald Judt
Hi,
Quoted 69 lines · Ian Dobson
Quoted 59 lines
Hi,
--------------------------------------------------
From: "Mike Campin"<lm_sensors at ootsa.homelinux.net>
Sent: Sunday, April 10, 2011 6:04 PM
To:<lm-sensors at lm-sensors.org>
Subject: [lm-sensors] NCT6776 global registers 0x1c=0 and 0x24=0x5c onASRock
Extreme4Quoted 29 lines
Hi,
Only 2 of the 5 fans are showing up on my ASRock P67 Extreme4 motherboard.
It due to the NCT6776 global configuration register0x1cand0x24values.
The fans work if I modify these registers prior to loading the w83627ehf
driver.My question is where are these registers initialized? Should I ask ASRock
to fix the BIOS?isadump -y -k 0x87,0x87
0x2e0x2f0 1 2 3 4 5 6 7 8 9 a b c d e f
00: ff ff 00 ff ff ff ff 02 ff ff ff ff ff ff ff ff 10: ff ff ff ff ff ff ff ff ff ff f8 0e 00 00 ff ff 20: c3 33 ff 00 5c 00 00 98 00 ff 20 00 80 00 00 01 30: 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffisaset -y -f
0x2e0x87
isaset -y -f0x2e0x87
isaset -y0x2e0x2f0x1c0x3
isaset -y0x2e0x2f0x240x1cThanks, Mike
Quoted 8 lines
--
Mike Campinlm_sensorsat ootsa.homelinux.net_______________________________________________
lm-sensors mailing list
lm-sensors at lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensorsASRock designed the board, so they should setup the hardware monitoring chip
correctly. Allowing users to change the chip configuration is a really bad
idea, as many of the pins can have different functionality/electrical spcifications depending on the config. Setting up a pin incorrectly could
blow the chip (Configuring a pin so that it's a source that's connected to
an unprotected/limited sink for example).Quoted 1 line
So ASRock should fix the BIOS.
Seconded. But before flaming Asrock, two things worth checking:
* Availability of a BIOS update fixing the issue.
* Options in the BIOS to enable/disable the monitoring of specific fans. I can imagine that the BIOS skips the configuration steps for fans for which monitoring was disabled (although that would probably mean more code than just doing it unconditionally...)Quoted 2 lines
--
Jean DelvareQuoted 8 lines
I own an Asrock P67 Extreme4 too and have the same problem. It can be solved by following Mike Campin's instructions, which I successfully incorporated into
/etc/init.d/lm_sensors. There is no BIOS available that fixes this issue, but I noticed that SpeedFan for Windows (www.almico.com/speedfan.php) seems to do something similar, otherwise it would show only 2 fans too. So maybe we could get that intolm_sensors, even if the BIOS is at fault here?See above ... worst case this can result in defective hardware if misconfigured.
We could possibly introduce some kind of module parameter, but I don't feel
too comfortable with that - wrong values may still blow up the hardware. Any opinions, anyone ?Guenter
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 4 lines
Quoted 4 lines
I wouldn't recommend a module parameter, leave the driver as it is. If there is a hack (using isaset) just use that. It's too easy for a user to set a module parameter hoping that it'll fix some random problem, and if the module kills the hardware, then the module is too blame.
I understand and agree with that.
Quoted 1 line
Quoted 1 line
Asrock should fix the BIOS, that's the correct option.
Unfortunately, the correct option is not always the most likely to happen.
Quoted 3 lines
I wonder if you could set these register values only on this specific motherboard by checking the DMI table to determine the motherboard vendor and model number.
This is what I currently do using dmidecode in /etc/init.d/lm_sensors, because I too fear to forget about this and accidently wreck a new mainboard I'm going to buy in the future:
# We need to do some initialization before loading the module,
# otherwise only 2 of the 5 fans will be shown
init_module_w83627ehf() {
modprobe -q -r w83627ehf
# make sure to do this only for the right mainboard
if /usr/sbin/dmidecode | grep -i 'Base Board Information' -A2 -B1 |
grep -q 'P67 Extreme4' \
&& /usr/sbin/dmidecode | grep -i 'BIOS Information' -A3 | grep
-q 'Version: L1.61' && \
! lsmod | grep w83627ehf; then
isaset -y -f 0x2e 0x87 2>/dev/null
isaset -y -f 0x2e 0x87 2>/dev/null
isaset -y 0x2e 0x2f 0x1c 0x3 2>/dev/null
isaset -y 0x2e 0x2f 0x24 0x1c 2>/dev/null
fi
}Actually, checking the BIOS version might make no difference, but since I can change it very easily and know when I have to do so, I decided to include it.
I have asked the author of Speedfan how he did it, maybe he will respond. His approach seems to work and be safe. Somehow I don't think it will be very different from this solution though.
Quoted 4 lines
At least then you can work around a broken BIOS until the vendor provides a fix.
Ira
Harald
Signature · 6 lines
`Experience is the best teacher.' _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] NCT6776 global registers 0x1c=0 and 0x24=0x5c
In reply to Mike CampinQuoted 10 lines · Harald Judt
Am 21.12.2011 21:55, schrieb Ira W. Snyder:
Quoted 3 lines
I wonder if you could set these register values only on this specific motherboard by checking the DMI table to determine the motherboard vendor and model number.
This is what I currently do using dmidecode in
/etc/init.d/lm_sensors, because I too fear to forget about this and accidently wreck a new mainboard I'm going to buy in the future:# We need to do some initialization before loading the module,
Quoted 8 lines
# otherwise only 2 of the 5 fans will be shown
init_module_w83627ehf() {
modprobe -q -r w83627ehf
# make sure to do this only for the right mainboard
if /usr/sbin/dmidecode | grep -i 'Base Board Information' -A2 -B1 |
grep -q 'P67 Extreme4' \
&& /usr/sbin/dmidecode | grep -i 'BIOS Information' -A3 | grep
-q 'Version: L1.61' && \dmidecode -s is your friend ;) Namely -s baseboard-product-name and -s bios-version.
Quoted 7 lines
! lsmod | grep w83627ehf; then
isaset -y -f 0x2e 0x87 2>/dev/null
isaset -y -f 0x2e 0x87 2>/dev/null
isaset -y 0x2e 0x2f 0x1c 0x3 2>/dev/null
isaset -y 0x2e 0x2f 0x24 0x1c 2>/dev/null
fi
}Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] NCT6776 global registers 0x1c=0 and 0x24=0x5c
In reply to Mike CampinQuoted 20 lines · Jean Delvare
Quoted 10 lines · Harald Judt
Am 21.12.2011 21:55, schrieb Ira W. Snyder:
Quoted 3 lines
I wonder if you could set these register values only on this specific motherboard by checking the DMI table to determine the motherboard vendor and model number.
This is what I currently do using dmidecode in
/etc/init.d/lm_sensors, because I too fear to forget about this and accidently wreck a new mainboard I'm going to buy in the future:# We need to do some initialization before loading the module,
Quoted 8 lines
# otherwise only 2 of the 5 fans will be shown init_module_w83627ehf() { modprobe -q -r w83627ehf # make sure to do this only for the right mainboard if /usr/sbin/dmidecode | grep -i 'Base Board Information' -A2 -B1 | grep -q 'P67 Extreme4' \ && /usr/sbin/dmidecode | grep -i 'BIOS Information' -A3 | grep -q 'Version: L1.61' && \
Quoted 2 lines
dmidecode -s is your friend ;) Namely -s baseboard-product-name and -s bios-version.
Oh, and I almost forgot: the same info is typically available from /sys/class/dmi/id/* for even cheaper.
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] NCT6776 global registers 0x1c=0 and 0x24=0x5c
In reply to Mike CampinAm 05.01.2012 15:45, schrieb Jean Delvare:
Quoted 21 lines · Jean Delvare
Quoted 20 lines · Harald Judt
Quoted 18 lines
Am 21.12.2011 21:55, schrieb Ira W. Snyder:
Quoted 3 lines
I wonder if you could set these register values only on this specific motherboard by checking the DMI table to determine the motherboard vendor and model number.
This is what I currently do using dmidecode in
/etc/init.d/lm_sensors, because I too fear to forget about this and accidently wreck a new mainboard I'm going to buy in the future:# We need to do some initialization before loading the module,
# otherwise only 2 of the 5 fans will be shown init_module_w83627ehf() { modprobe -q -r w83627ehf # make sure to do this only for the right mainboard if /usr/sbin/dmidecode | grep -i 'Base Board Information' -A2 -B1 | grep -q 'P67 Extreme4' \ && /usr/sbin/dmidecode | grep -i 'BIOS Information' -A3 | grep -q 'Version: L1.61'&& \
Quoted 2 lines
Quoted 2 lines
dmidecode -s is your friend ;) Namely -s baseboard-product-name and -s bios-version.
To be honest, I didn't care enough to optimize a one-time call at startup, even if it looks terribly ugly.
Quoted 2 lines
Oh, and I almost forgot: the same info is typically available from
/sys/class/dmi/id/*for even cheaper.
Thanks, that's really helpful! It helps me to get rid of the dmidecode dependence and I've learned something new ;-)
Regards,
Harald
Signature · 6 lines
`Experience is the best teacher.' _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors