LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   ACPI Patch for BIOS 25 Dell Inspiron 1100 w/ Fedora Core 1.0 (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/acpi-patch-for-bios-25-dell-inspiron-1100-w-fedora-core-1-0-a-144897/)

cddesjar 02-11-2004 01:11 PM

ACPI Patch for BIOS 25 Dell Inspiron 1100 w/ Fedora Core 1.0
 
Hi- I am trying to install an ACPI patch on my computer so that I can get a battery monitor. I seem to be able to bunzip it fine....
the file is acpi-20031203-2.4.25.diff.bz2
It asks me what file to patch (after I perform bunzip2 -c acpi-20031203-2.4.25.diff.bz2 | patch -p1) and I don't know...what should I type in? Is that everything? Will I then have a GUI telling me about my battery stats?
I need help!
Thanks,
Chris
I am using Kernel 2.4.22-1.2149.nptl

PS-I just downloaded this upgraded Kernel. What is the difference between this Kernel and the one that came with my Fedora Core CD? Also why do I have 2 Kernels showing up when I start my computer?

Invdaderzim 02-15-2004 07:43 PM

I have the same laptop but with mandrake, I installed the rpm acpi package. Then you have to edit your lilo.conf to say: append="acpi=on", if you already have things in the append= then just add acpi=on. And remember to back up your lilo.conf just in case : ).

cddesjar 02-18-2004 07:12 PM

Hi, what rpm acpi package did you install? Also when you lilo.conf (which I don't seem to have except lilo.anaconda.conf) did you include the " signs?
Thanks,
chris

htmlspinnr 02-19-2004 07:16 PM

ACPI is included within Fedora - just disabled
 
(lilo isn't default within Fedora, nor provided as an option during a regular install - it's inly installed in upgrade situations or if forced after install).

All fedora kernels include ACPI. It's simply disabled. add acpi=on at the end of the boot string within grub.conf - a good place to put it is before "rhgb" and after the "root=".

Example (note the third line):

Code:

title Fedora Core (2.4.22-1.2174.nptl)
        root (hd0,0)
        kernel /vmlinuz-2.4.22-1.2174.nptl ro root=LABEL=/ acpi=on rhgb
        initrd /initrd-2.4.22-1.2174.nptl.img

One thing to note - when ACPI is on, apmd will not start. This will break the apm command if you're accustomed to using it for functions like suspend, etc. I'm sure there may be acpi equivelants, but I'm not familiar with them off the top of my head.

As for the kernel part:

You'll have multiple kernels because when you up2date (or apt or yum update), it installs the new kernel, giving the option to use the old as a failsafe.

IF you're comfortable with the new, do the following:

Code:

rpm -qa "kernel*"
Find the older (lower number) kernels by name, will be multiples in smp situations or if you install source.

Then,

Code:

rpm -e <kernel name>
Example:
Code:

rpm -e kernel-2.4.22-1.2166.nptl kernel-2.4.22-1.2149.nptl kernel-2.4.22-1.2115.nptl
It's important that you specify the whole name in this case since there are multiple packages of "kernel" installed.

HTH,
-Rick

htmlspinnr 02-19-2004 07:18 PM

One more thing - the battery stat applet should work regardless of acpi. If using gnome, right click somewhere on your panel, then select Add to Panel > Utility > Battery Charge Monitor.

HTH,
-Rick


All times are GMT -5. The time now is 07:24 AM.