Skip to contentSkip to conversation

Don't point the user to the ipmisensors driver

PATCH Applied Jean Delvare 4 participants 6 messages Jun 8, 2011 – Jul 3, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Don't point the user to the ipmisensors driver

The development of the ipmisensors driver stalled 5 years ago, the driver isn't usable, so stop pointing the users to it, it only confuses them. See https://bugzilla.novell.com/show_bug.cgi?idU8756 for example.

---
I have this patch in openSUSE for 1.5 year, any objection to me getting it upstream for everyone's benefit?

 prog/detect/sensors-detect |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
prog/detect/sensors-detect +5 -4
@@ -1356,12 +1356,12 @@ use vars qw(@i2c_adapter_names);
 @ipmi_ifs = (
 	{
 		name => "IPMI BMC KCS",
-		driver => "ipmisensors",
+		driver => "to-be-written",	# ipmisensors
 		isa_addrs => [0x0ca0],
 		isa_detect => sub { ipmi_detect(@_); },
 	}, {
 		name => "IPMI BMC SMIC",
-		driver => "ipmisensors",
+		driver => "to-be-written",	# ipmisensors
 		isa_addrs => [0x0ca8],
 		isa_detect => sub { ipmi_detect(@_); },
 	}
@@ -6039,6 +6039,7 @@ sub w83781d_isa_detect
 sub ipmi_from_smbios
 {
 	my ($version, $if, @ipmi_if);
+	my $ipmi_driver = "to-be-written";	# ipmisensors
 
 	return 0 unless check_dmidecode_version();
 
@@ -6074,13 +6075,13 @@ sub ipmi_from_smbios
 						 $if->{type}));
 		}
 		print "Success!\n".
-		      "    (confidence 8, driver `ipmisensors')\n";
+		      "    (confidence 8, driver `$ipmi_driver')\n";
 		my $new_hash = {
 			conf => 8,
 			isa_addr => $if->{addr} || 0,
 			chipname => $if->{type},
 		};
-		add_isa_to_chips_detected("ipmisensors", $new_hash);
+		add_isa_to_chips_detected($ipmi_driver, $new_hash);
 	}
 
 	return scalar @ipmi_if;
Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#1 lore raw

Re: [lm-sensors] [PATCH] Don't point the user to the ipmisensors

Quoted 9 lines · Jean Delvare

The development of the ipmisensors driver stalled 5 years ago, the driver isn't usable, so stop pointing the users to it, it only confuses them. See https://bugzilla.novell.com/show_bug.cgi?idU8756 for example.

---
I have this patch in openSUSE for 1.5 year, any objection to me getting it upstream for everyone's benefit?

Makes sense to me. Too bad this driver is not supported, though - I would need it ;).

Guenter

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#2 lore raw

Re: [lm-sensors] [PATCH] Don't point the user to the ipmisensors

In reply to Jean Delvare

Is that the same driver as bmcsensors?

--
Philip Pokorny, RHCE
Chief Hardware Architect
PENGUIN COMPUTING, Inc
www.penguincomputing.com

Quoted 14 lines · Guenter Roeck
Quoted 10 lines · Jean Delvare

The development of the ipmisensors driver stalled 5 years ago, the driver isn't usable, so stop pointing the users to it, it only confuses
them. See https://bugzilla.novell.com/show_bug.cgi?idU8756 for example.

---
I have this patch in openSUSE for 1.5 year, any objection to me getting it upstream for everyone's benefit?

Makes sense to me. Too bad this driver is not supported, though - I would need it ;).

Quoted 6 lines

Guenter

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#3 lore raw

Re: [lm-sensors] [PATCH] Don't point the user to the ipmisensors

In reply to Jean Delvare

Hi,

Quoted 4 lines · Jean Delvare

The development of the ipmisensors driver stalled 5 years ago, the driver isn't usable, so stop pointing the users to it, it only confuses them. See https://bugzilla.novell.com/show_bug.cgi?idU8756 for example.

I think I never tried this driver, but I trust you on this analysis.

Quoted 3 lines

---
I have this patch in openSUSE for 1.5 year, any objection to me getting it upstream for everyone's benefit?

Given the above, I think it's a good idea.

Quoted 49 lines
 prog/detect/sensors-detect |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
prog/detect/sensors-detect +5 -4
@@ -1356,12 +1356,12 @@ use vars qw(@i2c_adapter_names);
 @ipmi_ifs = (
 	{
 		name => "IPMI BMC KCS",
-		driver => "ipmisensors",
+		driver => "to-be-written",	# ipmisensors
 		isa_addrs => [0x0ca0],
 		isa_detect => sub { ipmi_detect(@_); },
 	}, {
 		name => "IPMI BMC SMIC",
-		driver => "ipmisensors",
+		driver => "to-be-written",	# ipmisensors
 		isa_addrs => [0x0ca8],
 		isa_detect => sub { ipmi_detect(@_); },
 	}
@@ -6039,6 +6039,7 @@ sub w83781d_isa_detect
 sub ipmi_from_smbios
 {
 	my ($version, $if, @ipmi_if);
+	my $ipmi_driver = "to-be-written";	# ipmisensors
 
 	return 0 unless check_dmidecode_version();
 
@@ -6074,13 +6075,13 @@ sub ipmi_from_smbios
 						 $if->{type}));
 		}
 		print "Success!\n".
-		      "    (confidence 8, driver `ipmisensors')\n";
+		      "    (confidence 8, driver `$ipmi_driver')\n";
 		my $new_hash = {
 			conf => 8,
 			isa_addr => $if->{addr} || 0,
 			chipname => $if->{type},
 		};
-		add_isa_to_chips_detected("ipmisensors", $new_hash);
+		add_isa_to_chips_detected($ipmi_driver, $new_hash);
 	}
 
 	return scalar @ipmi_if;
Signature · 2 lines
-- 
Jean Delvare
Signature · 7 lines
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
[email protected]                 http://www.aurel32.net

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#4 lore raw

Re: [lm-sensors] [PATCH] Don't point the user to the ipmisensors

In reply to Jean Delvare

Yes Phil, bmcsensors was the Linux 2.4 driver, impisensors is the same driver ported to Linux 2.6. Except that the port never got completed :( And I don't have the hardware so I can't help.

Quoted 26 lines · Phil Pokorny

Is that the same driver as bmcsensors?

--
Philip Pokorny, RHCE
Chief Hardware Architect
PENGUIN COMPUTING, Inc
www.penguincomputing.com

Quoted 15 lines · Guenter Roeck
Quoted 10 lines · Jean Delvare

The development of the ipmisensors driver stalled 5 years ago, the driver isn't usable, so stop pointing the users to it, it only confuses
them. See https://bugzilla.novell.com/show_bug.cgi?idU8756 for example.

---
I have this patch in openSUSE for 1.5 year, any objection to me getting it upstream for everyone's benefit?

Makes sense to me. Too bad this driver is not supported, though - I would need it ;).

Guenter

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

author Applied
#5 lore raw

Re: [lm-sensors] [PATCH] Don't point the user to the ipmisensors

In reply to Jean Delvare
Quoted 6 lines · Aurelien Jarno
Quoted 4 lines · Jean Delvare

The development of the ipmisensors driver stalled 5 years ago, the driver isn't usable, so stop pointing the users to it, it only confuses them. See https://bugzilla.novell.com/show_bug.cgi?idU8756 for example.

Quoted 7 lines

I think I never tried this driver, but I trust you on this analysis.

Quoted 3 lines

---
I have this patch in openSUSE for 1.5 year, any objection to me getting it upstream for everyone's benefit?

Given the above, I think it's a good idea.

Applied.

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors