I've been rubbing elbows with my boss lately... a lot as a matter of fact...
getting 
Linux to run on his COMPAQ 1278 laptop. 

After having some nasty problems with sound support, which I ironed out by
using
ALSA drivers... I decided to tackle ACPI this afternoon. 

First off, I've been using kernel version 2.4.16 along with Workstation 3.1
in this project. No real reason other than it had the latest possible sound
drivers that I needed in the above sound project... :')

The short story goes...

Using 2.4.16 as my base, I sat down and recompiled a new kernel. I enabled
everything related to ACPI as modules or in kernel as required and disabled
everything having to do with APM. The "old" 2.4.2 kernel allows acpi to be a
module, but the later kernel versions want that particular bit of acpi
support in the kernel...

Compiled it... 

I disabled the workstation 3.1 acpid startup script as it will fail to load
acpi as a module... The acpi startup scripts are in the /etc/rc.d/rc_.d
directories...
Do what you must. :') Rename, move or delete.

I visited http://phobos.fs.tum.de/acpi/index.html and downloaded their acpi
daemon source code. Compiled it and installed it to usr/local/bin

I edited /etc/rc.d/rc.local and added a line that runs the new acpi daemon 
application.

Once I checked over all my edits, etc... I did a shutdown -r and brought up
the new
kernel. Acpi loaded (verbose acpi debug said so...), the acpid started up
and...

I can now make the laptop sleep by keyboard command and turn off when a
shutdown -h is issued.

That's as far as I got as I was dragged off to another useless meeting ...

More to follow. I can't wait to see if I can get battery monitoring working.
That would be the hoot!

Cheers all...

-- 

****************************************************************************
**
                     Registered Linux User Number 185956
          http://groups.google.com/groups?hl=en&safe=off&group=linux
     2:35pm  up 5 days,  1:37,  3 users,  load average: 0.08, 0.02, 0.01
_______________________________________________
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users

Reply via email to