Date: Wed, 25 Oct 2017 01:28:25 -0400 From: Anthony Jenkins <Scoobi_doo@yahoo.com> To: tech-lists <tech-lists@zyxst.net> Cc: freebsd-mobile@freebsd.org, freebsd-hardware@freebsd.org Subject: Re: problems getting AMD C-70 APU working with powerd/cpufreq Message-ID: <612f76e3-4062-055c-50ac-26ccf02f53c2@yahoo.com> In-Reply-To: <20171021131535.GA2771@acer> 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> <b11ac2c5-eb75-363a-33b2-6580ed05e79f@yahoo.com> <20171018114241.GA991@desktop.parsley.growveg.org> <20171021131535.GA2771@acer>
next in thread | previous in thread | raw e-mail | index | archive | help
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,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?612f76e3-4062-055c-50ac-26ccf02f53c2>