PDA

View Full Version : How do you disable APM after a Knoppix hd install?



Cuddles
03-04-2004, 03:45 PM
Subject pretty much says it all.

I have knx-hdinstall 'ed Knoppix v3.3 onto my hard drive, and even though I disable apm, and any other "laptop" type shutdowns from within the BIOS, as soon as Debian/Knoppix begins to boot off the hard drive, I can see it saying: "APM disabled in BIOS, re-enabling..."

The problem I am having is, no matter what I change, in any settings, or configs, after "who knows how long" of minutes, my screen goes BLACK for a few seconds, and then comes back to its original. It appears that whatever is causing this to happen, still keeps the system up and running, if I click on something, just before this happens, after the screen comes back, the "something" is either being started, has started, or possibly even completed, during this BLACK OUT...

My assumptions have me thinking it has something to do with Power Management, and I HATE power management - If I cared how many "milliwatts" I could save by shutting down my monitor, or spinning down my hard drives, when "something" thinks I don't need them anymore, I might have a few pennies saved. But I don't care - when I have something ON, it should stay ON - If I want it OFF, I will turn it OFF. If I was running on a laptop, I would care about conservating energy, but I'm connected to a POWER PLANT, with a 90 minute UPS atop of that, "I don't need no stinkin' energy conservation" [giggle]

Someone have the answer? Who can be first to post to this simple question? [the clock is ticking]
Cuddles

Markus
03-04-2004, 03:55 PM
You could try adding noapm to the append line in lilo.conf

Don't forget to run lilo afterwards!

Cuddles
03-04-2004, 04:11 PM
Ok Markus, you get the prize for having a response in 10 minutes...

Here, I think, is the line you want me to change - it doesn't "read" the way I thought changing it would be though - (see)

append="hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi apm=power-off nomce"

Do I yank out the apm=power-off and replace it with noapm -=- or would it be apm=no -=- or apm-noapm ...

Thanks in advance...
Cuddles
PS - and HOW DO YOU ensure running LILO ? reboot????

Markus
03-04-2004, 04:17 PM
Do I yank out the apm=power-off and replace it with noapm

That's what I'd do, but I've got your current version in my lilo.conf so can't say for sure.


PS - and HOW DO YOU ensure running LILO ? reboot????

NO- Run lilo by typing "lilo" or "/sbin/lilo" as root and be sure it says things like "added linux".
If you don't run lilo this way after changing the configuration, your machine might not boot.

PS: You could want to have a bootdisk at hand when playing with lilo, or a Knoppix Live-CD :D

Cuddles
03-04-2004, 04:35 PM
Thanks Markus - did the lilo.conf change, did the root lilo command, did say "Adding Linux...", and did the reboot - everything is perfect.

Thanks a million - hopefully this resolves my BLANK/BLACK screen issue...
Cuddles