Linux Mint on Chuwi Hi10 & Hi12 Tablets

Linux Mint on Chuwi Hi10 & Hi12 Tablets

TechTablets Forums Chuwi Forums Chuwi Hi10 Discussion Linux Mint on Chuwi Hi10 & Hi12 Tablets

Viewing 15 posts - 271 through 285 (of 440 total)
  • Author
    Posts
  • #49039
    BBaker
    Participant
    • Posts: 283

    @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#p1212242

    #49265
    BBaker
    Participant
    • Posts: 283

    I 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/input6

    Installation 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

    #49530
    Anonymous
    Inactive
    • Posts: 77

    Hopefully you can read this OK.

    I don’t have a way to email from Linux on the Chuwi Hi12 yet.

    #49532
    BBaker
    Participant
    • Posts: 283

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

    #49533
    BBaker
    Participant
    • Posts: 283

    poof! <deleted> 🙂

    #49624
    Anonymous
    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

    #49625
    Anonymous
    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

    #49627
    BBaker
    Participant
    • Posts: 283

    To 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’)

    #49628
    BBaker
    Participant
    • Posts: 283

    Btw, 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.

    #49762
    BBaker
    Participant
    • Posts: 283

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

    To 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 reboot
    #49763
    BBaker
    Participant
    • Posts: 283

    If you have a Hi10 and would like to test the touchscreen driver, let me know and I can prob make the changes needed.

    #49766
    BBaker
    Participant
    • Posts: 283

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

    #49768
    BBaker
    Participant
    • Posts: 283

    Btw, 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.

    #50104
    angellsl
    Participant
    • Posts: 11

    Just made Ubuntu MATE 16.04 working on Chuwi Hi10 Pro, attached is the touchscreen driver (silead, NOT goodix), hope it helps

    #50105
    BBaker
    Participant
    • Posts: 283

    Just made Ubuntu MATE 16.04 working on Chuwi Hi10 Pro, attached is the touchscreen driver (silead, NOT goodix), hope it helps

    Attached?

Viewing 15 posts - 271 through 285 (of 440 total)
  • You must be logged in to reply to this topic.

Lost Password

Skip to toolbar