SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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?
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 ...
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!
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:
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.
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.
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:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.