Another duplicate has shown up, I'm posting here comments from there:
Alex Midgley (alex-tapdancinggoats: 14) wrote on 2009-05-04: (permalink)
This bug seems to have moved into acpi in Jaunty. I have a Sony Vaio
VGN-CR520E, and the above fix
(https://bugs.launchpad.net/ubuntu/+source/hal/+bu
On a Sony Vaio CS11S if i unplug power i don't see any "ac_adapter"
messages in the lshal output, just this line:
computer_power_supply_battery_BAT1 property
battery.rechargeable.is_discharging = true
But "ac_adapter.present" changed from true to false (without notify in
the "-m" output). Also if
HP Pavilion dv6000t with same problem. For me this is really difficult
because I never get a low-battery warning and my auto-suspend never
happens... I've lost significant work and time due to this bug.
Workaround seems to work for me, however. Thanks!
** Changed in: hal (Ubuntu)
Status
** Changed in: hal (Ubuntu)
Importance: Undecided => Low
--
[Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
https://bugs.launchpad.net/bugs/213128
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-b
** Changed in: hal (Ubuntu)
Status: Incomplete => New
--
[Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
https://bugs.launchpad.net/bugs/213128
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-
Thanks Moebius, I put those on the sh files and the circle is now
complete.
Yeah, got guidance configured that way already, the problem is well, if HAL
doesn't know the laptop is unplugged guidance obviously can't do anything at
all, not even change the governor. At least on my laptop! So nothing
Luis,
for me hal changes the CPU freq scaling governor too.
However, you cannot edit the file
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor until you are in a root
environment (sudo will not work). So, to edit the file, just type:
sudo -i
echo "powersave" > /sys/devices/system/cpu/cpu0/c
Moebius, your workaround works lovely :) However there's one thing it
doesn't change: the cpu freq scaling governor.
So I was trying this out on the command line:
sudo echo powersave > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
but I get a "permission denied" error (using sudo wtf)...
Thanks Moebius, your workaround worked like a charm.
:)
--
[Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
https://bugs.launchpad.net/bugs/213128
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs
I don't understand why this hasn't been fixed yet. The worst part is that it
used to work fine until a change in hal happened, and I reported the bug
like a week after.
--
[Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
https://bugs.launchpad.net/bugs/213128
You receive
I've posted a workaround in a similar bug report...
https://bugs.launchpad.net/ubuntu/+source/hal/+bug/254603/comments/1
Hope it helps.
--
[Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
https://bugs.launchpad.net/bugs/213128
You received this bug notification because
** Attachment added: "Output from lshal when AC adaptor is unplugged"
http://launchpadlibrarian.net/17774291/unplugged
--
[Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
https://bugs.launchpad.net/bugs/213128
You received this bug notification because you are a memb
I've the following issues on a SONY VAIO VGN-CR323 Notebook:
- guidance-power-manager doesn't appear to be able to tell when the AC
adaptor is plugged in.
When plugged:
> cat /proc/acpi/ac_adapter/ACAD/state
state: on-line
> hal-find-by-capability --capability ac_adapter
/org
Same on inspiron 1100 w/ Hardy. Identical lshal/lshal -m outputs so not
attaching anything. I can do some tests if needed. Thanks.
--
[Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
https://bugs.launchpad.net/bugs/213128
You received this bug notification because you ar
I have almost identical problem (even made duplicate in #243243 ;) ).
I'm attaching lshal and lshal -m outputs.
** Attachment added: "lshal.txt"
http://launchpadlibrarian.net/15625919/lshal.txt
--
[Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
https://bugs.launch
** Attachment added: "lshal-m.txt"
http://launchpadlibrarian.net/15625951/lshal-m.txt
--
[Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
https://bugs.launchpad.net/bugs/213128
You received this bug notification because you are a member of Ubuntu
Bugs, which is subsc
Same problem here on a Dell Inspiron 5160 and Hardy.
lshal reports
ac_adapter.present = true
even when unplugged. Battery charging/discharging state is reported correctly,
though.
--
[Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
https://bugs.launchpad.net/bugs/2131
Guidance-Power-Manger doesn't recognize if mains is plugged out and
battery put in (to save battery lifetime I always plug the battery of if
it isn't needed) in hibernate/suspend-to-disc mode. I have to restart
the power manager that the battery is detected and the battery profile
gets enabled.
Is
Same Problems on Acer TravelMate C300
HAL does detect when power is unplugged. lshal -m shows correct output but the
command
hal-get-property --udi `hal-find-by-capability --capability ac_adapter` --key
ac_adapter.present
returns true in both cases (plugged or unplugged)
--
[Hardy] Guidance-po
Well, sort of :) unplugging from mains has got the effect of changing the
screen brightness straight away, however the CPU governor takes a long while
to switch, if it actually does :)
** Attachment added: "unnamed"
http://launchpadlibrarian.net/13865151/unnamed
--
[Hardy] Guidance-power-man
Luimama, your hack works for me.
2008/4/24 Louimama <[EMAIL PROTECTED]>:
> Ok. I did a quick and dirty hack. Now that works on my machine. Of
> course this issue should be resolved in hal, but at least it works. Edit
> /usr/share/python-support/kde-guidance-powermanager/powermanage.py and
> chang
Ok. I did a quick and dirty hack. Now that works on my machine. Of
course this issue should be resolved in hal, but at least it works. Edit
/usr/share/python-support/kde-guidance-powermanager/powermanage.py and
change the function onBattery to look that way
def onBattery(self):
""" Find ou
Luka, this bug is marked as incomplete, but the output you asked has
been provided. Do you need anything else ?
--
[Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
https://bugs.launchpad.net/bugs/213128
You received this bug notification because you are a member of Ubunt
I've got the same problem on a VAIO FZ160E. Seems to be a common problem
on Vaios : see bug #216345 .
Hal reports if battery is charging or discharging as well as the
remaining power. Maybe guidance-power-manager should rely on those info
to switch between power management policies.
Any chance it
I think it's a hal issue that has to be solved there.
** Changed in: hal (Ubuntu)
Sourcepackagename: kde-guidance => hal
--
[Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
https://bugs.launchpad.net/bugs/213128
You received this bug notification because you are a membe
Glad you found out where the problem lies :) Is there anything else I can
do? try out a patch, anything?
On 07/04/2008, awen <[EMAIL PROTECTED]> wrote:
>
> Found the problem myself; discard the previous message. Tried to do the
> diff thing too, and that didn't really show what expected.
>
> >From
Found the problem myself; discard the previous message. Tried to do the
diff thing too, and that didn't really show what expected.
>From the lshal.unplugged file:
ac_adapter.present = true (bool)
The problem is, that your AC adapter is reported as present (eg. plugged
in) by HAL even when it is
@Luis
Can I please have you provide the output (if any) of the following command:
"hal-find-by-capability --capability ac_adapter"
Does the above output change whether you are on AC or on battery?
If it exists, please provide the output of the following command when plugged
to AC and when on batt
Sorry, forgot to add that last night a new kernel was installed with no
change regarding this problem:
[EMAIL PROTECTED]:~$ uname -a
Linux ordenata 2.6.24-15-generic #1 SMP Fri Apr 4 03:48:31 UTC 2008 i686
GNU/Linux
--
[Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
h
lshal -m (exec when connected, then disconnect, then connect again)
[EMAIL PROTECTED]:~$ lshal -m
Start monitoring devicelist:
-
23:00:54.235: computer_power_supply_battery_BAT0 property
battery.remaining_time = 3778 (0xec2)
23:00:54.243: computer_
And lshal unplugged.
This is the diff of them both, it seems that HAL knows when the status
changes:
[EMAIL PROTECTED]:~$ diff lshal.plugged lshal.unplugged
297,299c297,299
< battery.rechargeable.is_charging = true (bool)
< battery.rechargeable.is_discharging = false (bool)
< battery.rema
Luka, this is lshal plugged
** Attachment added: "lshal.plugged"
http://launchpadlibrarian.net/13183723/lshal.plugged
--
[Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
https://bugs.launchpad.net/bugs/213128
You received this bug notification because you are a membe
Can you provide "lshal" when plugged and when unplugged, to see if HAL
has proper information?
You can also run "lshal -m" and plug/unplug power supply to see if
anything is printed to console output.
** Changed in: kde-guidance (Ubuntu)
Assignee: (unassigned) => Luka Renko (lure)
Sta
"The kde applet for the power manager doesn't seem to know when the
battery is unplugged or not"
Sorry, what I meant is "when the laptop is connected to the mains or
not"
--
[Hardy] Guidance-power-manager doesn't know when laptop is mains unplugged
https://bugs.launchpad.net/bugs/213128
You rece
34 matches
Mail list logo