google-code-export / vaio-f11-linux

Automatically exported from code.google.com/p/vaio-f11-linux
1 stars 1 forks source link

AC adaptor not recognized when using Kubuntu 10.10 and KDE 4.6 #43

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Plug-in or remove the AC adaptor and see if power manager reacts to it. It 
won't.

What is the expected output? What do you see instead?

Power manager should be informed that ac adaptor has been (un-) plugged.

What version of the product are you using? On what operating system?

Kubuntu 10.10 with KDE 4.6

Please provide any additional information below.

I solved the problem by creating an acpi script, that listens for battery 
events (not ac), and then executes:

dbus-send --print-reply --system --dest=org.freedesktop.UPower \
/org/freedesktop/UPower/devices/line_power_AC \
org.freedesktop.UPower.Device.Refresh

Original issue reported on code.google.com by chausman...@googlemail.com on 3 Mar 2011 at 1:07