Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I found out a couple of days ago that my battery isn't working in Linux. After I remove the AC adaptor plug I get about 1-2 minutes before the power meter (both in KDE and Gnome) complains about the battery is about to die.
I'm guessing that's...huh...impossible. So maybe Linux is not reading the battery correctly.
I'm running Suse 10.2.
Can anyone help me by guiding me on discovering the root of the problem?
Installed acpitool.Odd behaviour of the power meter (both in the tool and in kpowersave):
Was at 100% for about a minute. Then it went from 100%:
Code:
Remaining capacity : 720335 mW, 100.0%
Design capacity : 25300 mWh
Last full capacity : 720335 mW
Present rate : 0 mW
Charging state : charged
Battery type : rechargeable, LIon
Model number : W5A
Serial number :
to 6-7% instantly!
Code:
Battery #1 : present
Remaining capacity : 48125 mWh, 6.68%, 01:18:28
Design capacity : 25300 mWh
Last full capacity : 720335 mW
Present rate : 36795 mW
Charging state : discharging
Battery type : rechargeable, LIon
Model number : W5A
Serial number :
Now it seems to be stable at 6- 6.7 % (been like that for...10 minutes now).
Kpowersave is blinking saying "low bat". How come the capacity decrease is not stable, ie, more or less constant?
$ acpitool -B
Battery #1 : present
Remaining capacity : 4004 mAh, 99.01%, 02:31:05
Design capacity : 4000 mAh
Last full capacity : 4044 mAh
Present rate : 1590 mA
Charging state : discharging
Battery type : rechargeable, Lion
Model number : Primary
[lenard@Aspire5100 ~]$ acpitool -B
Battery #1 : present
Remaining capacity : 4044 mAh, 100.0%, 00:00:00
Design capacity : 4000 mAh
Last full capacity : 4044 mAh
Present rate : 1270 mA
Charging state : charged
Battery type : rechargeable, Lion
Model number : Primary
I am sorry for the dummy question, but where is the kernel tree for Suse 10.2?
Quote:
If your kernel tree is not in /lib/modules/<kernel_version_you_use>/build,
you will have to edit the Makefile to change the line s
KDIR := /lib/modules/$(KVER)/build
to reflect the path to your kernel tree :
KDIR = </absolute_path_to_your_kernel_tree/>
I was trying to install acpi4asus version 0.40, but can't perform "make":
Code:
make -C driver
grep: /lib/modules/2.6.18.8-0.3-default/build/include/linux/autoconf.h: No such file or directory
grep: /lib/modules/2.6.18.8-0.3-default/build/include/linux/autoconf.h: No such file or directory
grep: /lib/modules/2.6.18.8-0.3-default/build/include/linux/autoconf.h: No such file or directory
grep: /lib/modules/2.6.18.8-0.3-default/build/include/linux/autoconf.h: No such file or directory
make[1]: Entering directory `/home/miguel/bin/acpi4asus-0.41/acpi4asus-0.40/driver'
Kernel configuration :
CONFIG_BACKLIGHT_CLASS_DEVICE : [ ]
CONFIG_LEDS_CLASS : [ ]
make -C /lib/modules/2.6.18.8-0.3-default/build SUBDIRS=/home/miguel/bin/acpi4asus-0.41/acpi4asus-0.40/driver modules
make[2]: Entering directory `/usr/src/linux-2.6.18.8-0.3-obj/i386/default'
make[2]: *** No rule to make target `modules'. Stop.
make[2]: Leaving directory `/usr/src/linux-2.6.18.8-0.3-obj/i386/default'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/miguel/bin/acpi4asus-0.41/acpi4asus-0.40/driver'
make: *** [build] Error 2
My /lib/modules/2.6.18.8-0.3-default/build dir only has a Module.symvers file...
You can also build your own custom kernel, I have found that building a vanilla kernel is sometimes better then for my systems then kernels supplied by the vendor;
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.