[Bug 321100] Re: acpid steals powerbutton events from powerdevil

2009-04-26 Thread Malte S. Stretz
This is the same as bug 268734 and both have a (slightly different)
patch. Not sure which to mark as a dup of the other :)

-- 
acpid steals powerbutton events from powerdevil
https://bugs.launchpad.net/bugs/321100
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 321100] Re: acpid steals powerbutton events from powerdevil

2009-04-26 Thread Malte S. Stretz
*** This bug is a duplicate of bug 268734 ***
https://bugs.launchpad.net/bugs/268734

Here is the above change as a patch (from Tom Chiverton on bug 288639).

** Attachment added: powerbtn.sh.patch
   http://launchpadlibrarian.net/25994177/powerbtn.sh.patch

-- 
acpid steals powerbutton events from powerdevil
https://bugs.launchpad.net/bugs/321100
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 321100] Re: acpid steals powerbutton events from powerdevil

2009-04-26 Thread Darwin Bautista
*** This bug is a duplicate of bug 268734 ***
https://bugs.launchpad.net/bugs/268734

** This bug has been marked a duplicate of bug 268734
   immediate shutdown after pressing shutdown button

-- 
acpid steals powerbutton events from powerdevil
https://bugs.launchpad.net/bugs/321100
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 321100] Re: acpid steals powerbutton events from powerdevil

2009-04-23 Thread emikaadeo
Yes, this script really solved the situation here.
Please devs, upload this.

-- 
acpid steals powerbutton events from powerdevil
https://bugs.launchpad.net/bugs/321100
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 321100] Re: acpid steals powerbutton events from powerdevil

2009-04-02 Thread Tom Chiverton
Re, attached replacement script.
Based on this test not printing 'kde':
if pidof gnome-power-manager kpowersave  /dev/null ||   (pidof dcopserver  
/dev/null  test -x /usr/bin/dcop  /usr/bin/dcop kded kded loadedModules | 
grep -q klaptopdaemon | pidof kded4  /dev/null) ; then echo kde; fi
I think maybe the test should be like this (note brackets and double bars):
if pidof gnome-power-manager kpowersave  /dev/null ||
  (pidof dcopserver  /dev/null  test -x /usr/bin/dcop  /usr/bin/dcop kded 
kded loadedModules | grep -q klaptopdaemon) || pidof kded4  /dev/null ; then
exit
fi

** Attachment added: powerbtn.sh
   http://launchpadlibrarian.net/24705120/powerbtn.sh

-- 
acpid steals powerbutton events from powerdevil
https://bugs.launchpad.net/bugs/321100
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 321100] Re: acpid steals powerbutton events from powerdevil

2009-04-01 Thread Tom Chiverton
I made the same patch in the 8.10 version of this bug, but there's been
no sign anyone cares about fixing that either.

-- 
acpid steals powerbutton events from powerdevil
https://bugs.launchpad.net/bugs/321100
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 321100] Re: acpid steals powerbutton events from powerdevil

2009-02-28 Thread mrvanes
Recent updates in Jaunty overwrote my manual changes (apparently) and
the problem is back. Could this fix please be uploaded into the
repository please?

-- 
acpid steals powerbutton events from powerdevil
https://bugs.launchpad.net/bugs/321100
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 321100] Re: acpid steals powerbutton events from powerdevil

2009-02-28 Thread Michael Marley
I would if I could, but I can't.  Sorry.  We will have to wait for
someone who has the privileges to upload it.

-- 
acpid steals powerbutton events from powerdevil
https://bugs.launchpad.net/bugs/321100
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 321100] Re: acpid steals powerbutton events from powerdevil

2009-02-28 Thread mrvanes
I understand, but how are they notified?

-- 
acpid steals powerbutton events from powerdevil
https://bugs.launchpad.net/bugs/321100
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 321100] Re: acpid steals powerbutton events from powerdevil

2009-02-28 Thread Michael Marley
I can try sending a message to Chris Coulson, who was previously working
on the bug.  I think he has upload privileges.

-- 
acpid steals powerbutton events from powerdevil
https://bugs.launchpad.net/bugs/321100
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 321100] Re: acpid steals powerbutton events from powerdevil

2009-02-08 Thread Michael Marley
** Changed in: acpid (Ubuntu)
 Assignee: Michael Marley (thefirstm) = (unassigned)

-- 
acpid steals powerbutton events from powerdevil
https://bugs.launchpad.net/bugs/321100
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 321100] Re: acpid steals powerbutton events from powerdevil

2009-02-07 Thread Michael Marley
OK, this seems to be fixed now.  Could someone with upload privileges
upload it, please?

-- 
acpid steals powerbutton events from powerdevil
https://bugs.launchpad.net/bugs/321100
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 321100] Re: acpid steals powerbutton events from powerdevil

2009-02-07 Thread Steve Langasek
** Changed in: acpid (Ubuntu)
Sourcepackagename: acpi-support = acpid

-- 
acpid steals powerbutton events from powerdevil
https://bugs.launchpad.net/bugs/321100
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 321100] Re: acpid steals powerbutton events from powerdevil

2009-01-31 Thread Michael Marley
** Changed in: acpi-support (Ubuntu)
   Status: Triaged = In Progress

-- 
acpid steals powerbutton events from powerdevil
https://bugs.launchpad.net/bugs/321100
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 321100] Re: acpid steals powerbutton events from powerdevil

2009-01-31 Thread mrvanes
I can confirm that it fixes the problem! Thx.

-- 
acpid steals powerbutton events from powerdevil
https://bugs.launchpad.net/bugs/321100
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 321100] Re: acpid steals powerbutton events from powerdevil

2009-01-30 Thread Chris Coulson
Ok, someone else might have to take a look at it instead. I thought it
would be a trivial fix, but I don't know enough about KDE to implement
it ;)

** Changed in: acpi-support (Ubuntu)
 Assignee: Chris Coulson (chrisccoulson) = (unassigned)
   Status: In Progress = Triaged

-- 
acpid steals powerbutton events from powerdevil
https://bugs.launchpad.net/bugs/321100
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 321100] Re: acpid steals powerbutton events from powerdevil

2009-01-30 Thread Michael Marley
I know how to write bash scripts pretty well, so I will take a look at
this.

** Changed in: acpi-support (Ubuntu)
 Assignee: (unassigned) = Michael Marley (thefirstm)

-- 
acpid steals powerbutton events from powerdevil
https://bugs.launchpad.net/bugs/321100
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 321100] Re: acpid steals powerbutton events from powerdevil

2009-01-30 Thread Michael Marley
OK, I think I have this working now.  Since (at least in KDE4)
PowerDevil does not have its own daemon, there is no way to check to see
if PowerDevil is running.  Instead, my modified script also checks to
see if kded4 (which I believe is specific to KDE4) is running, and if it
is, the script exits, allowing PowerDevil to handle the event.  I
attached the script.  It would be nice if somebody could also test it on
a Gnome system to make sure it doesn't interfere with that.

** Attachment added: powerbtn.sh
   http://launchpadlibrarian.net/21833926/powerbtn.sh

-- 
acpid steals powerbutton events from powerdevil
https://bugs.launchpad.net/bugs/321100
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 321100] Re: acpid steals powerbutton events from powerdevil

2009-01-28 Thread Chris Coulson
I'll take a look at this

** Changed in: acpi-support (Ubuntu)
   Status: Confirmed = Triaged

** Changed in: acpi-support (Ubuntu)
 Assignee: (unassigned) = Chris Coulson (chrisccoulson)
   Status: Triaged = In Progress

-- 
acpid steals powerbutton events from powerdevil
https://bugs.launchpad.net/bugs/321100
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 321100] Re: acpid steals powerbutton events from powerdevil

2009-01-25 Thread Chris Coulson
Thank you for your bug report. Could you please do the following:

1) Stop acpid (sudo /etc/init.d/acpid stop).
2) Run sudo cat /proc/acpi/event
3) Press your power button and paste any terminal output it to this bug report.

Thanks

** Changed in: acpid (Ubuntu)
   Status: New = Incomplete

-- 
acpid steals powerbutton events from powerdevil
https://bugs.launchpad.net/bugs/321100
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 321100] Re: acpid steals powerbutton events from powerdevil

2009-01-25 Thread mrvanes
# cat /proc/acpi/event
button/power PBTN 0080 0001
^C

There's a minor change in the original bug since recent updates:
I *do* see the logout/restart/poweroff dialog for a very short time now, I just 
don't have the choice...

So powerdevil probably sees the event, but acpid takes over after that.

-- 
acpid steals powerbutton events from powerdevil
https://bugs.launchpad.net/bugs/321100
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 321100] Re: acpid steals powerbutton events from powerdevil

2009-01-25 Thread Chris Coulson
Thanks, that looks like an acpi-support bug

** Changed in: acpid (Ubuntu)
   Importance: Undecided = Medium
   Status: Incomplete = Confirmed

-- 
acpid steals powerbutton events from powerdevil
https://bugs.launchpad.net/bugs/321100
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 321100] Re: acpid steals powerbutton events from powerdevil

2009-01-25 Thread Chris Coulson
Thanks, that looks like an acpi-support bug

** Changed in: acpi-support (Ubuntu)
Sourcepackagename: acpid = acpi-support

-- 
acpid steals powerbutton events from powerdevil
https://bugs.launchpad.net/bugs/321100
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs