PATCH: hwmon-abituguru3-new-motherboards.patch
Subsystems (2)
Hi Mark & All,
This patch adds support for 2 new motherboards to the abituguru3 driver. Its a pretty trivial patch and it would be nice if this could make 2.6.24.
Thnaks & Regards,
Hans
This patch adds support for 2 new motherboards to the abituguru3 driver.
drivers/hwmon/abituguru3.c renamed from drivers/hwmon/abituguru3.c~ +52 -0
@@ -530,6 +530,58 @@ static const struct abituguru3_motherboa { "AUX3 Fan", 36, 2, 60, 1, 0 }, { NULL, 0, 0, 0, 0, 0 } } }, + { 0x001B, "unknown", { + { "CPU Core", 0, 0, 10, 1, 0 }, + { "DDR3", 1, 0, 20, 1, 0 }, + { "DDR3 VTT", 2, 0, 10, 1, 0 }, + { "CPU VTT", 3, 0, 10, 1, 0 }, + { "MCH 1.25V", 4, 0, 10, 1, 0 }, + { "ICHIO 1.5V", 5, 0, 10, 1, 0 }, + { "ICH 1.05V", 6, 0, 10, 1, 0 }, + { "ATX +12V (24-Pin)", 7, 0, 60, 1, 0 }, + { "ATX +12V (8-pin)", 8, 0, 60, 1, 0 }, + { "ATX +5V", 9, 0, 30, 1, 0 }, + { "+3.3V", 10, 0, 20, 1, 0 }, + { "5VSB", 11, 0, 30, 1, 0 }, + { "CPU", 24, 1, 1, 1, 0 }, + { "System", 25, 1, 1, 1, 0 }, + { "PWM Phase1", 26, 1, 1, 1, 0 }, + { "PWM Phase2", 27, 1, 1, 1, 0 }, + { "PWM Phase3", 28, 1, 1, 1, 0 }, + { "PWM Phase4", 29, 1, 1, 1, 0 }, + { "PWM Phase5", 30, 1, 1, 1, 0 }, + { "CPU Fan", 32, 2, 60, 1, 0 }, + { "SYS Fan", 34, 2, 60, 1, 0 }, + { "AUX1 Fan", 33, 2, 60, 1, 0 }, + { "AUX2 Fan", 35, 2, 60, 1, 0 }, + { "AUX3 Fan", 36, 2, 60, 1, 0 }, + }, + { 0x001C, "unknown", { + { "CPU Core", 0, 0, 10, 1, 0 }, + { "DDR2", 1, 0, 20, 1, 0 }, + { "DDR2 VTT", 2, 0, 10, 1, 0 }, + { "CPU VTT", 3, 0, 10, 1, 0 }, + { "MCH 1.25V", 4, 0, 10, 1, 0 }, + { "ICHIO 1.5V", 5, 0, 10, 1, 0 }, + { "ICH 1.05V", 6, 0, 10, 1, 0 }, + { "ATX +12V (24-Pin)", 7, 0, 60, 1, 0 }, + { "ATX +12V (8-pin)", 8, 0, 60, 1, 0 }, + { "ATX +5V", 9, 0, 30, 1, 0 }, + { "+3.3V", 10, 0, 20, 1, 0 }, + { "5VSB", 11, 0, 30, 1, 0 }, + { "CPU", 24, 1, 1, 1, 0 }, + { "System", 25, 1, 1, 1, 0 }, + { "PWM Phase1", 26, 1, 1, 1, 0 }, + { "PWM Phase2", 27, 1, 1, 1, 0 }, + { "PWM Phase3", 28, 1, 1, 1, 0 }, + { "PWM Phase4", 29, 1, 1, 1, 0 }, + { "PWM Phase5", 30, 1, 1, 1, 0 }, + { "CPU Fan", 32, 2, 60, 1, 0 }, + { "SYS Fan", 34, 2, 60, 1, 0 }, + { "AUX1 Fan", 33, 2, 60, 1, 0 }, + { "AUX2 Fan", 35, 2, 60, 1, 0 }, + { "AUX3 Fan", 36, 2, 60, 1, 0 }, + }, { 0x0000, NULL, { { NULL, 0, 0, 0, 0, 0 } } } };
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Jean Delvare
Acked-byQuoted 6 lines · Hans de Goede
Hi Mark & All,
This patch adds support for 2 new motherboards to the abituguru3 driver. Its a pretty trivial patch and it would be nice if this could make 2.6.24.
Signed-of-by Hans de Goede <[email protected]>
Out of curiosity, what's the plan to get the actual board names instead of "unknown"? Shouldn't you ask people to report (e.g. in Documentation/hwmon/abituguru3) when their board is listed as unknown?
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 9 lines · Jean Delvare
Quoted 6 lines · Hans de Goede
Hi Mark & All,
This patch adds support for 2 new motherboards to the abituguru3 driver. Its a pretty trivial patch and it would be nice if this could make 2.6.24.
Signed-of-by Hans de Goede <[email protected]>Acked-by Jean Delvare <[email protected]>
Err, I take that back. The patch doesn't even build! List terminators are missing, and thankfully closing curly braces do as well, otherwise I wouldn't have noticed.
Hans, when you send patches and insist on having them pushed to Linus quickly, you should at least make sure they build and don't cause any regression on your own system. Obviously you didn't do that this time :(
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 10 lines · Jean Delvare
Quoted 8 lines · Jean Delvare
Quoted 6 lines · Hans de Goede
Hi Mark & All,
This patch adds support for 2 new motherboards to the abituguru3 driver. Its a pretty trivial patch and it would be nice if this could make 2.6.24.
Signed-of-by Hans de Goede <[email protected]>Acked-by Jean Delvare <[email protected]>
Quoted 8 lines
Err, I take that back. The patch doesn't even build! List terminators are missing, and thankfully closing curly braces do as well, otherwise I wouldn't have noticed.
Hans, when you send patches and insist on having them pushed to Linus quickly, you should at least make sure they build and don't cause any regression on your own system. Obviously you didn't do that this time :(
Oops,
You are fully right, I was doing a zillion things at once, and didn't test build this before sending the patch. My bad, aplogies!
I'll do a new version asap.
Regards,
Hans
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
[lm-sensors] PATCH: hwmon-abituguru3-new-motherboards-v2.patch
In reply to Hans de GoedeHi All,
This patch adds support for 2 new motherboards to the abituguru3 driver. This time with list terminators and closing brackets, sorry about the bad previous patch.
Regards,
Hans
This patch adds support for 2 new motherboards to the abituguru3 driver. This time with list terminators and closing brackets, sorry about the bad previous patch.
drivers/hwmon/abituguru3.c renamed from drivers/hwmon/abituguru3.c~ +54 -0
@@ -530,6 +530,60 @@ static const struct abituguru3_motherboa { "AUX3 Fan", 36, 2, 60, 1, 0 }, { NULL, 0, 0, 0, 0, 0 } } }, + { 0x001B, "unknown", { + { "CPU Core", 0, 0, 10, 1, 0 }, + { "DDR3", 1, 0, 20, 1, 0 }, + { "DDR3 VTT", 2, 0, 10, 1, 0 }, + { "CPU VTT", 3, 0, 10, 1, 0 }, + { "MCH 1.25V", 4, 0, 10, 1, 0 }, + { "ICHIO 1.5V", 5, 0, 10, 1, 0 }, + { "ICH 1.05V", 6, 0, 10, 1, 0 }, + { "ATX +12V (24-Pin)", 7, 0, 60, 1, 0 }, + { "ATX +12V (8-pin)", 8, 0, 60, 1, 0 }, + { "ATX +5V", 9, 0, 30, 1, 0 }, + { "+3.3V", 10, 0, 20, 1, 0 }, + { "5VSB", 11, 0, 30, 1, 0 }, + { "CPU", 24, 1, 1, 1, 0 }, + { "System", 25, 1, 1, 1, 0 }, + { "PWM Phase1", 26, 1, 1, 1, 0 }, + { "PWM Phase2", 27, 1, 1, 1, 0 }, + { "PWM Phase3", 28, 1, 1, 1, 0 }, + { "PWM Phase4", 29, 1, 1, 1, 0 }, + { "PWM Phase5", 30, 1, 1, 1, 0 }, + { "CPU Fan", 32, 2, 60, 1, 0 }, + { "SYS Fan", 34, 2, 60, 1, 0 }, + { "AUX1 Fan", 33, 2, 60, 1, 0 }, + { "AUX2 Fan", 35, 2, 60, 1, 0 }, + { "AUX3 Fan", 36, 2, 60, 1, 0 }, + { NULL, 0, 0, 0, 0, 0 } } + }, + { 0x001C, "unknown", { + { "CPU Core", 0, 0, 10, 1, 0 }, + { "DDR2", 1, 0, 20, 1, 0 }, + { "DDR2 VTT", 2, 0, 10, 1, 0 }, + { "CPU VTT", 3, 0, 10, 1, 0 }, + { "MCH 1.25V", 4, 0, 10, 1, 0 }, + { "ICHIO 1.5V", 5, 0, 10, 1, 0 }, + { "ICH 1.05V", 6, 0, 10, 1, 0 }, + { "ATX +12V (24-Pin)", 7, 0, 60, 1, 0 }, + { "ATX +12V (8-pin)", 8, 0, 60, 1, 0 }, + { "ATX +5V", 9, 0, 30, 1, 0 }, + { "+3.3V", 10, 0, 20, 1, 0 }, + { "5VSB", 11, 0, 30, 1, 0 }, + { "CPU", 24, 1, 1, 1, 0 }, + { "System", 25, 1, 1, 1, 0 }, + { "PWM Phase1", 26, 1, 1, 1, 0 }, + { "PWM Phase2", 27, 1, 1, 1, 0 }, + { "PWM Phase3", 28, 1, 1, 1, 0 }, + { "PWM Phase4", 29, 1, 1, 1, 0 }, + { "PWM Phase5", 30, 1, 1, 1, 0 }, + { "CPU Fan", 32, 2, 60, 1, 0 }, + { "SYS Fan", 34, 2, 60, 1, 0 }, + { "AUX1 Fan", 33, 2, 60, 1, 0 }, + { "AUX2 Fan", 35, 2, 60, 1, 0 }, + { "AUX3 Fan", 36, 2, 60, 1, 0 }, + { NULL, 0, 0, 0, 0, 0 } } + }, { 0x0000, NULL, { { NULL, 0, 0, 0, 0, 0 } } } };
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 4 lines · Jean Delvare
Out of curiosity, what's the plan to get the actual board names instead of "unknown"? Shouldn't you ask people to report (e.g. in
Documentation/hwmon/abituguru3) when their board is listed as unknown?
People reporting the board names is the base idea yes. Adding something to the doc about this is a good idea, I'll write a patch for this.
Regards,
Hans
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Jean Delvare
Acked-byRe: [lm-sensors] PATCH: hwmon-abituguru3-new-motherboards-v2.patch
In reply to Hans de GoedeQuoted 7 lines · Hans de Goede
Hi All,
This patch adds support for 2 new motherboards to the abituguru3 driver. This time with list terminators and closing brackets, sorry about the bad previous patch.
Signed-of-by Hans de Goede <[email protected]>
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] PATCH: hwmon-abituguru3-new-motherboards-v2.patch
In reply to Hans de GoedeHi:
Quoted 10 lines · Jean Delvare
Quoted 7 lines · Hans de Goede
Hi All,
This patch adds support for 2 new motherboards to the abituguru3 driver. This time with list terminators and closing brackets, sorry about the bad previous patch.
Signed-of-by Hans de Goede <[email protected]>Acked-by Jean Delvare <[email protected]>
Applied to hwmon-2.6.git/testing, thanks.
Signature · 8 lines
Mark M. Hoffman [email protected] _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors