LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 11-26-2003, 09:25 AM   #1
jwjody
Member
 
Registered: Sep 2003
Posts: 37

Rep: Reputation: 15
Adding APM Support


I've found a couple of good references on upgrading the kernel. But what if I'm happy with the kernel I already have and just want to add APM? Does anyone know of a good documentation specifically for this?

Thanks,
J
 
Old 11-26-2003, 11:21 AM   #2
wiraone
Member
 
Registered: Nov 2003
Location: Diawang-awangan
Distribution: Ubuntu Hoary!
Posts: 319

Rep: Reputation: 30
I thought APM is installed by default with Fedora Core 1?

$ apm -v
APM BIOS 1.2 (kernel driver 1.16)
AC on-line, no system battery
 
Old 11-26-2003, 11:58 AM   #3
jwjody
Member
 
Registered: Sep 2003
Posts: 37

Original Poster
Rep: Reputation: 15
Well I have a Dell Inspiron 5100 and APM won't work with it. I just found this out.

I'm following the instructions found http://cabibbo.physics.wm.edu/~bryan...piron5100.html but when I patch the osl.c I get this error:

Hunk #1 succeeded at 69 (offset -1 lines).
Hunk #2 FAILED at 220.
1 out of 2 hunks FAILED -- saving rejects to file osl.c.rej

Then I go ahead and try and compile the kernel I get this error:

acpi_dsdt.c:793:66: warning: multi-line string literals are deprecated
acpi_dsdt.c:793:66: warning: null character(s) preserved in literal
acpi_dsdt.c:793:66: missing terminating " character
acpi_dsdt.c:78:53: possible start of unterminated string literal
acpi_dsdt.c:795:6: warning: no newline at end of file
make[4]: *** [acpi_dsdt.o] Error 1
make[4]: Leaving directory `/usr/src/linux-2.4.22-1.2115.nptl/drivers/acpi/tables'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory `/usr/src/linux-2.4.22-1.2115.nptl/drivers/acpi/tables'
make[2]: *** [_subdir_tables] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.22-1.2115.nptl/drivers/acpi'
make[1]: *** [_subdir_acpi] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.22-1.2115.nptl/drivers'
make: *** [_dir_drivers] Error 2

Any ideas?

Thanks,
J
 
Old 11-26-2003, 04:40 PM   #4
wiraone
Member
 
Registered: Nov 2003
Location: Diawang-awangan
Distribution: Ubuntu Hoary!
Posts: 319

Rep: Reputation: 30
The kernel that comes with RedHat and Fedora is known to be not compatible with the one from kernel.org. RedHat has enhanced the stock kernel to include some of those advance features which most probably will be available in 2.6 version.. hence, you may have difficulties in compiling your own kernel.
However, if you want to continue trying, you may want to look into the .rej file and apply the patch manually by hand into osl.c file. Follow exactly the instructions found in the website given by you and hopefully it works for you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux 2.6.x (APM support) ganesan16 Linux - General 1 11-29-2005 09:56 AM
No APM support in kernel kermit Debian 8 12-17-2004 03:17 AM
No APM support? Ahner Slackware 1 04-24-2004 02:02 AM
apm support suse 8.2 mb_vc Linux - Distributions 3 05-14-2003 01:17 PM
module support for APM rich442 Slackware 6 04-17-2003 06:27 PM


All times are GMT -5. The time now is 03:26 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration