From owner-freebsd-mobile@FreeBSD.ORG Wed Apr 9 00:25:58 2014 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CEBD122B; Wed, 9 Apr 2014 00:25:58 +0000 (UTC) Received: from mail-qg0-x233.google.com (mail-qg0-x233.google.com [IPv6:2607:f8b0:400d:c04::233]) (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 812821C19; Wed, 9 Apr 2014 00:25:58 +0000 (UTC) Received: by mail-qg0-f51.google.com with SMTP id q108so1581209qgd.24 for ; Tue, 08 Apr 2014 17:25:57 -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:content-type; bh=UKyQnQGqLuQYkLvYxscXqXkJ4gjSrgzUKG94IkxDTDc=; b=zvFFe9kSHOt81S/EGk9a9CoEenRmWWthMZ5WwtZl1JfAYbRZDPbjakWatWlNlfdBCx wR8CB9j0jJWABYvCP/K6GuLqu3j+iMNQqy3hy/gE5j+BBHFp3cnxtYS5OIK4SnPOFGuF veHxgbaY489XylUIaponaCkf4g7xAmzqY7A+hFiqdasTBZYO03WYcxa3ZinQV6DXJw5K 68fUDufoXCifPy251NOlf/e9TzyplTUPuhfCDQ3n3CaUMGFeQ7Duqjh1byXh++k/PPRE M8i5xpCC/jsEBWNcg8emz1LXe5k9GCw983ouMO5oI7AG5dmiNM4gxDK4jFRDAPCWNQpI +pyg== MIME-Version: 1.0 X-Received: by 10.224.66.4 with SMTP id l4mr8784887qai.70.1397003157563; Tue, 08 Apr 2014 17:25:57 -0700 (PDT) Received: by 10.96.200.136 with HTTP; Tue, 8 Apr 2014 17:25:57 -0700 (PDT) In-Reply-To: <201404081719.41379.jhb@freebsd.org> References: <201404081719.41379.jhb@freebsd.org> Date: Wed, 9 Apr 2014 04:25:57 +0400 Message-ID: Subject: Re: Suspend/Resume on Lenovo IdeaPad S400 with FreeBSD 10? From: Ivan Rokotov To: John Baldwin Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-mobile@freebsd.org X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Apr 2014 00:25:58 -0000 2014-04-09 1:19 GMT+04:00 John Baldwin : > Try using vt(4) instead of syscons(4) and kldload'ing i915kms from > text mode. See if you can resume on the console. That has worked for > several ThinkPads, though resume always worked fine for me in X even > with syscons(4) when using i915kms. Hi John, I tried this system: FreeBSD ... 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r263927: Sun Mar 30 08:08:04 UTC 2014 root@grind.freebsd.org:/usr/obj/usr/src/sys/VT amd64 and the results are as follows: With * hw.vga.textmode=1 * acpi_video.ko loaded * hw.acpi.reset_video=1 suspend/resume works from console. With * hw.vga.textmode=0 * acpi_video loaded * hw.acpi.reset_video=1 after resume just backlight turns on. I had to press some key to get the picture back. Anyway, it works. With * hw.vga.textmode=0 * i915kms.ko loaded from console (no X installed at all) * acpi_video loaded * hw.acpi.reset_video=1 suspend/resume works, with these log messages: info: [drm] Enabling RC6 states: RC6 off, RC6p off, RC6pp off error: [drm:pid1361:intel_lvds_enable] *ERROR* timed out waiting for panel to power off but this is harmless (I hope so). This is, of course, very promising. However, I wouldn't like to run 11-CURRENT on my everyday notebook. So, before I proceed to testing a real X environment on 11-CURRENT, may I ask you: will vt(4) compile on 10.0-RELEASE? If not, may we expect to see vt(4) in e.g. 10.1, or it is an exclusively 11-only feature? Thank you for your help! Ivan