[Expired for laptop-mode-tools (Ubuntu) because there has been no
activity for 60 days.]
** Changed in: laptop-mode-tools (Ubuntu)
Status: Incomplete => Expired
--
laptop-mode doesn't sense power state changes
https://bugs.launchpad.net/bugs/387057
You received this bug notification becau
Hi,
on Acer 1810TZ this affects me too. I've tried kernels
2.6.31-14-generic, 16-generic and the mainline 2.6.31.8 from the ppa,
the three having the same problem.
However, I've been running a custom kernel for some time, a 2.6.31.6 and
there it works fine. I believe the problem could lie in the
Hi, I'm affected by this bug too.
On an acer 1810tz, I was trying to find out why a custom script in
/etc/pm/sleep.d was never started on power source change.
After doing a little "debugging" I found that
/usr/share/acpi-support/policy-funcs was checking if g-p-m was running, making
acpi unable
Have you actually verified that /usr/lib/pm-utils/power.d/laptop-mode is
not called (e.g., by adding an "echo" statement to it that will write to
a file when it's invoked, that you can check for afterwards)?
The reason /usr/share/acpi-support/policy-funcs causes acpi-support to
skip calling pm-pow
/usr/lib/pm-utils/power.d/laptop-mode
--
laptop-mode doesn't sense power state changes
https://bugs.launchpad.net/bugs/387057
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https
They really weren't there, purge and reinstall of acpi-support fixed it.
But the /usr/share/acpi-support/policy-funcs file still causes the power.sh
script to skip pm-powersave,
trace:
power.sh
uses checkpolicy bash-function originating from
/usr/share/acpi-support/policy-funcs to check whethe
dlgandalf, you should sure have /usr/share/acpi-support/key-constants,
it is shipped by acpi-support. And no, you can not edit comments...
BTW, there has been a bunch of updates the last days in various related
packages, things have been cleaned up, so make sure to update to latest
karmic packages
exists=exits
OT
cant you modify comments on launchpad?
--
laptop-mode doesn't sense power state changes
https://bugs.launchpad.net/bugs/387057
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs@lis
So I've looked into this, if I'm correct, when the power is plugged in, acpi
gets an event, named
/etc/acpi/events/ac
which triggers:
/etc/acpi/power.sh
which tests for /usr/share/acpi-support/key-constants or exists
But I don't have a key-constants file, thus no ac-handling.
--
laptop-mode doe
Ritesh, sorry, I did not realize that you were talking about Debian and
not Ubuntu earlier.
--
laptop-mode doesn't sense power state changes
https://bugs.launchpad.net/bugs/387057
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubunt
The Ubuntu packages must have stopped shipping.
For Debian, we are still shipping it.
r...@champaran:~/devel/Laptop-Mode-Tools $ dpkg --contents
build-area/laptop-mode-tools_1.52-1_all.deb | grep event
drwxr-xr-x root/root 0 2009-09-20 04:25 ./etc/acpi/events/
-rw-r--r-- root/root
OK, the package stopped shipping those files, but did not make sure they
were deleted on upgrades, and they will still belong to the package that
created them.
--
laptop-mode doesn't sense power state changes
https://bugs.launchpad.net/bugs/387057
You received this bug notification because you ar
I didn't do a purge/re-install, but the listing shows them there.
r...@champaran:~/apt-offline (master)$ dpkg -L laptop-mode-tools | grep acpi
/etc/acpi
/etc/acpi/actions
/etc/acpi/actions/lm_ac_adapter.sh
/etc/acpi/actions/lm_lid.sh
/etc/acpi/actions/lm_battery.sh
/etc/acpi/events
/etc/acpi/even
Ritesh, on Karmic? From where are those hooks? dpkg -S /etc/acpi/events/lm_*
Are they still there if you purge and reinstall laptop-mode-tools?
--
laptop-mode doesn't sense power state changes
https://bugs.launchpad.net/bugs/387057
You received this bug notification because you are a member of Ub
Tormod, I think these are areas where we function differently. I have
lm_battery and lm_ac_adapter hooks in /etc/acpi/events which call LMT
when required.
Also, dlgandalf is right. There are many power saving daemons. All incomplete.
I use KDE and I have PowerDevil.
I use it only to:
* Control my
/etc/acpi/events/{ac,battery} says to run /etc/acpi/power.sh, which
checks if gnome-power-manager is running and in that case does nothing.
If there would be no gnome-power-manager running, power.sh would go on
to call pm-powersave which would run the /usr/lib/pm-utils/power.d/
scripts...
--
lapt
Oh I just verified that it does *not* work like that. I would have to
concur with dlgandalf's assessment of the state of current affairs.
--
laptop-mode doesn't sense power state changes
https://bugs.launchpad.net/bugs/387057
You received this bug notification because you are a member of Ubuntu
B
In Karmic, pm-utils takes care of acpi power events. It runs /usr/lib
/pm-utils/power.d/laptop-mode which should make laptop_mode do its stuff
if it is enabled.
--
laptop-mode doesn't sense power state changes
https://bugs.launchpad.net/bugs/387057
You received this bug notification because you a
so, what's the solution?
it still isn't working in karmic. To be honest ubuntu is a real mess in this
area, pm-tools, acpi, laptop-mode tools, hal and bit of devkit-power-daemon,
which is doing what, in regard of power-management?
--
laptop-mode doesn't sense power state changes
https://bugs.la
Hi guys,
Note that the Ubuntu package assumes that it's being controlled by
acpi-support, which handles these power events as well. It's not a very
nice solution, but they simply keep sticking to it because of either
laziness (i.e. lack of manpower) or historical reasons. :-/ Don't know
how yo
valen...@valentin-laptop:~$ dpkg -L laptop-mode-tools | grep acpi
valen...@valentin-laptop:~$
So that means there's nothing copied in /etc/acpi/events by the laptop-
mode-tools package.
issuing a dpkg -L laptop-mode-tools without the | grep acpi lists a ton of
files to be installed, but nothing
This bug doesn't seem to be applying to the upstream laptop-mode-tools package.
For example, the laptop-mode-tools package in Debian does list the acpi events
files.
>From what I've checked, the ubuntu package doesn't have those files
listed. Probably is specific to ubuntu.
** Changed in: laptop
Yes. I can confirm.
laptop-mode-tools 1.49 from Debian, has those files listed.
r...@champaran:/tmp/ubuntu/deb/etc$ ls
acpi/ apm/ init.d/ laptop-mode/ pm/ power/
r...@champaran:/tmp/ubuntu/deb/etc$ ls acpi/
actions/ events/
r...@champaran:/tmp/ubuntu/deb/etc$ ls acpi/events/
lm_ac_adapter l
Interesting part is that I had the very same problem around a month ago.
That was when I realized that laptop-mode never changed its state.
Looking more revealed that /etc/acpi/events/ folder didn't have the lm_*
event files.
I use Debian, and the Debian package lists those files in its Install Li
I tried to check into the ubuntu package and I think that they don't
ship the laptop-mode events file for acpid.
Can you please tally the following on your ubuntu box?
r...@champaran:/etc/acpi/events$ dpkg -L laptop-mode-tools | grep acpi
/etc/acpi
/etc/acpi/actions
/etc/acpi/actions/lm_ac_adapte
valen...@valentin-laptop:~$ /etc/init.d/acpid status
* acpid is running
valen...@valentin-laptop:~$ cat /var/lib/acpi-support/powerstate
AC
valen...@valentin-laptop:~$ ls /etc/acpi/events/lm*
ls: cannot access /etc/acpi/events/lm*: No such file or directory
valen...@valentin-laptop:~$ cat /var/li
What is the output of the following command:
ls /etc/acpi/events/lm*
When you switch from Batter to AC, acpid generated the events, which then call
laptop-mode.
Is acpid running ?
** Also affects: laptop-mode-tools
Importance: Undecided
Status: New
** Changed in: laptop-mode-tools
** Attachment added: "Dependencies.txt"
http://launchpadlibrarian.net/27903620/Dependencies.txt
--
laptop-mode doesn't sense power state changes
https://bugs.launchpad.net/bugs/387057
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
-
28 matches
Mail list logo