Hi Yaroslav,

Thanks for reporting this problem! Sorry for the delay, I've been extremely busy for the past couple of weeks. Your patch looks OK to me, I'll include it in the next upload. Thanks!

Cheers,
Bart

P.S.: Just checking, what laptop model do you use?


Yaroslav Halchenko wrote:
Package: laptop-mode-tools
Version: 1.34-1
Severity: important
Tags: patch


A friend of mine recommended the package so I installed it but it did
nothing for me... so I inverstiaged (and I am running stock sid + parts
experimental, but they seems to be not involved).

acpid reports events like
"ac_adapter ACAD 00000080 00000000"
both when I plug out ac adapter and when I plug it in.

since lm_* actions do not actually care about command line parameters,
and call laptop-mode auto, I would recommend to substitute lm_ac_adapter
and lm_battery events files with a single file containing

event=ac_adapter.*
action=/etc/acpi/actions/lm_ac_adapter.sh %e

now my laptop seems to react nicely ;)

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (600, 'unstable'), (50, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages laptop-mode-tools depends on:
ii  lsb-base                      3.1-24     Linux Standard Base 3.1 init scrip

Versions of packages laptop-mode-tools recommends:
ii  acpid                         1.0.6-4    Utilities for using ACPI power man
ii  hdparm                        7.7-1      tune hard disk parameters for high
ii  sdparm                        1.02-1     Output and modify SCSI device para

-- no debconf information






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

Reply via email to