LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-12-2009, 11:42 AM   #1
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,033

Rep: Reputation: 69
How do I recompile my kernel...


I am running Slackware 12.2 with Xfce 4.4.3 Desktop. I downloaded the xfce-battery-plugin-0.5.1 and slack packaged it into a .tgz and installpkg the tgz. It worked great. Then when I rebooted, it seems not to be accessing the sensors. The percentage and time remaining on the battery always read 0. Also, kacpid and acpid seem to be running find and battery module has been modprobed.

Also, I'm thinking I have to recompile the kernel because I know that apm support is not enabled. Not sure if that would fix the problem though. In any case how would I recompile a kernel? In the /boot dir are the config-kernel-xxx files. I'd edit those then what?

What else should I be looking at to get this xfce laptop battery plugin working again?

I know the title seems slightly off, I was just thinking, changed my thinking, but forgot to change the title. You can't edit the title.

Last edited by trist007; 03-12-2009 at 11:51 AM.
 
Old 03-12-2009, 11:47 AM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
You might want to change the topic title to something that actually has to do with your problem, it would make things a lot easier for people who are browsing the forums to help you.

Since it worked once with the default Slackware kernel previously, it seems pretty unlikely that is the problem.
 
Old 03-12-2009, 11:58 AM   #3
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,033

Original Poster
Rep: Reputation: 69
I've read other places that recompiling the kernel to work with apm instead of acpi may work. This xfce4-battery-plug is compatible with acpi and apm. I'm currently using kacpi and acpi. How would I recompile the kernel to use apm? I check the /boot for the config-(my kernel version) change the apm option, then what?

Also, will there be any other side effects of switching over to apm? Would my ati graphics card or wireless adapter have any problems?

Also, when I

cat /proc/acpi/battery/BAT1/info

it returns that the battery is not present.

My kernel is 2.6.27.7-smp

Last edited by trist007; 03-12-2009 at 12:29 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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel recompile, LILO warning and Kernel-panic Tux-Slack Slackware 26 02-26-2008 06:15 AM
kernel recompile error (kernel panic) tombaaaaa Linux - Newbie 4 08-04-2004 05:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:27 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