This worked fine in Karmic, and I can perfectly reproduce this on my
workstation on current lucid. I'll take a look at it.
I already fixed a bug with similar symptoms back in karmic, seems this
broke again in a slightly different way.
** Also affects: gnome-power-manager (Ubuntu Lucid)
Importa
Attached is the Makefile. Please let me know if this is the right
direction for resolving the issue.
** Attachment added: "Makefile"
http://launchpadlibrarian.net/41102756/Makefile
--
g-p-m acts when switching to console and back to x when lid is closed
https://bugs.launchpad.net/bugs/515465
The attached source checks via xrandr if an external display is
connected (named VGA or DVI). It does not work with drivers that don't
provide xrandr interface, e.g. the binary driver from nvidia.
** Attachment added: "detect-external-display.c"
http://launchpadlibrarian.net/41102727/detect-ext
It is not completely clear to me how to use xrandr to detect multiple
displays. On the command line it looks like the following will see if an
external display is connected:
$ xrandr | grep connected | grep -v disconnected | egrep "VGA|DVI"
--
g-p-m acts when switching to console and back to x w
Checking for a display could be done with xrandr. I'll have a look at
it.
--
g-p-m acts when switching to console and back to x when lid is closed
https://bugs.launchpad.net/bugs/515465
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
** Tags added: patch
--
g-p-m acts when switching to console and back to x when lid is closed
https://bugs.launchpad.net/bugs/515465
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.co
Thanks, but the patch seems quite a hacky solution, and very specific to
your hardware too (eg, I don't even have a
/sys/devices/platform/dock.0/docked when my laptop is docked). A more
robust check would be to see if there are any external monitors
connected.
--
g-p-m acts when switching to cons
The attached patch prevents a system from going to sleep when lid is
closed and it is docked. It contains a lot of debug output, just in
case.
** Patch added: "19-fix-docking.patch"
http://launchpadlibrarian.net/40808957/19-fix-docking.patch
--
g-p-m acts when switching to console and back to
Attached the requested debug output.
** Attachment added: "gpm.log"
http://launchpadlibrarian.net/39354424/gpm.log
--
g-p-m acts when switching to console and back to x when lid is closed
https://bugs.launchpad.net/bugs/515465
You received this bug notification because you are a member of Ubu
Thank you for your bug report. Please run "killall gnome-power-manager
&& gnome-power-manager --verbose 2>&1 | tee ~/gpm.log", then trigger the
issue and attach the resulting log file here.
Thanks
** Changed in: gnome-power-manager (Ubuntu)
Importance: Undecided => Medium
** Changed in: gnome
After killing gnome-power-manager the problem disappears.
--
g-p-m acts when switching to console and back to x when lid is closed
https://bugs.launchpad.net/bugs/515465
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mai
Setting the bug to confirmed after seeing it on two different systems.
** Summary changed:
- g-p-m acts when switching to console and back to x
+ g-p-m acts when switching to console and back to x when lid is closed
** Changed in: gnome-power-manager (Ubuntu)
Status: Incomplete => Confirm
12 matches
Mail list logo