From owner-freebsd-mobile@freebsd.org Wed Oct 25 05:38:45 2017 Return-Path: Delivered-To: freebsd-mobile@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6D520E3F3C6 for ; Wed, 25 Oct 2017 05:38:45 +0000 (UTC) (envelope-from Scoobi_doo@yahoo.com) Received: from sonic312-22.consmr.mail.bf2.yahoo.com (sonic312-22.consmr.mail.bf2.yahoo.com [74.6.128.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2C6B981F6D for ; Wed, 25 Oct 2017 05:38:44 +0000 (UTC) (envelope-from Scoobi_doo@yahoo.com) X-YMail-OSG: yZdqx94VM1kzTOF9qEN2pbSAcKm3J9a.mmCYOwGcDTY8L7XVzX_OrRsUn72WIwX ZmJwnLPocLlqLe2X38cNhpmt81lDngdzAdHTwO.GnVzLFOmJqACUUGBUY2XbP2tpwbxyBLdIyp7_ _tWCD9XRLxlFaZ06sy1fQX6iUl.Al5cVwJyHMnL7VVS0KKJ_xq3j.s83EsI.WeWumxLG_sRHNQ25 d25ChMHrJOArFHktP7vYGp3X0zU5J8YbMkNrGL9PZv6bP2fuPsPpKEm8FpUIQ7RJ1cW8pM1AsQhy BCMcWxzLuwVkqXi2WkjLKNQKiRS3x_Xu3skqoU2Wjb0BhS_V..pZIVwBNFmWWjWUqYX9EOeT5vc4 J_l0zl1cIhd.Jfq1jvb1vi7PhFLzJnoKyAigFCvazbs98evSCAqzRCiPVKW9vJtHD4424VlUTSP3 RIU_7IRicoVy4ucsxC8RvvETOJUEFdiTsMpqRgO6uBMizycIA5VUOgC4cZ4MJVJ9_ULB2l9ZKUsd .Efh4of30.zbT27NY_vnXm_BgB45TTYATUU6xoRRoiRhJq.8RPIzeGVhGiaN14olY2boT Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.bf2.yahoo.com with HTTP; Wed, 25 Oct 2017 05:38:37 +0000 Received: from [127.0.0.1] by smtp221.mail.bf1.yahoo.com with NNFMP; 25 Oct 2017 05:28:27 -0000 X-Yahoo-Newman-Id: 902520.10762.bm@smtp221.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: yZdqx94VM1kzTOF9qEN2pbSAcKm3J9a.mmCYOwGcDTY8L7X VzX_OrRsUn72WIwXZmJwnLPocLlqLe2X38cNhpmt81lDngdzAdHTwO.GnVzL FOmJqACUUGBUY2XbP2tpwbxyBLdIyp7__tWCD9XRLxlFaZ06sy1fQX6iUl.A l5cVwJyHMnL7VVS0KKJ_xq3j.s83EsI.WeWumxLG_sRHNQ25d25ChMHrJOAr FHktP7vYGp3X0zU5J8YbMkNrGL9PZv6bP2fuPsPpKEm8FpUIQ7RJ1cW8pM1A sQhyBCMcWxzLuwVkqXi2WkjLKNQKiRS3x_Xu3skqoU2Wjb0BhS_V..pZIVwB NFmWWjWUqYX9EOeT5vc4J_l0zl1cIhd.Jfq1jvb1vi7PhFLzJnoKyAigFCva zbs98evSCAqzRCiPVKW9vJtHD4424VlUTSP3RIU_7IRicoVy4ucsxC8RvvET OJUEFdiTsMpqRgO6uBMizycIA5VUOgC4cZ4MJVJ9_ULB2l9ZKUsd.Efh4of3 0.zbT27NY_vnXm_BgB45TTYATUU6xoRRoiRhJq.8RPIzeGVhGiaN14olY2bo T X-Yahoo-SMTP: 9sPoSQ2swBBlERuQ.0vs8XLc_MeClW0- Subject: Re: problems getting AMD C-70 APU working with powerd/cpufreq To: tech-lists References: <20171013123721.GA27736@acer.zyxst.net> <20171014215317.K34192@sola.nimnet.asn.au> <20171014212602.GB92751@acer.zyxst.net> <20171016013155.I34192@sola.nimnet.asn.au> <20171016121735.GA73795@acer.zyxst.net> <20171018114241.GA991@desktop.parsley.growveg.org> <20171021131535.GA2771@acer> Cc: freebsd-mobile@freebsd.org, freebsd-hardware@freebsd.org From: Anthony Jenkins Message-ID: <612f76e3-4062-055c-50ac-26ccf02f53c2@yahoo.com> Date: Wed, 25 Oct 2017 01:28:25 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20171021131535.GA2771@acer> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Oct 2017 05:38:45 -0000 Sorry for late responses (below). On 10/21/2017 09:15, tech-lists wrote: > On Wed, Oct 18, 2017 at 12:42:42PM +0100, tech-lists wrote: >> On Tue, Oct 17, 2017 at 06:23:06PM -0400, Anthony Jenkins wrote: >>> cpufreq(4) does not support AMD processor family 0x14 (20), which I >>> believe your dmesg showed your processor to be. >> >> aha! >> >>> I had added support for controlling the frequency on some later AMD >>> families last year, but the AMD documentation for the 0x14 family is >>> pretty complicated for my tiny brain.  The other families control >>> processor frequency with a single register, but AFACT you use P-states >>> on family 0x14.  You can have up to 8 P-states, each of which specifies >>> a power/frequency configuration.  If someone could point me to a >>> reference for controlling the frequency for this family, I could submit >>> something for review...no idea what Linux does for this family. >> >> Would it help if I were to get hardware output from booting temporarily >> to linux mint? > > [thought I'd try it anyway] > > Linux info here: > https://www.zyxst.net/txt/amd-c70-netbook/linux-dmesg-amdc70.txt > https://www.zyxst.net/txt/amd-c70-netbook/linux-cpufreq-info-amdc70.txt > > cpufreq appears to be working on linux. Linux' cpufreq looks vastly different from FreeBSD's, but I might be able to borrow stuff from it. > Because of this and that > brightness control works, I've installed linux mint permanently. If you > need me to, I can easily boot into freebsd to run tests; equally can run > tests from linux. I'd prefer to run freebsd, but the inability to turn > down screen brightness was a showstopper. The following (git-based) patch /might/ fix your backlight issue: http://www.qtchat.org/~ajenkins/20171025_radeon_backlight.patch it should apply cleanly to recent FreeBSD kernel sources.  It works for my HP Envy w/ Radeon GPU.  You'll need to rebuild the sys/dev/drm2 stuff in the kernel, reinstall kernel and reboot (or just rebuild the drm2 modules if you're using those); you'll also need to load the acpi_video module.  The keyboard backlight keys /should/ work then.  If not, post a verbose dmesg log. Anthony > many thanks, From owner-freebsd-mobile@freebsd.org Wed Oct 25 10:24:01 2017 Return-Path: Delivered-To: freebsd-mobile@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5C72EE45A0B for ; Wed, 25 Oct 2017 10:24:01 +0000 (UTC) (envelope-from do-not-reply@yahoo.com) Received: from sonic331-18.consmr.mail.bf2.yahoo.com (sonic331-18.consmr.mail.bf2.yahoo.com [74.6.134.144]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 12B6166B25 for ; Wed, 25 Oct 2017 10:24:00 +0000 (UTC) (envelope-from do-not-reply@yahoo.com) Received: from sonic.gate.mail.ne1.yahoo.com by sonic331.consmr.mail.bf2.yahoo.com with HTTP; Wed, 25 Oct 2017 10:23:59 +0000 From: official info To: freebsd-mobile@freebsd.org Message-ID: <1428232058.5248111508927036982.JavaMail.yahoo@tardis024.cal.bf1.yahoo.com> Subject: Invitation: It is my pleasure to bring blessing to you @ Wednesday, 25 October 2017 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Wed, 25 Oct 2017 10:24:01 -0000 X-List-Received-Date: Wed, 25 Oct 2017 10:24:01 -0000 From owner-freebsd-mobile@freebsd.org Wed Oct 25 10:24:25 2017 Return-Path: Delivered-To: freebsd-mobile@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BDEFDE45A58 for ; Wed, 25 Oct 2017 10:24:25 +0000 (UTC) (envelope-from do-not-reply@yahoo.com) Received: from sonic329-18.consmr.mail.bf2.yahoo.com (sonic329-18.consmr.mail.bf2.yahoo.com [74.6.133.144]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7E52766B79 for ; Wed, 25 Oct 2017 10:24:24 +0000 (UTC) (envelope-from do-not-reply@yahoo.com) Received: from sonic.gate.mail.ne1.yahoo.com by sonic329.consmr.mail.bf2.yahoo.com with HTTP; Wed, 25 Oct 2017 10:24:18 +0000 From: official info To: freebsd-mobile@freebsd.org Message-ID: <1671260738.5313799.1508927057668.JavaMail.yahoo@tardis025.cal.bf1.yahoo.com> Subject: Cancelled: It is my pleasure to bring blessing to you @ Wednesday, 25 October 2017 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Wed, 25 Oct 2017 10:24:25 -0000 X-List-Received-Date: Wed, 25 Oct 2017 10:24:25 -0000