From owner-freebsd-acpi@FreeBSD.ORG Sun Jul 20 01:42:54 2014 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C91EF880 for ; Sun, 20 Jul 2014 01:42:54 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B07EF229B for ; Sun, 20 Jul 2014 01:42:54 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s6K1gscE010964 for ; Sun, 20 Jul 2014 01:42:54 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-acpi@FreeBSD.org Subject: [Bug 139088] [acpi] ACPI Exception: AE_AML_INFINITE_LOOP error Date: Sun, 20 Jul 2014 01:42:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: steven_nikkel@ertyu.org X-Bugzilla-Status: In Discussion X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-acpi@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jul 2014 01:42:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=139088 steven_nikkel@ertyu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |steven_nikkel@ertyu.org --- Comment #4 from steven_nikkel@ertyu.org --- Created attachment 144805 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=144805&action=edit Custom DSDT https://forums.freebsd.org/viewtopic.php?p=62755#p62755 However, there is another problem with this board - broken ACPI. If you see AE_AML_INFINITE_LOOP ACPI errors on yours, load the attached DSDT. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-acpi@FreeBSD.ORG Sun Jul 20 01:45:28 2014 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 96C5D8BA for ; Sun, 20 Jul 2014 01:45:28 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7EC9922AB for ; Sun, 20 Jul 2014 01:45:28 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s6K1jSZA013698 for ; Sun, 20 Jul 2014 01:45:28 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-acpi@FreeBSD.org Subject: [Bug 139088] [acpi] ACPI Exception: AE_AML_INFINITE_LOOP error Date: Sun, 20 Jul 2014 01:45:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: steven_nikkel@ertyu.org X-Bugzilla-Status: In Discussion X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-acpi@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jul 2014 01:45:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=139088 --- Comment #5 from steven_nikkel@ertyu.org --- I have the exact same problem and the same board. I believe I experienced the problem in 8.x, but don't recall what I did to resolve it. It may have been an upgrade to 9.x or a BIOS update or something else. However the problem returned in 10.x. I found two other threads discussing the same issue: https://forums.freebsd.org/viewtopic.php?p=62755#p62755 https://bugzilla.kernel.org/show_bug.cgi?id=14552#c6 Summary: a bug in the BIOS tables, solved by overriding them with custom DSDT tables I've used the custom DSDT table for several months with no more occurrences of this issue. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-acpi@FreeBSD.ORG Mon Jul 21 17:03:48 2014 Return-Path: Delivered-To: freebsd-acpi@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 7B7917BE for ; Mon, 21 Jul 2014 17:03:48 +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 4F7F32D2D for ; Mon, 21 Jul 2014 17:03:48 +0000 (UTC) Received: from pippin.baldwin.cx (75-48-77-17.lightspeed.cncrca.sbcglobal.net [75.48.77.17]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 546DBB9B1; Mon, 21 Jul 2014 13:03:47 -0400 (EDT) From: John Baldwin To: freebsd-acpi@freebsd.org Subject: Re: ACPI support - Freebsd 10 on Sony Vaio VPCCA3C5E Date: Mon, 21 Jul 2014 12:30:23 -0400 Message-ID: <13718226.Ho98q5fHLH@pippin.baldwin.cx> User-Agent: KMail/4.12.5 (FreeBSD/11.0-CURRENT; KDE/4.12.5; amd64; ; ) In-Reply-To: <20140717011710.W50382@sola.nimnet.asn.au> References: <53C67D70.6060603@att.net> <20140717011710.W50382@sola.nimnet.asn.au> 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, 21 Jul 2014 13:03:47 -0400 (EDT) Cc: Anthony Jenkins , Daniele Mazzotti , Ian Smith X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jul 2014 17:03:48 -0000 On Thursday 17 July 2014 03:16:10 Ian Smith wrote: > On Wed, 16 Jul 2014 09:26:08 -0400, Anthony Jenkins wrote: > > On 07/16/2014 01:32, Daniele Mazzotti wrote: > >> Hi guys, thanks again for the support, but I am leaving for a > >> businesses trip and I will be forced to put this debug thing on hold > >> for a while. I will be back on track next week. > > > > Bah... really wanted to figure out the patch problem. I suspect the > > file picked up some corruption somewhere between the email and your > > FreeBSD filesystem. Your OS version has the same revision of that > > source file as mine, so it should apply cleanly. If you feel like > > tinkering with it in your free time, I've posted the patch here: > > http://pastebin.com/P0B44u0c > > > > Good luck, > > Anthony > > Either by show raw and save, or by download, the patch has ^M lineends. > > Interesting, but I can't see atrtc.c being the right sort of place for > this, seems way out of scope. Couldn't you include its headers and use > functions rtcin() and writertc() from elsewhere in kernel, perhaps a > module living in the same hierarchy as acpi_ibm, acpi_asus and such, > that one could build and kldload if useful on a certain machine/s? I disagree, I think this is exactly the right place to do it. The CMOS access on x86 boxes is going to be via the RTC, and the folks from Intel even indicated that the proper place to put the CMOS region handler is in the driver that claims the RTC PNP ID. The only pending question I was aware of is that Anthony had asked the Intel guys a question about a return code, but that barring that the patch was ready to go into the tree (and should probably go in soon so it can make 10.1). -- John Baldwin From owner-freebsd-acpi@FreeBSD.ORG Mon Jul 21 17:40:14 2014 Return-Path: Delivered-To: freebsd-acpi@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 8BBFD23F for ; Mon, 21 Jul 2014 17:40:14 +0000 (UTC) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DDD952055 for ; Mon, 21 Jul 2014 17:40:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id s6LHdvsr087360; Tue, 22 Jul 2014 03:39:57 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Tue, 22 Jul 2014 03:39:56 +1000 (EST) From: Ian Smith To: John Baldwin Subject: Re: ACPI support - Freebsd 10 on Sony Vaio VPCCA3C5E In-Reply-To: <13718226.Ho98q5fHLH@pippin.baldwin.cx> Message-ID: <20140722033156.E8638@sola.nimnet.asn.au> References: <53C67D70.6060603@att.net> <20140717011710.W50382@sola.nimnet.asn.au> <13718226.Ho98q5fHLH@pippin.baldwin.cx> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Anthony Jenkins , freebsd-acpi@freebsd.org, Daniele Mazzotti X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jul 2014 17:40:14 -0000 On Mon, 21 Jul 2014 12:30:23 -0400, John Baldwin wrote: > On Thursday 17 July 2014 03:16:10 Ian Smith wrote: > > On Wed, 16 Jul 2014 09:26:08 -0400, Anthony Jenkins wrote: > > > On 07/16/2014 01:32, Daniele Mazzotti wrote: > > >> Hi guys, thanks again for the support, but I am leaving for a > > >> businesses trip and I will be forced to put this debug thing on hold > > >> for a while. I will be back on track next week. > > > > > > Bah... really wanted to figure out the patch problem. I suspect the > > > file picked up some corruption somewhere between the email and your > > > FreeBSD filesystem. Your OS version has the same revision of that > > > source file as mine, so it should apply cleanly. If you feel like > > > tinkering with it in your free time, I've posted the patch here: > > > http://pastebin.com/P0B44u0c > > > > > > Good luck, > > > Anthony > > > > Either by show raw and save, or by download, the patch has ^M lineends. > > > > Interesting, but I can't see atrtc.c being the right sort of place for > > this, seems way out of scope. Couldn't you include its headers and use > > functions rtcin() and writertc() from elsewhere in kernel, perhaps a > > module living in the same hierarchy as acpi_ibm, acpi_asus and such, > > that one could build and kldload if useful on a certain machine/s? > > I disagree, I think this is exactly the right place to do it. The CMOS access > on x86 boxes is going to be via the RTC, and the folks from Intel even > indicated that the proper place to put the CMOS region handler is in the > driver that claims the RTC PNP ID. The only pending question I was aware of > is that Anthony had asked the Intel guys a question about a return code, but > that barring that the patch was ready to go into the tree (and should probably > go in soon so it can make 10.1). I agree :) Yes, as noted I was well under-researched, was myself out of scope, and missed the basis of this entirely. I'm glad it's going ahead despite my distractions .. cheers, Ian From owner-freebsd-acpi@FreeBSD.ORG Mon Jul 21 18:03:58 2014 Return-Path: Delivered-To: freebsd-acpi@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 4A10AB1C for ; Mon, 21 Jul 2014 18:03:58 +0000 (UTC) Received: from nm46.bullet.mail.ne1.yahoo.com (nm46.bullet.mail.ne1.yahoo.com [98.138.120.53]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 064AE22D9 for ; Mon, 21 Jul 2014 18:03:57 +0000 (UTC) Received: from [127.0.0.1] by nm46.bullet.mail.ne1.yahoo.com with NNFMP; 21 Jul 2014 18:03:50 -0000 Received: from [98.138.226.176] by nm46.bullet.mail.ne1.yahoo.com with NNFMP; 21 Jul 2014 18:00:56 -0000 Received: from [66.196.81.156] by tm11.bullet.mail.ne1.yahoo.com with NNFMP; 21 Jul 2014 18:00:56 -0000 Received: from [66.196.81.150] by tm2.access.bullet.mail.bf1.yahoo.com with NNFMP; 21 Jul 2014 18:00:56 -0000 Received: from [127.0.0.1] by omp1026.access.mail.bf1.yahoo.com with NNFMP; 21 Jul 2014 18:00:56 -0000 X-Yahoo-Newman-Property: ymail-4 X-Yahoo-Newman-Id: 546350.37252.bm@omp1026.access.mail.bf1.yahoo.com Received: (qmail 15961 invoked by uid 60001); 21 Jul 2014 18:00:56 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=att.net; s=s1024; t=1405965656; bh=Pj7QXY2i0d5mK9VedBeSFm7Mu5kMUB5LO1F87czfNzM=; h=Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=eKfD7ScufhnH09ST6+yYPYaK21/Q/NaYfyclS3age54o5bIIxRXd7wc6tQjIYT5enjgiXPxsrfPDnkF8TucX/ZVAyf9g7/R10KcYqwLi+7N6BBcqdFUfcoTmxi3Lg1Y1WkFfZbiHu13mqilShyHSk99RapV4hl/RODhgYXukL1g= X-YMail-OSG: 7H69kNsVM1lqcRWRFhaVuv8Ud3AnZjLrpv0lnrusFhXy2RV LFE3QjzVf.s_o2nmd3tWc2nXl7OGYDSd5f.ysIh_IP6.9HsQKr9gWDi5tadI v6YM.GqD7tsPRqx4j4QCXpw7ICL05SxjwV8.UQpIOMHr5hXJa_ELSh.yjRei kNjqKlQDpg.KXNKQ0aQQgZWBenkRvmeaZKUMBUJNrmnkF4dlsP2PUZq0XR3L JFVFe_V9yqfvlR_V1jOS7VqNb03k2JWt_CmhQyPRSZchHm8y_aDjfDY0kVrG PMmeFJn86hLryjvQfV_Ewz22eqmrRqpq2v4aSXAqWEu5qrAQgRsm_quU_Rz9 x9yfPymLCJt0bC41Kz3Kp4GzLTLxvkP1J06ff7jaC2yu6m0rrNVuT0Tc29n9 S67Kl9Be.uvC6QQoz3sXw9gpf3bMKakGxsM0lnsuzrhINwkB0sLd6Q1g_4HG ehMBj7UKPGfl7Zp.eETKuJMPQFVVBvrR4xnCXF6QOVUc88gIkRxpyX4MiK3s 6ZAWTtUs5V5YFo7Oztishv8yZsqfns2VzeEg4Gtl7S1ErwJhkjUyHsdocNgz xSmqhYcVBLS492U_TiKq0zuqvalZw0sxQIksMH.0Na4XgssOrBU_NDNIjZ3u NryZ46RDf5H.Uiwqij3Nrkm87fgQDyzTwhAXcPnKY9cI17cRDo7fCDqwX631 3OSHPS_KnHJC1qEBJZlFKylTZMsAEV9vv_o5YMPRv6ninda0XrsPVpET4Bky 6MjnUNWs- Received: from [64.100.113.51] by web181606.mail.ne1.yahoo.com via HTTP; Mon, 21 Jul 2014 11:00:56 PDT X-Rocket-MIMEInfo: 002.001, VGhhbmtzIGFsbCzCoCB0aGUgbW9yZSBmZWVkYmFjayB0aGUgYmV0dGVyISAKCkpvaG4sIHllYWggaXQgd2FzIHRoYXQgJiBtdWx0aWJ5dGUgYWNjZXNzZXMgKHdoaWNoIEkgd2VudCBhaGVhZCAmIGltcGxlbWVudGVkLi4uIHNob3VsZG4ndCBodXJ0IGFueXRoaW5nKS4KCkFsc28gSSBuZWVkIHRvIGRvdWJsZS1jaGVjayB0aGF0IEkgYWxsb3cgYXRydGMgdW5yZXN0cmljdGVkIHJlYWRzL3dyaXRlcywgYnV0IHJlc3RyaWN0IEFDUEkgdG8gcmVhZC1vbmx5IGFjY2Vzc2VzIHRvIHRoZSBSVEMgcmVnaXN0ZXJzLiABMAEBAQE- X-Mailer: YahooMailAndroidMobile/4.0.4 YahooMailWebService/0.8.195.680 Message-ID: <1405965655.15937.YahooMailAndroidMobile@web181606.mail.ne1.yahoo.com> Date: Mon, 21 Jul 2014 11:00:55 -0700 From: Anthony Jenkins Subject: Re: ACPI support - Freebsd 10 on Sony Vaio VPCCA3C5E To: Ian Smith , John Baldwin In-Reply-To: <20140722033156.E8638@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: Anthony Jenkins , "freebsd-acpi@freebsd.org" , Daniele Mazzotti X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jul 2014 18:03:58 -0000 Thanks all,=A0 the more feedback the better! =0A=0AJohn, yeah it was that &= multibyte accesses (which I went ahead & implemented... shouldn't hurt any= thing).=0A=0AAlso I need to double-check that I allow atrtc unrestricted re= ads/writes, but restrict ACPI to read-only accesses to the RTC registers. I= 'll have to look into Ian's concerns about accessing those regs. I know old= implementations of the RTC use certain bits for NMI control & stuff. =0A= =0AI'd have replied sooner, but managed to hose my GUI by updating devel/db= us...rebuilding everything now :-( =0A=0AAnthony=0ASent from Yahoo Mail on = Android=0A=0A From owner-freebsd-acpi@FreeBSD.ORG Mon Jul 21 19:47:53 2014 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 76243BC for ; Mon, 21 Jul 2014 19:47:53 +0000 (UTC) Received: from mail-yh0-x22f.google.com (mail-yh0-x22f.google.com [IPv6:2607:f8b0:4002:c01::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 3706C2C55 for ; Mon, 21 Jul 2014 19:47:53 +0000 (UTC) Received: by mail-yh0-f47.google.com with SMTP id f10so4384757yha.34 for ; Mon, 21 Jul 2014 12:47:52 -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=6jzBEMco24/fnEGKZLbXPS4PlDg8NJPbrURPf3pTyhI=; b=fkzy4bYYfUoKZHppAcJVRtmAeYXZ6IFELgvE+QTpX79TC/PJiRfny6ngAUd+pMvItQ IKUsJxptSQAaoqzOiFxbylJO0YelnLHKBI9fPqdgOzKSUSGHga5loFhSFWj99re3+WDr s4UNCdgzEf0/9u6zbvt89tXrPFfICO3yb5XMzkkz2a5PzJtJHdOKORiPK3ysNzdlPLci Tffy9SpJEY9dUahLbcyU7MMS3ivOJtqGxOjUYyAM91pcbxAEyhNRnRMmm74woJesls1j 7dsK6ENlCSD1qKPlUW67ghpudODEWrDsFlDcV09CBr5yn59w2u3yIJQdaIF1A8/fiwEE Ax7A== MIME-Version: 1.0 X-Received: by 10.236.160.67 with SMTP id t43mr43687526yhk.11.1405972072234; Mon, 21 Jul 2014 12:47:52 -0700 (PDT) Received: by 10.170.210.86 with HTTP; Mon, 21 Jul 2014 12:47:52 -0700 (PDT) In-Reply-To: <1405965655.15937.YahooMailAndroidMobile@web181606.mail.ne1.yahoo.com> References: <20140722033156.E8638@sola.nimnet.asn.au> <1405965655.15937.YahooMailAndroidMobile@web181606.mail.ne1.yahoo.com> Date: Mon, 21 Jul 2014 21:47:52 +0200 Message-ID: Subject: Re: ACPI support - Freebsd 10 on Sony Vaio VPCCA3C5E From: Daniele Mazzotti To: Anthony Jenkins Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: John Baldwin , "freebsd-acpi@freebsd.org" , Ian Smith X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jul 2014 19:47:53 -0000 Hi guys, I successfully managed to survive the business trip and this damn hot weekend here in the north Germany, so I am back on track! I have a few (not that nice to me) news to you all: 1. I have applied the patch, but the suspend mode (acpiconf -s 3) is not working; 2. I am still having problems with the battery. Actually when I put the pc to suspend and then try to wake it up, the screen stays black. I never had many, but I am running out of ideas! Cheers, Daniele. 2014-07-21 20:00 GMT+02:00 Anthony Jenkins : > Thanks all, the more feedback the better! > > John, yeah it was that & multibyte accesses (which I went ahead & > implemented... shouldn't hurt anything). > > Also I need to double-check that I allow atrtc unrestricted reads/writes, > but restrict ACPI to read-only accesses to the RTC registers. I'll have to > look into Ian's concerns about accessing those regs. I know old > implementations of the RTC use certain bits for NMI control & stuff. > > I'd have replied sooner, but managed to hose my GUI by updating > devel/dbus...rebuilding everything now :-( > > Anthony > Sent from Yahoo Mail on Android > > > ------------------------------ > * From: * Ian Smith ; > * To: * John Baldwin ; > * Cc: * ; Anthony Jenkins < > Anthony.B.Jenkins@att.net>; Daniele Mazzotti ; > * Subject: * Re: ACPI support - Freebsd 10 on Sony Vaio VPCCA3C5E > * Sent: * Mon, Jul 21, 2014 5:39:56 PM > > On Mon, 21 Jul 2014 12:30:23 -0400, John Baldwin wrote: > > > On Thursday 17 July 2014 03:16:10 Ian Smith wrote: > > > On Wed, 16 Jul 2014 09:26:08 -0400, Anthony Jenkins wrote: > > > > On 07/16/2014 01:32, Daniele Mazzotti wrote: > > > >> Hi guys, thanks again for the support, but I am leaving for a > > > >> businesses trip and I will be forced to put this debug thing on > hold > > > >> for a while. I will be back on track next week. > > > > > > > > Bah... really wanted to figure out the patch problem. I suspect the > > > > file picked up some corruption somewhere between the email and your > > > > FreeBSD filesystem. Your OS version has the same revision of that > > > > source file as mine, so it should apply cleanly. If you feel like > > > > tinkering with it in your free time, I've posted the patch here: > > > > http://pastebin.com/P0B44u0c > > > > > > > > Good luck, > > > > Anthony > > > > > > Either by show raw and save, or by download, the patch has ^M lineends. > > > > > > Interesting, but I can't see atrtc.c being the right sort of place for > > > this, seems way out of scope. Couldn't you include its headers and use > > > functions rtcin() and writertc() from elsewhere in kernel, perhaps a > > > module living in the same hierarchy as acpi_ibm, acpi_asus and such, > > > that one could build and kldload if useful on a certain machine/s? > > > > I disagree, I think this is exactly the right place to do it. The CMOS > access > > on x86 boxes is going to be via the RTC, and the folks from Intel even > > indicated that the proper place to put the CMOS region handler is in the > > driver that claims the RTC PNP ID. The only pending question I was > aware of > > is that Anthony had asked the Intel guys a question about a return code, > but > > that barring that the patch was ready to go into the tree (and should > probably > > go in soon so it can make 10.1). > > > I agree :) Yes, as noted I was well under-researched, was myself out of > scope, and missed the basis of this entirely. I'm glad it's going ahead > despite my distractions .. > > cheers, Ian > > From owner-freebsd-acpi@FreeBSD.ORG Mon Jul 21 21:04:21 2014 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3191A5C8 for ; Mon, 21 Jul 2014 21:04:21 +0000 (UTC) Received: from mail-pa0-x22a.google.com (mail-pa0-x22a.google.com [IPv6:2607:f8b0:400e:c03::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 051022405 for ; Mon, 21 Jul 2014 21:04:20 +0000 (UTC) Received: by mail-pa0-f42.google.com with SMTP id lf10so10627440pab.29 for ; Mon, 21 Jul 2014 14:04:20 -0700 (PDT) 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=IuT3xqwN0m5nDaHYQgSR8v43hh59BRy6LrnM5NoFz9o=; b=WZJsroUFTXCZYeQw/7s54yTOke4pOuQGiMKZqsoIkqGzyAiWWv/OQrJXPY7Ty4z4Gg pDCozs9Qqb1yBjQMc/ZS3daicAxP5qGQXOZI9Tec6SL1dxHFkWmEui8+VaEIHmwsAb2p yqh9MMYgA8BwwsDo0ll1qlKBYNOkUmF9rZqKG9Eb1iGc1Hj7pO7ndEdmMM6gi0pRq+jS /33gE8RHDbDYrj2ZW/+h+E5IlZHX1/ruMa9F6V1prIz65FpT4BU3pXASEyFVsp+ZqLZ4 MmfuX2oIoOVdVUwKnwN+KsJ9KSVYnc5gGgFnZ9oLsVNx9U+kfO9cvniwV+z3/B/WAb3o E3YQ== MIME-Version: 1.0 X-Received: by 10.66.142.199 with SMTP id ry7mr28288945pab.10.1405976660521; Mon, 21 Jul 2014 14:04:20 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.66.88.227 with HTTP; Mon, 21 Jul 2014 14:04:20 -0700 (PDT) In-Reply-To: References: <20140722033156.E8638@sola.nimnet.asn.au> <1405965655.15937.YahooMailAndroidMobile@web181606.mail.ne1.yahoo.com> Date: Mon, 21 Jul 2014 14:04:20 -0700 X-Google-Sender-Auth: x-7QohuSYAF998hygxG7ygj2_ts Message-ID: Subject: Re: ACPI support - Freebsd 10 on Sony Vaio VPCCA3C5E From: Kevin Oberman To: Daniele Mazzotti Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: Anthony Jenkins , John Baldwin , "freebsd-acpi@freebsd.org" , Ian Smith X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jul 2014 21:04:21 -0000 On Mon, Jul 21, 2014 at 12:47 PM, Daniele Mazzotti wrote: > Hi guys, > > I successfully managed to survive the business trip and this damn hot > weekend here in the north Germany, so I am back on track! > > I have a few (not that nice to me) news to you all: > > > 1. I have applied the patch, but the suspend mode (acpiconf -s 3) is not > working; > 2. I am still having problems with the battery. > > Actually when I put the pc to suspend and then try to wake it up, the > screen stays black. I never had many, but I am running out of ideas! > > Let's review a few things here. When you resume, the screen is black. But is the system running? Do you see any disk activity? Can you ssh into the system remotely? Are you running vt(4)? Or syscons? Are you running X when you suspenf? What video driver is running? I may have missed it, but I don't think you said what graphics device you have or whether you are running NEW_XORG. While this information won't help with the battery issue, it might deal with resuming. -- R. Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com From owner-freebsd-acpi@FreeBSD.ORG Mon Jul 21 21:33:59 2014 Return-Path: Delivered-To: freebsd-acpi@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 836FB3CE for ; Mon, 21 Jul 2014 21:33:59 +0000 (UTC) Received: from mail-lb0-x22a.google.com (mail-lb0-x22a.google.com [IPv6:2a00:1450:4010:c04::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 06B3F26CF for ; Mon, 21 Jul 2014 21:33:58 +0000 (UTC) Received: by mail-lb0-f170.google.com with SMTP id w7so4389701lbi.15 for ; Mon, 21 Jul 2014 14:33:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to; bh=RRc3SauWoirVUg55pVn8whx/Ha+lvnSSijEMLsg2BnM=; b=VfsCTFZ7RPkMgBfjdszUgddxo8FLpXt6KpPii5sp5eydw0E4ga4fGw4aj0WANP6uL1 BJju02+ckSLKrnUw0NRtdNxPs6Cz6RhSVpY4JfRr0kJVpwSee9zE62Enj0hoxVWmc8Xz F/E7kAt8qZIN8UUl8Yn7WGVuyGDtvYndQ7x49qg7LXAx/W9a39dsaUxFoeMFg4Lz0yVb RaQ3xosai9tMlQlOCrq9C8VZ+DKJ04mtaYa5JLGkMQSXArXr7X+mGfjGu2kkdWJ2yMv5 l49D+JYyl7L2OYR31z8AQ3PZjWzZppQ/QU8By/lXZZZH14R4T7A8gSLBKYYwxmSXXQHi qcfw== X-Received: by 10.152.10.169 with SMTP id j9mr9538447lab.69.1405978436706; Mon, 21 Jul 2014 14:33:56 -0700 (PDT) Received: from hell.localdomain (b217-29-190-130.pppoe.mark-itt.net. [217.29.190.130]) by mx.google.com with ESMTPSA id z6sm12277782lag.4.2014.07.21.14.33.54 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Jul 2014 14:33:55 -0700 (PDT) From: "Bykov Vladislav <>" X-Google-Original-From: Bykov Vladislav <> Received: from hell (localhost [127.0.0.1]) by hell.localdomain (Postfix) with ESMTP id 2FE2213ABC10; Tue, 22 Jul 2014 01:33:53 +0400 (MSK) Received: (from bvv@localhost) by hell (8.14.7/8.14.7/Submit) id s6LLXqog065293; Tue, 22 Jul 2014 01:33:53 +0400 (MSK) (envelope-from bvv) Date: Tue, 22 Jul 2014 01:33:52 +0400 To: Daniele Mazzotti Subject: Re: ACPI support - Freebsd 10 on Sony Vaio VPCCA3C5E Message-ID: <20140721213352.GA64025@hell> References: <20140722033156.E8638@sola.nimnet.asn.au> <1405965655.15937.YahooMailAndroidMobile@web181606.mail.ne1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: freebsd-acpi@freebsd.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jul 2014 21:33:59 -0000 On Mon, Jul 21, 2014 at 09:47:52PM +0200, Daniele Mazzotti wrote: > Actually when I put the pc to suspend and then try to wake it up, the > screen stays black. I never had many, but I am running out of ideas! Hello, I had exactly same problem with suspend here. Just remove "VESA" device from your kernel configuration. Sincerely, Vladislav. From owner-freebsd-acpi@FreeBSD.ORG Mon Jul 21 22:59:36 2014 Return-Path: Delivered-To: freebsd-acpi@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 DBFC7E60 for ; Mon, 21 Jul 2014 22:59:36 +0000 (UTC) Received: from centos5.fkeinternet.com (centos5.fkeinternet.com [216.154.215.239]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A3E8F2DF6 for ; Mon, 21 Jul 2014 22:59:36 +0000 (UTC) Received: from centos5.fkeinternet.com (localhost.localdomain [127.0.0.1]) by centos5.fkeinternet.com (8.14.4/8.14.4) with ESMTP id s6LM5O1f011518 for ; Mon, 21 Jul 2014 18:05:24 -0400 Received: (from root@localhost) by centos5.fkeinternet.com (8.14.4/8.14.4/Submit) id s6LM5OKc011517 for freebsd-acpi@freebsd.org; Mon, 21 Jul 2014 18:05:24 -0400 Date: Mon, 21 Jul 2014 18:05:24 -0400 Message-Id: <201407212205.s6LM5OKc011517@centos5.fkeinternet.com> To: freebsd-acpi@freebsd.org Original-To: freebsd-acpi@freebsd.org Reply-To: From: "Fred Koschara" Sender: blog14721@wfredk.com Subject: Remember the Moon - and Mars! (and Skylab) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jul 2014 22:59:36 -0000 I've written a couple of blog entries this past week that I'd like to draw your attention to. They are related to significant events in the history of space travel whose anniversaries have occurred in the past week and a half: * Remember the Moon - and Mars! http://wfredk.com/blog/2014072106/remember-the-moon-and-mars * 11 July 1979 Skylab fell - and the American public was robbed http://wfredk.com/blog/2014071101/11-july-1979-skylab-fell-and-the-american-public-was-robbed In both articles, I first present historical data about the events, then some commentary. I hope you find the material interesting and informative. I've included a couple of excerpts here, please visit my blog to read the full stories. http://wfredk.com/blog ------------------------------------------------------------------------ Remember the Moon - and Mars! It's been forty five years since the Apollo 11 mission first landed humans on another planetary body - the Moon: At 20:17:40 UT (4:17:40 pm EDT) on 20 July 1969, astronauts Neil A. Armstrong (Apollo 11 Commander) and Edwin E. "Buzz" Aldrin Jr. ("Eagle" Lunar Module (LM) pilot) landed the LM in Mare Tranquilitatis (the Sea of Tranquility). Meanwhile, the "Columbia" Command and Service Module (CSM) continued in Lunar orbit with CM pilot Michael Collins aboard. During their stay on the Moon, the astronauts set up scientific experiments, took photographs, and collected Lunar samples. The LM took off from the Moon on 21 July for the astronauts' return to Earth. NASA's Viking 1 lander was originally planned to land on Mars coinciding with the US Bicentennial on 4 July 1976, but was delayed until a suitable landing site was located. As it worked out, the landing took place at Chryse Planitia at 11:56:06 UT on 20 July, roughly eight and a third hours less than exactly seven years after Apollo 11 had landed on the Moon. The robotic probe returned the first ever close-up pictures of the Martian surface, collected the first-ever samples taken from the surface Mars, and continued to communicate with ground controllers on Earth until 13 November 1982. The Apollo missions continued through 14 December 1972 when Apollo 17 Mission Commander Gene Cernan returned to the LM "Challenger" ending the last Extravehicular Activity (EVA) of what would prove to be the final expedition of the program. As yet, No other humans have returned to set foot on the Lunar surface, foisting on Captain Cernan the dubious honor and title of being "The Last Man on the Moon." ... ... Visionaries in the space travel, exploration and development (space T/E/D) field know there are unimagineable benefits that will come from opening space and the resources "out there" to make them available for the benefit of humanity. We know there's energy from the Sun that can eliminate our dependency on fossil fuels. There are more resources just within our Solar System than we could use in thousands of years. From the research that's been done on the International Space Station, we know protein crystals can be grown in microgravity to help cure diseases that would otherwise be intractible. What we don't - and can't - know is how much more we're going to find after we have actually started getting out and exploring a lot beyond Earth. ... BTW, I feel sorry for the "22% of Americans in 2009" who don't believe we ever went to the Moon. I know better - and I am anxious to get us back there. ------------- There's a lot more to this blog post that will, if nothing else, lead you to think about where the space program has been, and where it's going. Please read the entire article at http://wfredk.com/blog/2014072106/remember-the-moon-and-mars ------------------------------------------------------------------------ 11 July 1979 Skylab fell - and the American public was robbed NASA's Skylab, launched 14 May 1973, was an orbiting space station manned by crews arriving via separate launches. The orbital workshop (OWS) section was a refitted S-IVB second stage of a Saturn IB booster, a leftover from the Apollo program originally intended for one of the canceled Earth orbital missions, modified for long duration manned habitation in orbit. It contained provisions and crew quarters necessary to support three-person crews for periods of up to 84 days each. ... Skylab orbited Earth 2,476 times during the 171 days and 13 hours of its occupation during the three manned missions; astronauts performed ten spacewalks totalling 42 hours 16 minutes. Skylab logged approximately 2,000 hours of scientific and medical experiments, including eight solar experiments (e.g., the Sun's coronal holes were discovered); many medical experiments related to astronauts' adaptation to extended periods of microgravity. Each successive Skylab mission set a duration record for the time the astronauts spent in space. ... ... Today, the ISS is approximately the size of a football field, a 460-ton platform orbiting fifteen and a half times a day between 205 and 270 miles above Earth. It is about four times as large as Mir and five times as large as Skylab. The ISS is "funded until 2024," and may operate until 2028. By then the investment will have grown well into the US$ 150-200 billion range - and plans are to "deorbit" the station when funding runs out. NASA has already set a precedent by letting a US$ 2.15 billion investment fall out of the sky when Skylab came crashing down. The Russians did much the same thing when they took the Mir space station out of orbit, throwing away an estimated US$ 4 billion in 2001 dollars when the project ended. It wouldn't be any different, philosophically, for NASA and its partners to toss another $175 billion (+/- $25 billion) down the toilet by burning the ISS up in the atmosphere, so why not? ... ------------- A major reason "why not" is discussed in the blog post - please read it at http://wfredk.com/blog/2014071101/11-july-1979-skylab-fell-and-the-american-public-was-robbed ------------------------------------------------------------------------ Please feel free to forward this email to anyone you think would like to get it. If it annoys you, feel free to just delete it. If you don't ever want to hear from me again, just send me a note to that effect, and I'll add you to a list I keep of addresses I don't send email to. _____________________________________________________________________________ We are going to run out of oil. Before that happens, we MUST have a replacement source of energy and feed stock for our civilization that has become so dependent on plastic. The time to act is NOW!! Space Power Now, for humanity's survival - http://SpacePowerNow.org The L5 Development Group - Solutions in Space - http://L5Development.com For-profit space exploration and development as a private enterprise FREE space history newsletter - http://L5Development.com/SpaceHistoryNews.php For your daily dose of art, try http://PhotoByFred.com Investment quality fine art prints - http://LimitedEditionPhoto.com My personal Web page is http://wfredk.com - stop by some time! From owner-freebsd-acpi@FreeBSD.ORG Mon Jul 21 23:07:39 2014 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8D1492FB for ; Mon, 21 Jul 2014 23:07:39 +0000 (UTC) Received: from nm43.bullet.mail.ne1.yahoo.com (nm43.bullet.mail.ne1.yahoo.com [98.138.120.50]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 491DC2EEF for ; Mon, 21 Jul 2014 23:07:38 +0000 (UTC) Received: from [127.0.0.1] by nm43.bullet.mail.ne1.yahoo.com with NNFMP; 21 Jul 2014 23:07:32 -0000 Received: from [98.138.101.128] by nm43.bullet.mail.ne1.yahoo.com with NNFMP; 21 Jul 2014 23:04:50 -0000 Received: from [216.39.60.165] by tm16.bullet.mail.ne1.yahoo.com with NNFMP; 21 Jul 2014 23:04:50 -0000 Received: from [216.39.60.164] by tm1.access.bullet.mail.gq1.yahoo.com with NNFMP; 21 Jul 2014 23:04:50 -0000 Received: from [127.0.0.1] by omp1030.access.mail.gq1.yahoo.com with NNFMP; 21 Jul 2014 23:04:50 -0000 X-Yahoo-Newman-Property: ymail-4 X-Yahoo-Newman-Id: 496067.30272.bm@omp1030.access.mail.gq1.yahoo.com Received: (qmail 39489 invoked by uid 60001); 21 Jul 2014 23:04:50 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=att.net; s=s1024; t=1405983890; bh=QEVHCGLSzRNlD/9iJDkaZH2KnkMBGOmAP7kP886gz7k=; h=Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=uXJKkLpBnrmF5WXprCiO0ItvUAHg8qArj8Kio914tyEIWdarUhpgglSZANjD2hXdWTnRNJnhwbUwbm+xTe7IG/I8ZJCLgGnxttoKB9nKblUx17GdDHJQcHeAMU8WmbUvpznpWJNrSHjZgbzzZ+LWFj4OScY4AjvxxGFIU1ZrOfk= X-YMail-OSG: TNtRzaMVM1n3BIo4ss0aSyOhBXkVlBqXGkF1h1KlpJsaYWM U6xV55PU4r7qg6UVBMRonR.xWPJ8ni8u5nTnKg31Qqic2nFzxVYwqx0K8V31 1LteqLV6Lsgz8opy9pp0WyhqKNs_lGtrOLhgrBShOAFjpSGfiPH3Fr4cVwbS PPd7Yyp9Yqdnhoko3gblixSwaqE0TuDqtbRoz3fQpcn6KhEwK4nQ9e2g.ksy mHaLSr8EOLIJ4CMfNVu9Pn9dPU9zgGF6PCaPeKBjFxp9ZX3l0REGxVa5pP4i yGGoh01j6AvM3q8ZEaYcsglxJTDRHQEDMC19GZxXFKPaiGLpJ4qtr1LxcAcN I1vdhcFUOyTzj17k7FNHDGXB3q1dwYjDQAR5tOAA5zPDwOMpw6KZWlq9GLDJ RAnXxe0QpMoilcPUIfiqjQ_mA377a0c_hGaID.2g30kATnPqO0qWvRYj1XcT lHxza4m8TJbvq7Bn3fc2JXJzk056_HXZM_J7lRzcuYVLZ_jzxKdCNJ5ApLVI YVIY7EtLu2fuvjjCVmyV10vIJir2s7Tji9w81uzTDi96Iwcey54aSmqkIeDa PzW8Xlb_YoNIjeHcSG9KZheHE7YtuZGaMwPO34E3a.h7qNlOvS6SWwZlwT1_ OfAySD_ItG4GPIPXBhSYtIGCt80miA52qfk6gc0Eh7Der66iIAwozAIMKT51 NejFki6TBCkxy7mj5_2ychqkZxSmWV88MA.8- Received: from [99.62.101.19] by web181601.mail.ne1.yahoo.com via HTTP; Mon, 21 Jul 2014 16:04:50 PDT X-Rocket-MIMEInfo: 002.001, SSBoYXZlIHRoZSBzYW1lIHJlc3VtZSBpc3N1ZSB3aXRoIG15IEhQIGxhcHRvcCwgYnV0IGl0J3MgYWxtb3N0IGRlZmluaXRlbHkgYW4gaXNzdWUgd2l0aCBiYWNrbGlnaHQgY29udHJvbC4gQmVmb3JlIG15IEFDUEkgQ01PUyBwYXRjaCwgbXkgbGFwdG9wIHdvdWxkIHN1c3BlbmQgYW5kIGltbWVkaWF0ZWx5IHJlc3VtZSwgYW5kIHdvdWxkIG5vdCBwb3dlciBvZmZiKGhhZCB0byBob2xkIGRvd24gcG93ZXIgYnV0dG9uKS4gQWZ0ZXIgcGF0Y2gsIEkgY291bGQgcG93ZXIgb2ZmIGFuZCBzdXNwZW5kL3Jlc3VtZSABMAEBAQE- X-Mailer: YahooMailAndroidMobile/4.0.4 YahooMailWebService/0.8.195.680 Message-ID: <1405983890.83888.YahooMailAndroidMobile@web181601.mail.ne1.yahoo.com> Date: Mon, 21 Jul 2014 16:04:50 -0700 From: Anthony Jenkins Subject: Re: ACPI support - Freebsd 10 on Sony Vaio VPCCA3C5E To: Kevin Oberman , Daniele Mazzotti In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: John Baldwin , "freebsd-acpi@freebsd.org" , Ian Smith X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jul 2014 23:07:39 -0000 I have the same resume issue with my HP laptop, but it's almost definitely = an issue with backlight control. Before my ACPI CMOS patch, my laptop would= suspend and immediately resume, and would not power offb(had to hold down = power button). After patch, I could power off and suspend/resume (I could s= sh into laptop, and HDMI output worked somewhat in X.org). =0A=0ANot sure w= hat prior state of Daniele's laptop was... =0A=0AAnthony=0ASent from Yahoo = Mail on Android=0A=0A From owner-freebsd-acpi@FreeBSD.ORG Tue Jul 22 17:58:19 2014 Return-Path: Delivered-To: freebsd-acpi@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 2D29DF97 for ; Tue, 22 Jul 2014 17:58:19 +0000 (UTC) Received: from mail-yh0-x229.google.com (mail-yh0-x229.google.com [IPv6:2607:f8b0:4002:c01::229]) (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 E2E4D21D6 for ; Tue, 22 Jul 2014 17:58:18 +0000 (UTC) Received: by mail-yh0-f41.google.com with SMTP id b6so9594yha.0 for ; Tue, 22 Jul 2014 10:58:18 -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=K4cWmjNqT0HEE0cHSI/fB1+Ak3Q4aSDw6qAzSVp99TU=; b=L7fZ9GojKG0XYxYuCM5L713X/XedomiQALa8J2fPeKU38gposN6y8w7UUw3WDp1/tq dmZ48nyZvoVHQckBikwpND++ddlQeBgL1RwfuJbi8zYdsQmuV9hzcd+rOLRBreDeQ44c z2Viccvg2UZN0naD4KQVF95VruK/o52tuOJk8aFrxdwEM4yvkGdAwH7i6KxzIiTpNq37 SUOjxv2Gkqs05U7Gn2Bw1D7hvk3M4zabc7jAUN1NmRmfN/q1YU+MBRRnP3M3D74r4HBs xTf1kkJBdzMkOutaaDZ44+GzoAm6EoX6IINurezmgkP7xXZWTPOcxqQxAre19u+cp6lF KAOg== MIME-Version: 1.0 X-Received: by 10.236.160.67 with SMTP id t43mr53210391yhk.11.1406051897995; Tue, 22 Jul 2014 10:58:17 -0700 (PDT) Received: by 10.170.210.86 with HTTP; Tue, 22 Jul 2014 10:58:17 -0700 (PDT) In-Reply-To: <20140721213352.GA64025@hell> References: <20140722033156.E8638@sola.nimnet.asn.au> <1405965655.15937.YahooMailAndroidMobile@web181606.mail.ne1.yahoo.com> <20140721213352.GA64025@hell> Date: Tue, 22 Jul 2014 19:58:17 +0200 Message-ID: Subject: Re: ACPI support - Freebsd 10 on Sony Vaio VPCCA3C5E From: Daniele Mazzotti To: Bykov Vladislav Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: "freebsd-acpi@freebsd.org" X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2014 17:58:19 -0000 Hello there, @Kevin: Yes, I can see some disk activity but I cannot login to a ssh console as the daemon is not running and I do not have any other PC other than this one in my apartment. I usually have a graphical session on F9 and I tend to suspend the PC from a root terminal. As my video card is not detected and I was very lazy, I decided to go for Vesa drivers. I do not know if I am running NEW_XORG. if I suppose so as I compiled Xorg three months ago, is it enough to check the make config to figure this out? @Vladislav: I have just one question regarding your's. If I remove VESA from my kernel how can I run X in vesa mode? Is it still possible or the kernel module is not related with the Xorg funcionality at all, therefore is it safe to remove it? Cheers, Daniele. 2014-07-21 23:33 GMT+02:00 Bykov Vladislav <> : > On Mon, Jul 21, 2014 at 09:47:52PM +0200, Daniele Mazzotti wrote: > > Actually when I put the pc to suspend and then try to wake it up, the > > screen stays black. I never had many, but I am running out of ideas! > Hello, > > I had exactly same problem with suspend here. Just remove "VESA" device > from your kernel configuration. > > Sincerely, > Vladislav. > From owner-freebsd-acpi@FreeBSD.ORG Wed Jul 23 05:46:00 2014 Return-Path: Delivered-To: freebsd-acpi@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 CA03D78C for ; Wed, 23 Jul 2014 05:46:00 +0000 (UTC) Received: from mail-la0-x235.google.com (mail-la0-x235.google.com [IPv6:2a00:1450:4010:c03::235]) (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 4A872217D for ; Wed, 23 Jul 2014 05:46:00 +0000 (UTC) Received: by mail-la0-f53.google.com with SMTP id gl10so527388lab.12 for ; Tue, 22 Jul 2014 22:45:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to; bh=bAecMZpDlRGpiyXATxsKvQbgEDp4Zx92nqKa1PcyEd4=; b=qAKdDHwYVfVqobElDDgKCegs7mnFDhLv2yjsaECD75vHeeHmfjL/WORpjTus03zGcW SxH+XsxAbt81dNhqlB8MNX/JxNVCcdhZblkoo/QPMEKfUKofz+mxoXeSWjINSe5ABaCW XAGnAx2uHqQEnVgzjt3TqsxcS5wbBu6mPRhKcw6MH39/yfBkeYAI+Q9StA6DxbV9bDPD VFkHN1pVxlTH+Q1YxIuqBasObtu32hNdZdBSnlOghiHvkMBs2f+oapoGKTJDybTNL7Xt flP5vk8u8G9bTYQi8p1Ocmlend6L4RIoGXybWiUn57tTd7uiu6QblHrDX5QC9mi28ZnX MymQ== X-Received: by 10.152.42.135 with SMTP id o7mr14040758lal.77.1406094358171; Tue, 22 Jul 2014 22:45:58 -0700 (PDT) Received: from hell.localdomain (b217-29-190-130.pppoe.mark-itt.net. [217.29.190.130]) by mx.google.com with ESMTPSA id q8sm3836722lbr.28.2014.07.22.22.45.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Jul 2014 22:45:56 -0700 (PDT) From: "Bykov Vladislav <>" X-Google-Original-From: Bykov Vladislav <> Received: from hell (localhost [127.0.0.1]) by hell.localdomain (Postfix) with ESMTP id EE01313ABB1C; Tue, 22 Jul 2014 22:05:16 +0400 (MSK) Received: (from bvv@localhost) by hell (8.14.7/8.14.7/Submit) id s6MI5B4E067383; Tue, 22 Jul 2014 22:05:11 +0400 (MSK) (envelope-from bvv) Date: Tue, 22 Jul 2014 22:05:06 +0400 To: Daniele Mazzotti Subject: Re: ACPI support - Freebsd 10 on Sony Vaio VPCCA3C5E Message-ID: <20140722180506.GA67094@hell> References: <20140722033156.E8638@sola.nimnet.asn.au> <1405965655.15937.YahooMailAndroidMobile@web181606.mail.ne1.yahoo.com> <20140721213352.GA64025@hell> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: freebsd-acpi@freebsd.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2014 05:46:00 -0000 On Tue, Jul 22, 2014 at 07:58:17PM +0200, Daniele Mazzotti wrote: > @Vladislav: I have just one question regarding your's. If I remove VESA > from my kernel how can I run X in vesa mode? Is it still possible or the > kernel module is not related with the Xorg funcionality at all, therefore > is it safe to remove it? Well, in that case you need that device. But isn't that easy to install a video driver for your card? From owner-freebsd-acpi@FreeBSD.ORG Fri Jul 25 20:43:12 2014 Return-Path: Delivered-To: freebsd-acpi@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 A3796AC9 for ; Fri, 25 Jul 2014 20:43:12 +0000 (UTC) Received: from mail-yh0-x233.google.com (mail-yh0-x233.google.com [IPv6:2607:f8b0:4002:c01::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 634E62BAA for ; Fri, 25 Jul 2014 20:43:12 +0000 (UTC) Received: by mail-yh0-f51.google.com with SMTP id f73so3297306yha.38 for ; Fri, 25 Jul 2014 13:43:11 -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=PvYT3GKFd6queu3SMrKI/I+mhnBjm+iKxBK4Mj9Pw9k=; b=iIqMmEkPMx6TlaMaE3bdoqhwzZwhZH+ZpHy58Dt2mSFbbL39pWf6rJU7T4s2dVe3uq FdgMmUhU5JU/IIX3DpLmUh407/qQgR8568hzzE1poyFTLbdltjQPQ6RvIp8CX/jVMsXd LFPVlO2V3GJEuiMUou+6DkFjo3ekxHBSZt880ZzKInaOe1Hr2LAcHEFf/QOzrqasIRKV ePgLxCS/EkkAq1XS9rftOp6rb6zrRZJT52IXnx9ZQPonaEHLYqRZRazd+L3VMMsK91fH edvTzU7rvDX1nootLys2OgHAJe6jq8lyIqlDd6FA1uIRd5gEZtL1EYKV/SfsNT3gylCs UunQ== MIME-Version: 1.0 X-Received: by 10.236.142.227 with SMTP id i63mr5200234yhj.88.1406320991355; Fri, 25 Jul 2014 13:43:11 -0700 (PDT) Received: by 10.170.210.86 with HTTP; Fri, 25 Jul 2014 13:43:11 -0700 (PDT) In-Reply-To: <20140722180506.GA67094@hell> References: <20140722033156.E8638@sola.nimnet.asn.au> <1405965655.15937.YahooMailAndroidMobile@web181606.mail.ne1.yahoo.com> <20140721213352.GA64025@hell> <20140722180506.GA67094@hell> Date: Fri, 25 Jul 2014 22:43:11 +0200 Message-ID: Subject: Re: ACPI support - Freebsd 10 on Sony Vaio VPCCA3C5E From: Daniele Mazzotti To: Bykov Vladislav Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: "freebsd-acpi@freebsd.org" X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jul 2014 20:43:12 -0000 Hi, I kept my mouth shut for two days as I tried to follow your suggestion regarding VESA. This is the situation so far: "I feel like in the dining philosophers problem". lspci -lv showed me the following: vgapci1@pci0:0:2:0: class=0x030000 card=0x9080104d chip=0x01168086 rev=0x09 hdr=0x00 vendor = 'Intel Corporation' device = '2nd Generation Core Processor Family Integrated Graphics Controller' class = display subclass = VGA vgapci0@pci0:1:0:0: class=0x030000 card=0x9080104d chip=0x67411002 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices [AMD] nee ATI' device = 'Whistler [AMD Radeon HD 6600M Series]' class = display subclass = VGA After a quick search on google and some nice experiences of some months ago with Radeon cards (they seem not to be working very well on fbd) I definitely decided to go "all-in" with the Intel card. So I configured xorg to use intel driver instead of vesa. X can be started and the screen resolution is very good, BUT I found out I cannot switch amongst vt sessions. This is definitely not good and I found out this is not only a problem of mine (https://forums.freebsd.org/viewtopic.php?&t=38470). The error I get anytime I try to switch between terminals is the following one " drmDropMaster failed: Unknown error: -22" 112.846] (II) AIGLX: Suspending AIGLX clients for VT switch [ 112.846] (WW) intel(0): drmDropMaster failed: Unknown error: -22 [ 115.418] (II) AIGLX: Resuming AIGLX clients after VT switch [ 115.419] (II) intel(0): EDID vendor "AUO", prod id 8254 [ 115.419] (II) intel(0): Printing DDC gathered Modelines: [ 115.419] (II) intel(0): Modeline "1600x900"x0.0 110.00 1600 1664 1706 2010 900 903 906 912 -hsync -vsync (54.7 kHz eP) [ 115.462] (**) Option "BaudRate" "1200" [ 115.462] (**) Option "StopBits" "2" [ 115.463] (**) Option "DataBits" "8" [ 115.463] (**) Option "Parity" "None" [ 115.463] (**) Option "Vmin" "1" [ 115.463] (**) Option "Vtime" "0" [ 115.463] (**) Option "FlowControl" "None" [ 226.066] (II) AIGLX: Suspending AIGLX clients for VT switch [ 226.066] (WW) intel(0): drmDropMaster failed: Unknown error: -22 [ 228.474] (II) AIGLX: Resuming AIGLX clients after VT switch [ 228.475] (II) intel(0): EDID vendor "AUO", prod id 8254 [ 228.475] (II) intel(0): Printing DDC gathered Modelines: [ 228.476] (II) intel(0): Modeline "1600x900"x0.0 110.00 1600 1664 1706 2010 900 903 906 912 -hsync -vsync (54.7 kHz eP) Has any of you any suggestion other than throwing this laptop outside the window with all my might? Cheers, Daniele. 2014-07-22 20:05 GMT+02:00 Bykov Vladislav <> : > On Tue, Jul 22, 2014 at 07:58:17PM +0200, Daniele Mazzotti wrote: > > @Vladislav: I have just one question regarding your's. If I remove VESA > > from my kernel how can I run X in vesa mode? Is it still possible or the > > kernel module is not related with the Xorg funcionality at all, therefore > > is it safe to remove it? > Well, in that case you need that device. But isn't that easy to install a > video driver for your card? > From owner-freebsd-acpi@FreeBSD.ORG Fri Jul 25 22:20:02 2014 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 97374856 for ; Fri, 25 Jul 2014 22:20:02 +0000 (UTC) Received: from mail-lb0-x22b.google.com (mail-lb0-x22b.google.com [IPv6:2a00:1450:4010:c04::22b]) (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 1688D23C0 for ; Fri, 25 Jul 2014 22:20:01 +0000 (UTC) Received: by mail-lb0-f171.google.com with SMTP id l4so3867375lbv.16 for ; Fri, 25 Jul 2014 15:20:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to; bh=1u+lP4/0+6rNKAZBaSM55fmNLftfOjyseghdFZK6qbw=; b=tcnmEX/AAjyEOuS4BprtD2obKHwHOjNw7eM7VrXU9IZh3Ln2BYDcCPzZUunHe7Qota 3sXEJFv1wyJajOorYAiMCh2aAn+AqKPN+mBRF+mjWaa5iPj0ANxaf3sAQhxUCcRGB9pV PlpOH3mSrUKMqU06ExlZtHaUloAKxSa+c2tnSKmEmqwOA7FM9P2X1aQGfzVh5bNmz3gk JaA55U7grdKsOoUSPY/ZxZnsyOQNnVvteh//jaWrmB+J9VQBf1JqUQUvo5traQKOygCW AECf6cTWLpdYuAnzlRQ72gGqIqtNFWhIr8V+TAmtfbFRK1VvVsFePDECsosFeCertF8x a6Kg== X-Received: by 10.152.161.225 with SMTP id xv1mr5389989lab.71.1406326799960; Fri, 25 Jul 2014 15:19:59 -0700 (PDT) Received: from hell.localdomain (b217-29-190-130.pppoe.mark-itt.net. [217.29.190.130]) by mx.google.com with ESMTPSA id lm8sm7411555lac.49.2014.07.25.15.19.57 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Jul 2014 15:19:59 -0700 (PDT) From: "Bykov Vladislav <>" X-Google-Original-From: Bykov Vladislav <> Received: from hell (localhost [127.0.0.1]) by hell.localdomain (Postfix) with ESMTP id 6BADE13ABBA1; Sat, 26 Jul 2014 02:19:55 +0400 (MSK) Received: (from bvv@localhost) by hell (8.14.7/8.14.7/Submit) id s6PMJtnM042654; Sat, 26 Jul 2014 02:19:55 +0400 (MSK) (envelope-from bvv) Date: Sat, 26 Jul 2014 02:19:54 +0400 To: Daniele Mazzotti Subject: Re: ACPI support - Freebsd 10 on Sony Vaio VPCCA3C5E Message-ID: <20140725221954.GA42012@hell> References: <20140722033156.E8638@sola.nimnet.asn.au> <1405965655.15937.YahooMailAndroidMobile@web181606.mail.ne1.yahoo.com> <20140721213352.GA64025@hell> <20140722180506.GA67094@hell> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: freebsd-acpi@freebsd.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jul 2014 22:20:02 -0000 On Fri, Jul 25, 2014 at 10:43:11PM +0200, Daniele Mazzotti wrote: > The error I get anytime I try to switch between terminals is the following > one " drmDropMaster failed: Unknown error: -22" This is okay, if you can't switch back to tty after starting Xorg in KMS mode using old syscons driver. There is already work going on with new driver, vt. I didn't test it though. At least, suspend is works now? From owner-freebsd-acpi@FreeBSD.ORG Sat Jul 26 06:14:34 2014 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4A3CA33F for ; Sat, 26 Jul 2014 06:14:34 +0000 (UTC) Received: from mail-pa0-x235.google.com (mail-pa0-x235.google.com [IPv6:2607:f8b0:400e:c03::235]) (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 1C62B2A49 for ; Sat, 26 Jul 2014 06:14:34 +0000 (UTC) Received: by mail-pa0-f53.google.com with SMTP id kq14so7275713pab.40 for ; Fri, 25 Jul 2014 23:14:33 -0700 (PDT) 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=qJWPCnY+LCLc5MKTNvogEQ1Y6KwgQ6ydOalaqe7cLg4=; b=n194fpcuVuU5jlknR/0g/ZbbPN3jw4bclpIeCH9tZ5GKfiAogSvaYjcNA1xbMNIO7U GxvuGCOR18r/HgQdZFEiE+0HAulIFZom0BIwL6svw6+npWSCAOXCMByguxJaCyXxFGdG KuLmCAvSHnFC6N/iccEYicjYaxUCx+klTrLFKvAUTpUiSyRIbg2utLQ3IXWlSSidGpcN ThmmQD9VxO0Ov4s35JvaD/EM4hlWQRnm7mLTiKw0Uu7pZIQB/D3ohtliSXFJo9Dzlqqk cncIkjkzGHMTXaY2P6ml4JkIFLNApelaKnNNg8Hv+tiXaEoCDHVMz5YMP9WlXal4fSdC TuYw== MIME-Version: 1.0 X-Received: by 10.68.225.133 with SMTP id rk5mr23385161pbc.101.1406355273532; Fri, 25 Jul 2014 23:14:33 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.66.88.227 with HTTP; Fri, 25 Jul 2014 23:14:33 -0700 (PDT) In-Reply-To: <20140725221954.GA42012@hell> References: <20140722033156.E8638@sola.nimnet.asn.au> <1405965655.15937.YahooMailAndroidMobile@web181606.mail.ne1.yahoo.com> <20140721213352.GA64025@hell> <20140722180506.GA67094@hell> <20140725221954.GA42012@hell> Date: Fri, 25 Jul 2014 23:14:33 -0700 X-Google-Sender-Auth: FiPlfm2NGAJlggu8qO9KKXw-cJA Message-ID: Subject: Re: ACPI support - Freebsd 10 on Sony Vaio VPCCA3C5E From: Kevin Oberman To: Bykov Vladislav Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: "freebsd-acpi@freebsd.org" , Daniele Mazzotti X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jul 2014 06:14:34 -0000 On Fri, Jul 25, 2014 at 3:19 PM, Bykov Vladislav <> wrote: > On Fri, Jul 25, 2014 at 10:43:11PM +0200, Daniele Mazzotti wrote: > > The error I get anytime I try to switch between terminals is the > following > > one " drmDropMaster failed: Unknown error: -22" > This is okay, if you can't switch back to tty after starting Xorg in KMS > mode using old syscons driver. There is already work going on with new > driver, vt. I didn't test it though. > > At least, suspend is works now? > Try adding kern.vty=vt to /boot/loader.conf. In recent 9-stable, 10-stable, and head kernels, this is all it takes to switch to vt(4). If you have an older kernel or are running any release, you will need to rebuild the kernel using the VT configuration. The loader option may have made 9.3, but I'm not sure. I don't believe vt(4) is available for 8. -- R. Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com From owner-freebsd-acpi@FreeBSD.ORG Sat Jul 26 08:46:47 2014 Return-Path: Delivered-To: freebsd-acpi@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 6CE5E242 for ; Sat, 26 Jul 2014 08:46:47 +0000 (UTC) Received: from mail-yh0-x231.google.com (mail-yh0-x231.google.com [IPv6:2607:f8b0:4002:c01::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 2B919256B for ; Sat, 26 Jul 2014 08:46:47 +0000 (UTC) Received: by mail-yh0-f49.google.com with SMTP id b6so3631649yha.36 for ; Sat, 26 Jul 2014 01:46:46 -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=SveSFBFfD2GnMsm/CAGQNa5bi/i6AsWYsoM7ueJ1Jx8=; b=w7kzVt2fDlELXY6GDqg6GZqLtmhSqFSyjHgcNFHLL/m3FAxTyc4UNtffiGQZXLWMOt +/+nMP0ECj6cYre//on5mCSwCFy3IoPfyyDVx9QNjxmZv3zN5dwPg1my0CGO+e2dx6l8 TsJmPGKanRp20BrPFjKOM8UVz5Dka86YPPCSlzwXYls8NCGShHw7wvHU5Sp1hyQq7+XN 6wHP9o8XkyMYkdKIqztyrpBGW0XEEHyBbRzLO1wOOndFpajDP/5S85jcSer0FzOglWxG n5KsKOx10aKcSQc6cd90wG10OGsi13DA+iiR99/Oioir+/ZX1XKqsJNbGFjKV3f99VjU 9NxA== MIME-Version: 1.0 X-Received: by 10.236.41.234 with SMTP id h70mr30768705yhb.61.1406364406260; Sat, 26 Jul 2014 01:46:46 -0700 (PDT) Received: by 10.170.210.86 with HTTP; Sat, 26 Jul 2014 01:46:46 -0700 (PDT) In-Reply-To: References: <20140722033156.E8638@sola.nimnet.asn.au> <1405965655.15937.YahooMailAndroidMobile@web181606.mail.ne1.yahoo.com> <20140721213352.GA64025@hell> <20140722180506.GA67094@hell> <20140725221954.GA42012@hell> Date: Sat, 26 Jul 2014 10:46:46 +0200 Message-ID: Subject: Re: ACPI support - Freebsd 10 on Sony Vaio VPCCA3C5E From: Daniele Mazzotti To: Kevin Oberman Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: "freebsd-acpi@freebsd.org" X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jul 2014 08:46:47 -0000 Hi, thanks again for your precious help. The suspend mode is not working yet as VESA option is still in my kernel configuration. I wanted to wait before removing it as I was not sure that intel video driver would have worked. My intention was to have a working setup with intel and being able to switch amongst vt(s) before getting rid of vesa, as I would peferer having the possibility to switch amongst vt(s) than putting my laptop to suspend. By the way I have a 10-RELEASE therefore I suspect I will have to recompile the kernel with VT. Did I get you right? I googled a bit and it seems that the only thing I have to do is to add these devices to my kernel: device vt device vt_vga This is the source I am referring to: https://wiki.freebsd.org/Newcons. Is this it? Cheers and thanks again, Daniele. 2014-07-26 8:14 GMT+02:00 Kevin Oberman : > On Fri, Jul 25, 2014 at 3:19 PM, Bykov Vladislav <> > wrote: > >> On Fri, Jul 25, 2014 at 10:43:11PM +0200, Daniele Mazzotti wrote: >> > The error I get anytime I try to switch between terminals is the >> following >> > one " drmDropMaster failed: Unknown error: -22" >> This is okay, if you can't switch back to tty after starting Xorg in KMS >> mode using old syscons driver. There is already work going on with new >> driver, vt. I didn't test it though. >> >> At least, suspend is works now? >> > > Try adding kern.vty=vt to /boot/loader.conf. In recent 9-stable, > 10-stable, and head kernels, this is all it takes to switch to vt(4). If > you have an older kernel or are running any release, you will need to > rebuild the kernel using the VT configuration. The loader option may have > made 9.3, but I'm not sure. I don't believe vt(4) is available for 8. > -- > R. Kevin Oberman, Network Engineer, Retired > E-mail: rkoberman@gmail.com > > From owner-freebsd-acpi@FreeBSD.ORG Sat Jul 26 16:31:40 2014 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F3ACD867 for ; Sat, 26 Jul 2014 16:31:39 +0000 (UTC) Received: from mail-pa0-x22b.google.com (mail-pa0-x22b.google.com [IPv6:2607:f8b0:400e:c03::22b]) (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 C293C2A6C for ; Sat, 26 Jul 2014 16:31:39 +0000 (UTC) Received: by mail-pa0-f43.google.com with SMTP id lf10so7850573pab.2 for ; Sat, 26 Jul 2014 09:31:39 -0700 (PDT) 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=Q2QrxQbSLEAAfE2omwkUznmXIywUU9QwkLMCNc6iFqw=; b=wxJ73lt+//hlcHR0V4r5yU/WB8GPEuuHXZksXCZrDVIIcjJDo8F+Za3eb1JASlrd13 Zymy6HLYTu72xbjVauSzDyk1UZakGXPjI3TeSNxzRfgaH+eI6R/TE4txy/RjaQvXBk7k bEJ6oe0xvw/W6OkV/8TnSrxoTPjodn3h1H5WaGdbZKRSh5Hpen1Xe9mWEG+KlOCBcvgI 2oZdue75I30T5IvbFlZlJNIYby0f1ky4hYUrdXjPr9GB5Sd9Gbl2jXdGJb/P7De5rflM rfSznDwnokjyZ7+K0adr1huY63YPcCPEKSoH5KoBqbEatQzuJItvo6G7PgWw3pB/Ugoi cEEw== MIME-Version: 1.0 X-Received: by 10.68.164.100 with SMTP id yp4mr26231213pbb.136.1406392299235; Sat, 26 Jul 2014 09:31:39 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.66.88.227 with HTTP; Sat, 26 Jul 2014 09:31:39 -0700 (PDT) In-Reply-To: References: <20140722033156.E8638@sola.nimnet.asn.au> <1405965655.15937.YahooMailAndroidMobile@web181606.mail.ne1.yahoo.com> <20140721213352.GA64025@hell> <20140722180506.GA67094@hell> <20140725221954.GA42012@hell> Date: Sat, 26 Jul 2014 09:31:39 -0700 X-Google-Sender-Auth: uY-kA1fYBfr0QAYNaNZtxb37VlI Message-ID: Subject: Re: ACPI support - Freebsd 10 on Sony Vaio VPCCA3C5E From: Kevin Oberman To: Daniele Mazzotti Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: "freebsd-acpi@freebsd.org" X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jul 2014 16:31:40 -0000 On Sat, Jul 26, 2014 at 1:46 AM, Daniele Mazzotti wrote: > Hi, > > thanks again for your precious help. The suspend mode is not working yet > as VESA option is still in my kernel configuration. I wanted to wait before > removing it as I was not sure that intel video driver would have worked. My > intention was to have a working setup with intel and being able to switch > amongst vt(s) before getting rid of vesa, as I would peferer having the > possibility to switch amongst vt(s) than putting my laptop to suspend. > > By the way I have a 10-RELEASE therefore I suspect I will have to > recompile the kernel with VT. Did I get you right? > > I googled a bit and it seems that the only thing I have to do is to add > these devices to my kernel: > > device vt > device vt_vga > > This is the source I am referring to: https://wiki.freebsd.org/Newcons. > Is this it? > > Cheers and thanks again, > Daniele. > > Maybe and maybe not. The wiki page needs updating. Look at /sys/ARCH/conf for a VT configuration. If it is there, just build a kernel with: # make buildkernel kernconf=VT && make installkernel kernconf=VT (You probably want to add a reasonable -j option for your hardware to the buildkernel.) If you don't have a VT config file, than just set the kern.vty=vt loadable in /boot/loader.conf. No need to build a new kernel. > > > 2014-07-26 8:14 GMT+02:00 Kevin Oberman : > >> On Fri, Jul 25, 2014 at 3:19 PM, Bykov Vladislav <> >> wrote: >> >>> On Fri, Jul 25, 2014 at 10:43:11PM +0200, Daniele Mazzotti wrote: >>> > The error I get anytime I try to switch between terminals is the >>> following >>> > one " drmDropMaster failed: Unknown error: -22" >>> This is okay, if you can't switch back to tty after starting Xorg in KMS >>> mode using old syscons driver. There is already work going on with new >>> driver, vt. I didn't test it though. >>> >>> At least, suspend is works now? >>> >> >> Try adding kern.vty=vt to /boot/loader.conf. In recent 9-stable, >> 10-stable, and head kernels, this is all it takes to switch to vt(4). If >> you have an older kernel or are running any release, you will need to >> rebuild the kernel using the VT configuration. The loader option may have >> made 9.3, but I'm not sure. I don't believe vt(4) is available for 8. >> -- >> R. Kevin Oberman, Network Engineer, Retired >> E-mail: rkoberman@gmail.com >> >> > > From owner-freebsd-acpi@FreeBSD.ORG Sat Jul 26 16:52:08 2014 Return-Path: Delivered-To: freebsd-acpi@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 A6FEEB15 for ; Sat, 26 Jul 2014 16:52:08 +0000 (UTC) Received: from mail-pa0-x22d.google.com (mail-pa0-x22d.google.com [IPv6:2607:f8b0:400e:c03::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 754072BD4 for ; Sat, 26 Jul 2014 16:52:08 +0000 (UTC) Received: by mail-pa0-f45.google.com with SMTP id eu11so7831912pac.4 for ; Sat, 26 Jul 2014 09:52:08 -0700 (PDT) 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=mk7VKmHOBtXdC/RC94TFAZm3abRecQLsRuPtsCwoMJs=; b=rC0Eqe6hW96DCBvaXVTQU4RR6hUJB9aiuFfZrTHpymR/aDrug6FdJIhOmDuSFPfNT8 JoBzfkymetesy8RRk0rACKakW+iUILf0Yo/Wd/uhqIuwC9ZD1RNdsyXEqHWgHLegw7ri gj3NT9rdI/UzODZbqHSvUE3rRb/XgCsq+P67kejj0wc/JGYTnpy0FHLR1XrPODvWWBHs XImcT+jO64KizQWy4yhWmfObrEFeqnW3ALc0kyfbl9TYqJmpqbKXVQn/wiYzJeVd+GtM SKPEnW0GU2GVeol1h48M2uL4Y116h+ABcK0FRrROImYz0EdBiGD+AVDfnCFaLnokI1Ms Bxkg== MIME-Version: 1.0 X-Received: by 10.70.34.228 with SMTP id c4mr26446409pdj.76.1406393528085; Sat, 26 Jul 2014 09:52:08 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.66.88.227 with HTTP; Sat, 26 Jul 2014 09:52:07 -0700 (PDT) In-Reply-To: References: <20140722033156.E8638@sola.nimnet.asn.au> <1405965655.15937.YahooMailAndroidMobile@web181606.mail.ne1.yahoo.com> <20140721213352.GA64025@hell> <20140722180506.GA67094@hell> <20140725221954.GA42012@hell> Date: Sat, 26 Jul 2014 09:52:07 -0700 X-Google-Sender-Auth: WL9HIlLzHXwpZTQrjKf_5qPUHRo Message-ID: Subject: Re: ACPI support - Freebsd 10 on Sony Vaio VPCCA3C5E From: Kevin Oberman To: Daniele Mazzotti Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: "freebsd-acpi@freebsd.org" X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jul 2014 16:52:08 -0000 On Sat, Jul 26, 2014 at 9:31 AM, Kevin Oberman wrote: > On Sat, Jul 26, 2014 at 1:46 AM, Daniele Mazzotti > wrote: > >> Hi, >> >> thanks again for your precious help. The suspend mode is not working yet >> as VESA option is still in my kernel configuration. I wanted to wait before >> removing it as I was not sure that intel video driver would have worked. My >> intention was to have a working setup with intel and being able to switch >> amongst vt(s) before getting rid of vesa, as I would peferer having the >> possibility to switch amongst vt(s) than putting my laptop to suspend. >> >> By the way I have a 10-RELEASE therefore I suspect I will have to >> recompile the kernel with VT. Did I get you right? >> >> I googled a bit and it seems that the only thing I have to do is to add >> these devices to my kernel: >> >> device vt >> device vt_vga >> >> This is the source I am referring to: https://wiki.freebsd.org/Newcons. >> Is this it? >> >> Cheers and thanks again, >> Daniele. >> >> > Maybe and maybe not. The wiki page needs updating. > > Look at /sys/ARCH/conf for a VT configuration. If it is there, just build > a kernel with: > # make buildkernel kernconf=VT && make installkernel kernconf=VT > (You probably want to add a reasonable -j option for your hardware to the > buildkernel.) > > If you don't have a VT config file, than just set the kern.vty=vt loadable > in /boot/loader.conf. No need to build a new kernel. > I just looked at teh repo an can say that just adding kern.vty=vt to /boot/loader.conf will work on head r 267965 or newer and 10-Stable r268366 or newer. Looks like this has not been MFCed to 9. -- R. Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com >> >> 2014-07-26 8:14 GMT+02:00 Kevin Oberman : >> >>> On Fri, Jul 25, 2014 at 3:19 PM, Bykov Vladislav <> >>> wrote: >>> >>>> On Fri, Jul 25, 2014 at 10:43:11PM +0200, Daniele Mazzotti wrote: >>>> > The error I get anytime I try to switch between terminals is the >>>> following >>>> > one " drmDropMaster failed: Unknown error: -22" >>>> This is okay, if you can't switch back to tty after starting Xorg in KMS >>>> mode using old syscons driver. There is already work going on with new >>>> driver, vt. I didn't test it though. >>>> >>>> At least, suspend is works now? >>>> >>> >>> Try adding kern.vty=vt to /boot/loader.conf. In recent 9-stable, >>> 10-stable, and head kernels, this is all it takes to switch to vt(4). If >>> you have an older kernel or are running any release, you will need to >>> rebuild the kernel using the VT configuration. The loader option may have >>> made 9.3, but I'm not sure. I don't believe vt(4) is available for 8. >>> -- >>> R. Kevin Oberman, Network Engineer, Retired >>> E-mail: rkoberman@gmail.com >>> >>> >> >> > From owner-freebsd-acpi@FreeBSD.ORG Sat Jul 26 17:40:55 2014 Return-Path: Delivered-To: freebsd-acpi@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 B36085D4 for ; Sat, 26 Jul 2014 17:40:55 +0000 (UTC) Received: from mail-yh0-x22b.google.com (mail-yh0-x22b.google.com [IPv6:2607:f8b0:4002:c01::22b]) (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 6D88A2059 for ; Sat, 26 Jul 2014 17:40:55 +0000 (UTC) Received: by mail-yh0-f43.google.com with SMTP id 29so3802030yhl.16 for ; Sat, 26 Jul 2014 10:40:54 -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=geuONMYLHTCMgM2Uy8dYy+NaVL7d1vtbkWYO131DvHw=; b=rE8VwHOeRF9CgaTO6ymHYND047rHxrmyV0WDCOcVGW5VD7Ic01J74VNbh9BW7uzHua MnZdxM1ZgRAuvut+RhdaFzuX6auQ7NF4UML9H+WSYW3phgoV0t+fxMubFENyYU3HRSL6 hyrFUqgEQRGXZ8mfONMq7CxC+oMP064MexNmRCeWj6q7yralLMV4Q2DmP5IMcVscJHL6 Iil3Pz5354s9BwJvJxuoPKq45it5Mn0bO75mJVVxuBClIlCrtlOJ0pxVmCiGEx58neol lynAyEpgZ9Q3p3Nc56JdKYh0Td4Hv/uV/+9d2FsMpTPvhI8sxXgdCAiYx5mOsUtpD6d9 vqHw== MIME-Version: 1.0 X-Received: by 10.236.85.10 with SMTP id t10mr33626078yhe.86.1406396454631; Sat, 26 Jul 2014 10:40:54 -0700 (PDT) Received: by 10.170.210.86 with HTTP; Sat, 26 Jul 2014 10:40:54 -0700 (PDT) In-Reply-To: References: <20140722033156.E8638@sola.nimnet.asn.au> <1405965655.15937.YahooMailAndroidMobile@web181606.mail.ne1.yahoo.com> <20140721213352.GA64025@hell> <20140722180506.GA67094@hell> <20140725221954.GA42012@hell> Date: Sat, 26 Jul 2014 19:40:54 +0200 Message-ID: Subject: Re: ACPI support - Freebsd 10 on Sony Vaio VPCCA3C5E From: Daniele Mazzotti To: Kevin Oberman Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: "freebsd-acpi@freebsd.org" X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jul 2014 17:40:55 -0000 Hi Kevin, that is a good news but I have a RELEASE therefore if I am not wrong I should recompile my kernel. Did I miss something? Cheers, Daniele. 2014-07-26 18:52 GMT+02:00 Kevin Oberman : > On Sat, Jul 26, 2014 at 9:31 AM, Kevin Oberman > wrote: > >> On Sat, Jul 26, 2014 at 1:46 AM, Daniele Mazzotti >> wrote: >> >>> Hi, >>> >>> thanks again for your precious help. The suspend mode is not working yet >>> as VESA option is still in my kernel configuration. I wanted to wait before >>> removing it as I was not sure that intel video driver would have worked. My >>> intention was to have a working setup with intel and being able to switch >>> amongst vt(s) before getting rid of vesa, as I would peferer having the >>> possibility to switch amongst vt(s) than putting my laptop to suspend. >>> >>> By the way I have a 10-RELEASE therefore I suspect I will have to >>> recompile the kernel with VT. Did I get you right? >>> >>> I googled a bit and it seems that the only thing I have to do is to add >>> these devices to my kernel: >>> >>> device vt >>> device vt_vga >>> >>> This is the source I am referring to: https://wiki.freebsd.org/Newcons. >>> Is this it? >>> >>> Cheers and thanks again, >>> Daniele. >>> >>> >> Maybe and maybe not. The wiki page needs updating. >> >> Look at /sys/ARCH/conf for a VT configuration. If it is there, just build >> a kernel with: >> # make buildkernel kernconf=VT && make installkernel kernconf=VT >> (You probably want to add a reasonable -j option for your hardware to >> the buildkernel.) >> >> If you don't have a VT config file, than just set the kern.vty=vt >> loadable in /boot/loader.conf. No need to build a new kernel. >> > > I just looked at teh repo an can say that just adding kern.vty=vt to > /boot/loader.conf will work on head r 267965 or newer and 10-Stable r268366 > or newer. Looks like this has not been MFCed to 9. > > -- > R. Kevin Oberman, Network Engineer, Retired > E-mail: rkoberman@gmail.com > > > >>> >>> 2014-07-26 8:14 GMT+02:00 Kevin Oberman : >>> >>>> On Fri, Jul 25, 2014 at 3:19 PM, Bykov Vladislav <> >>> > wrote: >>>> >>>>> On Fri, Jul 25, 2014 at 10:43:11PM +0200, Daniele Mazzotti wrote: >>>>> > The error I get anytime I try to switch between terminals is the >>>>> following >>>>> > one " drmDropMaster failed: Unknown error: -22" >>>>> This is okay, if you can't switch back to tty after starting Xorg in >>>>> KMS >>>>> mode using old syscons driver. There is already work going on with new >>>>> driver, vt. I didn't test it though. >>>>> >>>>> At least, suspend is works now? >>>>> >>>> >>>> Try adding kern.vty=vt to /boot/loader.conf. In recent 9-stable, >>>> 10-stable, and head kernels, this is all it takes to switch to vt(4). If >>>> you have an older kernel or are running any release, you will need to >>>> rebuild the kernel using the VT configuration. The loader option may have >>>> made 9.3, but I'm not sure. I don't believe vt(4) is available for 8. >>>> -- >>>> R. Kevin Oberman, Network Engineer, Retired >>>> E-mail: rkoberman@gmail.com >>>> >>>> >>> >>> >> >