Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PowerDevil problem ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
diver1
n00b
n00b


Joined: 20 Feb 2009
Posts: 5

PostPosted: Sat Feb 21, 2009 8:31 am    Post subject: PowerDevil problem ? Reply with quote

Hi. After compiling kde 4.2 i have problem with power management.
If i add battary widget - battary not recognized.


KDE control module:

Number of cpu: 0
Number of butteries: 0
CPU can be turnet of : "not available"

Power management console: "not available"
Scaling capability: not available
XSync Support: not available
XScreenSaver support : not available

Status:
PowerDevil was compiled without Xss and Xext support, or the XSync extension
is not available. Determining idle time will not be possible. Please
consider recompiling PowerDevil with at least one of these two libraries.
msgstr .

I have kernel with ACPI support.

rc-update -s
acpid | default
alsasound | boot
bootmisc | boot
checkfs | boot
checkroot | boot
clock | boot
consolefont | boot
hostname | boot
keymaps | boot
local | default nonetwork
localmount | boot
modules | boot
net.lo | boot
netmount | default
rmnologin | boot
urandom | boot
wicd | boot

Where i am wrong?
Back to top
View user's profile Send private message
Malvineous
Apprentice
Apprentice


Joined: 20 Oct 2006
Posts: 281
Location: Brisbane, Australia

PostPosted: Sat Feb 21, 2009 11:39 am    Post subject: Reply with quote

Have you loaded the kernel modules for ACPI batteries? Are other programs able to report battery info, or are they all broken?
Back to top
View user's profile Send private message
diver1
n00b
n00b


Joined: 20 Feb 2009
Posts: 5

PostPosted: Sat Feb 21, 2009 11:54 am    Post subject: Reply with quote

Code:

dmesg | grep ACPI
[    0.000000]  BIOS-e820: 000000005f6d0000 - 000000005f6df000 (ACPI NVS)
[    0.000000] ACPI: RSDP 000F7BF0, 0024 (r2 PTLTD )
[    0.000000] ACPI: XSDT 5F6D0B53, 009C (r1 ACRSYS ACRPRDCT  6040000 INNA        0)
[    0.000000] ACPI: FACP 5F6DBBD7, 00F4 (r3 INTEL  CRESTLNE  6040000 ALAN        1)
[    0.000000] ACPI: DSDT 5F6D2BE8, 8F7B (r2 INTEL  CRESTLNE  6040000 MSFT  3000000)
[    0.000000] ACPI: FACS 5F6DEFC0, 0040
[    0.000000] ACPI: HPET 5F6DBCCB, 0038 (r1 INTEL  CRESTLNE  6040000 LOHR       5A)
[    0.000000] ACPI: MCFG 5F6DBD03, 003C (r1 INTEL  CRESTLNE  6040000 LOHR       5A)
[    0.000000] ACPI: TCPA 5F6DBD3F, 0032 (r1 Intel   CRESTLN  6040000          5A52)
[    0.000000] ACPI: TMOR 5F6DBD71, 0026 (r1 PTLTD            6040000 PTL         3)
[    0.000000] ACPI: SLIC 5F6DBD97, 0176 (r1 ACRSYS ACRPRDCT  6040000 ANNI        1)
[    0.000000] ACPI: ASF! 5F6DBF0D, 0063 (r32 OEMID  OEMTBL    6040000 PTL         1)
[    0.000000] ACPI: APIC 5F6DBF70, 0068 (r1 PTLTD       APIC    6040000  LTP        0)
[    0.000000] ACPI: BOOT 5F6DBFD8, 0028 (r1 PTLTD  $SBFTBL$  6040000  LTP        1)
[    0.000000] ACPI: SSDT 5F6D2599, 064F (r1 SataRe  SataPri     1000 INTL 20050624)
[    0.000000] ACPI: SSDT 5F6D1F07, 0692 (r1 SataRe  SataSec     1000 INTL 20050624)
[    0.000000] ACPI: SSDT 5F6D1D3C, 01CB (r1 BrtRef  DD01BRT     1000 INTL 20050624)
[    0.000000] ACPI: SSDT 5F6D117B, 025F (r1  PmRef  Cpu0Tst     3000 INTL 20050624)
[    0.000000] ACPI: SSDT 5F6D10D5, 00A6 (r1  PmRef  Cpu1Tst     3000 INTL 20050624)
[    0.000000] ACPI: SSDT 5F6D0BEF, 04E6 (r1  PmRef    CpuPm     3000 INTL 20050624)
[    0.000000] ACPI: DMI detected: Acer
[    0.000000] ACPI: PM-Timer IO Port: 0x1008
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
[    0.000000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high edge)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] ACPI: IRQ0 used by override.
[    0.000000] ACPI: IRQ2 used by override.
[    0.000000] ACPI: IRQ9 used by override.
[    0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.005560] ACPI: Core revision 20080609
[    0.108183] ACPI: bus type pci registered
[    0.113484] ACPI: EC: Look up EC in DSDT
[    0.117669] ACPI: BIOS _OSI(Linux) query ignored via DMI
[    0.118937] ACPI: Interpreter enabled
[    0.118988] ACPI: (supports S0 S3 S4 S5)
[    0.119274] ACPI: Using IOAPIC for interrupt routing
[    0.120001] ACPI: EC: non-query interrupt received, switching to interrupt mode
[    0.153117] ACPI: EC: GPE = 0x17, I/O: command/status = 0x66, data = 0x62
[    0.153216] ACPI: EC: driver started in interrupt mode
[    0.153997] ACPI: PCI Root Bridge [PCI0] (0000:00)
[    0.157163] pci 0000:00:1f.0: quirk: region 1000-107f claimed by ICH6 ACPI/GPIO/TCO
[    0.160397] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[    0.160848] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP01._PRT]
[    0.161042] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP02._PRT]
[    0.161229] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP03._PRT]
[    0.161440] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIB._PRT]
[    0.179249] ACPI: PCI Interrupt Link [LNKA] (IRQs 10 *11)
[    0.179249] ACPI: PCI Interrupt Link [LNKB] (IRQs 10 *11)
[    0.179514] ACPI: PCI Interrupt Link [LNKC] (IRQs 10 *11)
[    0.179932] ACPI: PCI Interrupt Link [LNKD] (IRQs 10 *11)
[    0.180340] ACPI: PCI Interrupt Link [LNKE] (IRQs 10 *11)
[    0.180757] ACPI: PCI Interrupt Link [LNKF] (IRQs 10 *11)
[    0.181118] ACPI: PCI Interrupt Link [LNKG] (IRQs 10 *11)
[    0.181539] ACPI: PCI Interrupt Link [LNKH] (IRQs 10 *11)
[    0.182980] ACPI: WMI: Mapper loaded
[    0.183189] pnp: PnP ACPI init
[    0.183189] ACPI: bus type pnp registered
[    0.190085] pnp: PnP ACPI: found 11 devices
[    0.190181] ACPI: ACPI bus type pnp unregistered
[    0.191120] PCI: Using ACPI for IRQ routing
[    0.196332] ACPI: RTC can wake from S4
[    0.315989] ACPI: AC Adapter [ADP1] (on-line)
[    0.476265] ACPI: Battery Slot [BAT0] (battery present)
[    0.477959] ACPI: Power Button (FF) [PWRF]
[    0.483263] ACPI: Lid Switch [LID0]
[    0.484038] ACPI: Sleep Button (CM) [SLPB]
[    0.484544] ACPI: Extensa 5220 detected - disabling mwait for CPU C-states
[    0.485477] ACPI: SSDT 5F6D1A7E, 01F6 (r1  PmRef  Cpu0Ist     3000 INTL 20050624)
[    0.486314] ACPI: SSDT 5F6D13DA, 061F (r1  PmRef  Cpu0Cst     3001 INTL 20050624)
[    0.491515] ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
[    0.491863] processor ACPI0007:00: registered as cooling_device0
[    0.492826] ACPI: Processor [CPU0] (supports 8 throttling states)
[    0.496225] ACPI: SSDT 5F6D1C74, 00C8 (r1  PmRef  Cpu1Ist     3000 INTL 20050624)
[    0.496902] ACPI: SSDT 5F6D19F9, 0085 (r1  PmRef  Cpu1Cst     3000 INTL 20050624)
[    0.508315] ACPI: CPU1 (power states: C1[C1] C2[C2] C3[C3])
[    0.508653] processor ACPI0007:01: registered as cooling_device1
[    0.508751] ACPI: Processor [CPU1] (supports 8 throttling states)
[    0.550517] ACPI: Thermal Zone [TZS0] (56 C)
[    0.563723] ACPI: Thermal Zone [TZS1] (56 C)
[    0.568136] acer-wmi: Acer Laptop ACPI-WMI Extras
[    3.915505] ACPI: I/O resource 0000:00:1f.3 [0x1c20-0x1c3f] conflicts with ACPI region SMBI [0x1c20-0x1c2f]
[    3.915643] ACPI: Device needs an ACPI driver


Code:

cat /proc/acpi/battery/BAT0/info
present:                 yes
design capacity:         4000 mAh
last full capacity:      3738 mAh
battery technology:      rechargeable
design voltage:          11100 mV
design capacity warning: 185 mAh
design capacity low:     129 mAh
capacity granularity 1:  56 mAh
capacity granularity 2:  3553 mAh
model number:            GRAPE32
serial number:           15903
battery type:            LION
OEM info:                SANYO


Code:

cat /proc/acpi/battery/BAT0/state
present:                 yes
capacity state:          ok
charging state:          charged
present rate:            0 mA
remaining capacity:      3738 mAh
present voltage:         12560 mV
Back to top
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Sat Apr 18, 2009 10:08 pm    Post subject: Reply with quote

works through hald I believe and you dont have that running.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum