Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Mar 2016 14:13:14 -0400
From:      Eric McCorkle <eric@metricspace.net>
To:        Adrian Chadd <adrian.chadd@gmail.com>
Cc:        "freebsd-acpi@freebsd.org" <freebsd-acpi@freebsd.org>, "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Re: Blank screen on resume
Message-ID:  <BECBEC77-432C-48D9-B822-02DDFA6BDF55@metricspace.net>
In-Reply-To: <CAJ-Vmomwn7_Uknq1q26NKL0jzH=6hWDapvYvvE4FRuf-7%2B2=_A@mail.gmail.com>
References:  <CA88F9D4-925B-4122-BF28-D238C4793B5B@metricspace.net> <CAJ-Vmomwn7_Uknq1q26NKL0jzH=6hWDapvYvvE4FRuf-7%2B2=_A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Laptop is the librem 13 (not helpful, I know). 

Graphics chipset is broadwell.  Cpu is i5-5200.

Haven't been able to get the motherboard model. However, I have model numbers from the bios. 

Bios is American Megatrends.

BIOS Version is 108.
EC version is 2.1u. 
M/B version is D. 

On March 12, 2016 11:45:00 PM EST, Adrian Chadd <adrian.chadd@gmail.com> wrote:
>Hi,
>
>Which laptop? Which chipset? etc.
>
>
>
>-adrian

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
From owner-freebsd-acpi@freebsd.org  Mon Mar 14 18:53:37 2016
Return-Path: <owner-freebsd-acpi@freebsd.org>
Delivered-To: freebsd-acpi@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id B6537AD1586;
 Mon, 14 Mar 2016 18:53:37 +0000 (UTC)
 (envelope-from eric@metricspace.net)
Received: from mail.metricspace.net (mail.metricspace.net
 [IPv6:2001:470:1f11:617::107])
 by mx1.freebsd.org (Postfix) with ESMTP id 89F921DE;
 Mon, 14 Mar 2016 18:53:37 +0000 (UTC)
 (envelope-from eric@metricspace.net)
Received: from [10.74.2.20] (mobile-107-107-57-225.mycingular.net
 [107.107.57.225])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate) (Authenticated sender: eric)
 by mail.metricspace.net (Postfix) with ESMTPSA id 96B7A166B;
 Mon, 14 Mar 2016 18:53:35 +0000 (UTC)
User-Agent: K-9 Mail for Android
In-Reply-To: <CA88F9D4-925B-4122-BF28-D238C4793B5B@metricspace.net>
References: <CA88F9D4-925B-4122-BF28-D238C4793B5B@metricspace.net>
MIME-Version: 1.0
Subject: Re: Blank screen on resume
From: Eric McCorkle <eric@metricspace.net>
Date: Mon, 14 Mar 2016 14:53:33 -0400
To: freebsd-acpi@freebsd.org,
 "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Message-ID: <A3D2C9A3-E48B-4AD1-957C-DC806BF8ACE0@metricspace.net>
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Content-Filtered-By: Mailman/MimeDel 2.1.21
X-BeenThere: freebsd-acpi@freebsd.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: ACPI and power management development <freebsd-acpi.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-acpi>,
 <mailto:freebsd-acpi-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-acpi/>;
List-Post: <mailto:freebsd-acpi@freebsd.org>
List-Help: <mailto:freebsd-acpi-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
 <mailto:freebsd-acpi-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Mar 2016 18:53:37 -0000

Note: I've moved the patch and logs to a new branch: https://github.com/emc2/freebsd/tree/resume_blank_screen


On March 12, 2016 10:39:42 PM EST, Eric McCorkle <eric@metricspace.net> wrote:
>Hello everyone,
>
>It seems I'm plagued by blank screens on resume again on a different
>laptop... *sigh*
>
>I've done quite a bit of diagnostic work on this, and there seem to be
>some clues, but I'm a bit stumped at this point.  The following github
>repo has patches that add extra logging, which has proven useful in my
>attempts to diagnose the issue: https://github.com/emc2/freebsd (sorry
>for distributing patches/logs in this way, but the logs are quite big).
>Also in this repo, there's a pciconf, devinfo, and dmesg file.  The
>dmesg file shows the trace from booting a patched kernel in verbose
>mode then suspending it.
>
>There's two main curiosities in the dmesg trace.  The first is that the
>power state of all the vgapci device seems to be 0 as opposed to 3
>during resume, which was causing acpi_set_powerstate_method to skip
>resetting its power during resume.  I tried a simple patch (you can see
>it in the patch and its effects in the trace), but that didn't seem to
>work.  A second curiosity is that acpi_pwr_switch_consumer only seems
>to have an effect during resume.
>
>The only other real lead I have is that the display doesn't seem to be
>active in acpi_video.  I'm not sure if this is an artifact of the efifb
>driver.
>
>Lastly, I recall looking into vga bios calls from earlier such efforts.
>I imagine there's something similar for efifb, but I've been unable to
>track down where this is happening.  Advice or information on that
>front would be much appreciated.
>
>Best,
>Eric
>_______________________________________________
>freebsd-acpi@freebsd.org mailing list
>https://lists.freebsd.org/mailman/listinfo/freebsd-acpi
>To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@freebsd.org"

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
From owner-freebsd-acpi@freebsd.org  Mon Mar 14 19:43:09 2016
Return-Path: <owner-freebsd-acpi@freebsd.org>
Delivered-To: freebsd-acpi@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0A20FACF6DB;
 Mon, 14 Mar 2016 19:43:09 +0000 (UTC)
 (envelope-from adrian.chadd@gmail.com)
Received: from mail-io0-x22e.google.com (mail-io0-x22e.google.com
 [IPv6:2607:f8b0:4001:c06::22e])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id D7C322DA;
 Mon, 14 Mar 2016 19:43:08 +0000 (UTC)
 (envelope-from adrian.chadd@gmail.com)
Received: by mail-io0-x22e.google.com with SMTP id z76so235739892iof.3;
 Mon, 14 Mar 2016 12:43:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc; bh=bBsOpUE0PzIEr3rOTzAanIEZZwO7uXybpZvtW5YP+lo=;
 b=KtcApfr6wyqdUF3hjz96LRpQeCnEej8yKw64WEuji66oEQRrhfc66UtcXxTBXEGnG8
 ABo+IxqFaKa+Gox2GW9RgKoX5ykAr41VgQmPafT2lTGTFKLpbIJO90y9J5n9fkh3pPYa
 yHqhosvCEF8zwwZsK7V493B481/xnWqCB/1Oz1rTuLAMZrr9DW7r6J3LRFeIwKXlhTdY
 Lc49b6u1QizHJaMIiFRdusq1uHnB16yPbZb2th4PZuBrgENsdlmArpgTGwSuv1YxwGJC
 q64Y1NKA26Z5j5aKff9RjHTKKobMrt4ZPQtitKWqNNggftZ2wiaKhZZl3bKr4escSSRC
 khlA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:in-reply-to:references:date
 :message-id:subject:from:to:cc;
 bh=bBsOpUE0PzIEr3rOTzAanIEZZwO7uXybpZvtW5YP+lo=;
 b=FEnwyWQ9KxhsmOvIt/Sth4u8KnSPYeJfCHgePEGkaJNVQnM57/EEBVxD+de27gDf9Y
 Dbnx1Rsam8z4xT7vNU0DU2s+aWpSUBdLbnxCP49KiwpkJDwcKpyI1YYGvZikjGzY/XBH
 0rL7EI/QerHo3VWWXnDROhFVKyKlZ25SDVAirpam3UXUKDFr9U4MCw7yArNCOOb9yxYj
 ej5I8kTEd+CKR+2V7HrFiCzCkn9AvqOjHsr40Podn0rc2SDGuS+7zrPCZ/AbJGJcZtB+
 YmZ5ESi7rNfGFavR1hSqrv4Z5e7Mq3pzqpP/TIcBPrsI0ipGr2rz3EGnUsFROqXxnHNv
 I7bg==
X-Gm-Message-State: AD7BkJL0uilp+rcawRxNenZ4CjZg0wFj+avNlhPbsFR2Fm2PZVvGf5gbmMK8UQ17KDKH4641fL6dRIngAkW/JA==
MIME-Version: 1.0
X-Received: by 10.107.19.73 with SMTP id b70mr24958528ioj.75.1457984588268;
 Mon, 14 Mar 2016 12:43:08 -0700 (PDT)
Received: by 10.36.14.19 with HTTP; Mon, 14 Mar 2016 12:43:08 -0700 (PDT)
In-Reply-To: <A3D2C9A3-E48B-4AD1-957C-DC806BF8ACE0@metricspace.net>
References: <CA88F9D4-925B-4122-BF28-D238C4793B5B@metricspace.net>
 <A3D2C9A3-E48B-4AD1-957C-DC806BF8ACE0@metricspace.net>
Date: Mon, 14 Mar 2016 12:43:08 -0700
Message-ID: <CAJ-VmomP8zgMczMKwfAxx-C4c2aWvsQDpqoE_zYOnEAu1tEGsg@mail.gmail.com>
Subject: Re: Blank screen on resume
From: Adrian Chadd <adrian.chadd@gmail.com>
To: Eric McCorkle <eric@metricspace.net>
Cc: "freebsd-acpi@freebsd.org" <freebsd-acpi@freebsd.org>, 
 "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Content-Type: text/plain; charset=UTF-8
X-BeenThere: freebsd-acpi@freebsd.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: ACPI and power management development <freebsd-acpi.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-acpi>,
 <mailto:freebsd-acpi-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-acpi/>;
List-Post: <mailto:freebsd-acpi@freebsd.org>
List-Help: <mailto:freebsd-acpi-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-acpi>,
 <mailto:freebsd-acpi-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Mar 2016 19:43:09 -0000

Hiya,

Yeah - the drm2 code needs to be involved in resuming, and right now
there's no broadwell support in i915kms.

Once that gets updated then yeah, the resume backlight will work. :-P



-a



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BECBEC77-432C-48D9-B822-02DDFA6BDF55>