Hi,
you said "all sorts of keyboard combinations" but maybe it is worth a try. I 
had a similar case where it actually enabled the display, but at brightness 0 - 
you might not accidentally have the same case? I could get it on by using the 
FN keys to increase brightness in those cases.

Another question would be if you never close the lid, but suspend via SW.
And next day you wakeup via the alarm (while the lid was still open when 
sleeping) - is it then waking up normally with display enabled?

Finally - I beg your pardon as I'm not an expert on this - but the following 
could enable it.
You might need tweaks to actually "reach" your xorg, but I'm sure you can do 
that. Once you did call:
 $ xset dpms force off
That should disable the power saving blank that your screen is in.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pm-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1705551

Title:
  close lid suspends correctly and wakealarm resumes from suspend to run
  cron jobs but opening lid reveals no display

Status in pm-utils package in Ubuntu:
  Incomplete

Bug description:
  [Problem]

  When I close the laptop lid, pm-action runs the following code which I
  have added:

  sh -c "echo 0 > /sys/class/rtc/rtc0/wakealarm" # clear alarm
  sh -c "echo `date '+%s' -d '7am next day + 30 minutes'` > 
/sys/class/rtc/rtc0/wakealarm" # set alarm

  and then suspends. At 7:30 AM the next day, the laptop resumes from
  suspend with the lid closed and executes cron jobs (e.g. some
  backups). If I open the lid then there is no display. I tried several
  options to resume the display:

  - [FAILS] all sorts of keyboard combinations
  - [FAILS] ssh -X into laptop and execute "sudo -u bierre env DISPLAY=:0 
/usr/bin/xrandr --auto" (n.b. when I run "sudo -u bierre env" there is no 
DISPLAY variable)
  - [MANUAL HACK] closing the lid causes the laptop to suspend and then opening 
the lid causes it to resume with a normal working display

  I would like a solution or SOFTWARE HACK which I could add to /usr/lib
  /pm-utils/sleep.d/99video during resume from suspend triggered by
  wakealarm so that opening the lid would reveal a working display.

  [Laptop System Information]

  laptop = MacBookPro5,5
  pm-utils version = 1.4.1-13ubuntu0.2
  kernel = Linux version 3.19.0-32-generic (buildd@lgw01-43) (gcc version 4.8.2 
(Ubuntu 4.8.2-19ubuntu1) ) #37~14.04.1-Ubuntu SMP Thu Oct 22 09:41:40 UTC 2015
  OS = "Linux Mint 17.3 Rosa" based on "14.04.3 LTS, Trusty Tahr"
  desktop environment = XFCE
  video card = NVIDIA Corporation C79 [GeForce 9400M] (rev b1) (prog-if 00 [VGA 
controller])
  video driver = [633938.944] (II) NOUVEAU(0): Output LVDS-1

  [Additional Information]

  After my cron backup job is finished it will check if the lid is
  closed. If it is closed then it will run pm-suspend. If I then open
  the lid, the laptop resumes with a normal working display. So the
  problem of no visible display occurs only when I open the lid after
  resume from wakealarm and before the backup job suspends the laptop.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/1705551/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to