Ticket #121 (closed task: wontfix)
kernel misses APM battery support
| Reported by: | luca@… | Owned by: | jluebbe |
|---|---|---|---|
| Priority: | minor | Milestone: | milestone5.5 |
| Component: | framework/ousaged | Version: | milestone2 |
| Keywords: | Cc: |
Description
The FSO-Milestone2 kernel misses the APM battery driver thus apm doesn't work.
This has been reported to the smartphone-standards mailing list (1) as well as on the openmoko-community one (2)(3).
(1) http://lists.linuxtogo.org/pipermail/smartphones-standards/2008-August/000354.html
(2) http://lists.openmoko.org/pipermail/community/2008-August/025336.html
(3) http://lists.openmoko.org/pipermail/community/2008-August/025473.html
Change History
comment:2 in reply to: ↑ 1 Changed 5 years ago by luca@…
Replying to mickey:
This compatibility interface has been disable on purpose. For what do you need apm?
I don't strictly need it, but I want to use "standard" *nix tools, like apm or acpi/acpitools are.
Is [mdbus ...] an acceptable replacement?
IMHO no, except the reason above, I see two more:
1) it requires a "non-standard" tool, i.e. something which is completely new to end-users
2) the command is too long to type, even to remember (wrapping it into a shell script is not an option)
However, I think you already know I'm a bit "maniac"...
comment:3 follow-up: ↓ 6 Changed 5 years ago by mickey
Embedded folks are trying to phase out APM emulation very rapidly. I want to support this. What we can do to smoothen the transfer is
- provide an 'apm' binary that has the same CLI using the FSO API
- traverse the apmd script directories and run
comment:5 Changed 4 years ago by mickey
- Type changed from defect to task
A preliminary version of the apm command has now hit git.freesmartphone.org in python-helpers/fso-apm.
comment:6 in reply to: ↑ 3 Changed 4 years ago by gismo
Sorry for the delay.
Replying to mickey:
Embedded folks are trying to phase out APM emulation very rapidly.
I think you misunderstood my request: I was not talking about userspace tools to interface with APM, but about the kernel APM battery driver.
OTOH, if I am wrong and indeed APM will be completely phased out, feel free to close this bug as wontfix.
comment:7 Changed 4 years ago by mickey
- Milestone set to milestone6
I was talking about the kernel interface as well. We now ship an apm compatibility script and I'm still considering to traverse apmd script directories for milestone6.

This compatibility interface has been disable on purpose. For what do you need apm? Is
an acceptable replacement?