Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

acpi problem with battery/charging

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
2 posts • Page 1 of 1
Author
Message
agentblue
Tux's lil' helper
Tux's lil' helper
Posts: 92
Joined: Thu Jul 07, 2005 12:16 am
Location: Las Vegas

acpi problem with battery/charging

  • Quote

Post by agentblue » Tue Oct 03, 2006 9:51 pm

Hello all,
I am having a problem with my laptop, it doesnt know when the ac adapter is attached. it constantly thinks its running on battery power. it doesnt lose energy but it jus gives incorrect time remaining readings and never shows a plug in the gnome-battstat applet. i have compiled ac adapter acpi into the kernel and battery acpi my laptop is a hp dv1000. i am running acpid. anyway heres all relevant info. can someone please tell me why it doesnt know its charging or has an ac adapter attached. at one point it did know when there was an ac adapter attached. im not sure when it stopped working though.

kernel config:
etop ~ # cat /usr/src/linux/.config | grep ACPI
# Power management options (ACPI, APM)
# ACPI (Advanced Configuration and Power Interface) Support
CONFIG_ACPI=y
# CONFIG_ACPI_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 is not set
# CONFIG_ACPI_IBM is not set
# CONFIG_ACPI_TOSHIBA is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_SYSTEM=y
# CONFIG_ACPI_CONTAINER is not set
# CONFIG_X86_ACPI_CPUFREQ is not set
CONFIG_X86_SPEEDSTEP_CENTRINO_ACPI=y
# CONFIG_X86_ACPI_CPUFREQ_PROC_INTF is not set
# CONFIG_HOTPLUG_PCI_ACPI is not set
CONFIG_PNPACPI=y

state with ac adapter attached:
etop ~ # cat /proc/acpi/battery/BAT0/state
present: yes
capacity state: ok
charging state: discharging
present rate: 0 mA
remaining capacity: 2080 mAh
present voltage: 12395 mV

this is what happens when i remove and reattach the power cord and run tail -f /var/log/acpid:
[Wed Oct 4 14:23:16 2006] received event "processor CPU0 00000080 00000000"
[Wed Oct 4 14:23:16 2006] notifying client 8848[102:409]
[Wed Oct 4 14:23:16 2006] executing action "/etc/acpi/default.sh processor CPU0 00000080 00000000"
[Wed Oct 4 14:23:16 2006] BEGIN HANDLER MESSAGES
[Wed Oct 4 14:23:16 2006] END HANDLER MESSAGES
[Wed Oct 4 14:23:16 2006] action exited with status 0
[Wed Oct 4 14:23:16 2006] completed event "processor CPU0 00000080 00000000"
[Wed Oct 4 14:23:16 2006] received event "processor CPU0 00000081 00000000"
[Wed Oct 4 14:23:16 2006] notifying client 8848[102:409]
[Wed Oct 4 14:23:16 2006] executing action "/etc/acpi/default.sh processor CPU0 00000081 00000000"
[Wed Oct 4 14:23:16 2006] BEGIN HANDLER MESSAGES
[Wed Oct 4 14:23:16 2006] END HANDLER MESSAGES
[Wed Oct 4 14:23:16 2006] action exited with status 0
[Wed Oct 4 14:23:16 2006] completed event "processor CPU0 00000081 00000000"
[Wed Oct 4 14:23:16 2006] received event "battery BAT0 00000080 00000001"
[Wed Oct 4 14:23:16 2006] notifying client 8848[102:409]
[Wed Oct 4 14:23:16 2006] executing action "/etc/acpi/default.sh battery BAT0 00000080 00000001"
[Wed Oct 4 14:23:16 2006] BEGIN HANDLER MESSAGES
[Wed Oct 4 14:23:16 2006] END HANDLER MESSAGES
[Wed Oct 4 14:23:16 2006] action exited with status 0
[Wed Oct 4 14:23:16 2006] completed event "battery BAT0 00000080 00000001"
[Wed Oct 4 14:23:16 2006] received event "battery BAT0 00000080 00000001"
[Wed Oct 4 14:23:16 2006] notifying client 8848[102:409]
[Wed Oct 4 14:23:16 2006] executing action "/etc/acpi/default.sh battery BAT0 00000080 00000001"
[Wed Oct 4 14:23:16 2006] BEGIN HANDLER MESSAGES
[Wed Oct 4 14:23:16 2006] END HANDLER MESSAGES
[Wed Oct 4 14:23:16 2006] action exited with status 0
[Wed Oct 4 14:23:16 2006] completed event "battery BAT0 00000080 00000001"
[Wed Oct 4 14:23:16 2006] received event "battery BAT0 00000080 00000001"
[Wed Oct 4 14:23:16 2006] notifying client 8848[102:409]
[Wed Oct 4 14:23:16 2006] executing action "/etc/acpi/default.sh battery BAT0 00000080 00000001"
[Wed Oct 4 14:23:16 2006] BEGIN HANDLER MESSAGES
[Wed Oct 4 14:23:16 2006] END HANDLER MESSAGES
[Wed Oct 4 14:23:16 2006] action exited with status 0
[Wed Oct 4 14:23:16 2006] completed event "battery BAT0 00000080 00000001"
[Wed Oct 4 14:23:17 2006] received event "processor CPU0 00000080 00000000"
[Wed Oct 4 14:23:17 2006] notifying client 8848[102:409]
[Wed Oct 4 14:23:17 2006] executing action "/etc/acpi/default.sh processor CPU0 00000080 00000000"
[Wed Oct 4 14:23:17 2006] BEGIN HANDLER MESSAGES
[Wed Oct 4 14:23:17 2006] END HANDLER MESSAGES
[Wed Oct 4 14:23:17 2006] action exited with status 0
[Wed Oct 4 14:23:17 2006] completed event "processor CPU0 00000080 00000000"
[Wed Oct 4 14:23:17 2006] received event "processor CPU0 00000081 00000000"
[Wed Oct 4 14:23:17 2006] notifying client 8848[102:409]
[Wed Oct 4 14:23:17 2006] executing action "/etc/acpi/default.sh processor CPU0 00000081 00000000"
[Wed Oct 4 14:23:17 2006] BEGIN HANDLER MESSAGES
[Wed Oct 4 14:23:17 2006] END HANDLER MESSAGES
[Wed Oct 4 14:23:17 2006] action exited with status 0
[Wed Oct 4 14:23:17 2006] completed event "processor CPU0 00000081 00000000"
[Wed Oct 4 14:23:17 2006] received event "battery BAT0 00000080 00000001"
[Wed Oct 4 14:23:17 2006] notifying client 8848[102:409]
[Wed Oct 4 14:23:17 2006] executing action "/etc/acpi/default.sh battery BAT0 00000080 00000001"
[Wed Oct 4 14:23:17 2006] BEGIN HANDLER MESSAGES
[Wed Oct 4 14:23:17 2006] END HANDLER MESSAGES
[Wed Oct 4 14:23:17 2006] action exited with status 0
[Wed Oct 4 14:23:17 2006] completed event "battery BAT0 00000080 00000001"
[Wed Oct 4 14:23:20 2006] received event "battery BAT0 00000080 00000001"
[Wed Oct 4 14:23:20 2006] notifying client 8848[102:409]
[Wed Oct 4 14:23:20 2006] executing action "/etc/acpi/default.sh battery BAT0 00000080 00000001"
[Wed Oct 4 14:23:20 2006] BEGIN HANDLER MESSAGES
[Wed Oct 4 14:23:20 2006] END HANDLER MESSAGES
[Wed Oct 4 14:23:20 2006] action exited with status 0
[Wed Oct 4 14:23:20 2006] completed event "battery BAT0 00000080 00000001"

Im not sure if the battery itself is broken or if linux acpi is broken. anyways thanks for your time.
-Brandon
Top
agentblue
Tux's lil' helper
Tux's lil' helper
Posts: 92
Joined: Thu Jul 07, 2005 12:16 am
Location: Las Vegas

[solved]

  • Quote

Post by agentblue » Thu Oct 05, 2006 8:38 pm

Sorry guys that problem had to do with my laptops bios. A bios upgrade fixed it.
Top
Post Reply

2 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic