apmd-compat calling apmd incorrectly with "resume user"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pbbuttonsd (Ubuntu) |
Fix Released
|
Medium
|
Martin Pitt |
Bug Description
Seen in a fresh ubuntu 4.10 warty install on a 15" Apple powerbook G4/1.33MHz:
The pbbuttonsd file /etc/power/
scripts,
including /etc/apm/apmd_proxy
All the /etc/apm/ scripts have a finite list of valid command line arguments,
which can be seen at the top of the comments in /etc/apm/apmd_proxy
Upon suspend, apmd-compat is passing "suspend user" which is a valid command to apm
Upon resume, apmd-compat is passing "resume user" which is **NOT** a valid
command to apm
I would guess that the proper command line arguments would be "resume suspend"
instead of "resume user"
This error does break several of the /etc/apm/script.d/ commands, with both
hwclock and ppp both
ignoring the invalid command.
pbbuttonsd (0.7.1-1ubuntu2) breezy; urgency=low scripts. d/apmd- compat: Fix arguments on calling apm scripts on ubuntu- patches/ .
.
* scripts/
resume. (Ubuntu #4201)
* Sort and split patches, put them into debian/