LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
LinkBack Search this Thread
Old 08-04-2007, 02:44 PM   #16
tramni1980
Member
 
Registered: Jul 2006
Location: Sofia, Bulgaria
Distribution: Slackware 13.37
Posts: 707

Rep: Reputation: 35

Quote:
Originally Posted by BCarey
You could find this out with the command "modprobe -l | grep acpi". "modprobe -l" lists all of the available modules. You might be interested in fan and button as well.

Brian
Will this work with 2.6.21.5-smp? I loaded these modules, but no battery appeared in the taskbar. Does this only work with huge?
 
Old 08-04-2007, 03:03 PM   #17
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,295

Rep: Reputation: Disabled
The modprobe command will list modules available for the running kernel, and works with any kernel.

Perhaps I misunderstand your question.

Brian
 
Old 08-05-2007, 03:47 AM   #18
tramni1980
Member
 
Registered: Jul 2006
Location: Sofia, Bulgaria
Distribution: Slackware 13.37
Posts: 707

Rep: Reputation: 35
Quote:
Originally Posted by BCarey
The modprobe command will list modules available for the running kernel, and works with any kernel.

Perhaps I misunderstand your question.

Brian
I did
modprobe -l | grep acpi

and loaded the suggested modules. However when I go to KDE's Control Center -> Power Control -> Laptop battery
it still says:
Your computer seems to have a partial ACPI installation. ACPI was probably enabled, but some of the sub-options were not - you need to enable at least 'AC Adaptor' and 'Control Method Battery' and then rebuild your kernel.

and when I click on: "Start BAttery monitor" nothing happens, no battery appears in the taskbar as it should ...
 
Old 08-05-2007, 04:19 AM   #19
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,068
Blog Entries: 4

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
Quote:
Originally Posted by tramni1980
Your computer seems to have a partial ACPI installation. ACPI was probably enabled, but some of the sub-options were not - you need to enable at least 'AC Adaptor' and 'Control Method Battery' and then rebuild your kernel.
Seems to be the message you need.

Recompiling a kernel is now very easy, you just need to be careful and read the help screens on things you plan to enable/disable. Don't fear the recompile!
 
Old 08-05-2007, 05:09 PM   #20
iiv
Member
 
Registered: Jun 2007
Location: Russia, Moscow Region
Distribution: Slackware
Posts: 167

Rep: Reputation: 30
Did almost everything you mentioned, but no luck. I have only /proc/acpi/battery/BAT1, not BAT0 there. My laptop has the ability of plugging an additional battery, so it somehow wants to be BAT1, but i don't have it installed. My dmesg | grep BAT says:
Code:
ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.PCI0.SBRG.EC0_.BATS] (Node dff23f18), AE_NOT_EXIST
ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.BAT0._STA] (Node dff263c4), AE_NOT_EXIST
ACPI: Battery Slot [BAT1] (battery absent)
it is true, that BAT1 is absent, i even don't have it. But what's about BAT0?
I have an ubuntu livecd, which i use to fix my system if it breaks terribly. I thought i've seen a battery icon there in gnome task bar, so i booted into live cd, and it was there, it worked.
What exactly modules should i take in? My kernel is not the default slackware-12.0 kernel, configured it myself.
 
Old 08-07-2007, 09:30 AM   #21
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,295

Rep: Reputation: Disabled
Quote:
Originally Posted by XavierP
Seems to be the message you need.

Recompiling a kernel is now very easy, you just need to be careful and read the help screens on things you plan to enable/disable. Don't fear the recompile!
Don't fear it, but you also shouldn't need to recompile in this case because the modules are already compiled for the stock kernels and just need to be loaded.

In my laptop I only have one battery and it appears as BAT1, not BAT0.

iiv,
If you are using a kernel you compiled yourself, did you compile the acpi stuff as modules or into the kernel? Try with the kernel-generic, modprobe the battery and ac modules, and check for error messages.

Brian
 
Old 09-02-2007, 02:40 AM   #22
iiv
Member
 
Registered: Jun 2007
Location: Russia, Moscow Region
Distribution: Slackware
Posts: 167

Rep: Reputation: 30
Quote:
Originally Posted by iiv View Post
Did almost everything you mentioned, but no luck. I have only /proc/acpi/battery/BAT1, not BAT0 there. My laptop has the ability of plugging an additional battery, so it somehow wants to be BAT1, but i don't have it installed. My dmesg | grep BAT says:
Code:
ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.PCI0.SBRG.EC0_.BATS] (Node dff23f18), AE_NOT_EXIST
ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.BAT0._STA] (Node dff263c4), AE_NOT_EXIST
ACPI: Battery Slot [BAT1] (battery absent)
it is true, that BAT1 is absent, i even don't have it. But what's about BAT0?
I have an ubuntu livecd, which i use to fix my system if it breaks terribly. I thought i've seen a battery icon there in gnome task bar, so i booted into live cd, and it was there, it worked.
What exactly modules should i take in? My kernel is not the default slackware-12.0 kernel, configured it myself.
it is bug in the kernel:
http://bugzilla.kernel.org/show_bug.cgi?id=8066
 
Old 10-08-2007, 07:16 PM   #23
Cyhaxor
Member
 
Registered: Nov 2004
Location: UK
Distribution: Fedora 12
Posts: 129

Rep: Reputation: 15
Quote:
Originally Posted by Nikosis View Post
Hi

modprobe ac
modprobe battery
modprobe processor
modprobe thermal

Now you should have in your Power Contron -> Laptop battery -> ACPI Config
Enable CPU throttling
YOU ROCK MAN!!!!!

Last edited by Cyhaxor; 10-08-2007 at 07:22 PM.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
laptop battery level monitor luisMxQsw Linux - Hardware 1 02-17-2006 11:55 AM
Battery Level; Wireless jeopardyracing Linux - Laptop and Netbook 6 09-16-2004 12:08 PM
problem with the battery level BlackBook Linux - Laptop and Netbook 2 03-27-2004 06:18 AM
Battery monitor not showing battery level? morrolan Linux - Laptop and Netbook 4 03-18-2004 04:42 AM
Battery level meter wzzrd Linux - Hardware 6 05-01-2003 03:09 PM


All times are GMT -5. The time now is 10:58 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
Open Source Consulting | Domain Registration