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
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

modinfo goodix

Code: Select all

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 ~ $ 
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 »

OK, here's how you can replace the original goodix driver with the new compiled goodix_backport driver.
The thing is I looked in the source code and is shows MODULE_INFO(srcversion, "14EC9CF3D1F29A86BF0A7F7")
which is the same srcversion string that your "modinfo goodix" command output. So I wonder if the code is really any different
in the newly compiled driver. Well give it a try. I'm skeptical it will work though.

Code: Select all

cd /lib/modules/4.4.0-21-generic/kernel/drivers/input/touchscreen/
mkdir ~/backup
sudo mv goodix.ko ~/backup
sudo cp /lib/modules/4.4.0-21-generic/extra/goodix_backport.ko goodix.ko
reboot
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 »

I'm curious, after you did the above, is there a difference in size between the new and old driver?...

Code: Select all

ls -l /lib/modules/4.4.0-21-generic/kernel/drivers/input/touchscreen/goodix.ko
ls -l ~/backup/goodix.ko
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 »

btw, if it's possible to move a discussion, you should do that and move this discussion to the Hardware Support forum. Dunno if the moderator has to move it or if you can.
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 thing. If it still does not work. Did you ever verify that you do have the Goodix touchscreen or you are just going on what Dax89 said via his research? When did you buy your Hi12 and does it support an active stylus? Because on the Chuwi forum it says there are two different touchpanels one old and one new and only the new one supports stylus and perhaps the panels use different driver/firmware?

http://forum.chuwi.com/thread-1135-1-1.html
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:I'm curious, after you did the above, is there a difference in size between the new and old driver?...

Code: Select all

ls -l /lib/modules/4.4.0-21-generic/kernel/drivers/input/touchscreen/goodix.ko
ls -l ~/backup/goodix.ko
Got this:

Code: Select all

destry@destry-Default-string ~ $ ls -l /lib/modules/4.4.0-21-generic/kernel/drivers/input/touchscreen/goodix.ko
-rw-r--r-- 1 root root 14240 Jul 17 22:56 /lib/modules/4.4.0-21-generic/kernel/drivers/input/touchscreen/goodix.ko
destry@destry-Default-string ~ $ ls -l ~/backup/goodix.ko
-rw-r--r-- 1 root root 14958 Apr 18 18:22 /home/destry/backup/goodix.ko
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
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:Destry, another thing. If it still does not work. Did you ever verify that you do have the Goodix touchscreen or you are just going on what Dax89 said via his research? When did you buy your Hi12 and does it support an active stylus? Because on the Chuwi forum it says there are two different touchpanels one old and one new and only the new one supports stylus and perhaps the panels use different driver/firmware?

http://forum.chuwi.com/thread-1135-1-1.html
I booted into win10 on the twin tablet and checked the device manager and got this:

Code: Select all

Goodix Touch HID


Device HID\GDIX1001&Col01\5&3b1baf05&0&0000 was configured.

Driver Name: input.inf
Class Guid: {745A17A0-74D3-11D0-B6FE-00A0C90F57DA}
Driver Date: 06/21/2006
Driver Version: 10.0.10586.0
Driver Provider: Microsoft
Driver Section: HID_Raw_Inst.NT
Driver Rank: 0xFF1004
Matching Device Id: HID_DEVICE_UP:000D_U:0004
Outranked Drivers: input.inf:HID_DEVICE:00FF1005
Device Updated: false
Parent Device: ACPI\GDIX1001\4&34076dda&0



Device HID\GDIX1001&Col01\5&3b1baf05&0&0000 was started.

Driver Name: input.inf
Class Guid: {745A17A0-74D3-11D0-B6FE-00A0C90F57DA}
Service:
Lower Filters:
Upper Filters: 
I emailed this info to Dax89 at the same time i posted this earlier in this thread on page 3.
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:btw, if it's possible to move a discussion, you should do that and move this discussion to the Hardware Support forum. Dunno if the moderator has to move it or if you can.
Good idea, will see what I can do.
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
karlchen
Level 21
Level 21
Posts: 12832
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

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

Post by karlchen »

Will a Mod move this to Hardware Support?
Done.
Image
Linux Mint 19.3 64-bit Cinnamon, Total Commander 9.51 64-bit
Haß gleicht einer Krankheit, dem Miserere, wo man vorne herausgibt, was eigentlich hinten wegsollte. (Goethe)
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, well your output from Windows "Parent Device: ACPI\GDIX1001" looks right, it matches what the Hadess source code says...

in goodix_backport.mod.c file:
MODULE_ALIAS("acpi*:GDIX1001:*")
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 »

So after these steps you did above, I take it's still not working?
bbaker6212 wrote:

Code: Select all

cd /lib/modules/4.4.0-21-generic/kernel/drivers/input/touchscreen/
mkdir ~/backup
sudo mv goodix.ko ~/backup
sudo cp /lib/modules/4.4.0-21-generic/extra/goodix_backport.ko goodix.ko
reboot
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 »

If you boot using Linux Mint 18 (Mate or Cinnamon) in live USB mode, the touch screen still works?
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 wrote:Touch screen worked with the live usb, but does not work with the install.
which version did you boot with here?
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:
Destry wrote:Touch screen worked with the live usb, but does not work with the install.
which version did you boot with here?
Before I wiped the drive and did the full install, the touch screen worked with live usb on Cinnamon18. After I wiped the drive, never had the touch screen work since even with the live usb. I have a suspicion there must have been a driver for Bios on a partition on the drive.
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 »

Something else Destry, I remember @Dax89 talking on TechTablets forum that there is a firmware file needed for his tablet that I think comes from Windows.
I just bumped into this fairly detailed writeup on getting the Chuwi Vi8 working on Ubuntu and it also installs a firmware file. This is something to investigate and prob Dax89 can help you? Note in the quote block below the firmware file silead_ts.fw . Also note on that page that he got bluetooth working. That may be helpful to you when you get around to investigating that on your Hi12.
Touch

I will not go into detail right now, but https://github.com/onitake/gslx680-acpi driver works. You can set your screen orientation to clockwise, then

sudo apt-get -y install git
Enter your password and hit enter

git clone https://github.com/onitake/gslx680-acpi.git
wget -O silead_ts.fw https://github.com/Manouchehri/vi8/blob ... w?raw=true
sudo mv silead_ts.fw /lib/firmware/
cd gslx680-acpi
make
sudo make install
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 »

karlchen wrote:
Will a Mod move this to Hardware Support?
Done.
Thank You!
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:Something else Destry, I remember @Dax89 talking on TechTablets forum that there is a firmware file needed for his tablet that I think comes from Windows.
I just bumped into this fairly detailed writeup on getting the Chuwi Vi8 working on Ubuntu and it also installs a firmware file. This is something to investigate and prob Dax89 can help you? Note in the quote block below the firmware file silead_ts.fw . Also note on that page that he got bluetooth working. That may be helpful to you when you get around to investigating that on your Hi12.
Touch

I will not go into detail right now, but https://github.com/onitake/gslx680-acpi driver works. You can set your screen orientation to clockwise, then

sudo apt-get -y install git
Enter your password and hit enter

git clone https://github.com/onitake/gslx680-acpi.git
wget -O silead_ts.fw https://github.com/Manouchehri/vi8/blob ... w?raw=true
sudo mv silead_ts.fw /lib/firmware/
cd gslx680-acpi
make
sudo make install
Ran this script and seen no errors. Same results.. touch screen still not working.
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 »

Interesting, I just booted live Cinnamon 18 usb on the sister Hi12 tablet and no touch screen. The sister tablet has not been modified. 100% factory.
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 »

Destry wrote:
Ran this script and seen no errors. Same results.. touch screen still not working.
Sorry If I was not clear. I was not suggesting you run this script. When I said "investigate" I meant try to track down if yours also needs a firware file (I think it's likely) and where to get it. That script is for a different tablet with a different touchscreen (Silead vs your Goodix) and driver/firmware so I would not expect it to work.
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 »

long day at work and just went back for another hour and a half.. tired.. didn't read it too well. not worried though.. if I crash it, will simply reload LM. :wink:
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
Post Reply

Return to “Hardware Support”