Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Other Distributions > Yoper Linux Help
Reload this Page can't use battery applet
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Yoper Linux Help Officially recognised support forum for Yoper Linux.

Reply
 
Thread Tools Display Modes
Old 12-13-2004   #1 (permalink)
Just Joined!
 
Join Date: Dec 2004
Posts: 3
can't use battery applet

Hi. I'm not able to use the KDE battery monitor applet. There seems to be some confusion in Yoper about ACPI. I'm running yoper 2.1 on a Dell Inspiron.

When I try to enable the applet in the "laptop battery" section of the KDE control center, I see a message about ACPI only being partially enabled and that I need to recompile the kernel with at least battery and ac options.

I saw another post (probably addressing an older version) that recommended typing:
modprobe battery
modprobe ac

These did not produce any errors and when I went back to KDE control center, I could now access the options under laptop battery. However, the applet still does not appear.

Here are some ACPI lines in dmesg:
...
Dell Inspiron with broken BIOS detected. Refusing to enable the local APIC.
ACPI: RSDP (v000 DELL ) @ 0x000f41a0
ACPI: RSDT (v001 DELL CPi R 0x27d10705 ASL 0x00000061) @ 0x0fff0000
ACPI: FADT (v001 DELL CPi R 0x27d10705 ASL 0x00000061) @ 0x0fff0400
ACPI: DSDT (v001 INT430 SYSFexxx 0x00001001 MSFT 0x0100000d) @ 0x00000000
ACPI: PM-Timer IO Port: 0x808
...
ACPI: Subsystem revision 20040326
ACPI: IRQ9 SCI: Edge set to Level Trigger.
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 *5 6 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
ACPI: Power Resource [PADA] (on)
...

There are more lines similar to above having to do with PCI interrupts.

I've installed a couple other distros (ubuntu, mandrake, mepis) that have no problem running that battery applet.

Any ideas?
Thanks.
bengladwell is offline   Reply With Quote
Old 12-16-2004   #2 (permalink)
Just Joined!
 
Join Date: Dec 2004
Posts: 3
Well, I got no replies here, but I foudn the answer anyway. Good thing yoper.com is back up.

The kernel modules are already compiled with the original kernel. They're just not loaded.

You have to
# modprobe ac
# modprobe battery

Put those commands in a simple script that sits in /etc/rc5.d (and any other run level you want) and it the battery applet starts up.

If you are already in KDE and you type those commands into a terminal, your battery applet won't start. KDE has to start after those modules are loaded. That's why in /etc/rc5.d, you want to name your script S30scriptname. The kde startup script is named S99kdm. Any script that you put in there (don't forget to make it executable) that you want to run before KDE should be named with S<number lower than 99> like S30scriptname.

If you want to test it out, log out of kde and log in to a plain command line session. Type those modprobe commands and then log back into KDE (all with out rebooting). The battery applet will work.

One more thing. There are other acpi modules that you can load up in your script. The ones that I included are
modprobe fan
modprobe processor
modprobe button
modprobe thermal

I'm don't know if this is all of the power control modules available or even what they do. I'm thinking that they have to do with enabling your computer to fall into hibernate or standby or whatever when certain conditions are met (like your processor gets too hot or something).
bengladwell is offline   Reply With Quote
Old 12-30-2004   #3 (permalink)
Just Joined!
 
Join Date: Oct 2004
Posts: 6
i am having serious troubles with a dell inspiron and yoper

i have xp and yoper on my dell but xp is inaccessible due to a major flub up on my part. anyway i wanted to install yoper on another partition because it has the 2.6 kernel which is sweet for backing up files off of xp partitiions. fortunatly i have all of them in one place and it should be easy...if only i could manage to get yoper to boot after instsall....since u seem to have pulled this off successfully maybe you could help???????????????????????
JayBoogie is offline   Reply With Quote
Old 12-30-2004   #4 (permalink)
Linux Guru
 
sarumont's Avatar
 
Join Date: Apr 2003
Location: /dev/urandom
Posts: 3,662
Quote:
Originally Posted by bengladwell
You have to
# modprobe ac
# modprobe battery

Put those commands in a simple script that sits in /etc/rc5.d (and any other run level you want) and it the battery applet starts up.
You can just add those modules that you want loaded at boot to your /etc/modules.autoload.d/kernel-2.6.


Quote:
Originally Posted by JayBoogie
i have xp and yoper on my dell but xp is inaccessible due to a major flub up on my part. anyway i wanted to install yoper on another partition because it has the 2.6 kernel which is sweet for backing up files off of xp partitiions. fortunatly i have all of them in one place and it should be easy...if only i could manage to get yoper to boot after instsall....since u seem to have pulled this off successfully maybe you could help???????????????????????
Please don't hijack threads.
sarumont is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
 

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 01:05 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0