Package: acpi-support
Version: 0.109-11
Severity: important
Tags: patch

The Debian version of panabright.sh only works with the old "pcc_acpi"
driver, which doesn`t compile against
any recent kernel. The out-of-kernel pcc_acpi driver has since been
replaced by the in-kernel panasonic-laptop module.

If affected by the bug, one can not use the brightness hotkeys to
adjust the brightness of the LCD, as the new driver uses
/sys/* while the old one used /proc/*.

The attached patch detects which driver is active and acts
accordingly, fixing the non-functional brightness hotkeys.
Please note that I was not able to test the script with the old pcc_acpi driver.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-rc2 (SMP w/1 CPU core; PREEMPT)
Locale: lang=de...@euro, lc_ctype=de...@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages acpi-support depends on:
ii  acpi-support-base             0.109-11   scripts for handling base ACPI eve
ii  acpid                         1.0.8-7    Utilities for using ACPI power man
ii  dmidecode                     2.9-1      Dump Desktop Management Interface
ii  finger                        0.17-12    user information lookup program
ii  hdparm                        8.9-3      tune hard disk parameters for high
ii  laptop-detect                 0.13.7     attempt to detect a laptop
ii  libc6                         2.9-4      GNU C Library: Shared libraries
ii  lsb-base                      3.2-22     Linux Standard Base 3.2 init scrip
ii  powermgmt-base                1.30+nmu1  Common utils and configs for power
ii  vbetool                       1.1-2      run real-mode video BIOS code to a
ii  x11-xserver-utils             7.4+2      X server utilities

Versions of packages acpi-support recommends:
ii  dbus                          1.2.12-1   simple interprocess messaging syst
ii  hal                           0.5.11-8   Hardware Abstraction Layer
ii  nvclock                       0.8b4-1    Allows you to overclock your nVidi
ii  pm-utils                      1.2.4-2    utilities and scripts for power ma
ii  radeontool                    1.5-5      utility to control ATI Radeon back
ii  toshset                       1.74-3     Access much of the Toshiba laptop

Versions of packages acpi-support suggests:
pn  laptop-mode-tools             <none>     (no description available)

-- no debconf information


-- 
Matthias Hentges
Cologne / Germany

GPG ->  gpg --keyserver gpg-keyserver.de --recv-keys 0xAF3030D9

My OS: Debian SID: Geek by Nature, Linux by Choice



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to