[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: why sarge can't power off PC



On Wed, Aug 09, 2006 at 06:49:15 +0100, Wulfy wrote:
> Florian Kulzer wrote:

[...]

> >Try to modprobe "ac", "power" and "battery" and check if that makes any
> >difference.
> acpi-related modules in lsmod;
> 
> thermal                12816  0
> fan                     4044  0
> button                  6360  0
> processor              17392  1 thermal
> ac                      4876  0
> battery                 9484  0

I think that KDE should recognize that the AC adapter and the battery
ACPI modules are loaded. Let's check some ACPI functions: Do you have
the /proc/acpi/ac_adapter/ and /proc/acpi/battery/ directories? Test if
you can do things like:

$ cat /proc/acpi/ac_adapter/AC0/state
state:                   off-line

$ cat /proc/acpi/battery/BAT0/state
present:                 yes
capacity state:          ok
charging state:          discharging
present rate:            10850 mW
remaining capacity:      64694 mWh
present voltage:         11760 mV

$ cat /proc/acpi/battery/BAT0/info
present:                 yes
design capacity:         66640 mWh
last full capacity:      66640 mWh
battery technology:      rechargeable
design voltage:          14000 mV
design capacity warning: 6664 mWh
design capacity low:     3332 mWh
capacity granularity 1:  59976 mWh
capacity granularity 2:  56644 mWh
model number:            M2N
serial number:
battery type:            LIon
OEM info:                ASUSTEK

(The sub-directories might have different names on your system, but you
 should be able to get similar information about the AC adaptor and the
 battery.)

-- 
Regards,
          Florian



Reply to: