public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Lukas Wunner <lukas@wunner.de>
To: Florian Echtler <floe@butterbrot.org>
Cc: Alex Deucher <alexdeucher@gmail.com>,
	"linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>,
	amd-gfx list <amd-gfx@lists.freedesktop.org>,
	Maling list - DRI developers <dri-devel@lists.freedesktop.org>,
	Mario Kleiner <mario.kleiner.de@gmail.com>
Subject: Re: iMac 10,1 with Ubuntu 16.04: black screen after suspend
Date: Mon, 17 Jul 2017 11:02:35 +0200	[thread overview]
Message-ID: <20170717090235.GB3993@wunner.de> (raw)
In-Reply-To: <c1ed89a5-e6a1-1903-05ee-a9dfcdb2ef61@butterbrot.org>

On Fri, Jun 02, 2017 at 06:47:07PM +0200, Florian Echtler wrote:
> Regarding the SMC, there's actually only one key that consistently seems to have
> a different value whether the display is on or off:
> 
> --- blank	2017-05-05 08:40:53.694565045 +0200
> +++ non_blank	2017-05-05 08:40:53.702565066 +0200
> @@ -143,7 +143,7 @@
>    MSWR  [ui8 ]  0 (bytes 00)
>    MVBO  [hex_]  (bytes ff ff)
>    MVDC  [bin_]  (bytes 00)
> -  MVDS  [bin_]  (bytes 08)
> +  MVDS  [bin_]  (bytes 0a)
>    MVE1  [si8 ]  (bytes 0d)
>    MVE5  [si8 ]  (bytes 0b)
>    MVHR  [flag]  (bytes 01)
> 
> However, even with my modified SmcDumpKeys.c which I can use to enable TDM, I
> cannot write to that key. Since other MV__ keys control the display, too, it
> would make sense that that is related to the display state, but it seems to be a
> read-only key :-/
> 
> Running out of ideas again... any suggestions?

Sorry for the delay Florian.  Commit 564d8a2cf3ab by Mario Kleiner (+cc)
landed in Linus' tree last week and is included in 4.13-rc1.  It is
supposed to fix black screen issues with the iMac10,1 that you're also
using, though in Mario's case they seem to occur upon boot, rather than
on suspend, still might be worth a try:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=564d8a2cf3abf16575af48bdc3e86e92ee8a617d

Thanks,

Lukas

  reply	other threads:[~2017-07-17  9:02 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-26 12:13 iMac 10,1 with Ubuntu 16.04: black screen after suspend Florian Echtler
     [not found] ` <30380cb3-0f26-8aea-2689-d4886879129c-H5Ww8s0cz1NjHglVgfe8mg@public.gmane.org>
2017-05-26 21:03   ` Lukas Wunner
2017-05-30  9:34     ` Florian Echtler
2017-05-30 10:54       ` Lukas Wunner
2017-05-31  8:48         ` Florian Echtler
2017-05-31  9:21           ` Lukas Wunner
2017-05-31 12:57             ` Alex Deucher
2017-06-01  8:27               ` Florian Echtler
2017-06-01 17:53                 ` Alex Deucher
2017-06-02  7:35                   ` Florian Echtler
2017-06-02 15:12                     ` Alex Deucher
2017-06-02 16:47                       ` Florian Echtler
2017-07-17  9:02                         ` Lukas Wunner [this message]
2017-07-24 13:45                           ` Florian Echtler
2017-07-25  5:14                             ` Mario Kleiner
2017-07-25  7:53                               ` Florian Echtler
2017-07-25 10:37                               ` Lukas Wunner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170717090235.GB3993@wunner.de \
    --to=lukas@wunner.de \
    --cc=alexdeucher@gmail.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=floe@butterbrot.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=mario.kleiner.de@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox