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

Notices


Reply
  Search this Thread
Old 08-18-2003, 03:44 PM   #16
BoonZie
Member
 
Registered: Oct 2002
Location: Malmoe Sweden
Distribution: Slackware 9.1
Posts: 50

Rep: Reputation: 15
Is it really there


Just a thought...
Have you checked that the module is really there?
Follow the path: /lib/modules/2.4.20/kernel/arch/i386/kernel/apm.o.gz: and make sure it's OK, and that the module is there. Also check the permissions for it, that you are allowed to read it.

I have had the most frustrating errors, depending on bad installation media. The thing to do was burn a new CD, and reinstall it again.
Just a thought... Don't know if it works...
 
Old 08-19-2003, 08:26 AM   #17
utopicdog
Member
 
Registered: Aug 2003
Location: france
Distribution: suse/fedora
Posts: 105

Rep: Reputation: 15
gunzip -r /lib/modules/2.4.20/*
then
depmod -ae
whilst logged in as root might work, the module seems to be there but i'm not sure why it is zipped. I have come to the conclusion that there is an element of randomness as to exactly what the machine does when I type 'halt' but if it swiches itself off then I leave all apm settings alone.
btw what does
cat /proc/apm
do?
 
Old 08-20-2003, 07:00 PM   #18
CodeWarrior
Member
 
Registered: Mar 2003
Location: US
Distribution: Kubuntu 6.06
Posts: 173

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by utopicdog
gunzip -r /lib/modules/2.4.20/*
then
depmod -ae
whilst logged in as root might work, the module seems to be there but i'm not sure why it is zipped. I have come to the conclusion that there is an element of randomness as to exactly what the machine does when I type 'halt' but if it swiches itself off then I leave all apm settings alone.
btw what does
cat /proc/apm
do?
I unzipped the files like you said and I tried modprobe apm, but I got the same error message. I tried depmod -ae, but nothting was returned to the screen. I did a man depmod and found that this program creates some kind of file about dependencies ?

I don't have a file named apm in /proc, so performing a cat /proc/apm results in "file not found".
 
Old 08-23-2003, 08:12 PM   #19
CodeWarrior
Member
 
Registered: Mar 2003
Location: US
Distribution: Kubuntu 6.06
Posts: 173

Original Poster
Rep: Reputation: 30
So is my case hopeless?? No way to get APM support unless I recompile the kernel?
 
Old 08-24-2003, 11:34 PM   #20
linuxJaver
Member
 
Registered: Jul 2003
Location: Jakartax, ID
Distribution: slack9.1+,9.1,rh9
Posts: 203

Rep: Reputation: 30
If u can do automatically turn off with apm on WindowsXP then u probably don't need to change BIOS setting, if not then check ur bios more thoroughly for options or figure out which kind of bios r u using (award ..) maybe one is able to help u further ..
 
Old 08-25-2003, 01:42 PM   #21
dmadcat
Member
 
Registered: Aug 2003
Location: Columbus, OH
Distribution: Slackware
Posts: 32

Rep: Reputation: 15
Trebor, the file you're looking for is in /etc/rc.d called modules.rc .

Codewarrior, how old is your computer? Are you sure the hardware supports APM? Have you tried flashing your BIOS?

Just wondering because I had this same issue on a Compaq laptop I configured and configuring the modules.rc fixed pretty much everything including the battery charge display.
 
Old 08-26-2003, 08:02 PM   #22
CodeWarrior
Member
 
Registered: Mar 2003
Location: US
Distribution: Kubuntu 6.06
Posts: 173

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by dmadcat
Trebor, the file you're looking for is in /etc/rc.d called modules.rc .

Codewarrior, how old is your computer? Are you sure the hardware supports APM? Have you tried flashing your BIOS?

Just wondering because I had this same issue on a Compaq laptop I configured and configuring the modules.rc fixed pretty much everything including the battery charge display.
Well, I am dual booting with WinXP and when shutting down in XP, It powers down like it should. My computer is pretty new( < 1year old). I don't know if my hardware supports APM, how do you find out? What does "flashing" the bios mean?
 
Old 08-27-2003, 04:22 PM   #23
dmadcat
Member
 
Registered: Aug 2003
Location: Columbus, OH
Distribution: Slackware
Posts: 32

Rep: Reputation: 15
Well, if it's only a year old you shouldn't have to worry about flashing the BIOS and it should support APM (you can always go to the manufacturer site or look in your manual to find out for sure).

For the sake of knowledge, flashing BIOS is simply updating the software in the system BIOS to fix certain issues. Usually it's done using a utility you can download from the manufacturer along with the latest BIOS version.

It sounds like your system is working fine with WinXP but not with Slackware so it's probably not a hardware issue. Frankly it would take less time and effort just to recompile the kernel.

I only just recently started compiling my own kernel and found it's one of the easiest things to learn in linux. Here's an awesome thread that'll help and may answer your questions about the apm module.

http://www.linuxquestions.org/questi...threadid=85298
 
  


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
apm, torsmo & fluxbox jasone Linux - Software 6 04-21-2005 12:07 AM
Suse 9.2 x86_64 apm & cpu throttling don't work ultra2005alpha Linux - Software 0 03-05-2005 08:03 PM
SMP & APM in 2.6 kernel 2verb Linux - Software 0 08-08-2004 11:17 PM
apm vs. acpi ? (modprobe: FATAL: Error inserting apm) OneManArmy Linux - Laptop and Netbook 0 05-12-2004 04:39 PM
debian shutdown halt problem acpi apm win32sux Linux - General 0 09-26-2003 12:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:52 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration