From owner-freebsd-acpi@FreeBSD.ORG Fri Sep 6 01:13:32 2013 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from hammer.pct.niksun.com (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by hub.freebsd.org (Postfix) with ESMTP id 19B2B8B4; Fri, 6 Sep 2013 01:13:32 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Message-ID: <52292BAF.6060508@FreeBSD.org> Date: Thu, 05 Sep 2013 21:11:11 -0400 From: Jung-uk Kim User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130814 Thunderbird/17.0.8 MIME-Version: 1.0 To: Adrian Chadd Subject: Re: suspend/resume on Lenovo X1 (regression from reports on wiki) References: <521D03AE.3050709@sics.se> <201309031647.47650.jhb@freebsd.org> <522669AF.5000209@FreeBSD.org> <201309040929.35903.jhb@freebsd.org> <52276554.6020807@FreeBSD.org> <522791D2.9050606@FreeBSD.org> <5227B893.1000509@FreeBSD.org> <5227CAF0.5040300@FreeBSD.org> <5228EA57.5000005@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Laura Marie Feeney , freebsd-acpi , Kevin Oberman , Gleb Smirnoff , "Sergey A. Osokin" , =?ISO-8859-1?Q?Jean-S=E9bastien_?= =?ISO-8859-1?Q?P=E9dron?= X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Sep 2013 01:13:33 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2013-09-05 20:24:46 -0400, Adrian Chadd wrote: > Whoa whoa. > > I'm confused. Well, a bit. How is it up to syscons to fix the > backlight configuration, which seems to be a large part of the > problem here? No, it has nothing to do with syscons(4). acpi_video(4) does. However, it does not work with i915kms.ko because some piece of code is not implemented for FreeBSD if I understand it correctly. > Or what else is going on here with restoring the system state? It worked with DRM1 because automatic VT-switching (aka sysctl hw.syscons.sc_no_suspend_vtswitch) indirectly saves/restores GPU states via X11 driver, which is no longer possible with KMS. > I'm worried that we'll have the same problem with newcons, with or > without KMS. Why would KMS get involved if I'm in console mode > doing 80x60 text? :) If KMS is used for newcons backend, I am sure text mode won't be implemented. Also, KMS will "naturally" handle suspend/resume as it is a proper newbus driver, unlike syscons. At least, that's the idea. Jung-uk Kim -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (FreeBSD) iQEcBAEBAgAGBQJSKSuvAAoJECXpabHZMqHOA6kIAMLLYNSniDonBSs5QzLvT6aM iISSshjhyykNPCTwZBS5d5LCMAJXuQ7OF7FIYYI7bgrKFX0hzNCAARDJE52/PgQA S1D4ra0slsKm62ezdiOuJhP4C/Hwqihv8/jMK9KmbBSNAyydZ+pPVXHd/JKaCd/U J+g72slzyAm/GYOe8kRb7JGUQsiDyDUbVOOoZZlarqxSEl0kvZFE7rIWBxuD0DGN iGkVB3e0ybIlVNPvjh2CsukBnD2TUYR1ssXFn7zp1Mh9qnQIfoTnQoSDkjDVV1b6 wi2Y1L3cu1kgfG0dCx6CNuH/K3/g0SXA55D8o+NrmLPAQYHWy/TGVm3eKQe30fg= =CY1F -----END PGP SIGNATURE-----