TechTablets › Forums › Chuwi Forums › Chuwi Hi10 Discussion › Linux Mint on Chuwi Hi10 & Hi12 Tablets
Tagged: Touchscreen on Chuwi Hi10-Plus
- This topic has 441 replies, 64 voices, and was last updated 4 years, 7 months ago by
Asa.
-
AuthorPosts
-
September 6, 2016 at 4:29 pm #49039
@mauser_270 built the latest Goodix touchscreen driver on Linux 4.7.2 (Ubuntu Unity 16.04) on his Chuwi Hi12 and says it’s working! So he now has WiFi and Touchscreen working. Not sure yet if Bluetooth and audio is working for him.
Now, who else will go for it and confirm?…
https://forums.linuxmint.com/viewtopic.php?f=49&t=223426&p=1212242#p1212242September 8, 2016 at 8:47 pm #49265I took the touchscreen driver one step further and now have my own version with a few code changes in it. One change is adding the correct Goodix device identifier ‘9111’ which is was not reflected in the code but important I think. Another is I changed a few of the default settings – screen size to that of the Hi10 (1920 x 1200) and 5 point touch instead of 10. I also added some extra ‘dmesg’ logging to get more information when it fails. If you try it let us know how it works for you. If/when it fails run this command in a Terminal window:
dmesg | grep -iA2 goodix
and provide the output which should look something like this…[ 10.943742] goodix_backport: module verification failed: signature and/or required key missing – tainting kernel
[ 10.951681] Goodix-TS i2c-GDIX1001:00: ID 9111, version: 1060
[ 10.959617] Goodix-TS i2c-GDIX1001:00: Invalid config, using defaults
[ 10.959942] input: Goodix Capacitive TouchScreen as /devices/pci0000:00/808622C1:05/i2c-13/i2c-GDIX1001:00/input/input6Installation procedures for the TS driver are here for LinuxMint or any flavors of Ubuntu and perhaps Debian too: https://forums.linuxmint.com/viewtopic.php?f=49&t=223426&p=1213008#p1213008
September 12, 2016 at 1:55 am #49530Anonymous
Inactive- Posts: 77
Hopefully you can read this OK.
I don’t have a way to email from Linux on the Chuwi Hi12 yet.
September 12, 2016 at 2:11 am #49532Hopefully you can read this OK.
I don’t have a way to email from Linux on the Chuwi Hi12 yet.
Yep, that’s normal log output when the goodix TS driver is not working. Which Linux distro, kernel, and goodix driver are you using? that is not the one I modified. If you want to try it you can download it here: https://github.com/blocksonic/gt9xx/raw/device-tree/goodix_backport.ko
However, I built it on kernel 4.8 so I’m not sure if it will run on the default 4.4 kernel in LinuxMint 18 or Ubuntu 16.
You could build and install it yourself with these Terminal commands:sudo apt-get install build-essential linux-headers-generic git
git clone https://github.com/blocksonic/gt9xx
cd gt9xx
make clean
make
sudo make install
sudo depmod -a
sudo modprobe -rv goodix_backport
sudo modprobe -v goodix_backport
sudo rebootSeptember 12, 2016 at 2:25 am #49533poof! <deleted> 🙂
September 12, 2016 at 11:48 pm #49624Anonymous
Inactive- Posts: 77
Before I run that …
Where does that updated driver get written, please?
The live-USB isn’t persistent & the ESSD doesn’t have a Linux partition.
Thanks! David
September 12, 2016 at 11:52 pm #49625Anonymous
Inactive- Posts: 77
For your second request – “mkdir” also presumes a place to write.
Same question, please?
I’d love to help get up to solutions …
David
September 13, 2016 at 12:29 am #49627To show your full path just run in the Terminal:
ls -l /lib/modules/$(uname -r)/extra
That ‘extra’ directory may not exist until after you’ve built and installed the driver (ie, after you’ve run ‘sudo modprobe -v goodix_backport’)September 13, 2016 at 12:44 am #49628Btw, there was a bug fixed in July for getting audio working on the Microsoft Surface 3 tablet. This tablet looks like is uses the same audio device and Atom Z8300 CPU as the Hi12 and prob other cherry-trail tablets, so there’s a good chance that audio driver will work for the Hi12. I’m not sure yet which kernel release has that fix. Perhaps it’s already in kernel 4.7 or later.
September 14, 2016 at 3:19 pm #49762Below are directions for building/installing a new goodix touchscreen debug-version driver patched by a Linux kernel developer (not me) with Chuwi Hi12 specific changes. Anyone with a Hi12, it would help greatly if you can test it and report results – save the dmesg log (run ‘dmesg > filename.txt’) and then upload that file to http://www.pastebin.com and provide the resulting pastebin URL link to that log.
It’s recommended you use LinuxMint 18 or Ubuntu 16 and install and bootup the latest kernel prior to testing (4.8-rc5 as of now).
Install Kernel 4.8-rc5 For 64-Bit Systems:mkdir kern4.8.rc5 cd kern4.8.rc5 wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.8-rc5/linux-headers-4.8.0-040800rc5_4.8.0-040800rc5.201609041832_all.deb wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.8-rc5/linux-headers-4.8.0-040800rc5-generic_4.8.0-040800rc5.201609041832_amd64.deb wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.8-rc5/linux-image-4.8.0-040800rc5-generic_4.8.0-040800rc5.201609041832_amd64.deb sudo dpkg -i *.deb sudo rebootTo build and install this patched Hi12 goodix driver (and blacklist the existing kernel driver), here’s the Terminal commands:
sudo su echo "blacklist goodix" >> /etc/modprobe.d/blacklist.conf exit apt-get install build-essential linux-headers-generic git git clone https://github.com/blocksonic/gt9xx cd gt9xx make clean make sudo make install sudo depmod -a sudo modprobe -rv goodix_backport sudo modprobe -v goodix_backport sudo rebootSeptember 14, 2016 at 3:21 pm #49763If you have a Hi10 and would like to test the touchscreen driver, let me know and I can prob make the changes needed.
September 14, 2016 at 3:42 pm #49766This thread shows how to get WiFi and *possibly* bluetooth working (because I think both WiFi and BT come from the same r8723bs driver).
Scratch that. That driver only works for WiFi. There is a separate driver for Bluetooth which must be installed. I’ve not found (so far) any report of it having been tested and working, or not, on the Hi12 or Hi10. This is the BT driver: https://github.com/lwfinger/rtl8723bs_bt
This directory contains the programs and firmware to operate the Bluetooth
section of the RTL8723BS hardware used on a number of tablets.September 14, 2016 at 3:53 pm #49768Btw, there was a bug fixed in July for getting audio working on the Microsoft Surface 3 tablet. This tablet looks like is uses the same audio device and Atom Z8300 CPU as the Hi12 and prob other cherry-trail tablets, so there’s a good chance that audio driver will work for the Hi12. I’m not sure yet which kernel release has that fix. Perhaps it’s already in kernel 4.7 or later.
Turns out these changes for the Surface 3 was released in ALSA v1.1.2 on August 2, which I don’t think has been bundled yet in any released kernel. Maybe it’s in one of the 4.8 release candidates (rc1 – rc5). ALSA is Advanced Linux Sound Architecture, alsa-project.org Anyway, I have a feeling that getting sound working on a Chuwi on Linux will require code changes like the Surface 3. You may have to use a USB or HDMI audio adapter until then.
September 18, 2016 at 1:01 pm #50104Just made Ubuntu MATE 16.04 working on Chuwi Hi10 Pro, attached is the touchscreen driver (silead, NOT goodix), hope it helps
September 18, 2016 at 1:14 pm #50105Just made Ubuntu MATE 16.04 working on Chuwi Hi10 Pro, attached is the touchscreen driver (silead, NOT goodix), hope it helps
Attached?
-
AuthorPosts
- You must be logged in to reply to this topic.

