What's the story with acpi_fakekey?
Jaime Davila
jdavila at hampshire.edu
Fri Jul 28 21:05:44 UTC 2006
sandoz wrote:
> I've got the same problem: acpi_fakekey doesn't do anything.
>
> But even /etc/acpi/sleep.sh doesn't do anything!
>
>
>
> Since the upgrade to drapper no suspend, no hibernate, no lock screen
> works :-(
>
>
>
> The only gimick considering acpi is, that I have a nice on screen
> display for my volume button now :-/
>
>
>
> Does anybody know anything about acpi_fakekey?
>
> Has anybody found a solution to suspend problems on a ThinkPad with
> Drapper?
>
>
>
> Thanks,
>
> sandoz
>
>
I haven't figured out how fakekey works, but after trying many things
I've figured out that it actually does something. In the script where it
was getting used, it gets used after running another script. This first
script sets the values of some constants in such a way that, both
scripts run one after the other do something.
I was never able to figure out the complete process of how my x40
thinkpad goes to sleep, but it actually does it fine. While reading
about it, somewhere I read that acpi will check to see if gpowermanager
or kbatterymonitor (or whatever those to applications for KDE or gnome
are called) are running. If they are running, acpi simply hands control
off to them, so it might not be acpi that finishes the process. For some
acpi events gnome actually gives control right back to acpi, or to HAL,
or something like that. So, eventually I lost track of what was where.
But, if nothing else, running dapper with all updates applied DOES make
my x40 both suspend and hibernate.
All I can suggest is to start looking at /var/log/acpi, and take it from
there.
--
******************************************************
Jaime J. Davila
Associate Professor of Computer Science
Hampshire College
School of Cognitive Science
jdavila at hampshire dot edu
http://helios.hampshire.edu/jdavila
*******************************************************
More information about the ubuntu-users
mailing list