FS#51281 - Built-in keyboard not working on Braswell SoC w/o CONFIG_PINCTRL_CHERRYVIEW=y

Attached to Project: Arch Linux
Opened by Adam S Levy (alaskanarcher) - Saturday, 08 October 2016, 00:33 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 09 October 2016, 14:00 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The internal keyboard on the Acer Chromebook [url=http://us-store.acer.com/chromebook-14-cb3-431-c5fm]CB3-431-C5FM[/url] does not work with the stock Arch Linux kernel.


Additional info:
It has an [url=http://ark.intel.com/products/91831/Intel-Celeron-Processor-N3160-2M-Cache-up-to-2_24-GHz]Intel Celeron N3160[/url] which uses the Braswell architecture.
The built in keyboard and trackpad do not work with the stock Arch Linux kernel. As it turns out this requires that the kernel be compiled with the CONFIG_PINCTRL_CHERRYVIEW=y as was suggested to me both [url=https://plus.google.com/113855420290588243576/posts/QL54F4MtMuL]on this Coreboot for Chromebooks Google Group thread[/url] and [url=https://bbs.archlinux.org/viewtopic.php?pid=1642646#p1642646]in the forums[/url].

I have recompiled the Arch Linux Kernel with the above mentioned kernel config parameter and built an Arch Live iso that I remastered with the new kernel. To my delight the keyboard now works.

Are there any plans to start compiling the kernel with this config param?

[url=https://goo.gl/Ir6ABb]lspci -vv[/url] (Gist)

Steps to reproduce:
Acquire above mentioned Chromebook or something running a SoC with Braswell architecture.
Use [url=https://johnlewis.ie/custom-chromebook-firmware/rom-download/]John Lewis' flashrom script[/url] with the RW_LEGACY option.
Attempt to run the stock kernel. Have your usb keyboard handy...
Recompile the kernel with the kernel config parameter CONFIG_PINCTRL_CHERRYVIEW=y
Remaster an arch live iso with the new kernel.
This arch live bootable should now support the keyboard.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Sunday, 09 October 2016, 14:00 GMT
Reason for closing:  Not a bug
Comment by Doug Newgard (Scimmia) - Saturday, 08 October 2016, 05:49 GMT
% zgrep CHERRYVIEW /proc/config.gz
CONFIG_PINCTRL_CHERRYVIEW=y

It's already set, and has been since 4.7.3: https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/linux&id=da2ca5bd53e841e1e3b7de786e7036a367ec1b3b

Loading...