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 >>>> >>>> >>> >>> >> >