Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Polskie forum (Polish) Instalacja i sprzęt
  • Search

Nie wykrywa baterii.

Pytania i problemy związane z instalacją Gentoo oraz sprzętem

Moderator: SlashBeast

Post Reply
  • Print view
Advanced search
8 posts • Page 1 of 1
Author
Message
tom000
n00b
n00b
Posts: 16
Joined: Sun Mar 19, 2006 3:33 pm
Contact:
Contact tom000
Website

Nie wykrywa baterii.

  • Quote

Post by tom000 » Tue Apr 11, 2006 12:07 pm

Moj linux ma problem z wykryciem baterii. Postepowalem zgodnie z tym: http://www.gentoo.org/doc/pl/power-management-guide.xml.
Jak chce sprawdzic stan baterii:

Code: Select all

grep capacity /proc/acpi/battery/BAT0/info
to wyskakuje mi informacje, ze nie znaleziono pliku.
I faktycznie go nie ma. uruchamiam:

Code: Select all

ls /proc/acpi/battery/
to sie okazuje, ze folder jest pusty.

acpi wykrywa mi zmiany w sposobie zasilania. Przy uruchomionym acpi_listen, po odlaczeniu i podlaczeniu zasilania dostaje informacje:

Code: Select all

ac_adapter ADP1 00000080 000000ff
ac_adapter ADP1 00000080 000000ff
. Z tego co wiem, to ADP1, to wlasnie zasilanie, ale nie dostaje informacji, ze przelaczono na baterie (nie wiem, czy powinna byc, ale wydaje mi sie ze tak).
Top
Raku
Bodhisattva
Bodhisattva
User avatar
Posts: 2374
Joined: Sat Feb 28, 2004 12:02 am
Location: Poland

  • Quote

Post by Raku » Tue Apr 11, 2006 12:57 pm

Moved from Polish to Instalacja i sprzęt.
raku

Powered by Archlinux ;-)
Top
joker
l33t
l33t
User avatar
Posts: 681
Joined: Sat May 03, 2003 8:20 pm
Location: www
Contact:
Contact joker
Website

  • Quote

Post by joker » Tue Apr 11, 2006 4:59 pm

a jaki to laptop?
http://amarok.org.pl | http://koffice.org.pl | http://kde.org.pl
Top
tom000
n00b
n00b
Posts: 16
Joined: Sun Mar 19, 2006 3:33 pm
Contact:
Contact tom000
Website

  • Quote

Post by tom000 » Tue Apr 11, 2006 7:38 pm

Uzywam Acer TravelMate z serii 2410. Dodam, ze w Ubuntu nie mialem problemow z bateria. Tzn nie wiem, czy byl tam ten folder/plik, ale wiem, ze mialem ikonke, ktora powiadamiala mnie ile baterii zostalo po odlaczeniu zasilania.

Dodam jeszcze log z /var/log/acpid po wyciagnieciu i wlożeniu zasilania:

Code: Select all

[Tue Apr 11 21:47:22 2006] received event "ac_adapter ADP1 00000080 000000ff"
[Tue Apr 11 21:47:22 2006] notifying client 7990[102:409]
[Tue Apr 11 21:47:22 2006] executing action "/etc/acpi/default.sh ac_adapter ADP1 00000080 000000ff"
[Tue Apr 11 21:47:22 2006] BEGIN HANDLER MESSAGES
[Tue Apr 11 21:47:23 2006] END HANDLER MESSAGES
[Tue Apr 11 21:47:23 2006] action exited with status 0
[Tue Apr 11 21:47:23 2006] completed event "ac_adapter ADP1 00000080 000000ff"
[Tue Apr 11 21:47:26 2006] received event "ac_adapter ADP1 00000080 000000ff"
[Tue Apr 11 21:47:26 2006] notifying client 7990[102:409]
[Tue Apr 11 21:47:26 2006] executing action "/etc/acpi/default.sh ac_adapter ADP1 00000080 000000ff"
[Tue Apr 11 21:47:26 2006] BEGIN HANDLER MESSAGES
[Tue Apr 11 21:47:26 2006] END HANDLER MESSAGES
[Tue Apr 11 21:47:26 2006] action exited with status 0
[Tue Apr 11 21:47:26 2006] completed event "ac_adapter ADP1 00000080 000000ff"

Edit by Poe
code && ort
Tomasz Chudyk
http://tom000.info/
Top
psycepa
Veteran
Veteran
User avatar
Posts: 1637
Joined: Mon Dec 27, 2004 6:00 pm
Location: Poland

  • Quote

Post by psycepa » Wed Apr 12, 2006 12:55 am

zapodaj moze konfig jadra, nieistotne rzeczy wytnij
pokaz co da

Code: Select all

/etc/init.d/acpid status
RLUNo. 376073
bo czytac, to trzeba ze zrozumieniem (c) by psycepa
"nigdy nie kloc sie z glupcem, najpierw sprowadzi cie do swojego poziomu a potem pokona doswiadczeniem"
"Life is complex. It has its real and imaginary part."
Top
tom000
n00b
n00b
Posts: 16
Joined: Sun Mar 19, 2006 3:33 pm
Contact:
Contact tom000
Website

  • Quote

Post by tom000 » Wed Apr 12, 2006 7:26 am

/etc/init.d/acpid status

Code: Select all

 * status:  started
/usr/src/linux/.config

Code: Select all

#
# Power management options (ACPI, APM)
#
CONFIG_PM=y
CONFIG_PM_LEGACY=y
CONFIG_PM_DEBUG=y

#
# ACPI (Advanced Configuration and Power Interface) Support
#
CONFIG_ACPI=y
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_VIDEO=y
# CONFIG_ACPI_HOTKEY is not set
CONFIG_ACPI_FAN=m
CONFIG_ACPI_PROCESSOR=m
CONFIG_ACPI_THERMAL=m
# 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_X86_PM_TIMER is not set
CONFIG_ACPI_CONTAINER=y

#
# APM (Advanced Power Management) BIOS Support
#
# CONFIG_APM is not set

#
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=y
# CONFIG_CPU_FREQ_DEBUG is not set
CONFIG_CPU_FREQ_STAT=y
# CONFIG_CPU_FREQ_STAT_DETAILS is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
# CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set

#
# CPUFreq processor drivers
#
CONFIG_X86_ACPI_CPUFREQ=m
# CONFIG_X86_POWERNOW_K6 is not set
# CONFIG_X86_POWERNOW_K7 is not set
# CONFIG_X86_POWERNOW_K8 is not set
# CONFIG_X86_GX_SUSPMOD is not set
# CONFIG_X86_SPEEDSTEP_CENTRINO is not set
# CONFIG_X86_SPEEDSTEP_ICH is not set
CONFIG_X86_SPEEDSTEP_SMI=y
# CONFIG_X86_P4_CLOCKMOD is not set
# CONFIG_X86_CPUFREQ_NFORCE2 is not set
# CONFIG_X86_LONGRUN is not set
# CONFIG_X86_LONGHAUL is not set

#
# shared options
#
# CONFIG_X86_ACPI_CPUFREQ_PROC_INTF is not set
CONFIG_X86_SPEEDSTEP_LIB=y
# CONFIG_X86_SPEEDSTEP_RELAXED_CAP_CHECK is not set
Tomasz Chudyk
http://tom000.info/
Top
RedHand
n00b
n00b
Posts: 48
Joined: Sun Apr 10, 2005 8:15 pm
Location: Police, Poland
Contact:
Contact RedHand
Website

  • Quote

Post by RedHand » Wed Apr 12, 2006 5:26 pm

A dodaj do startu kernelka taką opcję:

Code: Select all

ec_burst=1
Ja mam Aspire 5024 i musiałem takie coś dodać], że by móc odczytać stan baterii.
Top
tom000
n00b
n00b
Posts: 16
Joined: Sun Mar 19, 2006 3:33 pm
Contact:
Contact tom000
Website

  • Quote

Post by tom000 » Thu Apr 13, 2006 1:05 pm

RedHand wrote:A dodaj do startu kernelka taką opcję:

Code: Select all

ec_burst=1
Ja mam Aspire 5024 i musiałem takie coś dodać], że by móc odczytać stan baterii.
Dzieki, to pomogło.
Tomasz Chudyk
http://tom000.info/
Top
Post Reply
  • Print view

8 posts • Page 1 of 1

Return to “Instalacja i sprzęt”

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