Re: [Touch-packages] [Bug 1705551] Re: close lid suspends correctly and wakealarm resumes from suspend to run cron jobs but opening lid reveals no display

2017-07-22 Thread Pierre A. Fortier
I found a SOFTWARE HACK. In xfce, I created ctrl+alt+s as a keyboard application shortcut which runs "xrandr --auto". The black display now resumes correctly after pressing ctrl+alt+s. [Other Notes] I discovered how to run xset by setting the XAUTHORITY environement variable: sudo -u bierre env

Re: [Touch-packages] [Bug 1705551] Re: close lid suspends correctly and wakealarm resumes from suspend to run cron jobs but opening lid reveals no display

2017-07-21 Thread Pierre A. Fortier
Sorry, I forgot to make a correction to my [Additional Information] which I re-tested. 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 without a normal working display. So pm-suspend sus

Re: [Touch-packages] [Bug 1705551] Re: close lid suspends correctly and wakealarm resumes from suspend to run cron jobs but opening lid reveals no display

2017-07-21 Thread Pierre A. Fortier
Hi, With regards to "FN keys", I tried all the FN keys and Ctrl+Alt+FN keys and Esc and many others but nothing worked. With regards to "never close the lid, but suspend via SW", (1) while in xfce account I ran sudo pm-suspend which suspended the laptop and (2) I then pressed the shift key and th

[Touch-packages] [Bug 1705551] [NEW] close lid suspends correctly and wakealarm resumes from suspend to run cron jobs but opening lid reveals no display

2017-07-20 Thread Pierre A. Fortier
Public bug reported: [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.