LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-01-2002, 01:44 PM   #1
_clona_
LQ Newbie
 
Registered: Oct 2002
Location: San Diego, CA
Distribution: Mostly RH 7.x, 8.0
Posts: 4

Rep: Reputation: 0
X crashes on batteries


Hi All,

I have a DELL Inspiron 8100 running RH 7.3.
The system/installation is very stable when running plugged in, but when the power cord is pulled out, or if I try to start X when running on batteries it goes to blank screen and I have to restart X.

I think it has to do with the laptop package installed on the box...
I use KDE 3.

Any insight would be greatly appreciated.

Thanks,
Matt

Last edited by _clona_; 11-01-2002 at 01:46 PM.
 
Old 11-01-2002, 05:28 PM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
First guess is a power management problem. Are you running apmd or apcid? How is your BIOS setup to handle power-saving?
 
Old 11-01-2002, 05:46 PM   #3
_clona_
LQ Newbie
 
Registered: Oct 2002
Location: San Diego, CA
Distribution: Mostly RH 7.x, 8.0
Posts: 4

Original Poster
Rep: Reputation: 0
mcleodnine,

Thanks for your response.
I am running apmd with the following options:

-p 10 -w 5 -W -P /etc/sysconfig/apm-scripts/apmscript

The BIOS power settings are just as they are when the computer was shipped, here are the details:

-------------------------------------------------------

Power Mgmt: Enabled
Display TIme-Out: Batt: Enabled, AC: Disabled
Disk Time-Out: Batt: 3 Mins, AC: Disabled
Suspend Time-Out: Batt: 10 Mins, AC: Disabled
S2D Time-Out: Batt: 8 Hours, AC: Disabled
Smart CPU Mode: Batt:Enabled, AC: Enabled
Display Close: Batt: Suspend, AC: Active

Alarm Resume: Enabled
Wakeup on LAN: Disabled
Intel SpeedStep: Enabled
CPU on AC: Max Performance
CPU on Battery: Battery Optimized
Auto On Mode: Disabled
Auto On Time: 00:00

-------------------------------------------------------

That's pretty much all I have..
 
Old 04-03-2003, 06:58 AM   #4
pablob
Member
 
Registered: Apr 2003
Location: Madrid
Distribution: RHEL, Kubuntu, Solaris, TRU64
Posts: 382

Rep: Reputation: 31
I have a similar problem.

Travelmate 350TM
RHat 8. + Linus Kernel 2.4.18 + KDE 3.1
Freezes randomly. (no mouse, no keyboard, no network).
Will try ACPI & APM off and 2.4.20
Freezes with or without power plugged.
 
Old 04-03-2003, 12:46 PM   #5
debphreak
LQ Newbie
 
Registered: Apr 2003
Posts: 8

Rep: Reputation: 0
sometimes apm is evil even windows systems can become unstable from it.

might i suggest looking at readhats site to see if its a global issue also try killing the apmd deamon and unplugging power and see if it becomes unstable while not not running apm at all

this will help test for the possibility that the systems apm could be incompatable with the linux apm commands .

could also be a bios issue from factory . maybe the latest bios is in order

hope this helps to give you some leads
 
Old 04-03-2003, 12:55 PM   #6
tcaptain
LQ Addict
 
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

Rep: Reputation: 45
just to clarify, since I run on a laptop too.

If you use ACPI you shouldn't use APM? I thought they were two different things?
 
Old 04-19-2003, 12:05 PM   #7
Machinegun
Member
 
Registered: Jan 2003
Posts: 56

Rep: Reputation: 15
Hi all,

I have RH8 Kernel 2.4.20, APIC installed and have the same problem than Pablo. My laptop freeze when battery gets uncharged, or if I have the charger plugged and I unplug it
 
Old 04-20-2003, 08:47 AM   #8
pablob
Member
 
Registered: Apr 2003
Location: Madrid
Distribution: RHEL, Kubuntu, Solaris, TRU64
Posts: 382

Rep: Reputation: 31
Beware it is not the same thing APIC and ACPI.
I compiled a kernel without APM or ACPI at all.
Since then, I've got no hangs BUT my 2hours battery only lives for 20 minutes. I'll wait for another hang (if it comes), and will test some other things.
 
  


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
Batteries not working super_teds Linux - Laptop and Netbook 2 07-17-2005 07:28 PM
Li-Ion charger, Ni-mh batteries. hack124x768 Linux - Hardware 4 02-17-2005 12:31 AM
Batteries - What everyone should know about them! quadophile General 2 04-27-2004 11:15 PM
Two batteries lacerto Linux - Laptop and Netbook 1 11-05-2003 07:55 AM
About batteries (for digital hinote vp) Pres Linux - Laptop and Netbook 2 09-06-2003 03:05 PM


All times are GMT -5. The time now is 01:04 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration