From owner-freebsd-hardware@freebsd.org Sat Oct 21 13:15:40 2017 Return-Path: Delivered-To: freebsd-hardware@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 DE252E55E23; Sat, 21 Oct 2017 13:15:40 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A10F983E0F; Sat, 21 Oct 2017 13:15:40 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id B0AEB20D40; Sat, 21 Oct 2017 09:15:38 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Sat, 21 Oct 2017 09:15:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=kC7zZpwOAkUY0pjXAe1PWVF7fj6bL 5XZkIQio3u7Wx4=; b=slVWqu4JOZ2l6cLzJBUYLK+FdoIPdnJbXecYjcn9jKLRn u1d/HMO9TdwrQruC6dAYX2V40tBuM5/7JE4fL1jRHmh9UZge9PHNmH1Er4lkxh4u 8Uka8cTNzlmqCQt9gn89S3wxlKDmZZN/9ULeMQ9d9miB4ds3EXAKf96cWGBt1UjP wczru/VRgB0qoyludBeodwC2cBPmzFtWXzE4NQMjJlkMHTpQgUAyRVlCQRRzE7fO m+q2Whr+jWvJQyeg8EL50UFnB8tY0kEJZb5KaLu2MUK9rBw27o+S88RnWWZFzfoA HlQuL4autfci/GjwgkLbW+bEjgnzwx4q5T/Sy0D+A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=kC7zZp wOAkUY0pjXAe1PWVF7fj6bL5XZkIQio3u7Wx4=; b=qCtOyzrs7/HHZ5cV1nKzuS DqOypKT2ha6cjyy/D3fSHcSZPJprg2b3xZDiaxoeK2FMrHcntPyhRoaY7/WQ4SXn 7ozCeLP/YlG1e74rgjSfSkat46UCxNsCAyzUvLpVUGvo1Y2sORIciKhaDjOk7NSN JtpvEEKnwAAYUNSHprIz8Vyiob4ZrM90LhpjBpTOexDZWzDEB9Zv17Sm2JxZMarv dgoBc2tSYrFPl0HIOyNCDkYDcvlQXpxOF3GtjCKEmYmJTZl09Ge/jOd4MNWGMlQr RFilnBN1QUZio+9zMLocqJb7NRzMNtBFMqsHpW+TyVVv0xF3L+H3BCuD2pXBSY6Q == X-ME-Sender: Received: from acer (parsley.growveg.org [82.70.91.97]) by mail.messagingengine.com (Postfix) with ESMTPA id 193DE2484B; Sat, 21 Oct 2017 09:15:38 -0400 (EDT) Date: Sat, 21 Oct 2017 14:15:36 +0100 From: tech-lists To: freebsd-mobile@freebsd.org, freebsd-hardware@freebsd.org Subject: Re: problems getting AMD C-70 APU working with powerd/cpufreq Message-ID: <20171021131535.GA2771@acer> Mail-Followup-To: freebsd-mobile@freebsd.org, freebsd-hardware@freebsd.org 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> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20171018114241.GA991@desktop.parsley.growveg.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Oct 2017 13:15:41 -0000 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. 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. many thanks, -- J.