Not surprising. the goodix driver is not in my 4.8 kernel either. The "-r" option of modprobe means to remove the module. Without that option it installs/loads it.mauser_270 wrote:Sorry havent had a chance to do much tonight. I can tell you that I installed kernal 4.7.2 and ran modprobe -r goodix, and it said somthing to the effect of the module was not installed in that kernal. In 4.4 running modprobe -r goodix stopped the touch screen form working and modprobe goodix started it again. But I dident have enough time to get it to boot into kernal 4.4 without it working. I'll try and fet further tommorow
Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
- bbaker6212
- Level 5
- Posts: 538
- Joined: Wed Aug 12, 2015 6:35 pm
Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core
Linux Mint XFCE 21.1 , Windows 11, Pop!_OS 22.04 Acer Aspire 5 A515-57 (linux-probe), Core i5-1235U, 16GB RAM
Lenovo Ideapad 330S-15IKB (linux-probe), Core i5-8250U, 20GB RAM
Lenovo Ideapad 330S-15IKB (linux-probe), Core i5-8250U, 20GB RAM
Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core
the commands you gave to try did not seem to do anything here is a log like you requested http://pastebin.com/qWCNAdr9 , i though it might be of note that -r - i2c_hid and -i2c_hid did not seem to do anything when th TS was working. its a little off topic but is the hadess wifi driver the same that is on his git web page as i would get with a git clone,im just wondering because that one is labeled master and i haven't got it to build, and when i try to clone it it asks me for a user name and password. i was also curious if the onboard sound was working in 4.8? someone on the tech tablets forums seemed to think it might.
Last edited by mauser_270 on Sat Sep 03, 2016 12:27 pm, edited 1 time in total.
Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core
i installed the goodix_backport exactly as described on kernal 4.7.2 in the link you gave and the TS has worked now on 7 out of 8 times i started the tablet as apposed to the 1 in 2 before ill have to start it up a bunch-more to see i that continues to be true. i know its not exactly what you were asking and i do intend to try to install it to to same kernel that the original drive is working on tonight, here is a log of that if you are interested http://pastebin.com/LvcRK7Yt
- bbaker6212
- Level 5
- Posts: 538
- Joined: Wed Aug 12, 2015 6:35 pm
Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core
Sounds promising. That would be great if it changed things. I really didn't think it would, it was kinda shot in the dark. Did you install the new driver using just the 'modprobe' commands?mauser_270 wrote:i installed the goodix_backport exactly as described on kernal 4.7.2 in the link you gave and the TS has worked now on 7 out of 8 times i started the tablet as apposed to the 1 in 2 before ill have to start it up a bunch-more to see i that continues to be true. i know its not exactly what you were asking and i do intend to try to install it to to same kernel that the original drive is working on tonight, here is a log of that if you are interested http://pastebin.com/LvcRK7Yt
you said
yes. Is that not the one you are running? That is the one that @Destry rebuilt here and said it was working. If it's not working for you, try running this before doing the 'git clone':is the hadess wifi driver the same that is on his git web page as i would get with a git clone
Code: Select all
sudo apt-get install build-essential linux-headers-generic git
Destry said
Tried this:
Code: Select all
sudo apt-get -y install git cd git clone https://github.com/hadess/rtl8723bs.git cd rtl8723bs make sudo make install sudo reboot
Booted into Bios/ South Bridge/ LPSS & SCC CONFIGURATION/ SCC SDIO Support = changed acpi to PCI then saved and exit. After reboot, wifi working! Connected and online!
If you do not change the setting in Bios, the Hi12 will freeze at boot after installing the driver. Just hold your power button down for 10 to 12 seconds and it will power off.
inxi -Fxz still shows card not found even though the wifi is working...
Linux Mint XFCE 21.1 , Windows 11, Pop!_OS 22.04 Acer Aspire 5 A515-57 (linux-probe), Core i5-1235U, 16GB RAM
Lenovo Ideapad 330S-15IKB (linux-probe), Core i5-8250U, 20GB RAM
Lenovo Ideapad 330S-15IKB (linux-probe), Core i5-8250U, 20GB RAM
- bbaker6212
- Level 5
- Posts: 538
- Joined: Wed Aug 12, 2015 6:35 pm
Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core
I'm confused by your statement
. What is the difference between the "original drive" and the one you're using now? Do you mean just booting up the original kernel (4.4?) from the grub boot menu?i do intend to try to install it to to same kernel that the original drive is working on tonight
Linux Mint XFCE 21.1 , Windows 11, Pop!_OS 22.04 Acer Aspire 5 A515-57 (linux-probe), Core i5-1235U, 16GB RAM
Lenovo Ideapad 330S-15IKB (linux-probe), Core i5-8250U, 20GB RAM
Lenovo Ideapad 330S-15IKB (linux-probe), Core i5-8250U, 20GB RAM
Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core
Yes, I thought you wanted me to replace the driver in 4.4 to see if that worked, rather than onto 4.7. And yes I have been useing the boot menus to switch between the two. I'm was asuming there was some difference between the goodix driver and the goodix_backport driver
- bbaker6212
- Level 5
- Posts: 538
- Joined: Wed Aug 12, 2015 6:35 pm
Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core
No, I think it's better you stick with 4.7 because there have been improvements in the kernel that might be helping Cherry-Trail devices like the Hi12. You're still using Ubuntu 16.04 or LinuxMint 18?mauser_270 wrote:Yes, I thought you wanted me to replace the driver in 4.4 to see if that worked, rather than onto 4.7. And yes I have been useing the boot menus to switch between the two.
Linux Mint XFCE 21.1 , Windows 11, Pop!_OS 22.04 Acer Aspire 5 A515-57 (linux-probe), Core i5-1235U, 16GB RAM
Lenovo Ideapad 330S-15IKB (linux-probe), Core i5-8250U, 20GB RAM
Lenovo Ideapad 330S-15IKB (linux-probe), Core i5-8250U, 20GB RAM
Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core
"Sounds promising. That would be great if it changed things. I really didn't think it would, it was kinda shot in the dark. Did you install the new driver using just the 'modprobe' commands? "
git clone https://github.com/hadess/gt9xx.git
cd gt9xx
make
sudo make install
sudo depmod -a
sudo modprobe goodix_backport
it has still has been starting with touch working more often than not 5 in 6 since i got home
git clone https://github.com/hadess/gt9xx.git
cd gt9xx
make
sudo make install
sudo depmod -a
sudo modprobe goodix_backport
it has still has been starting with touch working more often than not 5 in 6 since i got home
- bbaker6212
- Level 5
- Posts: 538
- Joined: Wed Aug 12, 2015 6:35 pm
Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core
When it doesn't work do you just reboot or did you try unloading and reloading the module?:mauser_270 wrote:it has still has been starting with touch working more often than not 5 in 6 since i got home
Code: Select all
modprobe -r goodix_backport
modprobe goodix_backport
Code: Select all
dmesg > output.txt
sudo dmidecode >> output.txt
Linux Mint XFCE 21.1 , Windows 11, Pop!_OS 22.04 Acer Aspire 5 A515-57 (linux-probe), Core i5-1235U, 16GB RAM
Lenovo Ideapad 330S-15IKB (linux-probe), Core i5-8250U, 20GB RAM
Lenovo Ideapad 330S-15IKB (linux-probe), Core i5-8250U, 20GB RAM
- bbaker6212
- Level 5
- Posts: 538
- Joined: Wed Aug 12, 2015 6:35 pm
Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core
I saw that the Chuwi Hi10 has a screen size of 1920 x 1200 while the Hi12 is 2160 x 1440 so if the defaults used for MAX_HEIGHT and MAX_WIDTH are affecting the TS functions it might be better if the driver is rebuilt using the lower Hi10 values. That, plus contacting the developer Hadess to find out how these values can be determined at runtime (ie, probing the chip?). Will wait to hear from @mauser's results from more testing.
Linux Mint XFCE 21.1 , Windows 11, Pop!_OS 22.04 Acer Aspire 5 A515-57 (linux-probe), Core i5-1235U, 16GB RAM
Lenovo Ideapad 330S-15IKB (linux-probe), Core i5-8250U, 20GB RAM
Lenovo Ideapad 330S-15IKB (linux-probe), Core i5-8250U, 20GB RAM
- bbaker6212
- Level 5
- Posts: 538
- Joined: Wed Aug 12, 2015 6:35 pm
Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core
FYI, Something else I found, though it likely is not directly related to the problem. I think it's just a matter of the kernel being built (or not) with the goodix TS module included. It looks like each kernel release is installed with it's own config file such as /boot/config-4.4.0-36-generic which has contents like this...
Just noting it here in the event it's relevant. Obviously for these non 4.4 kernels you have no hope in getting the TS working unless you build the above mentioned Hadess goodix_backport module.
But Kernel 4.7.0 and 4.8-rc1 config-4.x.x-xx-generic looks like this...,,,
CONFIG_TOUCHSCREEN_EETI=m
CONFIG_TOUCHSCREEN_FT6236=m
CONFIG_TOUCHSCREEN_FUJITSU=m
CONFIG_TOUCHSCREEN_GOODIX=m
...
I think this is likely not so important since we already know that the goodix.ko module is not present in the current releases....
CONFIG_TOUCHSCREEN_EETI=m
# CONFIG_TOUCHSCREEN_EGALAX_SERIAL is not set
# CONFIG_TOUCHSCREEN_FT6236 is not set
CONFIG_TOUCHSCREEN_FUJITSU=m
# CONFIG_TOUCHSCREEN_GOODIX is not set
...
Just noting it here in the event it's relevant. Obviously for these non 4.4 kernels you have no hope in getting the TS working unless you build the above mentioned Hadess goodix_backport module.
Linux Mint XFCE 21.1 , Windows 11, Pop!_OS 22.04 Acer Aspire 5 A515-57 (linux-probe), Core i5-1235U, 16GB RAM
Lenovo Ideapad 330S-15IKB (linux-probe), Core i5-8250U, 20GB RAM
Lenovo Ideapad 330S-15IKB (linux-probe), Core i5-8250U, 20GB RAM
Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core
i have output.txt from the one boot where the touch screen was not working correctly reading touches in the wrong places not reading others http://pastebin.com/6QWF6JB8 , i have not got the TS to boot up not working in a little while.
Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core
i get this ( modprobe: ERROR: ../libkmod/libkmod-module.c:793 kmod_module_remove_module() could not remove 'goodix_backport': Operation not permitted ) when trying ( modprobe -r goodix_backport )
- bbaker6212
- Level 5
- Posts: 538
- Joined: Wed Aug 12, 2015 6:35 pm
Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core
[IGNORE this post if desired - just documenting my research findings on the Goodix TS in this thread]
cannot find any datasheet for the Goodix 9111 so it may be the actual chip is the 9110 as mostly demonstrated in Android.
Various datasheets here http://dl.linux-sunxi.org/touchscreen/
Found a goodix driver for what looks like a Mediatek Android distro. But the source may give clues. In particular under Linux the TS device ID on the Hi12 is identified as '9111' but under Android (and perhaps windows?) I think it's identified as '9110'. Well, in this Android driver code https://github.com/kashifmin/KashKernel ... 0_update.c it has an interesting comment mentioning PID 9111...
cannot find any datasheet for the Goodix 9111 so it may be the actual chip is the 9110 as mostly demonstrated in Android.
Various datasheets here http://dl.linux-sunxi.org/touchscreen/
Found a goodix driver for what looks like a Mediatek Android distro. But the source may give clues. In particular under Linux the TS device ID on the Hi12 is identified as '9111' but under Android (and perhaps windows?) I think it's identified as '9110'. Well, in this Android driver code https://github.com/kashifmin/KashKernel ... 0_update.c it has an interesting comment mentioning PID 9111...
Code: Select all
//GT9XX PID MAPPING
/*|-----FLASH-----RAM-----|
|------918------918-----|
|------968------968-----|
|------913------913-----|
|------913P-----913P----|
|------927------927-----|
|------927P-----927P----|
|------9110-----9110----|
|------9110P----9111----|*/
if(update_msg.ic_fw_msg.pid[0] != 0)
{
if (!memcmp(update_msg.ic_fw_msg.pid, "9111", 4))
{
GTP_INFO("IC Mapping Product id:%s", update_msg.ic_fw_msg.pid);
memcpy(update_msg.ic_fw_msg.pid, "9110P", 5);
}
}
Last edited by bbaker6212 on Sun Sep 04, 2016 3:08 pm, edited 1 time in total.
Linux Mint XFCE 21.1 , Windows 11, Pop!_OS 22.04 Acer Aspire 5 A515-57 (linux-probe), Core i5-1235U, 16GB RAM
Lenovo Ideapad 330S-15IKB (linux-probe), Core i5-8250U, 20GB RAM
Lenovo Ideapad 330S-15IKB (linux-probe), Core i5-8250U, 20GB RAM
- bbaker6212
- Level 5
- Posts: 538
- Joined: Wed Aug 12, 2015 6:35 pm
Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core
and what aboutmauser_270 wrote:i get this ( modprobe: ERROR: ../libkmod/libkmod-module.c:793 kmod_module_remove_module() could not remove 'goodix_backport': Operation not permitted ) when trying ( modprobe -r goodix_backport )
Code: Select all
sudo modprobe -r goodix_backport
Code: Select all
uname -a
Code: Select all
inxi -Fxi
but what I'm after is specifically which desktop you're using.
Last edited by bbaker6212 on Sun Sep 04, 2016 2:59 pm, edited 1 time in total.
Linux Mint XFCE 21.1 , Windows 11, Pop!_OS 22.04 Acer Aspire 5 A515-57 (linux-probe), Core i5-1235U, 16GB RAM
Lenovo Ideapad 330S-15IKB (linux-probe), Core i5-8250U, 20GB RAM
Lenovo Ideapad 330S-15IKB (linux-probe), Core i5-8250U, 20GB RAM
Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core
with the TS not working this is the output text from dmesg > output.txt http://pastebin.com/3uqPTh5f, and this from sudo dmidecode >> output.txt http://pastebin.com/e7GDVvUf
Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core
Linux chuwihi12-Default-string 4.7.2-040702-generic #201608201334 SMP Sat Aug 20 17:37:03 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core
yes sudo modprobe -r goodix_backport does work when the TS is working and it does turn back on, sudo modprobe goodix_backport does not work when it starts wthout it working
- bbaker6212
- Level 5
- Posts: 538
- Joined: Wed Aug 12, 2015 6:35 pm
Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core
In this case of not working the dmesg log again has that "invalid config" error message. So the question is why is this sometimes happening and other times (most of the time now with this modified driver?) not ...mauser_270 wrote:with the TS not working this is the output text from dmesg > output.txt http://pastebin.com/3uqPTh5f, and this from sudo dmidecode >> output.txt http://pastebin.com/e7GDVvUf
Code: Select all
[ 8.074286] goodix_backport: module verification failed: signature and/or required key missing - tainting kernel
[ 8.080134] Goodix-TS i2c-GDIX1001:00: ID 9111, version: 1060
[ 8.090071] Goodix-TS i2c-GDIX1001:00: Invalid config, using defaults
[ 8.090398] input: Goodix Capacitive TouchScreen as /devices/pci0000:00/808622C1:05/i2c-13/i2c-GDIX1001:00/input/input6
Linux Mint XFCE 21.1 , Windows 11, Pop!_OS 22.04 Acer Aspire 5 A515-57 (linux-probe), Core i5-1235U, 16GB RAM
Lenovo Ideapad 330S-15IKB (linux-probe), Core i5-8250U, 20GB RAM
Lenovo Ideapad 330S-15IKB (linux-probe), Core i5-8250U, 20GB RAM
Re: Linux Mint 18 Working on Chuwi Hi12 Tablet PC 64 Bit Cherry Trail Quad Core
System: Host: chuwihi12-Default-string Kernel: 4.7.2-040702-generic x86_64 (64 bit gcc: 6.1.1)
Desktop: Unity 7.4.0 (Gtk 3.18.9-1ubuntu3.1)
Distro: Ubuntu 16.04 xenial
Machine: System: Default string product: Default string v: Default string
Mobo: Hampoo model: Cherry Trail CR v: Default string
Bios: American Megatrends v: 5.11 date: 04/28/2016
CPU: Quad core Intel Atom x5-Z8300 (-MCP-) cache: 1024 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 11520
clock speeds: max: 1840 MHz 1: 479 MHz 2: 479 MHz 3: 871 MHz
4: 864 MHz
Graphics: Card: Intel Device 22b0 bus-ID: 00:02.0
Display Server: X.Org 1.18.3 drivers: intel (unloaded: fbdev,vesa)
Resolution: 2160x1440@59.95hz
GLX Renderer: Mesa DRI Intel HD Graphics (Cherryview)
GLX Version: 3.0 Mesa 11.2.0 Direct Rendering: Yes
Audio: Sound: Advanced Linux Sound Architecture v: k4.7.2-040702-generic
Network: Card: Failed to Detect Network Card!
WAN IP: 199.126.168.78
IF: wlan0 ip-v4: 192.168.2.159 ip-v6: fe80::9938:d5bf:74f7:e175
Drives: HDD Total Size: 63.3GB (36.4% used)
ID-1: /dev/mmcblk1 model: N/A size: 62.5GB
ID-2: USB /dev/sda model: Patriot_Memory size: 63.3GB temp: 0C
Partition: ID-1: / size: 54G used: 4.9G (10%) fs: ext4 dev: /dev/sda2
ID-2: swap-1 size: 3.94GB used: 0.00GB (0%) fs: swap dev: /dev/sda3
Sensors: System Temperatures: cpu: 40.0C mobo: N/A
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 221 Uptime: 9 min Memory: 784.7/3625.6MB
Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (bash 4.3.461) inxi: 2.2.35
Desktop: Unity 7.4.0 (Gtk 3.18.9-1ubuntu3.1)
Distro: Ubuntu 16.04 xenial
Machine: System: Default string product: Default string v: Default string
Mobo: Hampoo model: Cherry Trail CR v: Default string
Bios: American Megatrends v: 5.11 date: 04/28/2016
CPU: Quad core Intel Atom x5-Z8300 (-MCP-) cache: 1024 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 11520
clock speeds: max: 1840 MHz 1: 479 MHz 2: 479 MHz 3: 871 MHz
4: 864 MHz
Graphics: Card: Intel Device 22b0 bus-ID: 00:02.0
Display Server: X.Org 1.18.3 drivers: intel (unloaded: fbdev,vesa)
Resolution: 2160x1440@59.95hz
GLX Renderer: Mesa DRI Intel HD Graphics (Cherryview)
GLX Version: 3.0 Mesa 11.2.0 Direct Rendering: Yes
Audio: Sound: Advanced Linux Sound Architecture v: k4.7.2-040702-generic
Network: Card: Failed to Detect Network Card!
WAN IP: 199.126.168.78
IF: wlan0 ip-v4: 192.168.2.159 ip-v6: fe80::9938:d5bf:74f7:e175
Drives: HDD Total Size: 63.3GB (36.4% used)
ID-1: /dev/mmcblk1 model: N/A size: 62.5GB
ID-2: USB /dev/sda model: Patriot_Memory size: 63.3GB temp: 0C
Partition: ID-1: / size: 54G used: 4.9G (10%) fs: ext4 dev: /dev/sda2
ID-2: swap-1 size: 3.94GB used: 0.00GB (0%) fs: swap dev: /dev/sda3
Sensors: System Temperatures: cpu: 40.0C mobo: N/A
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 221 Uptime: 9 min Memory: 784.7/3625.6MB
Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (bash 4.3.461) inxi: 2.2.35