From owner-freebsd-mobile@FreeBSD.ORG Sun Nov 16 01:56:52 2014 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B356B8E8; Sun, 16 Nov 2014 01:56:52 +0000 (UTC) Received: from mail-wi0-x232.google.com (mail-wi0-x232.google.com [IPv6:2a00:1450:400c:c05::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 55018330; Sun, 16 Nov 2014 01:56:52 +0000 (UTC) Received: by mail-wi0-f178.google.com with SMTP id em10so1120585wid.17 for ; Sat, 15 Nov 2014 17:56:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=OBHnZfESEvMundnPN42TAVxyhQvaIi1gOvRSpqo0Q7c=; b=f7LzkFeLxW0jCI6/uQCRNKMEveEmX6GvJjuu1gYzptMnowtekUPDJr/5U/2ZxTxAcR tcDp59GXCnA9Er1xJCjasR7mAuLct49BRYSjmkhtB/RlLpHawBYnE76U5psAKc1WJu6W gXdObF+uJ6azir6Gor0uyVOTvRjamhzaReJ7jxuiJ4Re45A9axsg5Lt/RXR0kn9PMOuC Md1uCpUImWtTbAVDAks0Me+5bBgLf74YJLqNd+iGfgaT537EMRS7iKjmXhwFd8F9aPOI 0MWbAO7LIRHRch5qGOXk0pqvn7PfIVNXR/opt6K+6WCCgUkkamE+gZuxL3DucONHiam2 fvJQ== MIME-Version: 1.0 X-Received: by 10.180.108.35 with SMTP id hh3mr19710161wib.59.1416103010818; Sat, 15 Nov 2014 17:56:50 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.216.106.136 with HTTP; Sat, 15 Nov 2014 17:56:50 -0800 (PST) In-Reply-To: <20141115100522.GA1257@dchagin.static.corbina.net> References: <54652C60.9050909@metricspace.net> <20141114161857.GA49507@dchagin.static.corbina.net> <20141115100522.GA1257@dchagin.static.corbina.net> Date: Sat, 15 Nov 2014 17:56:50 -0800 X-Google-Sender-Auth: j7yMw7pQkPB9JWZuULnmk-B3C_I Message-ID: Subject: Re: Lenovo W540 blank screen on suspend/resume after update From: Adrian Chadd To: Chagin Dmitry Content-Type: text/plain; charset=UTF-8 Cc: Eric McCorkle , "freebsd-acpi@freebsd.org" , "freebsd-mobile@freebsd.org" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2014 01:56:52 -0000 What about one or the other one? It sounds like this may have hidden up some other issues in what / how we're powering things down. -adrian On 15 November 2014 02:05, Chagin Dmitry wrote: > On Fri, Nov 14, 2014 at 03:40:21PM -0800, Adrian Chadd wrote: >> Hi, >> >> Thanks. Please do. start by reverting the patches from me and jkim; >> see if it changes the behaviour. >> >> Thanks, >> >> >> -adrian >> >> >> On 14 November 2014 12:33, Eric McCorkle wrote: >> > Sorry, don't remember the working version. >> > >> > I have acpi_video compiled in to my kernel. I've tried it with both vt and >> > sc and gotten the same result. >> > >> > Might try to do more diagnostics this weekend. >> > >> > On November 14, 2014 11:18:57 AM EST, Chagin Dmitry >> > wrote: >> >> >> >> On Thu, Nov 13, 2014 at 02:13:35PM -0800, Adrian Chadd wrote: >> >>> >> >>> Hi, >> >>> >> >>> Does it stay blank if you have acpi_video (+ vt) loaded? >> >>> >> >>> What was the revision of 11 you were previously running? >> >>> >> >>> >> >>> >> >>> -adrian >> >>> >> >>> >> >>> On 13 November 2014 14:10, Eric McCorkle wrote: >> >>>> >> >>>> Hello, >> >>>> >> >>>> I updated my kernel and userland with a fresh update from 11 yesterday, >> >>>> and >> >>>> I'm now seeing a blank screen after suspend/resume, where it was >> >>>> working >> >>>> fine previously. >> >>>> >> >>>> I had been trying out the new vt console, so I switched back to sc, but >> >>>> the >> >>>> blank screen is still there. >> >>>> >> >>>> Sorry, I don't have any information beyond this (quite busy >> >>>> these days). >> >>>> >> >>>> Eric >> >> >> >> >> >> >> >> Lenovo t540, same here. r274463 + sc. resume worked two weeks ago. >> >> >> > > > > reverting both r274386 & r274397 and resume back to normal. > > > tt > Have fun! > chd From owner-freebsd-mobile@FreeBSD.ORG Mon Nov 17 12:52:01 2014 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C8848EA2 for ; Mon, 17 Nov 2014 12:52:01 +0000 (UTC) Received: from mail-wi0-x232.google.com (mail-wi0-x232.google.com [IPv6:2a00:1450:400c:c05::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 58166FF1 for ; Mon, 17 Nov 2014 12:52:01 +0000 (UTC) Received: by mail-wi0-f178.google.com with SMTP id hi2so433402wib.5 for ; Mon, 17 Nov 2014 04:51:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version :content-transfer-encoding:content-type; bh=ZT5QhqTIKtnHUdWqyc0aNK/Rq1IzSKjhmDVtWYgG+aA=; b=uaoI33X8YIqpE7jPF+lKg/s2/heD0UeAKo8Nwk7LHSSha4rSCFxLLOk8VarOINGhDv UwgNfPp8r8XcKGvyF03L8mT9tT7ZoDXaATfDuiAlJjmQzwLFi3xnaxzqBEpymf7GBvA1 PhtgfLuo2YnIp26YHNKOcKstfSobhkh+b4gDoq/VWXKleZAe09hS+z5IQBMe33be2QCU SzpXdnKwCrxc4WzD2pzqr4CQ1KTiJuLR+ZKUWXzRs2xSYOVpnm36oYQcaDXn7wOeXWQm 3+ijuLwheESAqoRttVI8ke54RtFR/CSYBn3OieqwyDoMFeHeqdrNf/JEOeDP81Mdh5/r uxsQ== X-Received: by 10.180.211.239 with SMTP id nf15mr27725878wic.9.1416228719691; Mon, 17 Nov 2014 04:51:59 -0800 (PST) Received: from chrysaor.localnet (p54999991.dip0.t-ipconnect.de. [84.153.153.145]) by mx.google.com with ESMTPSA id bc1sm15132389wib.16.2014.11.17.04.51.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Nov 2014 04:51:59 -0800 (PST) From: Lutz Bichler X-Google-Original-From: Lutz Bichler To: freebsd-mobile@freebsd.org Subject: FreeBSD on Asus UX31A Date: Mon, 17 Nov 2014 13:53:35 +0100 Message-ID: <1850323.OabH7XK7zj@chrysaor> User-Agent: KMail/4.14.2 (FreeBSD/11.0-CURRENT; KDE/4.14.2; amd64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2014 12:52:02 -0000 Hi, after reading the summaries of Asus UX31E and UX32VD i did some testing of FreeBSD on an Asus UX31A: Hardware -------------- Intel Ivybridge CPU + graphics Centrino(R) Advanced-N 6235 WiFi USB 2.0 + 3.0 Realtek Cardreader (Product-Id 0x139) Software ------------- - FreeBSD-CURRENT (svn274583) - acpi_asus_wmi & acpi_asus loaded - xorg-7.7 - xorg-server-1.16.1 - Mesa 10.3.2 - xf86-video-intel-2.99.916 Results ---------- - F1: Suspend function key works - F2: WiFi function key does not work - F3/F4: Keyboard brightness control works - F5/F6: Display brightness control does not work - F7: Display on/off works - F8: not tested - F9: not tested - F10: Volume on/off does not work - F11/F12: Volume control works - Suspending works - Resuming: - i915 only - no display after resume - acpi_video loaded before i915kms: - no display after resume - acpi_video loaded after i915kms - display coming back, but display brightness after resume is lower although hw.acpi.video.lcd0.brightness reports the same value - Display brightness control partly works - sysctl hw.acpi.video.lcd0.brightness=X works - function key changes the brightness, but only allows to switch between brightness levels 1 and 2. - changing the brightness level from 100 to 30 reduces the power consumpion from 11.5mW to 8.8mW. - with i915.7 patch (http://kib.kiev.ua/kib/drm/i915.7.patch) - display coming back (with and without acpi_video) - Display brightness control does not work (neither with nor without acpi_video) - WiFi (Intel 6235): works - CardReader (Realtek Product Id 0x139): does not work Open questions ----------------------- - How to automatically load acpi_video after i915kms? - How to enable presetting the display brightness? - How to enable a smooth function key based brightness setting? - Is there any hope for the card reader? - There have been several mailing list threads in the past but it seems they all ended up without conclusion. Regards, Lutz From owner-freebsd-mobile@FreeBSD.ORG Mon Nov 17 16:21:43 2014 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 43321DEB for ; Mon, 17 Nov 2014 16:21:43 +0000 (UTC) Received: from mail-wg0-x22f.google.com (mail-wg0-x22f.google.com [IPv6:2a00:1450:400c:c00::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DCF55F70 for ; Mon, 17 Nov 2014 16:21:42 +0000 (UTC) Received: by mail-wg0-f47.google.com with SMTP id n12so3068352wgh.6 for ; Mon, 17 Nov 2014 08:21:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=6JUsoSfIEsNzEYm36krfFkXUqLJNaTQrkM69x/s+YUo=; b=P2bhGL3Tfl4OU4U/9PJNBEWylY0hknpS4kIX4cViNidQO41A48sdwr+oRwDNmnlVN0 GhDVEvMcEyosqDbmKnebwz37VErrSFgXzXHw0JwBU9eKM2RLrUYMuNcPrvLogCpufMNn dFTmIk/jgwhIC27OnYTJfQYAAbH7BeFEa98ffIAsFqzcV+OrraQx+4ZeGTeq8I+ww/w2 JjC+M5pwuGTsk4tmPOXfc0/ot0XTJtcWXTzOQUQxMVBXJrAtC7+zmEIhXNj+Z0txPTw+ 2ZWzonC3zAAZ5by7DcIJhfXABIXahurkL15IDoUB9S9iuu9JUjMNpTQP3Qi/eOb2Utca Kq9A== MIME-Version: 1.0 X-Received: by 10.194.47.226 with SMTP id g2mr39722880wjn.68.1416241297811; Mon, 17 Nov 2014 08:21:37 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.216.106.136 with HTTP; Mon, 17 Nov 2014 08:21:37 -0800 (PST) In-Reply-To: <1850323.OabH7XK7zj@chrysaor> References: <1850323.OabH7XK7zj@chrysaor> Date: Mon, 17 Nov 2014 08:21:37 -0800 X-Google-Sender-Auth: s39W5A9-SQ9uRYiuqRLCf6kSEzo Message-ID: Subject: Re: FreeBSD on Asus UX31A From: Adrian Chadd To: Lutz Bichler Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-mobile@freebsd.org" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2014 16:21:43 -0000 Which card reader is it? The acpi_video / i915kms loading order is kinda amusing. Would you mind filing a PR with it? I've seen it on mine too but I didn't really think twice about it until .. well until now. Let's see if we can figure out what's going on there! Thanks, -adrian On 17 November 2014 04:53, Lutz Bichler wrote: > Hi, > > after reading the summaries of Asus UX31E and UX32VD i did some testing of > FreeBSD on an Asus UX31A: > > Hardware > -------------- > Intel Ivybridge CPU + graphics > Centrino(R) Advanced-N 6235 WiFi > USB 2.0 + 3.0 > Realtek Cardreader (Product-Id 0x139) > > Software > ------------- > - FreeBSD-CURRENT (svn274583) > - acpi_asus_wmi & acpi_asus loaded > - xorg-7.7 > - xorg-server-1.16.1 > - Mesa 10.3.2 > - xf86-video-intel-2.99.916 > > Results > ---------- > - F1: Suspend function key works > - F2: WiFi function key does not work > - F3/F4: Keyboard brightness control works > - F5/F6: Display brightness control does not work > - F7: Display on/off works > - F8: not tested > - F9: not tested > - F10: Volume on/off does not work > - F11/F12: Volume control works > > - Suspending works > - Resuming: > - i915 only > - no display after resume > - acpi_video loaded before i915kms: > - no display after resume > - acpi_video loaded after i915kms > - display coming back, but display brightness after > resume is lower although hw.acpi.video.lcd0.brightness > reports the same value > - Display brightness control partly works > - sysctl hw.acpi.video.lcd0.brightness=X works > - function key changes the brightness, but only allows > to switch between brightness levels 1 and 2. > - changing the brightness level from 100 to 30 reduces > the power consumpion from 11.5mW to 8.8mW. > - with i915.7 patch (http://kib.kiev.ua/kib/drm/i915.7.patch) > - display coming back (with and without acpi_video) > - Display brightness control does not work (neither with nor without > acpi_video) > > - WiFi (Intel 6235): works > - CardReader (Realtek Product Id 0x139): does not work > > Open questions > ----------------------- > - How to automatically load acpi_video after i915kms? > - How to enable presetting the display brightness? > - How to enable a smooth function key based brightness setting? > - Is there any hope for the card reader? > - There have been several mailing list threads in the past but it seems > they all ended up without conclusion. > > Regards, Lutz > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" From owner-freebsd-mobile@FreeBSD.ORG Mon Nov 17 18:21:21 2014 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E7195CD8; Mon, 17 Nov 2014 18:21:20 +0000 (UTC) Received: from dchagin.static.corbina.net (dchagin.static.corbina.ru [78.107.232.239]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dchagin.static.corbina.net", Issuer "dchagin.static.corbina.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 86EDFF75; Mon, 17 Nov 2014 18:21:19 +0000 (UTC) Received: from dchagin.static.corbina.net (localhost [127.0.0.1]) by dchagin.static.corbina.net (8.14.9/8.14.9) with ESMTP id sAHILBbG002490 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 17 Nov 2014 21:21:11 +0300 (MSK) (envelope-from dchagin@dchagin.static.corbina.net) Received: (from dchagin@localhost) by dchagin.static.corbina.net (8.14.9/8.14.9/Submit) id sAHILBTs002489; Mon, 17 Nov 2014 21:21:11 +0300 (MSK) (envelope-from dchagin) Date: Mon, 17 Nov 2014 21:21:11 +0300 From: Chagin Dmitry To: Eric McCorkle ;, jhb@freebsd.org Subject: Re: Lenovo W540 blank screen on suspend/resume after update Message-ID: <20141117182111.GA2477@dchagin.static.corbina.net> References: <54652C60.9050909@metricspace.net> <20141114161857.GA49507@dchagin.static.corbina.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GID0FwUMdk1T2AWN" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Adrian Chadd , "freebsd-acpi@freebsd.org" , "freebsd-mobile@freebsd.org" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2014 18:21:21 -0000 --GID0FwUMdk1T2AWN Content-Type: multipart/mixed; boundary="xHFwDpU9dbj6ez1V" Content-Disposition: inline --xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 14, 2014 at 03:33:26PM -0500, Eric McCorkle wrote: > Sorry, don't remember the working version. >=20 > I have acpi_video compiled in to my kernel. I've tried it with both vt an= d sc and gotten the same result.=20 >=20 > Might try to do more diagnostics this weekend.=20 >=20 > On November 14, 2014 11:18:57 AM EST, Chagin Dmitry = wrote: > >On Thu, Nov 13, 2014 at 02:13:35PM -0800, Adrian Chadd wrote: > >> Hi, > >>=20 > >> Does it stay blank if you have acpi_video (+ vt) loaded? > >>=20 > >> What was the revision of 11 you were previously running? > >>=20 > >>=20 > >>=20 > >> -adrian > >>=20 > >>=20 > >> On 13 November 2014 14:10, Eric McCorkle > >wrote: > >> > Hello, > >> > > >> > I updated my kernel and userland with a fresh update from 11 > >yesterday, and > >> > I'm now seeing a blank screen after suspend/resume, where it was > >working > >> > fine previously. > >> > > >> > I had been trying out the new vt console, so I switched back to sc, > >but the > >> > blank screen is still there. > >> > > >> > Sorry, I don't have any information beyond this (quite busy these > >days). > >> > > >> > Eric > > > > > >Lenovo t540, same here. r274463 + sc. resume worked two weeks ago. > > > > > >--=20 > >Have fun! > >chd >=20 try attached patch. it seems we should take a close look to other PCIB_POWER_FOR_SLEEP() calls.=20 --=20 Have fun! chd --xHFwDpU9dbj6ez1V Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="pci.patch" Content-Transfer-Encoding: quoted-printable diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index d2ac111..8e6b87b 100644 --- a/sys/dev/pci/pci.c +++ b/sys/dev/pci/pci.c @@ -3637,7 +3637,6 @@ static void pci_set_power_child(device_t dev, device_t child, int state) { struct pci_devinfo *dinfo; - device_t pcib; int dstate; =20 /* @@ -3647,11 +3646,10 @@ pci_set_power_child(device_t dev, device_t child, i= nt state) * device power. Skip children who aren't attached since they * are handled separately. */ - pcib =3D device_get_parent(dev); dinfo =3D device_get_ivars(child); dstate =3D state; if (device_is_attached(child) && - PCIB_POWER_FOR_SLEEP(pcib, child, &dstate) =3D=3D 0) + PCIB_POWER_FOR_SLEEP(dev, child, &dstate) =3D=3D 0) pci_set_powerstate(child, dstate); } =20 --xHFwDpU9dbj6ez1V-- --GID0FwUMdk1T2AWN Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlRqPJcACgkQ0t2Tb3OO/O0VFgCghHNMr8jynEH75SlnsU/wr9Le 8C8Ani8Kbngyi1Lmlo5LWP7NAe0EgM75 =26aN -----END PGP SIGNATURE----- --GID0FwUMdk1T2AWN-- From owner-freebsd-mobile@FreeBSD.ORG Mon Nov 17 18:37:41 2014 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 335412D5; Mon, 17 Nov 2014 18:37:41 +0000 (UTC) Received: from mail-wi0-x22a.google.com (mail-wi0-x22a.google.com [IPv6:2a00:1450:400c:c05::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B440215B; Mon, 17 Nov 2014 18:37:40 +0000 (UTC) Received: by mail-wi0-f170.google.com with SMTP id bs8so3977342wib.1 for ; Mon, 17 Nov 2014 10:37:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=+Edq3XKQq2Cycz3BWK/iaekDdXJdkli6buylBARZCwk=; b=MJ6IDEv7MjVz47gljT4Jx2DODI+IZ5I+owyUZHiXLTnW+h4bV6BHN5sSfQdZeXuP1Q aZ/fZDLr2aKU+vMA9QqmHvO4nYmuM3gd26C33UJLJiscwEAmkkbUlRdaBq6XnbXSoak3 CoPtrGhWdg2m/g5zzASgzYksu9n/PdssBSPM6bSnDrZUihR1mQZm9MAJEOstt4HU1uKk D//cb9fm3rBugPTwdIW76MMwljdNMAe5VZE53oemUoPYmZmOH7ELCRb5RDgMU4wr9eVO ylHk7+HKyGMzQAcl4fR4/Ps4lIBQ4qXzbgL+QHAukAZkc7gSvUEfZbxLfSl+5etLFMWh QPXQ== MIME-Version: 1.0 X-Received: by 10.180.99.105 with SMTP id ep9mr7330038wib.26.1416249459155; Mon, 17 Nov 2014 10:37:39 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.216.106.136 with HTTP; Mon, 17 Nov 2014 10:37:39 -0800 (PST) In-Reply-To: <20141117182111.GA2477@dchagin.static.corbina.net> References: <54652C60.9050909@metricspace.net> <20141114161857.GA49507@dchagin.static.corbina.net> <20141117182111.GA2477@dchagin.static.corbina.net> Date: Mon, 17 Nov 2014 10:37:39 -0800 X-Google-Sender-Auth: gNM_BY6KNwj2GwLCecnVZCKj9hM Message-ID: Subject: Re: Lenovo W540 blank screen on suspend/resume after update From: Adrian Chadd To: Chagin Dmitry Content-Type: text/plain; charset=UTF-8 Cc: Eric McCorkle , "freebsd-acpi@freebsd.org" , "freebsd-mobile@freebsd.org" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2014 18:37:41 -0000 hi! So this patch makes your video pop back up again after suspend? Would you mind creating a new PR for this and putting the patch in it? That way we can track what we eventually need to MFC to stable/10. Thanks! -adrian On 17 November 2014 10:21, Chagin Dmitry wrote: > On Fri, Nov 14, 2014 at 03:33:26PM -0500, Eric McCorkle wrote: >> Sorry, don't remember the working version. >> >> I have acpi_video compiled in to my kernel. I've tried it with both vt and sc and gotten the same result. >> >> Might try to do more diagnostics this weekend. >> >> On November 14, 2014 11:18:57 AM EST, Chagin Dmitry wrote: >> >On Thu, Nov 13, 2014 at 02:13:35PM -0800, Adrian Chadd wrote: >> >> Hi, >> >> >> >> Does it stay blank if you have acpi_video (+ vt) loaded? >> >> >> >> What was the revision of 11 you were previously running? >> >> >> >> >> >> >> >> -adrian >> >> >> >> >> >> On 13 November 2014 14:10, Eric McCorkle >> >wrote: >> >> > Hello, >> >> > >> >> > I updated my kernel and userland with a fresh update from 11 >> >yesterday, and >> >> > I'm now seeing a blank screen after suspend/resume, where it was >> >working >> >> > fine previously. >> >> > >> >> > I had been trying out the new vt console, so I switched back to sc, >> >but the >> >> > blank screen is still there. >> >> > >> >> > Sorry, I don't have any information beyond this (quite busy these >> >days). >> >> > >> >> > Eric >> > >> > >> >Lenovo t540, same here. r274463 + sc. resume worked two weeks ago. >> > >> > >> >-- >> >Have fun! >> >chd >> > > try attached patch. it seems we should take a close look to other > PCIB_POWER_FOR_SLEEP() calls. > > -- > Have fun! > chd From owner-freebsd-mobile@FreeBSD.ORG Mon Nov 17 20:14:06 2014 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CE04BB10; Mon, 17 Nov 2014 20:14:06 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A51F0EBE; Mon, 17 Nov 2014 20:14:06 +0000 (UTC) Received: from ralph.baldwin.cx (pool-173-70-85-31.nwrknj.fios.verizon.net [173.70.85.31]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 6DC1EB953; Mon, 17 Nov 2014 15:14:05 -0500 (EST) From: John Baldwin To: Adrian Chadd Subject: Re: Lenovo W540 blank screen on suspend/resume after update Date: Mon, 17 Nov 2014 14:42:33 -0500 Message-ID: <2924510.oDTeqSbQ8B@ralph.baldwin.cx> User-Agent: KMail/4.14.2 (FreeBSD/10.1-PRERELEASE; KDE/4.14.2; amd64; ; ) In-Reply-To: References: <54652C60.9050909@metricspace.net> <20141117182111.GA2477@dchagin.static.corbina.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Mon, 17 Nov 2014 15:14:05 -0500 (EST) Cc: Eric McCorkle , "freebsd-acpi@freebsd.org" , Chagin Dmitry , "freebsd-mobile@freebsd.org" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2014 20:14:06 -0000 On Monday, November 17, 2014 10:37:39 AM Adrian Chadd wrote: > hi! > > So this patch makes your video pop back up again after suspend? > > Would you mind creating a new PR for this and putting the patch in it? > > That way we can track what we eventually need to MFC to stable/10. > > Thanks! Just commit it. It was a copy and paste bug from the one in ACPI that was broken at the same time. No need for a PR if you can just commit it. (Dmitry, your patch is correct) -- John Baldwin From owner-freebsd-mobile@FreeBSD.ORG Fri Nov 21 12:14:23 2014 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7C4FCB0A; Fri, 21 Nov 2014 12:14:23 +0000 (UTC) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3B8B589F; Fri, 21 Nov 2014 12:14:22 +0000 (UTC) Received: from [82.113.99.184] (helo=unixarea.DDR.dd) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1Xrn6L-0002VL-5x; Fri, 21 Nov 2014 13:14:13 +0100 Received: from unixarea.DDR.dd (localhost [127.0.0.1]) by unixarea.DDR.dd (8.14.9/8.14.3) with ESMTP id sALCEAHM002221; Fri, 21 Nov 2014 13:14:11 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by unixarea.DDR.dd (8.14.9/8.14.3/Submit) id sALCE9Sk002220; Fri, 21 Nov 2014 13:14:09 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: unixarea.DDR.dd: guru set sender to guru@unixarea.de using -f Date: Fri, 21 Nov 2014 13:14:09 +0100 From: Matthias Apitz To: freebsd-mobile@freebsd.org Subject: netbook Acer Aspire Es1-111 Message-ID: <20141121121409.GA2175@unixarea.DDR.dd> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , freebsd-mobile@freebsd.org, freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Operating-System: FreeBSD 11.0-CURRENT r269739 (i386) User-Agent: Mutt/1.5.23 (2014-03-12) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 82.113.99.184 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2014 12:14:23 -0000 Hello, Is someone using the new Acer Aspire Es1-111 netbook with FreeBSD or can provide a PCI listing from booting it with Linux or Windows? Thanks matthias -- Matthias Apitz, guru@unixarea.de, http://www.unixarea.de/ +49-170-4527211 1989-2014: The Wall was torn down so that we go to war together again. El Muro ha sido derribado para que nos unimos en ir a la guerra otra vez. Diese Grenze wurde aufgehoben damit wir gemeinsam wieder in den Krieg ziehen. From owner-freebsd-mobile@FreeBSD.ORG Sat Nov 22 12:36:34 2014 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 23ED54C1 for ; Sat, 22 Nov 2014 12:36:34 +0000 (UTC) Received: from server210.webhostingpad.com (server210.webhostingpad.com [69.65.33.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F2C8BBFB for ; Sat, 22 Nov 2014 12:36:33 +0000 (UTC) Received: from 87-92-229-32.bb.dnainternet.fi ([87.92.229.32]:6405 helo=[192.168.1.106]) by server210.webhostingpad.com with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.82) (envelope-from ) id 1Xs9Vd-001mYY-Lb for freebsd-mobile@freebsd.org; Sat, 22 Nov 2014 06:09:49 -0600 Message-ID: <54707D0A.2060502@peercorpstrust.org> Date: Sat, 22 Nov 2014 14:09:46 +0200 From: PeerCorps Trust Fund Organization: PeerCorps Trust Fund User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Subject: Best experience with Thinkpad suspend/resume Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server210.webhostingpad.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - peercorpstrust.org X-Get-Message-Sender-Via: server210.webhostingpad.com: authenticated_id: ipc@peercorpstrust.org X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2014 12:36:34 -0000 Dear mobile-users, We are considering the acquisition of about 40 Thinkpad laptops intended to be deployed in schools as teaching tools. For a significant number of reasons we have selected stock FreeBSD to run on these systems. It is not an absolute deal breaker but we are looking for the Thinkpad model providing the best suspend/resume support under FreeBSD. I've scoured the Internet and have essentially learned that the T520 and the T530 might be the best bet. Can others confirm this is still the case under FreeBSD 10.1? Any other models/suggestions would be extremely appreciated. Mike From owner-freebsd-mobile@FreeBSD.ORG Sat Nov 22 16:04:24 2014 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6E87A1A3 for ; Sat, 22 Nov 2014 16:04:24 +0000 (UTC) Received: from mail-wi0-x231.google.com (mail-wi0-x231.google.com [IPv6:2a00:1450:400c:c05::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F2D7E124 for ; Sat, 22 Nov 2014 16:04:23 +0000 (UTC) Received: by mail-wi0-f177.google.com with SMTP id l15so2009544wiw.4 for ; Sat, 22 Nov 2014 08:04:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=zdy2C7C1QFlRgCoKFbwbPXjlnTUDmYqv5p1X5PVkgGI=; b=ysgbzqsnmdSv7rbgtPPTyotQCSnxFK+F7PJsyFB6gBQpkMy5XzxVvrhR/pGWBMDBlY MHOJflY6qBMNmJ92+QBsI/pczMjeiTv50K/BEnIPMVo7eq87piqLF25uC1hPBuqaetZ7 jvxf27i0AmMEEJfCZVSseSHmGvS832vTtq0oRSO4xicFUxEaTK+UgRrBd5UdJcocrSMY NuCReo9B0q84m7YYJnM4P+PFUzgIYplJwluXtJ7wY9sjr/tJk0QbfLChp2B9QRfc0Rli F/iewzZ+iMQ24R/oiGP8wa7/srtetjckDm9V2hYqpn5SvLzBfrZTlF78G6r8w9Uw8rdh 7Diw== MIME-Version: 1.0 X-Received: by 10.180.92.169 with SMTP id cn9mr6868467wib.26.1416672262284; Sat, 22 Nov 2014 08:04:22 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.216.106.136 with HTTP; Sat, 22 Nov 2014 08:04:22 -0800 (PST) In-Reply-To: <54707D0A.2060502@peercorpstrust.org> References: <54707D0A.2060502@peercorpstrust.org> Date: Sat, 22 Nov 2014 08:04:22 -0800 X-Google-Sender-Auth: S9kLviX4SPnkSKfyANIIIteFE9E Message-ID: Subject: Re: Best experience with Thinkpad suspend/resume From: Adrian Chadd To: PeerCorps Trust Fund Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-mobile@freebsd.org" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2014 16:04:24 -0000 Hi! They _should_ suspend/resume ok on freebsd-10.1. If in doubt, try -HEAD on it and we can backport whatever is missing. The iwn(4) wifi support will be better in FreeBSD-HEAD. Noone's backported that to -10 yet. https://wiki.freebsd.org/Laptops/Thinkpad_T530 has some information. (I don't have T520 or T530, so I can't debug it. Having a T530 would be nice; I don't have any Optimus hardware at the moment so I can't really test what's required to make it work out of the box on freebsd.) -adrian On 22 November 2014 at 04:09, PeerCorps Trust Fund wrote: > Dear mobile-users, > > We are considering the acquisition of about 40 Thinkpad laptops intended = to be deployed in schools as teaching tools. > > For a significant number of reasons we have selected stock FreeBSD to run= on these systems. It is not an absolute deal breaker but we are looking fo= r the Thinkpad model providing the best suspend/resume support under FreeBS= D. I've scoured the Internet and have essentially learned that the T520 and= the T530 might be the best bet. > > Can others confirm this is still the case under FreeBSD 10.1? Any other m= odels/suggestions would be extremely appreciated. > > Mike > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" From owner-freebsd-mobile@FreeBSD.ORG Sat Nov 22 15:05:24 2014 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5C4893C5 for ; Sat, 22 Nov 2014 15:05:24 +0000 (UTC) Received: from graal.it-profi.org.ua (graal.shurik.kiev.ua [193.239.74.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 16749BA2 for ; Sat, 22 Nov 2014 15:05:23 +0000 (UTC) Received: from [93.183.237.30] (helo=thinkpad.it-profi.org.ua) by graal.it-profi.org.ua with esmtpa (Exim 4.84 (FreeBSD)) (envelope-from ) id 1XsBgN-000E9K-GO for freebsd-mobile@freebsd.org; Sat, 22 Nov 2014 16:29:03 +0200 Message-ID: <54709DAF.5050406@shurik.kiev.ua> Date: Sat, 22 Nov 2014 16:29:03 +0200 From: Alexandr Krivulya User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Subject: Re: Best experience with Thinkpad suspend/resume References: <54707D0A.2060502@peercorpstrust.org> In-Reply-To: <54707D0A.2060502@peercorpstrust.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 93.183.237.30 X-SA-Exim-Mail-From: shuriku@shurik.kiev.ua X-SA-Exim-Scanned: No (on graal.it-profi.org.ua); SAEximRunCond expanded to false X-Mailman-Approved-At: Sat, 22 Nov 2014 17:04:57 +0000 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2014 15:05:24 -0000 22.11.2014 14:09, PeerCorps Trust Fund пишет: > Dear mobile-users, > > We are considering the acquisition of about 40 Thinkpad laptops intended to be deployed in schools as teaching tools. > > For a significant number of reasons we have selected stock FreeBSD to run on these systems. It is not an absolute deal breaker but we are looking for the Thinkpad model providing the best suspend/resume support under FreeBSD. I've scoured the Internet and have essentially learned that the T520 and the T530 might be the best bet. > > Can others confirm this is still the case under FreeBSD 10.1? Any other models/suggestions would be extremely appreciated. > > Mike > Hello! I have Thinkpad E530 (Ivy Bridge) and suspend/resume works very well on stable and current. The only two issues are: 1. Before suspend I need to switch kern.eventtimer.timer from HPET to LAPIC (this enabled by default). With HPET it does not resume. 2. With Composite enabled in X11 I need patch [1] to avoid some screen garbage after resume. Without Composite all works fine. [1] http://lists.freebsd.org/pipermail/freebsd-x11/2013-October/013727.html From owner-freebsd-mobile@FreeBSD.ORG Sat Nov 22 17:47:01 2014 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8B37C25D for ; Sat, 22 Nov 2014 17:47:01 +0000 (UTC) Received: from mail-wi0-x231.google.com (mail-wi0-x231.google.com [IPv6:2a00:1450:400c:c05::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1C5B1D81 for ; Sat, 22 Nov 2014 17:47:01 +0000 (UTC) Received: by mail-wi0-f177.google.com with SMTP id l15so2133048wiw.10 for ; Sat, 22 Nov 2014 09:46:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=0Wo6sy0aKIoSw7wjUMk+6kepx7ZLlrFVkQuPyXDE+34=; b=sJnMCrjjzUhkuy52FJ67qBK+xgPGhiybQNl/CwmavA0n2YTaAW7nUQ2dhjSph0hbej mI733i4bCRlyrKqVbFBMxqtngA5gR4RRiAvmK6M9ZsOcubURgkRZi3J0FrS6Xvb4Kdvx UVglgLPDnUwoK/ghKYtwzfVfRzrDcZdtkvImOwuj543dR+hg/Tusrb6Mjisfh6ofj0w4 Hozufrtk3dlhGcTqhFKGfKIQbTi6D8EM/8UW9gGEDZ4IenRvyT4xdPN4Fdykwlxu6ZGE k/i0dqIM/hxwlAVpUVYzWvKXGffTsDefav4fwcsg1PKQIyuIdGd+DKNZk3qK6EvetbTn 2SRw== MIME-Version: 1.0 X-Received: by 10.180.92.169 with SMTP id cn9mr7440654wib.26.1416678419603; Sat, 22 Nov 2014 09:46:59 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.216.106.136 with HTTP; Sat, 22 Nov 2014 09:46:59 -0800 (PST) In-Reply-To: <54709DAF.5050406@shurik.kiev.ua> References: <54707D0A.2060502@peercorpstrust.org> <54709DAF.5050406@shurik.kiev.ua> Date: Sat, 22 Nov 2014 09:46:59 -0800 X-Google-Sender-Auth: 68ClPeqA4ncW-kMMDLRMhUNi53I Message-ID: Subject: Re: Best experience with Thinkpad suspend/resume From: Adrian Chadd To: Alexandr Krivulya Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-mobile@freebsd.org" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2014 17:47:01 -0000 On 22 November 2014 at 06:29, Alexandr Krivulya wr= ote: > 22.11.2014 14:09, PeerCorps Trust Fund =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >> Dear mobile-users, >> >> We are considering the acquisition of about 40 Thinkpad laptops intended= to be deployed in schools as teaching tools. >> >> For a significant number of reasons we have selected stock FreeBSD to ru= n on these systems. It is not an absolute deal breaker but we are looking f= or the Thinkpad model providing the best suspend/resume support under FreeB= SD. I've scoured the Internet and have essentially learned that the T520 an= d the T530 might be the best bet. >> >> Can others confirm this is still the case under FreeBSD 10.1? Any other = models/suggestions would be extremely appreciated. >> >> Mike >> > Hello! > I have Thinkpad E530 (Ivy Bridge) and suspend/resume works very well on > stable and current. The only two issues are: > > 1. Before suspend I need to switch kern.eventtimer.timer from HPET to > LAPIC (this enabled by default). With HPET it does not resume. Why isn't this happening for you? It's happening for me. Would you mind trying -HEAD out and then file a FreeBSD bug with the details? This sounds easily fixable. > 2. With Composite enabled in X11 I need patch [1] to avoid some screen > garbage after resume. Without Composite all works fine. > > [1] http://lists.freebsd.org/pipermail/freebsd-x11/2013-October/013727.ht= ml Gah, I'll re-poke the xorg team about this. -adrian From owner-freebsd-mobile@FreeBSD.ORG Sat Nov 22 19:47:23 2014 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D4840CD7; Sat, 22 Nov 2014 19:47:23 +0000 (UTC) Received: from mail-ig0-x232.google.com (mail-ig0-x232.google.com [IPv6:2607:f8b0:4001:c05::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 98D18BB1; Sat, 22 Nov 2014 19:47:23 +0000 (UTC) Received: by mail-ig0-f178.google.com with SMTP id hl2so1312185igb.17 for ; Sat, 22 Nov 2014 11:47:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=stvRmF35AbpFxCOIAKZ6hz/bqo6Fp8bBLXIzmLg+FBQ=; b=y7DpTo14x/247Q/bidZVRxKxDDMgpv8IbAA1RaeSdrUFj4u3xAAzqMBC++cI7Xd5TL LwICxa+r1gfRGbm5Li0GBkjYiYCWMNZNYdT8D3p6WOG2JfeM0uGY0q5NtDGHAgwVhH7A VdILdzFG4M2mSIYz5QExiPDYlYEIo3K6z2EPMqizdfRTNnDpSRCrQXYCA+Y66GtDL1e+ 9VyYYnyRaa1q//GgIAQVyaIWcUfNc+kONhhd4Jntq/Rz9T46U+UagO8yvXKrR2P8WwE4 UeBJ6VucVR2mc4OEYso+APtbRp8etY3kC8ckl0506ymKIj0BiDHw+IA95XDdjbynjS/q lj5A== MIME-Version: 1.0 X-Received: by 10.43.90.198 with SMTP id bj6mr18350738icc.4.1416685642925; Sat, 22 Nov 2014 11:47:22 -0800 (PST) Sender: kob6558@gmail.com Received: by 10.107.7.169 with HTTP; Sat, 22 Nov 2014 11:47:22 -0800 (PST) In-Reply-To: References: <54707D0A.2060502@peercorpstrust.org> Date: Sat, 22 Nov 2014 11:47:22 -0800 X-Google-Sender-Auth: Hw9MM_X_5VA-Cm9i_uI_4PvBga4 Message-ID: Subject: Re: Best experience with Thinkpad suspend/resume From: Kevin Oberman To: Adrian Chadd Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-mobile@freebsd.org" , PeerCorps Trust Fund X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2014 19:47:24 -0000 On Sat, Nov 22, 2014 at 8:04 AM, Adrian Chadd wrote: > Hi! > > They _should_ suspend/resume ok on freebsd-10.1. If in doubt, try > -HEAD on it and we can backport whatever is missing. > > The iwn(4) wifi support will be better in FreeBSD-HEAD. Noone's > backported that to -10 yet. > > https://wiki.freebsd.org/Laptops/Thinkpad_T530 has some information. > > (I don't have T520 or T530, so I can't debug it. Having a T530 would > be nice; I don't have any Optimus hardware at the moment so I can't > really test what's required to make it work out of the box on > freebsd.) > > > > -adrian > I have T520 (which suspends and resumes just fine on 10.1). I have continuing pain with iwn(4), though. Do you have any idea if I could use iwn from HEAD on 10.1 (r274552)? I have not been running HEAD for some time and I don't know if the kernel has changed to the point that a driver from HEAD will fail on 10-STABLE. -- R. Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com From owner-freebsd-mobile@FreeBSD.ORG Sat Nov 22 21:04:34 2014 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 86F10D3D for ; Sat, 22 Nov 2014 21:04:34 +0000 (UTC) Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1C684347 for ; Sat, 22 Nov 2014 21:04:34 +0000 (UTC) Received: by mail-wi0-f173.google.com with SMTP id r20so2320019wiv.12 for ; Sat, 22 Nov 2014 13:04:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=AgTYCKB/ck3YfdND9PtheZBeSly6tn8bcfu+zd7bT7s=; b=o7vcLENJUBHPFoQ7yHGenoOHvek9QWhf4CWz7L28EtzbG+ludQRBGrx5wSDMwW2D41 EvxJfJJ+i91w/W8K5zZW0pqFxgXVv53vBDANm/En17dL767j6epntP+ofPUq2fZR+wRf VSMxvO0Mu7Psc6ER5akHhRJaoAukelcEqVmy8WjgZOCaq/BAk+UFpgyvLHniNfGug0av MhEQ81D8V07rvjPZc9mJ501USCROW066mB4KUA2Nfh4t1YqUlep2D8DUuMJi1kAfBJqe M82+eykXiDiQoawuvirpl2y5e0UyDhON6xU3mYiGfwtCZS9hL2X80nh6yyo3gxAbSkFE XwMA== MIME-Version: 1.0 X-Received: by 10.194.85.83 with SMTP id f19mr20568140wjz.20.1416690272636; Sat, 22 Nov 2014 13:04:32 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.216.106.136 with HTTP; Sat, 22 Nov 2014 13:04:32 -0800 (PST) Date: Sat, 22 Nov 2014 13:04:32 -0800 X-Google-Sender-Auth: LSQSYHCzehDY-NGbYYkjfUSD-xk Message-ID: Subject: Optimus support page From: Adrian Chadd To: "freebsd-mobile@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2014 21:04:34 -0000 Hi! I've gathered some info from the #freebsd-xorg channel populace about the Optimus support. Here: From owner-freebsd-mobile@FreeBSD.ORG Sat Nov 22 21:05:58 2014 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 98BD8D8C for ; Sat, 22 Nov 2014 21:05:58 +0000 (UTC) Received: from mail-wi0-x236.google.com (mail-wi0-x236.google.com [IPv6:2a00:1450:400c:c05::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2AE96354 for ; Sat, 22 Nov 2014 21:05:58 +0000 (UTC) Received: by mail-wi0-f182.google.com with SMTP id h11so2351977wiw.15 for ; Sat, 22 Nov 2014 13:05:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=Umv6Q+7J7YwRKOt9+vrLNNVrLUBBSWaOEKP1VbuPnrQ=; b=Q4elJJYEf/9OTi7tJ0Ml7CDsYYDynWrZSFKxGEYLbII0osngBjKS1XGkeZK/ns7IK1 cIsplAOSa4/2/dX9Fawzlk0ISrwBndesdp/hlNjJBVBwWmQLiC+VmPhmdNLykazIwGCq t3DUsYaMImz5GTFv1+rjW8dyHVNc+scF6h1XRJs/FFMHTodOTtJXpVcypcUw8CK7J4mM GCZI5yuDpOwtBHlwrPS7DRja2OlU3kG3YaqLzOXyEcaUbSFKoy3C53iCiEoyZ4dW06ts 1iGN6gQFHJ1E9r58nkpJxgFMbg4lIh7RdAZGy1j/kXLBhUFlM4EtNijjNFc3LviYAi5b IKVA== MIME-Version: 1.0 X-Received: by 10.194.80.100 with SMTP id q4mr19853328wjx.15.1416690356493; Sat, 22 Nov 2014 13:05:56 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.216.106.136 with HTTP; Sat, 22 Nov 2014 13:05:56 -0800 (PST) In-Reply-To: References: Date: Sat, 22 Nov 2014 13:05:56 -0800 X-Google-Sender-Auth: dTkxhkXBGhQVMFYDmCY0D9xfaV8 Message-ID: Subject: Re: Optimus support page From: Adrian Chadd To: "freebsd-mobile@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2014 21:05:58 -0000 On 22 November 2014 at 13:04, Adrian Chadd wrote: > Hi! > > I've gathered some info from the #freebsd-xorg channel populace about > the Optimus support. > > Here: https://wiki.freebsd.org/OptimusVideoSupport It's a work in progress: * there's some patches to the port - hopefully it gets set to build the optimus support as a default option so the binary packages support it; * the process for enabling/disabling it is clunky; * having kernel awareness of this arrangement so it can be disabled/enabled without having to unload the driver and fumble with pci space config registers would be nice. I don't have any Optimus hardware at the moment (but donations are appreciated! :-) so I'd appreciate feedback from Optimus users. Thanks! -adrian