Package: laptop-mode-tools
Version: 1.45-1
Severity: normal
Tags: patch
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu ubuntu-patch intrepid

Hi,

The Launchpad user 'tom-uttenthaler' reported in
https://bugs.launchpad.net/ubuntu/+source/laptop-mode-tools/+bug/275162
that iwl4965 was renamed to iwlagn in Linux 2.6.27. See:

  
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=4fc22b21b3fcb3580c32b70605ef114178f8e611

He provided a patch to update wireless-iwl-power to match. I haven't
tried it myself, but it looks perfectly reasonable so I'm forwarding it.

--- 
laptop-mode-tools.orig/usr/share/laptop-mode-tools/modules/wireless-iwl-power   
    2008-07-15 15:31:03.000000000 +0200
+++ laptop-mode-tools/usr/share/laptop-mode-tools/modules/wireless-iwl-power    
2008-09-27 16:07:31.000000000 +0200
@@ -42,6 +42,7 @@
        WIFI_IFNAMES=""
        [ -d /sys/module/iwl3945 ] && findWifiIfsByDriver iwl3945
        [ -d /sys/module/iwl4965 ] && findWifiIfsByDriver iwl4965
+       [ -d /sys/module/iwlagn ] && findWifiIfsByDriver iwlagn
        for IF in $WIFI_IFNAMES ; do
                if [ $ON_AC -eq 1 ] ; then
                        $LM_VERBOSE && echo "On AC power: setting power level 
for $IF to $IWL_AC_POWER." >> $OUTPUT

Thanks,

-- 
Colin Watson                                       [EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to