UPS - Power management

Hello everybody,

I’m using opensuse 11.2 x64 KDE 4.3.1 and my ups (CyberPower CP1500AVR) is not recognized by KDE Battery Widget. When i go to KDE Power Management (Personal Settings Configure Desktop) and choose Capabilities under “Number of Batteries” shows 1, so Power Management can see my battery (ups). When i go to /proc/acpi/ battery folder is missing, or if i type in terminal:


$ acpi -V

i get this:


No support for device type: battery
No support for device type: thermal
No support for device type: ac_adapter

after this command:


modprobe battery

battery folder appears in /proc/acpi and is empty.

With Ubuntu, Mint or openSuSe Gnome i do not have any problem with power management or battery (ups) recognition, however in openSuSE KDE this problem is present.

Does anybody knows how to fix this problem? Any input would be greatly appreciated.

Thank you in advance,
Kabel

Intel E8400
GigaByte GA-P35C-DS3R
Kingston 4GB DDR2 800
Hitachi HDS72161
GeForce 8600 GT

P.S.


lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 046d:c318 Logitech, Inc. Illuminated Keyboard
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 0764:0501 Cyber Power System, Inc. CP1500 AVR UPS
Bus 004 Device 003: ID 045e:00f5 Microsoft Corp. LifeCam VX-3000
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 002: ID 046d:c018 Logitech, Inc. Optical Wheel Mouse

Dear All,

Today i decided to boot from openSuSE 11.2 x64 Gnome live CD and as i said, gnome power manager works perfectly, my CP1500AVR is recognized, all power schemes work beautifully (on AC, on battery, suspend on ram, etc.) It made me thinking that is KDE related bug or problem.
But when i type in gnome terminal:

acpi -V

i get this:

No support for device type: battery
No support for device type: thermal
No support for device type: ac_adapter

I do not know, kind of weird. The same thing happened in KDE. That is why i have decided to ask for help.

For a minute i thought that is kernel(acpi) problem, but then both openSuSE 11.2 KDE and openSuSE 11.2 Gnome report the same thing. So, i think that is KDE bug, but the bed thing is that i do know how to fix it. I need some hints from guys.

The last KDE openSuSE distro that was working fine with my ups was 10.3.

Thank you,
Kabel

I have the same UPS and a very similar system overall, with the same motherboard and I only get this when I run acpi -v:

acpi 0.09

Copyright (C) 2001 Grahame Bowland.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Do you have lm-sensors configured and enabled? These aren’t on by default. Perhaps try running sensors-detect (I just accepted the defaults) and /etc/init.d/lm_sensors start.

Hey kdemello,

try “acpi -V” where “V” is capital letter. As far as lm-sensors, i do not have them installed, i will try that this evening.

Thank you,
Kabel

My bad. I have the same issue. I never noticed before.

I found that manually loading the battery, and ac modules gets rid of those errors, but the thermal module isn’t getting rid of the third.

I don’t know if they’re really necessary. The pwrstat software provided by cyberpower has worked fine for me in the past (only 1 power outage was long enough to trigger a shutdown).

I’m running OS 11.2, KDE also and have the same problem with the Same model UPS. Here’s what I get when running “acpi -V”:

bruces@linux-xzny:~> acpi -V
No support for device type: battery
     Thermal 1: ok, 29.0 degrees C
No support for device type: ac_adapter

My system is a dual core Pentium Acer desktop, so no ac adapter is no surprise. I’d like to find a solution to the UPS not being recognized also.

Here’s what happens with “lsusb”:

bruces@linux-xzny:~> lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 046d:c03d Logitech, Inc. M-BT96a Pilot Optical Mouse
**Bus 002 Device 003: ID 09ae:2007 Tripp Lite** 
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Haven’t tried the pwrstat software under 11.2 yet, however everything works under XP so I know the hardware is okay.

Hello,

This is the output from sensors:

kabel@kabel-PC:~> sensors
coretemp-isa-0000
Adapter: ISA adapter
Core 0:      +38.0°C  (high = +80.0°C, crit = +100.0°C)

coretemp-isa-0001
Adapter: ISA adapter
Core 1:      +38.0°C  (high = +80.0°C, crit = +100.0°C)

it8718-isa-0290
Adapter: ISA adapter
in0:         +1.12 V  (min =  +0.00 V, max =  +4.08 V)
in1:         +1.87 V  (min =  +0.00 V, max =  +4.08 V)
in2:         +3.30 V  (min =  +0.00 V, max =  +4.08 V)
in3:         +2.91 V  (min =  +0.00 V, max =  +4.08 V)
in4:         +0.19 V  (min =  +0.00 V, max =  +4.08 V)
in5:         +0.00 V  (min =  +0.00 V, max =  +4.08 V)   ALARM
in6:         +1.25 V  (min =  +0.00 V, max =  +4.08 V)
in7:         +3.15 V  (min =  +0.00 V, max =  +4.08 V)
Vbat:        +3.28 V
fan1:       1406 RPM  (min =    0 RPM)
fan2:          0 RPM  (min =    0 RPM)
fan3:          0 RPM  (min =    0 RPM)
fan4:          0 RPM  (min =    0 RPM)
temp1:       +44.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp2:       +33.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermal diode
temp3:        -2.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
cpu0_vid:   +2.050 V

and i tried to load the battery using:

kabel-PC:/home/kabel # modprobe battery
kabel-PC:/home/kabel # acpi -V
No support for device type: thermal
No support for device type: ac_adapter
kabel-PC:/home/kabel # modprobe ac_adapter
FATAL: Module ac_adapter not found.

But this does not do any good, my ups i not recognized, no matter what i do.

Thank you,
Kabel

I meant to say is that i don’t know how to fix it. I guess i was tired and i didn’t check what i wrote.