Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-12-2009, 10:42 AM   #1
Senior Member
Registered: May 2008
Distribution: Slackware
Posts: 1,044

Rep: Reputation: 70
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 10:51 AM.
Old 03-12-2009, 10:47 AM   #2
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
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, 10:58 AM   #3
Senior Member
Registered: May 2008
Distribution: Slackware
Posts: 1,044

Original Poster
Rep: Reputation: 70
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

Last edited by trist007; 03-12-2009 at 11:29 AM.


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 05:15 AM
kernel recompile error (kernel panic) tombaaaaa Linux - Newbie 4 08-04-2004 04:32 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration