Click to See Complete Forum and Search --> : APM in 2.2.17


iDxMan
11-27-2000, 10:37 PM
Ok, for the life of me I cannot get APM working right..

I compiled support,etc..
Enabled DPMS in the BIOS..
Installed apmd.

no go.

It will "blank" the screen in character mode, but do nothing in X. Plus, I want it to shut off the video, not just blank it. << the backlight is still on !! >>

When I try a manual suspend (apm -s), it does nothing, then prints the following to /var/log/syslog :
modprobe: Can't locate module char-major-10-135

When I try a manual standby (apm -S),it works. woo!

Q:
1) Why wont suspend work?
2) How can I get it working automatically .. Even into standby mode?

I even commented out the portion of /etc/apm/apmd_proxy that rejects a system suspend/standby if we're on AC power. (around line 70)

Anyone have this working?

-r

iDxMan
11-28-2000, 05:55 PM
Update:

The system does actually try to enter standby mode automatically but due to the HDD being weird (it clicks every 8-15 seconds for some reason), it pops out of standby each time the HDD clicks.

There is no click when I manually put it in standby . I assume this means the HDD is off so it can't hiccup and come out of standby.

So --- is there an way to determine the time of the last user input? If so it should be fairly easy to setup a perl script to check this time and execute "apm -S" if the time has exceeded our threshold..

I was looking for something along the lines of a cron job .. Not a daemon monitoring input..

edit: I also noticed that it unloads or disables some kernel modules when going into standby. ie: pegasus (USB ethernet). Damnit!


-r


[This message has been edited by iDxMan (edited 28 November 2000).]