[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#725160: opu: package lm-sensors-3/1:3.1.2-6+deb6u1



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: opu

lm-sensors upstream has reported an hardware breakage issue with
versions 3.3.2 or older. This causes laptop to get screens with wrong
resolution or wrong gamma factor.

Upstream asked maintainers to backport to changeset, which is what is
done in the patch below. Would it be possible to upload it?


diff -u lm-sensors-3-3.1.2/debian/changelog lm-sensors-3-3.1.2/debian/changelog
--- lm-sensors-3-3.1.2/debian/changelog
+++ lm-sensors-3-3.1.2/debian/changelog
@@ -1,3 +1,10 @@
+lm-sensors-3 (1:3.1.2-6+deb6u1) squeeze; urgency=low
+
+  * Backport patches from upstream to skip probing for EDID or graphics
+    cards, as it might causes hardware breakage (closes: #724736).
+
+ -- Aurelien Jarno <aurel32@debian.org>  Wed, 02 Oct 2013 07:54:02 +0200
+
 lm-sensors-3 (1:3.1.2-6) unstable; urgency=low
 
   * Fix return value in fancontrol --check (closes: bug#583216). 
diff -u lm-sensors-3-3.1.2/debian/patches/series lm-sensors-3-3.1.2/debian/patches/series
--- lm-sensors-3-3.1.2/debian/patches/series
+++ lm-sensors-3-3.1.2/debian/patches/series
@@ -11,0 +12,2 @@
+12-sensors-detect-skip-EDID.patch
+13-sensors-detect-skip-graphics-cards.patch
only in patch2:
unchanged:
--- lm-sensors-3-3.1.2.orig/debian/patches/13-sensors-detect-skip-graphics-cards.patch
+++ lm-sensors-3-3.1.2/debian/patches/13-sensors-detect-skip-graphics-cards.patch
@@ -0,0 +1,13 @@
+--- a/prog/detect/sensors-detect	(revision 6083)
++++ b/prog/detect/sensors-detect	(revision 6084)
+@@ -3652,8 +3652,8 @@
+ 	my ($funcs, $chip, $addr, $class, $default, $input, @not_to_scan);
+ 
+ 	$class = get_pci_class($i2c_adapters[$adapter_nr]->{parent});
+-	if (($class & 0xff00) == 0x0400) {
+-		# Do not probe adapters on PCI multimedia cards by default
++	# Do not probe adapters on multimedia and graphics cards by default
++	if (($class & 0xff00) == 0x0400 || ($class & 0xff00) == 0x0300) {
+ 		$default = 0;
+ 	} elsif ($class == 0x0c01 || $class == 0x0c05
+ 	      || find_i2c_adapter_driver($i2c_adapters[$adapter_nr]->{name})) {
only in patch2:
unchanged:
--- lm-sensors-3-3.1.2.orig/debian/patches/12-sensors-detect-skip-EDID.patch
+++ lm-sensors-3-3.1.2/debian/patches/12-sensors-detect-skip-EDID.patch
@@ -0,0 +1,12 @@
+--- a/prog/detect/sensors-detect	(revision 6039)
++++ b/prog/detect/sensors-detect	(revision 6040)
+@@ -3660,6 +3660,9 @@
+ 		$input = <STDIN>;
+ 		chomp($input);
+ 		@not_to_scan = parse_not_to_scan(0x03, 0x77, $input);
++	} elsif (($class & 0xff00) == 0x0300) {
++		# Skip EDID addresses by default on graphics adapters
++		@not_to_scan = parse_not_to_scan(0x03, 0x77, "0x50-0x57");
+ 	}
+ 
+ 	open(local *FILE, "$dev_i2c$adapter_nr") or


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.9-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash


Reply to: