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 - 301 through 315 (of 440 total)
  • Author
    Posts
  • #50495
    angellsl
    Participant
    • Posts: 11

    I advise you the look at the audio driver and codec in https://github.com/01org/ProductionKernelQuilts too. I have compiled a kernel for android based on this for my chuwi hibook (rt5651), and after a week of struggling I got audio working fully. To get internal speaker going I had to reverse the gpio value check in the alc105 something function, and getting jack detection going was a bit of challenge too. I will upload sources, but first I want to make accelerometer and light sensor going. I know it is not linux but it still might help you because at the lowest level the same things should happen. Mind you that Intel did over 4000 patches on vanilla kernel 3.14, so to make a mainstream kernel fully compatible with these devices is almost impossible. edit: if sound is garbled, you should first set clock freq to 19,2 from 25 (mhz?) in machine driver source.

    Thanks! Where is the switch to flip the freq, didn’t find it

    never mind, sound quality is back, only for headset though, should use fw_sst_22a8.bin firmware, not the default one (fw_sst_0f28.bin), following here https://patchwork.kernel.org/patch/9143813/

    #50496
    angellsl
    Participant
    • Posts: 11

    ————————————- | Item | Description | |—————————|—————————————————————————| | Manufacturer | Chuwi | | Device | hi10 pro | | Extracted firmware | hi10pro.fw | | Firmware for gslx680-acpi | silead_ts.fw | | Display resolution | 1920×1200 | | Touch panel resolution | 1925×1260 | | Touch controller | GSL1680 | | Multitouch support | Yes (10 points) | | Finger tracking | Yes | | Mirrored horizontally | No | | Mirrored vertically | No | | Axes swapped | No | | Comments | ./fwtool -c ./hi10pro.fw -m 1680 -w 1925 -h 1260 -t 5 -f track silead_ts.fw | ————————————–

    How do you get this info about screen config : fwtool -c ./hi10pro.fw -m 1680 -w 1925 -h 1260 -t 5 -f track silead_ts.fw? i have a chuwi hibook tablet, touchscreen on exported .fw works but not perfectly, like it isn’t calibrated.

     

    calibrated myself

    #52524
    Iaroslav
    Participant
    • Posts: 14

    Hello, I’am new at linux so i don’t know how to patch the files for WI-FI modules, somebody can explain how patch or how to install drivers for WI-FI card ?

    #52525
    BBaker
    Participant
    • Posts: 283

    Hello, I’am new at linux so i don’t know how to patch the files for WI-FI modules, somebody can explain how patch or how to install drivers for WI-FI card ?

    It’s very easy to explain *if* the driver code is available (eg. on Github) but we need to know which WiFi device are you talking about, which is in your tablet? If you can boot Linux (Ubuntu or LinuxMint) from a Live-USB drive then I can tell you what commands to run in a Terminal window (commmand line). Which tablet do you have, Hi12?.. Are you able to boot Linux from a Live-USB? If so, run this from a terminal:

    inxi -Fxz

    To get exhaustive network information run this (single line) script in the Terminal window:
    wget -N -t 5 -T 10 https://github.com/UbuntuForums/wireless-info/raw/master/wireless-info && chmod +x wireless-info && ./wireless-info
    the resulting file ‘wireless-info‘ has all the details.

    #52526
    Iaroslav
    Participant
    • Posts: 14

    Okay, so I have Installed live distro of Gnome ubuntu 16.04 on a bootable usb drive, I have managed to boot into linux using nomodeset parameter on the boot config,  then I have downloaded “patch/driver” for the wifi card, there are patch for kernel but I don’t understand how apply it. Tablet is Chuwi hi 10, distro don’t have inxi.

    #52528
    Iaroslav
    Participant
    • Posts: 14

    Hello, I’am new at linux so i don’t know how to patch the files for WI-FI modules, somebody can explain how patch or how to install drivers for WI-FI card ?

    It’s very easy to explain *if* the driver code is available (eg. on Github) but we need to know which WiFi device are you talking about, which is in your tablet? If you can boot Linux (Ubuntu or LinuxMint) from a Live-USB drive then I can tell you what commands to run in a Terminal window (commmand line). Which tablet do you have, Hi12?.. Are you able to boot Linux from a Live-USB? If so, run this from a terminal: inxi -Fxz To get exhaustive network information run this (single line) script in the Terminal window: wget -N -t 5 -T 10 https://github.com/UbuntuForums/wireless-info/raw/master/wireless-info && chmod +x wireless-info && ./wireless-info the resulting file ‘wireless-info‘ has all the details.

    System: Host: mint Kernel: 4.4.0-21-generic x86_64 (64 bit gcc: 5.3.1)
    Desktop: KDE Plasma 5.6.5 (Qt 5.5.1) Distro: Linux Mint 18 Sarah
    Machine: System: Default string product: Default string v: Default string
    Mobo: Hampoo model: Cherry Trail CR v: Default string
    Bios: American Megatrends v: P02A_C106.60D date: 03/03/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: 11519
    clock speeds: max: 1840 MHz 1: 479 MHz 2: 479 MHz 3: 479 MHz
    4: 479 MHz
    Graphics: Card: Intel Device 22b0 bus-ID: 00:02.0
    Display Server: X.Org 1.18.3 drivers: fbdev,intel (unloaded: vesa)
    Resolution: 800×[email protected]
    GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 3.8, 128 bits)
    GLX Version: 3.0 Mesa 11.2.0 Direct Rendering: Yes
    Audio: Sound: Advanced Linux Sound Architecture v: k4.4.0-21-generic
    Network: Card: Failed to Detect Network Card!
    Drives: HDD Total Size: 31.0GB (Used Error!)
    ID-1: /dev/mmcblk0 model: N/A size: 62.5GB
    ID-2: USB /dev/sda model: DataTraveler_3.0 size: 31.0GB temp: 0C
    Partition: ID-1: / size: 1.9G used: 69M (4%) fs: overlay dev: N/A
    RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
    Sensors: System Temperatures: cpu: 37.0C mobo: N/A
    Fan Speeds (in rpm): cpu: N/A
    Info: Processes: 178 Uptime: 11 min Memory: 474.7/3876.3MB
    Init: systemd runlevel: 5 Gcc sys: 5.4.0
    Client: Shell (bash 4.3.421) inxi: 2.2.35

    #52530
    BBaker
    Participant
    • Posts: 283

    Hello, I’am new at linux so i don’t know how to patch the files for WI-FI modules, somebody can explain how patch or how to install drivers for WI-FI card ?

    It’s very easy to explain *if* the driver code is available (eg. on Github) but we need to know which WiFi device are you talking about, which is in your tablet? If you can boot Linux (Ubuntu or LinuxMint) from a Live-USB drive then I can tell you what commands to run in a Terminal window (commmand line). Which tablet do you have, Hi12?.. Are you able to boot Linux from a Live-USB? If so, run this from a terminal: inxi -Fxz To get exhaustive network information run this (single line) script in the Terminal window: wget -N -t 5 -T 10 https://github.com/UbuntuForums/wireless-info/raw/master/wireless-info && chmod +x wireless-info && ./wireless-info the resulting file ‘wireless-info‘ has all the details.

    System: Host: mint Kernel: 4.4.0-21-generic x86_64 (64 bit gcc: 5.3.1)
    Desktop: KDE Plasma 5.6.5 (Qt 5.5.1) Distro: Linux Mint 18 Sarah
    Machine: System: Default string product: Default string v: Default string
    Mobo: Hampoo model: Cherry Trail CR v: Default string
    Bios: American Megatrends v: P02A_C106.60D date: 03/03/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: 11519
    clock speeds: max: 1840 MHz 1: 479 MHz 2: 479 MHz 3: 479 MHz
    4: 479 MHz
    Graphics: Card: Intel Device 22b0 bus-ID: 00:02.0
    Display Server: X.Org 1.18.3 drivers: fbdev,intel (unloaded: vesa)
    Resolution: 800×[email protected]
    GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 3.8, 128 bits)
    GLX Version: 3.0 Mesa 11.2.0 Direct Rendering: Yes
    Audio: Sound: Advanced Linux Sound Architecture v: k4.4.0-21-generic
    Network: Card: Failed to Detect Network Card!
    Drives: HDD Total Size: 31.0GB (Used Error!)
    ID-1: /dev/mmcblk0 model: N/A size: 62.5GB
    ID-2: USB /dev/sda model: DataTraveler_3.0 size: 31.0GB temp: 0C
    Partition: ID-1: / size: 1.9G used: 69M (4%) fs: overlay dev: N/A
    RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
    Sensors: System Temperatures: cpu: 37.0C mobo: N/A
    Fan Speeds (in rpm): cpu: N/A
    Info: Processes: 178 Uptime: 11 min Memory: 474.7/3876.3MB
    Init: systemd runlevel: 5 Gcc sys: 5.4.0
    Client: Shell (bash 4.3.421) inxi: 2.2.35

    Is this a Chuwi Hi10 or Hi12? I would recommend you download and create a Live-USB boot disk of the new (beta version) of Ubuntu 16.10 which has much newer Kernel 4.8 code. You are currently running kernel 4.4.

    Ubuntu Unity 16.10 Beta2: http://releases.ubuntu.com/16.10/ubuntu-16.10-beta2-desktop-amd64.iso
    Ubuntu Mate 16.10 Beta2: http://cdimage.ubuntu.com/ubuntu-mate/releases/16.10/beta-2/ubuntu-mate-16.10-beta2-desktop-amd64.iso
    Lubuntu 16.10 Beta2: http://cdimage.ubuntu.com/lubuntu/releases/16.10/beta-2/lubuntu-16.10-beta2-alternate-amd64.iso

    One Chuwi Hi12 user reported making a BIOS change to get WiFi working. Not sure if it’s needed in your case…

    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! :mrgreen:

    inxi -Fxz still shows card not found even though the wifi is working…

    #52532
    Iaroslav
    Participant
    • Posts: 14

    I have Chuwi Hi10, I have tried 16.10, it won’t boot even, how you had install driver for WIFI?

    #52533
    BBaker
    Participant
    • Posts: 283

    what is your output of the Terminal command:
    lspci -nnk

    #52534
    BBaker
    Participant
    • Posts: 283

    I have Chuwi Hi10, I have tried 16.10, it won’t boot even, how you had install driver for WIFI?

    It depends what driver. Do you have the Realtek rtl8723bs wifi device?

    #52544
    Iaroslav
    Participant
    • Posts: 14

    what is your output of the Terminal command: lspci -nnk

    <span style=”font-weight: 400;”>00:00.0 Host bridge [0600]: Intel Corporation Device [8086:2280] (rev 22)</span>

    <span style=”font-weight: 400;”>        Subsystem: Intel Corporation Device [8086:7270]</span>

    <span style=”font-weight: 400;”>        Kernel driver in use: iosf_mbi_pci</span>

    <span style=”font-weight: 400;”>00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:22b0] (rev 22)</span>

    <span style=”font-weight: 400;”>        DeviceName:  Onboard IGD</span>

    <span style=”font-weight: 400;”>        Subsystem: Intel Corporation Device [8086:7270]</span>

    <span style=”font-weight: 400;”>        Kernel modules: i915</span>

    <span style=”font-weight: 400;”>00:03.0 Multimedia controller [0480]: Intel Corporation Device [8086:22b8] (rev 22)</span>

    <span style=”font-weight: 400;”>        Subsystem: Intel Corporation Device [8086:7270]</span>

    <span style=”font-weight: 400;”>00:0b.0 Signal processing controller [1180]: Intel Corporation Device [8086:22dc] (rev 22)</span>

    <span style=”font-weight: 400;”>        Subsystem: Intel Corporation Device [8086:7270]</span>

    <span style=”font-weight: 400;”>        Kernel driver in use: proc_thermal</span>

    <span style=”font-weight: 400;”>        Kernel modules: processor_thermal_device</span>

    <span style=”font-weight: 400;”>00:11.0 SD Host controller [0805]: Intel Corporation Device [8086:2295] (rev 22)</span>

    <span style=”font-weight: 400;”>        Subsystem: Intel Corporation Device [8086:7270]</span>

    <span style=”font-weight: 400;”>        Kernel driver in use: sdhci-pci</span>

    <span style=”font-weight: 400;”>        Kernel modules: sdhci_pci</span>

    <span style=”font-weight: 400;”>00:14.0 USB controller [0c03]: Intel Corporation Device [8086:22b5] (rev 22)</span>

    <span style=”font-weight: 400;”>        Subsystem: Intel Corporation Device [8086:7270]</span>

    <span style=”font-weight: 400;”>        Kernel driver in use: xhci_hcd</span>

    <span style=”font-weight: 400;”>00:1a.0 Encryption controller [1080]: Intel Corporation Device [8086:2298] (rev 22)</span>

    <span style=”font-weight: 400;”>        Subsystem: Intel Corporation Device [8086:7270]</span>

    <span style=”font-weight: 400;”>        Kernel driver in use: mei_txe</span>

    <span style=”font-weight: 400;”>        Kernel modules: mei_txe</span>

    <span style=”font-weight: 400;”>00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:229c] (rev 22)</span>

    <span style=”font-weight: 400;”>        Subsystem: Intel Corporation Device [8086:7270]</span>

    <span style=”font-weight: 400;”>        Kernel driver in use: lpc_ich</span>

    <span style=”font-weight: 400;”>        Kernel modules: lpc_ich</span>

    #52545
    Iaroslav
    Participant
    • Posts: 14

    I have Chuwi Hi10, I have tried 16.10, it won’t boot even, how you had install driver for WIFI?

    It depends what driver. Do you have the Realtek rtl8723bs wifi device?

    yeah rtl8723bs

    #52548
    BBaker
    Participant
    • Posts: 283

    lspci

    I don’t know if this will work if you are just booted up using Live-USB disk unless you have managed to create a “persistent” data Live-USB disk.
    Withou persistence data/files is not saved between reboots on our USB drive, so you might need to actually install LinuxMint onto your HD/EMMC partition. But anyway you can try it. If it doesn’t work maybe you can figure out how to create a persistent Live-USB. I do not know how to do that.

    How to build/install the rtl8723bs wifi driver… as documented here: https://forums.linuxmint.com/viewtopic.php?f=49&t=223426&p=1211098&hilit=rtl8723bs#p1211098

    sudo apt-get install build-essential linux-headers-generic git
    cd ~
    git clone https://github.com/hadess/rtl8723bs.git
    cd rtl8723bs
    make
    sudo make install
    sudo reboot
    #52549
    Iaroslav
    Participant
    • Posts: 14

    lspci

    I don’t know if this will work if you are just booted up using Live-USB disk unless you have managed to create a “persistent” data Live-USB disk. Withou persistence data/files is not saved between reboots on our USB drive, so you might need to actually install LinuxMint onto your HD/EMMC partition. But anyway you can try it. If it doesn’t work maybe you can figure out how to create a persistent Live-USB. I do not know how to do that. How to build/install the rtl8723bs wifi driver… as documented here: https://forums.linuxmint.com/viewtopic.php?f=49&t=223426&p=1211098&hilit=rtl8723bs#p1211098

    sudo apt-get install build-essential linux-headers-generic git
    cd ~
    git clone https://github.com/hadess/rtl8723bs.git
    cd rtl8723bs
    make
    sudo make install
    sudo reboot

    But if I don’t have internet how I can use apt-get ?

    #52550
    BBaker
    Participant
    • Posts: 283

    After you get your Wifi working I recommend you upgrade your Kernel to 4.8-rc8 (the latest as of now) which has been shown to work on Chuwi Hi12. You will need this later kernel if you want to try to get audio and touchscreen drivers working. If it does not work for you it can be uninstalled. Note: I’m pretty sure this will not work from a Live-USB boot, you have to install LinuxMint to your HD partition. Alternately, you could try booting from a Live-USB disk of Ubuntu 16.10 Beta2 which is based on Kernel 4.8

    To upgrade your Kernel to 4.8-rc8 …

    mkdir kern4.8.rc8
    cd kern4.8.rc8
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.8-rc8/linux-headers-4.8.0-040800rc8_4.8.0-040800rc8.201609252231_all.deb
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.8-rc8/linux-headers-4.8.0-040800rc8-generic_4.8.0-040800rc8.201609252231_amd64.deb
    wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.8-rc8/linux-image-4.8.0-040800rc8-generic_4.8.0-040800rc8.201609252231_amd64.deb
    sudo dpkg -i *.deb
    sudo reboot
Viewing 15 posts - 301 through 315 (of 440 total)
  • You must be logged in to reply to this topic.

Lost Password

Skip to toolbar