PDA

View Full Version : ACPI problems ...



rompel
05-12-2003, 03:42 PM
Hello,

i have a sony vaio laptop and need to install ACPI to get the IRQ of my modem.
but i have some problems during the install procedure:

i have the knoppix version 2.4.19-xfs.

at first i downloaded the file
acpi-20020918-2.4.19.diff.gz
from the ACPI homepage.

then i copied the file into /usr/src
then i run:
gunzip acpi-20020726-2.4.18.diff.gz
cd linux
patch -p1 <../acpi-20020726-2.4.18.diff

After that i got the follwing message:

can't find file to patch at input line 206
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nura linux-2.4.19orig/MAINTAINERS linux-2.4.19acpi/MAINTAINERS
|--- linux-2.4.19orig/MAINTAINERS Sat Sep 21 20:10:11 2002
|+++ linux-2.4.19acpi/MAINTAINERS Sat Sep 21 01:00:37 2002
--------------------------
File to patch:

What can i do to solv this problem. how can i install ACPI? withut ACPI the IRQ of my modem is umknown.
Any other suggestion to get the IRQ?
(I am a linux newbie, so please dont write a too short answer)

Thanks!

humberto
05-22-2003, 06:51 PM
To install ACPI, you need to patch and compile your own kernel. To make matters a bit worse, the ACPI patch doesn't apply cleanly to a debian kernel. What I did is download the 2.4.20 kernel from www.kernel.org, apply the patch, and follow the instructions in the README file to make a new kernel

make xconfig
make dep; make clean; make bzImage; make modules

you then need to make install and make modules_install as root

then edit /etc/lilo.conf to add a new kernel.

jduff
08-29-2003, 11:41 PM
Instead of patching and all that stuff, get the 2.4.22 kernel which has acpi included, and spare yourself the trouble of all those commands and do it the Debian way. Much cleaner and easier.

As su
cd /usr/src
tar -xpvjf linux-2.4.22.tar.bz2
mv linux linux-2.4.22
ln -s linux-2.4.22 linux
cd /usr/src/linux
make menuconfig
make-kpkg clean
make-kpkg -revision=custom1.0 kernel_image
dpkg -i ../kernel-image-2.4.22_custom.1.0_i386.deb

Put the proper entry into lilo.conf and you're done. Reboot.

rickenbacherus
08-30-2003, 04:12 AM
Or better yet- (if you like things simple and easy) go to this how-to (http://www.knoppix.net/forum/viewtopic.php?t=4200).