- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- How set battery indication for notebook
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2006 06:08 PM
03-23-2006 06:08 PM
How set battery indication for notebook
last week I bought new notebook :))), Acer Aspire and installed Debian Sarge on it.
But I have a problem abuot battery indication,
when I point my cursor on battery image on gnome desktop I got a message " No battery present" but battery is obviously inside,
I installed acpi and art of my kernel regarding to acpi is as follows
When I run acpi -t I got tempreture in C deegres,
acpi -t
Thermal 1: ok, 36.0 degrees C
how set a feature to indicate me about battery state,I just want to know how much energy I have inside it to prevent components demage caused by low voltage level.
Any help is welcomed
Thank you in advance
Kernel is 2.6.15.6
ACPI in kernel:
ACPI (Advanced Configuration and Power Interface) Support
#
CONFIG_ACPI=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
# CONFIG_ACPI_SLEEP_PROC_SLEEP is not set
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_VIDEO=y
# CONFIG_ACPI_HOTKEY is not set
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
CONFIG_ACPI_ASUS=m
# CONFIG_ACPI_IBM is not set
CONFIG_ACPI_TOSHIBA=m
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_SYSTEM=y
CONFIG_X86_PM_TIMER=y
# CONFIG_ACPI_CONTAINER is not set
lscpi output is as follows
debian:/# lspci
0000:00:00.0 Host bridge: Intel Corp. Mobile Memory Controller Hub (rev 03)
0000:00:02.0 VGA compatible controller: Intel Corp. Mobile Graphics Controller ( rev 03)
0000:00:02.1 Display controller: Intel Corp. Mobile Graphics Controller (rev 03)
0000:00:1d.0 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
0000:00:1d.1 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)
0000:00:1d.2 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)
0000:00:1d.3 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)
0000:00:1d.7 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB 2 EHCI Controller (rev 03)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev d3)
0000:00:1e.2 Multimedia audio controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH 6 Family) AC'97 Audio Controller (rev 03)
0000:00:1e.3 Modem: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 03)
0000:00:1f.0 ISA bridge: Intel Corp. 82801FBM (ICH6M) LPC Interface Bridge (rev 03)
0000:00:1f.1 IDE interface: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03)
0000:00:1f.3 SMBus: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Contro ller (rev 03)
0000:06:05.0 Network controller: Broadcom Corporation: Unknown device 4318 (rev 02)
0000:06:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C /8139C+ (rev 10)
0000:06:09.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller (rev 0 1)
debian:/#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2006 08:03 PM
03-23-2006 08:03 PM
Re: How set battery indication for notebook
Not just an ITRC user but an OS?!
I don't see the battery in any of the information above. You probably need kernel code that will make this recognized so you can do something about it.
You may not need to worry at all. 2.6.x is a modern kernel and probably is not going to do anything to damage your system. Some of this functionality is probably in the BIOS anyway.
Congrats on the new laptop.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2006 09:37 PM
03-23-2006 09:37 PM
Re: How set battery indication for notebook
I compilled my kernel and included necessary modules for ACPI.
Only I want make in order to monitor battery state is indication how much battery is full.
On link bellow I found a sentence
"""The battery monitor did not work (Gnome applet), and /proc/acpi/battery was empty. Adding the kernel option ec_burst=1 fixes that. The "apm" command (which works on my old Inspiron) used by the applet to suspend the system does not work as APM is not implemented. I'm not sure what the equivalent ACPI command is."""""
but I do not know how impement given solution in my case.
http://andrew.triumf.ca/linux-acer-AS3613CLi.html
Regards
PS: I choosed nickname debian111 because I use debian and after I start use it I know only for good things..
Debian is the best OS for me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2006 09:40 PM
03-23-2006 09:40 PM
Re: How set battery indication for notebook
debian:/proc/acpi# ls -l
total 0
dr-xr-xr-x 3 root root 0 2006-03-25 11:35 ac_adapter
-rw-r--r-- 1 root root 0 2006-03-25 11:35 alarm
dr-xr-xr-x 2 root root 0 2006-03-25 11:35 battery
dr-xr-xr-x 5 root root 0 2006-03-25 11:35 button
-r-------- 1 root root 0 2006-03-25 11:35 dsdt
dr-xr-xr-x 3 root root 0 2006-03-25 11:35 embedded_controller
-r-------- 1 root root 0 2006-03-25 11:16 event
-r-------- 1 root root 0 2006-03-25 11:35 fadt
dr-xr-xr-x 2 root root 0 2006-03-25 11:35 fan
-r--r--r-- 1 root root 0 2006-03-25 11:35 info
dr-xr-xr-x 2 root root 0 2006-03-25 11:35 power_resource
dr-xr-xr-x 3 root root 0 2006-03-25 11:35 processor
dr-xr-xr-x 3 root root 0 2006-03-25 11:35 thermal_zone
dr-xr-xr-x 3 root root 0 2006-03-25 11:35 video
-rw-r--r-- 1 root root 0 2006-03-25 11:35 wakeup
debian:/proc/acpi#
debian:/proc/acpi# cd battery/
debian:/proc/acpi/battery# ls -l
total 0
debian:/proc/acpi/battery#
There should be something inside battery directory, buh how set it to be there ?
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2006 10:00 PM
03-23-2006 10:00 PM
Re: How set battery indication for notebook
I solved battery problem
I added ec_burst=1 menu.lst file
in title Debian GNU/Linux, kernel 2.6.15.6 (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.15.6 root=/dev/hda1 ro single ec_burst=1
initrd /boot/initrd.img-2.6.15.6
savedefault
boot