Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
User avatar
bbaker6212
Level 5
Level 5
Posts: 522
Joined: Wed Aug 12, 2015 6:35 pm

Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core

Post by bbaker6212 »

Dax made a couple recommendations over on TT one of which was to compare the output of the below given command between your installed bootup and your Live USB bootup. If the output is different it might give some clues why it does not work when installed. But if you can't get it to work again on Live USB boot then this won't help...[edit] If you think you're getting different results when live booting from USB, make sure you md5sum your ISO download and try re-burning your USB stick. Which app are you using to create the USB, UNetbootin?

Code: Select all

dmesg | grep -i goodix
Linux Mint Mate 19.1 k/4.15, Windows 10, Manjaro 18.03 Xfce k/4.19.24-1 MX-Linux 18.1 Lenovo Ideapad G50-45 8GB
Lenovo Ideapad 330S-15IKB, Core i5-8250U, 8GB RAM, Samsung EVO 850 SATA SSD, 14GB Optane M.2 PCIe NVMe, QCA9377 WiFi

User avatar
bbaker6212
Level 5
Level 5
Posts: 522
Joined: Wed Aug 12, 2015 6:35 pm

Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core

Post by bbaker6212 »

@Destry, another stab in the dark. This guy got his Pipo X8 touchscreen working on Ubuntu MATE 15.04 which uses Linux kernel v3.19. He said he tried lots of others Ubuntu based distro's that did not work, even ones more recent, but only Ubuntu 15.04 MATE worked, and right from install. The Pipo X8 I think is bay-trail Atom SoC but it appears to use the same Goodix touchscreen driver. So given Linux Mint Mate 17.3 uses Kernel v3.19 I would give that a try. Maybe you'll get some luck with that.

https://www.linuxquestions.org/question ... 175562061/

Note his "dmesg" output on Lubuntu (this was one of his non-working attempts)...
Dec 21 17:53:10 lubuntu kernel: [ 59.138020] Goodix-TS i2c-GDIX1001:01: i2c test failed attempt 1: -121
Dec 21 17:53:10 lubuntu kernel: [ 59.161887] Goodix-TS i2c-GDIX1001:01: i2c test failed attempt 2: -121
Dec 21 17:53:10 lubuntu kernel: [ 59.185739] Goodix-TS i2c-GDIX1001:01: I2C communication failure: -121
Dec 21 17:53:10 lubuntu kernel: [ 59.225756] Goodix-TS: probe of i2c-GDIX1001:01 failed with error -121
So again, try with LM Mate 17.3 and post your output of the following command both during Live boot and after install so we can compare any possible differences...

Code: Select all

dmesg | grep -i goodix
If it doesn't work then try the same with Ubuntu Mate 15.04. If it works then at least we know where the problem resides.
Linux Mint Mate 19.1 k/4.15, Windows 10, Manjaro 18.03 Xfce k/4.19.24-1 MX-Linux 18.1 Lenovo Ideapad G50-45 8GB
Lenovo Ideapad 330S-15IKB, Core i5-8250U, 8GB RAM, Samsung EVO 850 SATA SSD, 14GB Optane M.2 PCIe NVMe, QCA9377 WiFi

User avatar
Destry
Level 4
Level 4
Posts: 312
Joined: Thu Mar 03, 2016 11:57 am

Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core

Post by Destry »

bbaker6212 wrote:Dax made a couple recommendations over on TT one of which was to compare the output of the below given command between your installed bootup and your Live USB bootup. If the output is different it might give some clues why it does not work when installed. But if you can't get it to work again on Live USB boot then this won't help...[edit] If you think you're getting different results when live booting from USB, make sure you md5sum your ISO download and try re-burning your USB stick. Which app are you using to create the USB, UNetbootin?

Code: Select all

dmesg | grep -i goodix
I use the USB image writer that comes with Linux Mint.
I may have some time to try Ubuntu Mate 15.04 Tomorrow evening and see what happens. I have the sister tablet at work right now and the only keyboard between the two is with it.

Thanks for your assistance bbaker6212! :mrgreen:
Distro: Linux Mint 19.1
8 core 16 thread Intel Core i9-9900K (-MT-MCP-) arch: Skylake rev.12 cache: 16384 KB 5ghz
32 gig ram 2080Ti Nvidia Zotac Amp Extreme Gaming 11gb

User avatar
Destry
Level 4
Level 4
Posts: 312
Joined: Thu Mar 03, 2016 11:57 am

Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core

Post by Destry »

Here is what the output from dmesg | grep -i goodix was

Code: Select all

destry@destry-Default-string ~ $ dmesg | grep -i goodix
[    7.663732] goodix_backport: module verification failed: signature and/or required key missing - tainting kernel
[    7.672094] Goodix-TS i2c-GDIX1001:00: ID 9111, version: 1060
[    7.678732] Goodix-TS i2c-GDIX1001:00: Invalid config, using defaults
[    7.678956] input: Goodix Capacitive TouchScreen as /devices/pci0000:00/808622C1:05/i2c-13/i2c-GDIX1001:00/input/input8
destry@destry-Default-string ~ $ 
Distro: Linux Mint 19.1
8 core 16 thread Intel Core i9-9900K (-MT-MCP-) arch: Skylake rev.12 cache: 16384 KB 5ghz
32 gig ram 2080Ti Nvidia Zotac Amp Extreme Gaming 11gb

User avatar
bbaker6212
Level 5
Level 5
Posts: 522
Joined: Wed Aug 12, 2015 6:35 pm

Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core

Post by bbaker6212 »

Think I found a clue here... http://stackoverflow.com/questions/2497 ... ng-taintin
It seems like the vendor of your system has enabled kernel module signature verification on your kernel which means it won't load any module that the vendor hasn't signed. In other words, your patched module isn't signed (properly) and the kernel will refuse to load it.

The point of this is supposed to prevent malware and rootkits from loading malicious kernel modules.

I suggest you contact your vendor. There may be an option somewhere on your platform to disable signature checking. Otherwise, your vendor may be able to sign the module for you. You might even have the key and the details of the signature verification algorithm and can sign it yourself.
Instead of re-configuring the kernel, this error (module verification failed) could be resolved by just adding one line CONFIG_MODULE_SIG=n to the top of the Makefile for the module itself:
So, try adding CONFIG_MODULE_SIG=n to the top of the Makefile then rebuild with "make" and then "make install" then reboot and see if those errors are still there.
Linux Mint Mate 19.1 k/4.15, Windows 10, Manjaro 18.03 Xfce k/4.19.24-1 MX-Linux 18.1 Lenovo Ideapad G50-45 8GB
Lenovo Ideapad 330S-15IKB, Core i5-8250U, 8GB RAM, Samsung EVO 850 SATA SSD, 14GB Optane M.2 PCIe NVMe, QCA9377 WiFi

User avatar
bbaker6212
Level 5
Level 5
Posts: 522
Joined: Wed Aug 12, 2015 6:35 pm

Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core

Post by bbaker6212 »

Also, ... so, is it still not working booting from Live USB on Mint Mate 18? If it's working what is the output of that dmesg command for comparison?
Linux Mint Mate 19.1 k/4.15, Windows 10, Manjaro 18.03 Xfce k/4.19.24-1 MX-Linux 18.1 Lenovo Ideapad G50-45 8GB
Lenovo Ideapad 330S-15IKB, Core i5-8250U, 8GB RAM, Samsung EVO 850 SATA SSD, 14GB Optane M.2 PCIe NVMe, QCA9377 WiFi

User avatar
Destry
Level 4
Level 4
Posts: 312
Joined: Thu Mar 03, 2016 11:57 am

Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core

Post by Destry »

bbaker6212 wrote:Think I found a clue here... http://stackoverflow.com/questions/2497 ... ng-taintin
It seems like the vendor of your system has enabled kernel module signature verification on your kernel which means it won't load any module that the vendor hasn't signed. In other words, your patched module isn't signed (properly) and the kernel will refuse to load it.

The point of this is supposed to prevent malware and rootkits from loading malicious kernel modules.

I suggest you contact your vendor. There may be an option somewhere on your platform to disable signature checking. Otherwise, your vendor may be able to sign the module for you. You might even have the key and the details of the signature verification algorithm and can sign it yourself.
Instead of re-configuring the kernel, this error (module verification failed) could be resolved by just adding one line CONFIG_MODULE_SIG=n to the top of the Makefile for the module itself:
So, try adding CONFIG_MODULE_SIG=n to the top of the Makefile then rebuild with "make" and then "make install" then reboot and see if those errors are still there.
That is something I have never done before... Will have to try to figure that out..

I have tried many different versions of Linux live usb and get the same results. Kali Linux, Ubuntu 1604, Kubuntu 15.10 etc.. nothing on touchscreen.
Distro: Linux Mint 19.1
8 core 16 thread Intel Core i9-9900K (-MT-MCP-) arch: Skylake rev.12 cache: 16384 KB 5ghz
32 gig ram 2080Ti Nvidia Zotac Amp Extreme Gaming 11gb

User avatar
bbaker6212
Level 5
Level 5
Posts: 522
Joined: Wed Aug 12, 2015 6:35 pm

Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core

Post by bbaker6212 »

I don't think the newly compiled driver is helping so you should put the original driver back ...

Code: Select all

sudo cp ~/backup/goodix.ko /lib/modules/4.4.0-21-generic/kernel/drivers/input/touchscreen/
then reboot, and

Code: Select all

dmesg | grep -i goodix

is the output giving the same error?
Linux Mint Mate 19.1 k/4.15, Windows 10, Manjaro 18.03 Xfce k/4.19.24-1 MX-Linux 18.1 Lenovo Ideapad G50-45 8GB
Lenovo Ideapad 330S-15IKB, Core i5-8250U, 8GB RAM, Samsung EVO 850 SATA SSD, 14GB Optane M.2 PCIe NVMe, QCA9377 WiFi

User avatar
Destry
Level 4
Level 4
Posts: 312
Joined: Thu Mar 03, 2016 11:57 am

Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core

Post by Destry »

Checked the kernel log file and found this..

Code: Select all

Jul 17 14:19:32 destry-Default-string kernel: [  350.956073] Goodix-TS i2c-GDIX1001:00: ID 9111, version: 1060
Jul 17 14:19:32 destry-Default-string kernel: [  350.962835] Goodix-TS i2c-GDIX1001:00: Invalid config, using defaults
Jul 17 14:19:32 destry-Default-string kernel: [  350.963817] input: Goodix Capacitive TouchScreen as /devices/pci0000:00/808622C1:05/i2c-13/i2c-GDIX1001:00/input/input11
Will run your last post.
Distro: Linux Mint 19.1
8 core 16 thread Intel Core i9-9900K (-MT-MCP-) arch: Skylake rev.12 cache: 16384 KB 5ghz
32 gig ram 2080Ti Nvidia Zotac Amp Extreme Gaming 11gb

User avatar
Destry
Level 4
Level 4
Posts: 312
Joined: Thu Mar 03, 2016 11:57 am

Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core

Post by Destry »

bbaker6212 wrote:I don't think the newly compiled driver is helping so you should put the original driver back ...

Code: Select all

sudo cp ~/backup/goodix.ko /lib/modules/4.4.0-21-generic/kernel/drivers/input/touchscreen/
then reboot, and

Code: Select all

dmesg | grep -i goodix

is the output giving the same error?

Code: Select all

destry@destry-Default-string ~ $ dmesg | grep -i goodix
[    6.860960] goodix_backport: module verification failed: signature and/or required key missing - tainting kernel
[    6.863943] Goodix-TS i2c-GDIX1001:00: ID 9111, version: 1060
[    6.872314] Goodix-TS i2c-GDIX1001:00: Invalid config, using defaults
[    6.872497] input: Goodix Capacitive TouchScreen as /devices/pci0000:00/808622C1:05/i2c-13/i2c-GDIX1001:00/input/input8
destry@destry-Default-string ~ $ 
Distro: Linux Mint 19.1
8 core 16 thread Intel Core i9-9900K (-MT-MCP-) arch: Skylake rev.12 cache: 16384 KB 5ghz
32 gig ram 2080Ti Nvidia Zotac Amp Extreme Gaming 11gb

User avatar
bbaker6212
Level 5
Level 5
Posts: 522
Joined: Wed Aug 12, 2015 6:35 pm

Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core

Post by bbaker6212 »

"goodix_backport" is mentioned, so the new driver is still in place. I wish someone else with more experience would chime in - on how to get the original driver to load. Try...

Code: Select all

sudo modprobe -rv goodix_backport
sudo modprobe -v goodix
Linux Mint Mate 19.1 k/4.15, Windows 10, Manjaro 18.03 Xfce k/4.19.24-1 MX-Linux 18.1 Lenovo Ideapad G50-45 8GB
Lenovo Ideapad 330S-15IKB, Core i5-8250U, 8GB RAM, Samsung EVO 850 SATA SSD, 14GB Optane M.2 PCIe NVMe, QCA9377 WiFi

User avatar
Destry
Level 4
Level 4
Posts: 312
Joined: Thu Mar 03, 2016 11:57 am

Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core

Post by Destry »

bbaker6212 wrote:"goodix_backport" is mentioned, so the new driver is still in place. I wish someone else with more experience would chime in - on how to get the original driver to load. Try...

Code: Select all

sudo modprobe -rv goodix_backport
sudo modprobe -v goodix

Code: Select all

destry@destry-Default-string ~ $ sudo modprobe -rv goodix_backport
[sudo] password for destry: 
rmmod goodix_backport
destry@destry-Default-string ~ $ sudo modprobe -v goodix
insmod /lib/modules/4.4.0-21-generic/kernel/drivers/input/touchscreen/goodix.ko 
destry@destry-Default-string ~ $ 
no change...
Distro: Linux Mint 19.1
8 core 16 thread Intel Core i9-9900K (-MT-MCP-) arch: Skylake rev.12 cache: 16384 KB 5ghz
32 gig ram 2080Ti Nvidia Zotac Amp Extreme Gaming 11gb

User avatar
bbaker6212
Level 5
Level 5
Posts: 522
Joined: Wed Aug 12, 2015 6:35 pm

Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core

Post by bbaker6212 »

You mean dmesg still shows "goodix_backport" (the new driver)?

Code: Select all

lsmod | grep good
modinfo goodix
Linux Mint Mate 19.1 k/4.15, Windows 10, Manjaro 18.03 Xfce k/4.19.24-1 MX-Linux 18.1 Lenovo Ideapad G50-45 8GB
Lenovo Ideapad 330S-15IKB, Core i5-8250U, 8GB RAM, Samsung EVO 850 SATA SSD, 14GB Optane M.2 PCIe NVMe, QCA9377 WiFi

User avatar
Destry
Level 4
Level 4
Posts: 312
Joined: Thu Mar 03, 2016 11:57 am

Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core

Post by Destry »

bbaker6212 wrote:You mean dmesg still shows "goodix_backport" (the new driver)?

Code: Select all

lsmod | grep good
modinfo goodix
I mean still no touchscreen.

Code: Select all

destry@destry-Default-string ~ $ lsmod | grep good
goodix                 16384  0
destry@destry-Default-string ~ $ modinfo goodix
filename:       /lib/modules/4.4.0-21-generic/kernel/drivers/input/touchscreen/goodix.ko
license:        GPL v2
description:    Goodix touchscreen driver
author:         Bastien Nocera <hadess@hadess.net>
author:         Benjamin Tissoires <benjamin.tissoires@gmail.com>
srcversion:     14EC9CF3D1F29A86BF0A7F7
alias:          i2c:GDIX1001:00
alias:          acpi*:GDIX1001:*
depends:        
intree:         Y
vermagic:       4.4.0-21-generic SMP mod_unload modversions 
destry@destry-Default-string ~ $ 
I do not know what program to use to edit the makefile and I don't know where it is located in my file system.
Last edited by Destry on Sun Jul 24, 2016 11:46 am, edited 1 time in total.
Distro: Linux Mint 19.1
8 core 16 thread Intel Core i9-9900K (-MT-MCP-) arch: Skylake rev.12 cache: 16384 KB 5ghz
32 gig ram 2080Ti Nvidia Zotac Amp Extreme Gaming 11gb

User avatar
bbaker6212
Level 5
Level 5
Posts: 522
Joined: Wed Aug 12, 2015 6:35 pm

Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core

Post by bbaker6212 »

Code: Select all

dmesg | grep -i goodix
Linux Mint Mate 19.1 k/4.15, Windows 10, Manjaro 18.03 Xfce k/4.19.24-1 MX-Linux 18.1 Lenovo Ideapad G50-45 8GB
Lenovo Ideapad 330S-15IKB, Core i5-8250U, 8GB RAM, Samsung EVO 850 SATA SSD, 14GB Optane M.2 PCIe NVMe, QCA9377 WiFi

User avatar
Destry
Level 4
Level 4
Posts: 312
Joined: Thu Mar 03, 2016 11:57 am

Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core

Post by Destry »

bbaker6212 wrote:

Code: Select all

dmesg | grep -i goodix

Code: Select all

destry@destry-Default-string ~ $ dmesg | grep -i goodix
[    6.901157] Goodix-TS i2c-GDIX1001:00: ID 9111, version: 1060
[    6.907811] Goodix-TS i2c-GDIX1001:00: Invalid config, using defaults
[    6.907998] input: Goodix Capacitive TouchScreen as /devices/pci0000:00/808622C1:05/i2c-13/i2c-GDIX1001:00/input/input8
[    6.921048] goodix_backport: module verification failed: signature and/or required key missing - tainting kernel
[    6.921418] Error: Driver 'Goodix-TS' is already registered, aborting...
[    7.336901] Error: Driver 'Goodix-TS' is already registered, aborting...
destry@destry-Default-string ~ $ 
I do not know what program to use to edit the makefile and I don't know where it is located in my file system.
Distro: Linux Mint 19.1
8 core 16 thread Intel Core i9-9900K (-MT-MCP-) arch: Skylake rev.12 cache: 16384 KB 5ghz
32 gig ram 2080Ti Nvidia Zotac Amp Extreme Gaming 11gb

User avatar
bbaker6212
Level 5
Level 5
Posts: 522
Joined: Wed Aug 12, 2015 6:35 pm

Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core

Post by bbaker6212 »

Sorry, I don't know how to get the original driver loaded again. It's still showing the backport driver. I'll see if Dax can help.
Linux Mint Mate 19.1 k/4.15, Windows 10, Manjaro 18.03 Xfce k/4.19.24-1 MX-Linux 18.1 Lenovo Ideapad G50-45 8GB
Lenovo Ideapad 330S-15IKB, Core i5-8250U, 8GB RAM, Samsung EVO 850 SATA SSD, 14GB Optane M.2 PCIe NVMe, QCA9377 WiFi

User avatar
bbaker6212
Level 5
Level 5
Posts: 522
Joined: Wed Aug 12, 2015 6:35 pm

Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core

Post by bbaker6212 »

Just re-reading Dax's last post, it seems he thinks it's loading but perhaps does not have correct configuration.

http://techtablets.com/forum/topic/linu ... post-43900
This log means:

Linux mint kernel is compiled with Goodix touchscreen support, there is no need to use an external driver, which is pretty good.
The second line tells that the driver loads correctly but in the third one tells that it can’t load/find configuration and uses the default one, which might not be good for Hi12’s touchscreen’s requirements.
Every firmware/configuration file can be found in windows drivers’ archive: even windows needs to load these “extra” information from somewhere.

If the screen works in live, it might be useful to compare dmesg logs and see if it gives some extra hints
He doesn't mention the "goodix_backport... tainted Kernel" line so maybe it's just in unimportant warning?

"[ 6.870031] goodix_backport: module verification failed: signature and/or required key missing - tainting kernel"

the keys he says:
1. The second line tells that the driver loads correctly
2. but in the third one tells that it can’t load/find configuration and uses the default one, which might not be good for Hi12’s touchscreen’s requirements.
Linux Mint Mate 19.1 k/4.15, Windows 10, Manjaro 18.03 Xfce k/4.19.24-1 MX-Linux 18.1 Lenovo Ideapad G50-45 8GB
Lenovo Ideapad 330S-15IKB, Core i5-8250U, 8GB RAM, Samsung EVO 850 SATA SSD, 14GB Optane M.2 PCIe NVMe, QCA9377 WiFi

User avatar
Destry
Level 4
Level 4
Posts: 312
Joined: Thu Mar 03, 2016 11:57 am

Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core

Post by Destry »

I am going to format and install LM Xfce 18 and investigate the kernel and Goodix without changing anything.
Distro: Linux Mint 19.1
8 core 16 thread Intel Core i9-9900K (-MT-MCP-) arch: Skylake rev.12 cache: 16384 KB 5ghz
32 gig ram 2080Ti Nvidia Zotac Amp Extreme Gaming 11gb

User avatar
bbaker6212
Level 5
Level 5
Posts: 522
Joined: Wed Aug 12, 2015 6:35 pm

Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core

Post by bbaker6212 »

Good. At this point it's prob best to get back to a baseline - especially since this may just be a configuration issue. I would focus on searching the Windows forums to try to find out where to get the touchscreen config parameters for the Hi12. Also try the XDA-Developers forum.
Linux Mint Mate 19.1 k/4.15, Windows 10, Manjaro 18.03 Xfce k/4.19.24-1 MX-Linux 18.1 Lenovo Ideapad G50-45 8GB
Lenovo Ideapad 330S-15IKB, Core i5-8250U, 8GB RAM, Samsung EVO 850 SATA SSD, 14GB Optane M.2 PCIe NVMe, QCA9377 WiFi

Post Reply

Return to “Hardware Support”