[Bug 1471708] Re: SRU: For skylake system, u-s-d cause a black screen when resume from S3 via Lid Close

2015-09-16 Thread Launchpad Bug Tracker
This bug was fixed in the package unity-settings-daemon -
14.04.0+14.04.20150825-0ubuntu1

---
unity-settings-daemon (14.04.0+14.04.20150825-0ubuntu1) trusty; urgency=medium

  [ Alberto Milone ]
  * Make touchscreen mapping non-blocking, and kill it if it takes more
than 3 seconds; finally, in case of failure, try again after a few
seconds. This helps on resume from S3 (LP: #1471708). (LP: #1471708)

 -- CI Train Bot   Tue, 25 Aug 2015 09:20:43
+

** Changed in: unity-settings-daemon (Ubuntu Trusty)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1471708

Title:
  SRU: For skylake system, u-s-d cause a black screen when resume from
  S3 via Lid Close

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1471708/+subscriptions

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


[Bug 1471708] Re: SRU: For skylake system, u-s-d cause a black screen when resume from S3 via Lid Close

2015-09-16 Thread Ara Pulido
** Changed in: oem-priority
   Status: Triaged => Fix Released

** Changed in: oem-priority/trusty
   Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1471708

Title:
  SRU: For skylake system, u-s-d cause a black screen when resume from
  S3 via Lid Close

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1471708/+subscriptions

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


[Bug 1471708] Re: SRU: For skylake system, u-s-d cause a black screen when resume from S3 via Lid Close

2015-09-11 Thread Marc Deslauriers
** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1471708

Title:
  SRU: For skylake system, u-s-d cause a black screen when resume from
  S3 via Lid Close

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1471708/+subscriptions

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


[Bug 1471708] Re: SRU: For skylake system, u-s-d cause a black screen when resume from S3 via Lid Close

2015-08-31 Thread Tammy Yang
Issue has been verified on one Dell platform. 
Tried open/close lid to suspend and resume for more than 20 times, cannot 
re-produce the issue.

Since the HW has not yet been shipped, more details please see
https://bugs.launchpad.net/somerville/+bug/1466441/comments/53

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1471708

Title:
  SRU: For skylake system, u-s-d cause a black screen when resume from
  S3 via Lid Close

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1471708/+subscriptions

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


[Bug 1471708] Re: SRU: For skylake system, u-s-d cause a black screen when resume from S3 via Lid Close

2015-08-27 Thread Launchpad Bug Tracker
This bug was fixed in the package unity-settings-daemon -
15.04.1+15.10.20150825-0ubuntu1

---
unity-settings-daemon (15.04.1+15.10.20150825-0ubuntu1) wily; urgency=medium

  [ Alberto Milone ]
  * Make touchscreen mapping non-blocking, and kill it if it takes more
than 3 seconds; finally, in case of failure, try again after a few
seconds. This helps on resume from S3 (LP: #1471708). (LP: #1471708)

 -- CI Train Bot ci-train-...@canonical.com  Tue, 25 Aug 2015 09:09:33
+

** Changed in: unity-settings-daemon (Ubuntu)
   Status: In Progress = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1471708

Title:
  SRU: For skylake system, u-s-d cause a black screen when resume from
  S3 via Lid Close

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1471708/+subscriptions

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


[Bug 1471708] Re: SRU: For skylake system, u-s-d cause a black screen when resume from S3 via Lid Close

2015-08-26 Thread Alberto Milone
@sru-team: my code should be in trusty-proposed now. Please approve it
for testing.

P.S. the code is also in wily-proposed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1471708

Title:
  SRU: For skylake system, u-s-d cause a black screen when resume from
  S3 via Lid Close

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1471708/+subscriptions

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


[Bug 1471708] Re: SRU: For skylake system, u-s-d cause a black screen when resume from S3 via Lid Close

2015-08-26 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/trusty-proposed/unity-settings-daemon

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1471708

Title:
  SRU: For skylake system, u-s-d cause a black screen when resume from
  S3 via Lid Close

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1471708/+subscriptions

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


[Bug 1471708] Re: SRU: For skylake system, u-s-d cause a black screen when resume from S3 via Lid Close

2015-08-26 Thread Chris J Arges
Hello Tim, or anyone else affected,

Accepted unity-settings-daemon into trusty-proposed. The package will
build now and be available at https://launchpad.net/ubuntu/+source
/unity-settings-daemon/14.04.0+14.04.20150825-0ubuntu1 in a few hours,
and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: unity-settings-daemon (Ubuntu Trusty)
   Status: In Progress = Fix Committed

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1471708

Title:
  SRU: For skylake system, u-s-d cause a black screen when resume from
  S3 via Lid Close

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1471708/+subscriptions

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


[Bug 1471708] Re: SRU: For skylake system, u-s-d cause a black screen when resume from S3 via Lid Close

2015-08-25 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/wily-proposed/unity-settings-daemon

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1471708

Title:
  SRU: For skylake system, u-s-d cause a black screen when resume from
  S3 via Lid Close

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1471708/+subscriptions

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


[Bug 1471708] Re: SRU: For skylake system, u-s-d cause a black screen when resume from S3 via Lid Close

2015-08-13 Thread Ara Pulido
** Changed in: oem-priority
   Status: New = Triaged

** Changed in: oem-priority/trusty
   Status: New = Triaged

** Also affects: unity-settings-daemon (Ubuntu Trusty)
   Importance: Undecided
   Status: New

** Changed in: unity-settings-daemon (Ubuntu Trusty)
   Status: New = In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1471708

Title:
  SRU: For skylake system, u-s-d cause a black screen when resume from
  S3 via Lid Close

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1471708/+subscriptions

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


[Bug 1471708] Re: SRU: For skylake system, u-s-d cause a black screen when resume from S3 via Lid Close

2015-08-13 Thread Alberto Milone
Another update: yesterday I submitted my new code for a review

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1471708

Title:
  SRU: For skylake system, u-s-d cause a black screen when resume from
  S3 via Lid Close

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1471708/+subscriptions

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


[Bug 1471708] Re: SRU: For skylake system, u-s-d cause a black screen when resume from S3 via Lid Close

2015-08-10 Thread Alberto Milone
I wrote a fix, the Desktop team reviewed it, and they requested some changes 
before they merge my code, as you can see in the following code review:
https://code.launchpad.net/~albertomilone/unity-settings-daemon/non-blocking-touch-mapping-wily/+merge/266248

I am still working to adjust my code to their requests.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1471708

Title:
  SRU: For skylake system, u-s-d cause a black screen when resume from
  S3 via Lid Close

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1471708/+subscriptions

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


[Bug 1471708] Re: SRU: For skylake system, u-s-d cause a black screen when resume from S3 via Lid Close

2015-07-29 Thread Alberto Milone
** Branch linked: lp:~albertomilone/unity-settings-daemon/non-blocking-
touch-mapping-wily

** Branch linked: lp:~albertomilone/unity-settings-daemon/non-blocking-
touch-mapping-trusty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1471708

Title:
  SRU: For skylake system, u-s-d cause a black screen when resume from
  S3 via Lid Close

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1471708/+subscriptions

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


[Bug 1471708] Re: SRU: For skylake system, u-s-d cause a black screen when resume from S3 via Lid Close

2015-07-24 Thread Alberto Milone
I'm working on it, and I hope to have something available for testing
soon.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1471708

Title:
  SRU: For skylake system, u-s-d cause a black screen when resume from
  S3 via Lid Close

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1471708/+subscriptions

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


[Bug 1471708] Re: SRU: For skylake system, u-s-d cause a black screen when resume from S3 via Lid Close

2015-07-14 Thread Tim Chen
@Alberto

It was originally a quick workaround for the possible race condition so
could you help to modify the code with what Iain had suggested? Totally
agree that making it asynchronous, adding more verbose log and finding
out the root cause are better ways to fix this issue.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1471708

Title:
  SRU: For skylake system, u-s-d cause a black screen when resume from
  S3 via Lid Close

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1471708/+subscriptions

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


[Bug 1471708] Re: SRU: For skylake system, u-s-d cause a black screen when resume from S3 via Lid Close

2015-07-10 Thread Alberto Milone
Iain Lane added some feedback. They won't merge the patch as is:
https://code.launchpad.net/~timchen119/unity-settings-daemon/unity-
settings-daemon.1471708.trusty/+merge/264163

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1471708

Title:
  SRU: For skylake system, u-s-d cause a black screen when resume from
  S3 via Lid Close

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1471708/+subscriptions

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


[Bug 1471708] Re: SRU: For skylake system, u-s-d cause a black screen when resume from S3 via Lid Close

2015-07-09 Thread Alberto Milone
** Description changed:

  OEM LP private bug: https://bugs.launchpad.net/bugs/1466441
  
  Title: Sometimes system turns a black screen when resume from S3 via Lid
  Close
  
  [Impact]
  
  Sometimes system turns a black screen when resume from S3 via Lid Close
  It only has cursor on screen but still can switch to tty1.
  Failure rate ~ 1/5
  
  [Test Case]
  1. install Ubuntu 14.04.2  3.19+ kernel and boot to OS
  2. Close the lid
  3. Open the lid
  4. check the display status
  
  Expected results: System should resume to the log in screen when open
  the lid
  
  Actual results:
  System sometimes fails to resume back to the log in screen but blackscreen 
instead.
  (Failure rate~ 1/5)
  
  [Regression Potential]
- Low. Delaying touchscreen mapping by 3 seconds should not affect any other 
input device.
- 
+ Low. Killing touchscreen mapping after 3 seconds should not affect any other 
input device.
  
  Details:
  
  unity-settings-deamon will call xinput --map-to-output 11 eDP1 at 
background,
  and it's being blocked so only cursor will show on screen.
  
  1. Switch to tty1 when this happen
  2. Login with user account on tty1.
  3. Use DISPLAY=:0 xrandr  on commandline you'll see it's being blocked.
  
  Since xinput is being blocked for some unknown reason (in gdb it shows
  polling on xcb_connect_to_fd() in XOpenDisplay() ),
  
  a possible workaround is to set a timeout for xinput in u-s-d.
  
  === modified file 'plugins/xrandr/gsd-xrandr-manager.c'
  --- plugins/xrandr/gsd-xrandr-manager.c   2014-06-05 11:56:15 +
  +++ plugins/xrandr/gsd-xrandr-manager.c   2015-07-01 08:59:56 +
  @@ -2199,7 +2199,7 @@
   if (gnome_rr_output_info_is_active(output)) {
   g_debug (Mapping touchscreen %d onto output %s,
    device_id, name);
  - sprintf (command, xinput --map-to-output %d %s,
  + sprintf (command, timeout 3s xinput --map-to-output %d %s,
    device_id, name);
   status = system (command);
   }

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1471708

Title:
  SRU: For skylake system, u-s-d cause a black screen when resume from
  S3 via Lid Close

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1471708/+subscriptions

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