Results 1 to 2 of 2

Thread: Compaq Presario 700 series + acpi howto

  1. #1
    Junior Member
    Join Date
    Nov 2003
    Location
    Lakewood, CO USA
    Posts
    4

    Compaq Presario 700 series + acpi howto

    Alright! I spent a good deal of time trying to get acpi at least somewhat working on my Presario 710US, and finally found the problem!

    I installed knoppix with the 2003-11-03 release, which was using kernel 2.4.22-xfs according to uname -r. Since I don't feel like being experimental, I decided to stick with the same kernel. So, I apted the source:

    # apt-get install kernel-tree-2.4.22 acpi apcid
    # cd /usr/src ; tar -jxvf kernel-source-2.4.22.tar.bz2

    This puts the source tree in /usr/src/kernel-source-2.4.22 and grabs the packages needed for acpi. Next, I grabbed the latest acpi patch from acpi.sourceforge.net:

    # wget http://ftp.kernel.org/pub/linux/kern....4.22.diff.bz2
    # cd /usr/src/kernel-source-2.4.22
    # bunzip2 -c ../acpi-20031002-2.4.22.diff.bz2
    # patch -p1

    This patches the kernel for acpi support. Since I don't use XFS, I didn't bother grabbing the xfs patch that the default kernel uses.

    Next up, to configure the kernel.

    # make menuconfig

    When you're in there, go to the bottom to load your old configuration (the one that knoppix uses) from /usr/src/linux/.config . Then (here's the sneaky part) go into the "Processor type and features," and make sure you select Athlon/Duron/K7! If you leave it at pentium/pentiumII it will not boot with acpi on. After you switch that around, exit from that menu, go to "General Setup," head to the bottom to "ACPI Support," and select everything except "Off By Default" and "Debug Statements". You don't need the ASUS and Toshiba bits, but I left them in for the heck of it.

    Exit out, save your config. Now we get to have the fun time of compiling the kernel!

    # make dep && make clean bzImage modules modules_install

    This goes through the nice long process of compiling the kernel (takes around 20-30 minutes if you're not doing anything else on the laptop.) Once that's done, you need to move the new bzImage to /boot, so:

    # cp arch/i386/boot/bzImage /boot/kernel-2.4.22

    Next up, configure lilo to boot to the new kernel:

    # kwrite /etc/lilo.conf

    this is if you're in X, of course, you're welcome to use any console based editors.

    Scroll down a bit until you see "delay=20" and comment it out by adding a # in front of it. Slightly below that is the following:

    #message=/boot/bootmess.txt
    #prompt
    #single-key
    #delay=100
    #timeout=100

    I uncommented prompt, delay, and timeout. This will give you a menu to select which kernel to boot to, which is handy when you're debugging to make sure your kernel works (lest you have to boot to the knoppix cd to fix it!)

    Scroll down a bit to the append line, you need to edit it a bit, mine looks like this:

    append="hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi apm=off acpi=on nomce noapic"

    This turns off apm and turns on acpi. You can't have the two working together, it causes ... problems.

    Next up, adding the new kernel and changing the old one, here's my list, changes in bold:

    <pre>default=2.4.22-acpi

    image=/boot/vmlinuz-2.4.22-xfs
    label=2.4.22-xfs
    initrd=/boot/initrd.gz
    read-only

    image=/boot/kernel-2.4.22-acpi
    label=2.4.22-acpi
    read-only
    </pre>

    I like having useful names in lilo, so I changed the labels to suit my taste.

    Save it, run /sbin/lilo to install the new configuration, and reboot! Everything should work and you should have a new entry in /proc with /proc/acpi, and your battery meter should actually be useful in kde.

    From what I can tell, following those instructions, processor speed stepping works, as my fan is very quiet right now and the laptop isn't burning me, as well, /proc/acpi/processor/CPU0/throttling states that my laptop is currently at state T7 or 37% speed. I haven't tested suspend/hibernate yet, but I'll update if those don't work and I get them working.

    Hope this is of help to someone, I know I spent days searching around on google for info on this laptop to get acpi to work.

  2. #2
    Junior Member
    Join Date
    Nov 2003
    Location
    Lakewood, CO USA
    Posts
    4
    Alright, so I found out that suspend and hibernate don't work like that, but following the instructions at http://swsusp.sf.net/ I managed to get hibernate to work. The only problem that I've found with hibernating, however, is that the sound card doesn't come back up, and I can't rmmod the modules because they say they're busy.

    I'll see what it takes to get that fixed, probably just some configuration of swsusp.

    Also somewhat related, I was wondering if the tv-out worked in linux, and I found a package to control it like in windows!

    # apt-get install s3switch

    That program allows you to change the output (crt, lcd, ntsc, ntscj, pal) and defaults to all three.

Similar Threads

  1. compaq presario r3000
    By t0ast in forum Laptops
    Replies: 0
    Last Post: 10-25-2004, 06:27 PM
  2. Compaq Presario B1011 and its cooler-fan
    By lufthans in forum Laptops
    Replies: 1
    Last Post: 10-08-2004, 04:56 AM
  3. Compaq/hp presario 2500 (2519eu)
    By jdd in forum Laptops
    Replies: 1
    Last Post: 04-28-2004, 10:52 PM
  4. Installin ACPI on compaq presario 2100
    By steverslearinglinux in forum Laptops
    Replies: 3
    Last Post: 02-25-2004, 07:28 AM
  5. Compaq Presario X100 Linmodem help !!
    By d3j452 in forum Laptops
    Replies: 3
    Last Post: 01-06-2004, 04:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield picture

ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield

$42.00



***NEW*** BCM RX67Q Gaming Motherboard | Intel Q67 2nd/3rd Gen. | LGA1155 | DDR3 picture

***NEW*** BCM RX67Q Gaming Motherboard | Intel Q67 2nd/3rd Gen. | LGA1155 | DDR3

$27.77



Asus B85M-E/CSM, LGA 1150 Intel Socket Motherboard picture

Asus B85M-E/CSM, LGA 1150 Intel Socket Motherboard

$39.99



ASRock B660M PRO RS LGA 1700 Intel SATA 6Gb/s DDR4 Micro ATX Motherboard picture

ASRock B660M PRO RS LGA 1700 Intel SATA 6Gb/s DDR4 Micro ATX Motherboard

$94.99



ASUS H110M-C LGA 1151 DDR4 SDRAM MSIP-REM-MSQ-H110M-C Desktop Motherboard picture

ASUS H110M-C LGA 1151 DDR4 SDRAM MSIP-REM-MSQ-H110M-C Desktop Motherboard

$43.95



ASUS Motherboard H81M-C | No CPU picture

ASUS Motherboard H81M-C | No CPU

$30.00



ASUS Q87M-E/CSM Intel Q87 Chipset DDR3 mATX LGA1150 Motherboard Tested picture

ASUS Q87M-E/CSM Intel Q87 Chipset DDR3 mATX LGA1150 Motherboard Tested

$48.95



MSI A520M-A PRO AM4 AMD A520 USB3.2 Gen1 Micro-ATX Motherboard picture

MSI A520M-A PRO AM4 AMD A520 USB3.2 Gen1 Micro-ATX Motherboard

$69.99



GIGABYTE MB10-Datto Motherboard Xeon D-1521- SR2DF 2.40 GHz- Open Box picture

GIGABYTE MB10-Datto Motherboard Xeon D-1521- SR2DF 2.40 GHz- Open Box

$115.00



BTC-S37 Mining Motherboard Kit /w SSD & Ram Preinstalled picture

BTC-S37 Mining Motherboard Kit /w SSD & Ram Preinstalled

$59.99