[Bug 244844] Re: Adapt laptop-mode-tools invocation to ubuntu's acpi-support / pm-tools packages

2009-12-03 Thread ceg
Thanks, for getting back and finding out about /etc/power.

I'm sure we want to give a good impression of tidy, easily
understandable and functional ubuntu packages for acpi, powermanagment
and disk idleing (laptop-mode) support unlike with the bugload
unfortunately introduced before.

- Because letters sort after numbers it is not possible to adequately
sort a script like anacon behind it using numbers.  Bug #491831

- /etc/power is now also a separate Bug #491804

-- 
Adapt laptop-mode-tools invocation to ubuntu's acpi-support / pm-tools packages
https://bugs.launchpad.net/bugs/244844
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://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 244844] Re: Adapt laptop-mode-tools invocation to ubuntu's acpi-support / pm-tools packages

2009-12-02 Thread ceg
Hi Steve,

thank you for working on this. I have checked the integration in 9.10.
My observation is:

*  laptop-mode-tools ships with scripts under /etc/power/*. Is this location 
still valid in some way or are scripts supposed
to be installed under /etc/pm/* now (as /etc/ scripts to override 
/usr/lib/pm-tools/* ?

*  In order to remove the ENABLE_LAPTOP_MODE setting from 
/etc/default/acpi-support (LP: #244838)
   (if we really do not want to have laptop-mode enabled by default *on 
battery* like in debian):
   Either laptop-mode-tools should allways ship with the 
/etc/default/laptop_mode (not only on powerpc)
   or default ENABLE_LAPTOP_MODE_ON_BATTERY to no in 
/etc/laptop-mode/laptop-mode.conf
   (if enabling laptop-mode on battery by default is ok, this point is obsolete 
and ENABLE_LAPTOP_MODE=false
   can be removed from /etc/default/acpi-support right away.)

*  May the script /usr/lib/pm-utils/power.d/laptop-mode better be named with a 
number too? Like 96laptop-mode,
to make sure it is called after 95hdaparm-apm.

Please set to fixed if those points are allready handled in lucid.

** Changed in: laptop-mode-tools (Ubuntu)
   Status: Fix Released = New

-- 
Adapt laptop-mode-tools invocation to ubuntu's acpi-support / pm-tools packages
https://bugs.launchpad.net/bugs/244844
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://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 244844] Re: Adapt laptop-mode-tools invocation to ubuntu's acpi-support / pm-tools packages

2009-12-02 Thread ceg
According to
https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/239419/comments/5
the kernel's laptop_mode has been hardcoded to be enabled on battery all the 
time anyway.

So it should be fine to just remove checking ENABLE_LAPTOP_MODE
in /etc/default/acpi-support from /etc/init.d/laptop-mode, 
/usr/lib/pm-utils/sleep.d/96laptop-mode and 
/usr/lib/pm-utils/power.d/laptop-mode. And to remove that stanza from the 
/etc/default/acpi-support file.

-- 
Adapt laptop-mode-tools invocation to ubuntu's acpi-support / pm-tools packages
https://bugs.launchpad.net/bugs/244844
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://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 244844] Re: Adapt laptop-mode-tools invocation to ubuntu's acpi-support / pm-tools packages

2009-12-02 Thread Steve Langasek
/etc/power/ appears to be a configuration directory for the pbbuttonsd
daemon, which is powerpc-specific; these scripts are certainly unrelated
to pm-utils integration, and I have no intention of touching this given
that I'm not in a position to test changes regarding pbbuttonsd
integration.

 May the script /usr/lib/pm-utils/power.d/laptop-mode better be named with a 
 number too? Like 96laptop-mode,
 to make sure it is called after 95hdparm-apm.

Letters already sort after numbers.

As for whether laptop-mode-tools should be enabled by default, there is
already a separate bug open for this issue, so that's not a reason to
keep this bug report open (and is scope creep wrt the original request
in any case).

 According to
 https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/239419/comments/5
 the kernel's laptop_mode has been hardcoded to be enabled on battery all the 
 time anyway.

I'm not sure what the basis for this claim was, but it's definitely
wrong.

$ cat /proc/sys/vm/laptop_mode 
0
$

-- 
Adapt laptop-mode-tools invocation to ubuntu's acpi-support / pm-tools packages
https://bugs.launchpad.net/bugs/244844
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://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 244844] Re: Adapt laptop-mode-tools invocation to ubuntu's acpi-support / pm-tools packages

2009-12-02 Thread Steve Langasek
** Changed in: laptop-mode-tools (Ubuntu)
   Status: New = Fix Released

-- 
Adapt laptop-mode-tools invocation to ubuntu's acpi-support / pm-tools packages
https://bugs.launchpad.net/bugs/244844
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://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 244844] Re: Adapt laptop-mode-tools invocation to ubuntu's acpi-support / pm-tools packages

2009-12-01 Thread Steve Langasek
This appears to be fixed in recent versions of Ubuntu: all power
management hooks are handled by pm-utils, and laptop-mode-tools
integrates with pm-utils.  Marking as fixed.

** Changed in: laptop-mode-tools (Ubuntu)
   Status: Confirmed = Fix Released

-- 
Adapt laptop-mode-tools invocation to ubuntu's acpi-support / pm-tools packages
https://bugs.launchpad.net/bugs/244844
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://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 244844] Re: Adapt laptop-mode-tools invocation to ubuntu's acpi-support / pm-tools packages

2009-09-01 Thread Ritesh Raj Sarraf
I'm not sure who is the active maintainer for laptop-mode-tools in
Ubuntu but are there any plans of updating the version in Ubuntu to the
latest from upstream ?

-- 
Adapt laptop-mode-tools invocation to ubuntu's acpi-support / pm-tools packages
https://bugs.launchpad.net/bugs/244844
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://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 244844] Re: Adapt laptop-mode-tools invocation to ubuntu's acpi-support / pm-tools packages

2009-04-19 Thread rcs
I am still running Gutsy 7.10 on a Dell 1525n, and would like to know
what to set where to have an optimal configuration for a machine sitting
at home on AC power, as well as if it is mobile on battery.  Every so
often at home I hear the disk drive make an alarming click sound, which
I believe to be the heads parking as described above (S.M.A.R.T. reports
everything is okay).  The wiki, etc. only seem to describe post-Gutsy
scenarios.

Thanks,
rcs

-- 
Adapt laptop-mode-tools invocation to ubuntu's acpi-support / pm-tools packages
https://bugs.launchpad.net/bugs/244844
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://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 244844] Re: Adapt laptop-mode-tools invocation to ubuntu's acpi-support / pm-tools packages

2008-07-22 Thread Alexey Borzenkov
Hello, just to inform you here, I now filed bug #250935 and bug #250938
that are intended for intrepid (and actually fix the issue better than
my previous patches). I really hope they could land before intrepid
freezes... -_-

-- 
Adapt laptop-mode-tools invocation to ubuntu's acpi-support / pm-tools packages
https://bugs.launchpad.net/bugs/244844
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://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 244844] Re: Adapt laptop-mode-tools invocation to ubuntu's acpi-support / pm-tools packages

2008-07-19 Thread kakado
Thank you Alexey
I am using your patch to acpi and pm-utils and everything is working great even 
after a suspend/resume.
Congratulations!!
Now I am focus in change the laptop-mode.conf to better settings.

-- 
Adapt laptop-mode-tools invocation to ubuntu's acpi-support / pm-tools packages
https://bugs.launchpad.net/bugs/244844
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://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 244844] Re: Adapt laptop-mode-tools invocation to ubuntu's acpi-support / pm-tools packages

2008-07-06 Thread ceg
** Summary changed:

- Adapt invocation to ubuntu acpi-support / pm-tools packages
+ Adapt laptop-mode-tools invocation to ubuntu's acpi-support / pm-tools 
packages

** Description changed:

  Binary package hint: laptop-mode-tools
  
+ Adaption would would mean to include scripts that call
+ /usr/bin/laptop_mode auto in  in /etc/acpi/ac.d, battery.d, resume.d
+ and start.d.
  
- Include scripts that call /usr/bin/laptop_mode auto in  in /etc/acpi/ac.d, 
battery.d, resume.d and start.d.
- 
- It is suggested to acpi-support to stop calling laptop-mode-tools and hdparm 
directly.
+ It is suggested to acpi-support to stop calling laptop-mode-tools and hdparm 
directly (in non-config files).
  bug #244831, bug #244832, bug #244833, bug #244836
  
  
  (Beware: resume.d, and start.d may be obsoleted by some pm-tools directory)
  bug #244839, bug #205005
  
  (Adapt the approach from the original laptop-mode-tools debian package
  to current ubuntu acpi-support)
  
  
  laptop_mode may need the options auto force when called on resume events. 
(To reapply hdparm settings even though AC state has not changed.)
  
- (The current laptop-mode disk-idleing approach seems to be a left-over
- from before the  ubuntu-laptop-mode package was droped for laptop-mode-
- tools.)
+ (The current laptop-mode disk-idleing approach seems to be a left-over from 
before the  ubuntu-laptop-mode package was droped for laptop-mode-tools.)
+ https://wiki.ubuntu.com/PowerManagement

-- 
Adapt laptop-mode-tools invocation to ubuntu's acpi-support / pm-tools packages
https://bugs.launchpad.net/bugs/244844
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://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 244844] Re: Adapt laptop-mode-tools invocation to ubuntu's acpi-support / pm-tools packages

2008-07-06 Thread ceg

I don't know.

I believe in letting pm-utils manage power state changes (if that is the
tool of choice) and letting acpi-support taking care of button, battery
and ac events etc.

A disk idleing tool like laptop-mode-tools can be hooked into these
appropriately, when its packaged with scripts that go into the right
directories.

-- 
Adapt laptop-mode-tools invocation to ubuntu's acpi-support / pm-tools packages
https://bugs.launchpad.net/bugs/244844
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://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 244844] Re: Adapt laptop-mode-tools invocation to ubuntu's acpi-support / pm-tools packages

2008-07-06 Thread ceg
There is now an overview about the related bugs in the wiki.
https://wiki.ubuntu.com/PowerManagement#head-ab94c99627b86e9fbb29a09d3316178269c3e764

-- 
Adapt laptop-mode-tools invocation to ubuntu's acpi-support / pm-tools packages
https://bugs.launchpad.net/bugs/244844
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://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs