[Pkg-utopia-commits] r938 - in packages/unstable/hal/debian: . patches

Sjoerd Simons sjoerd at costa.debian.org
Mon Aug 14 21:56:04 UTC 2006


Author: sjoerd
Date: 2006-08-14 21:56:04 +0000 (Mon, 14 Aug 2006)
New Revision: 938

Added:
   packages/unstable/hal/debian/patches/09_sony_brightness.patch
Modified:
   packages/unstable/hal/debian/changelog
Log:
* debian/patches/09_sony_brightness.patch:
  - Apply trivial upstream patch to fix LCD brightness setting on Sony
    laptops.
  - From the ubuntu hal package which took it from upstream, thanks to Paolo
    Borelli

Modified: packages/unstable/hal/debian/changelog
===================================================================
--- packages/unstable/hal/debian/changelog	2006-08-14 21:46:35 UTC (rev 937)
+++ packages/unstable/hal/debian/changelog	2006-08-14 21:56:04 UTC (rev 938)
@@ -7,6 +7,11 @@
   * debian/hal.postinst: Created the plugdev system group if it doesn't exist
   * debian/hal.links: Change the udev rules.d link from 050_hal-plugdev.rules
     to z99_hal.rules to ensure hal gets its data after all the udev magic.
+  * debian/patches/09_sony_brightness.patch:
+    - Apply trivial upstream patch to fix LCD brightness setting on Sony
+      laptops.
+    - From the ubuntu hal package which took it from upstream, thanks to Paolo
+      Borelli
 
   [ Sebastian Dröge  ]
   * debian/pycompat,
@@ -17,7 +22,7 @@
     + Bump Standards-Version to 3.7.2
     + Add myself to Uploaders
 
- -- Sjoerd Simons <sjoerd at debian.org>  Mon, 14 Aug 2006 23:41:19 +0200
+ -- Sjoerd Simons <sjoerd at debian.org>  Mon, 14 Aug 2006 23:54:07 +0200
 
 hal (0.5.7-2) unstable; urgency=low
 

Added: packages/unstable/hal/debian/patches/09_sony_brightness.patch
===================================================================
--- packages/unstable/hal/debian/patches/09_sony_brightness.patch	2006-08-14 21:46:35 UTC (rev 937)
+++ packages/unstable/hal/debian/patches/09_sony_brightness.patch	2006-08-14 21:56:04 UTC (rev 938)
@@ -0,0 +1,12 @@
+diff -ruN hal-0.5.7-old/tools/hal-system-lcd-set-brightness hal-0.5.7/tools/hal-system-lcd-set-brightness
+--- hal-0.5.7-old/tools/hal-system-lcd-set-brightness	2006-03-15 23:01:12.000000000 +0100
++++ hal-0.5.7/tools/hal-system-lcd-set-brightness	2006-03-15 23:04:54.000000000 +0100
+@@ -60,7 +60,7 @@
+ elif [ "$HAL_PROP_LAPTOP_PANEL_ACCESS_METHOD" = "sony" ]; then
+ 	# echo "{1..8}" > /proc/acpi/sony/brightness
+ 	# http://popies.net/sonypi/2.6-sony_acpi4.patch
+-	echo "$value" > $HAL_PROP_LINUX_ACPI_PATH
++	echo "$((value + 1))" > $HAL_PROP_LINUX_ACPI_PATH
+ elif [ "$HAL_PROP_LAPTOP_PANEL_ACCESS_METHOD" = "omnibook" ]; then
+ 	# echo "{0..7}" > /proc/omnibook/lcd
+ 	# http://bugzilla.gnome.org/show_bug.cgi?id=331458




More information about the Pkg-utopia-commits mailing list