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 - 286 through 300 (of 440 total)
  • Author
    Posts
  • #50152
    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
    |
    ————————————–

    Working with kernel 4.8 RC5 on Ubuntu MATE 16.04

    extracted fw from win10on my hi10 pro , following this https://github.com/onitake/gsl-firmware/tree/master/firmware/trekstor/surftab-twin-10.1-ST10432-8

    #50153
    angellsl
    Participant
    • Posts: 11

    #!/bin/bash
    # reference https://github.com/onitake/gsl-firmware/tree/master/firmware/trekstor/surftab-twin-10.1-ST10432-8
    export F=$1
    echo -e “Extracting file $F”
    cat $F \
    | hexdump -e ‘1/1 “0x%8.8_ax “‘ -e ‘1/1 “%8._ad “‘ -e ‘8/1 “%02X “”\n”””‘ \
    | grep -i -E “F0 00 00 00 02 00 00 00|7C 00 00 00 .. .. .. ..” \
    | grep “F0 00 00 00 02 00 00 00” -B1 \
    ; \
    echo — \
    ; \
    cat $F \
    | hexdump -e ‘1/1 “0x%8.8_ax “‘ -e ‘1/1 “%8._ad “‘ -e ‘8/1 “%02X “”\n”””‘ \
    | grep -i -E “F0 00 00 00 02 00 00 00|7C 00 00 00 .. .. .. ..” \
    | tail -n2

    #50154
    angellsl
    Participant
    • Posts: 11

    got errors for the attachment, you can find the SileadTouch.sys from win10, the TS chip on hi10 pro is from Silead, and use the algorithm above to get the fw (hi10pro.fw), then convert to the right format (silead_ts.fw)

    fwtool -c ./hi10pro.fw -m 1680 -w 1925 -h 1260 -t 5 -f track silead_ts.fw

    cp silead_ts.fw /lib/firmware/

    compile and load gslx680_ts_acpi, good to go:)

    #50189
    BBaker
    Participant
    • Posts: 283

    got errors for the attachment, you can find the SileadTouch.sys from win10, the TS chip on hi10 pro is from Silead, and use the algorithm above to get the fw (hi10pro.fw), then convert to the right format (silead_ts.fw)

    fwtool -c ./hi10pro.fw -m 1680 -w 1925 -h 1260 -t 5 -f track silead_ts.fw

    cp silead_ts.fw /lib/firmware/

    compile and load gslx680_ts_acpi, good to go:)

    Very cool. So what else is working or not on the Hi10 Pro? Is the rtl8723bs (or other) wifi working? Screen brightness control? internal audio speakers and/or headphone out? HDMI audio? Suspend/Resume/Hibernate? <– this commonly does not work even big name notebook models.

    #50207
    angellsl
    Participant
    • Posts: 11

    got errors for the attachment, you can find the SileadTouch.sys from win10, the TS chip on hi10 pro is from Silead, and use the algorithm above to get the fw (hi10pro.fw), then convert to the right format (silead_ts.fw) fwtool -c ./hi10pro.fw -m 1680 -w 1925 -h 1260 -t 5 -f track silead_ts.fw cp silead_ts.fw /lib/firmware/ compile and load gslx680_ts_acpi, good to go:)

    Very cool. So what else is working or not on the Hi10 Pro? Is the rtl8723bs (or other) wifi working? Screen brightness control? internal audio speakers and/or headphone out? HDMI audio? Suspend/Resume/Hibernate? <– this commonly does not work even big name notebook models.

    wifi works after manual compile/load, brightness is ok, but with an app, not the hot keys yet, internal audio is a NO, suspend is ok with command line, but the power button not working, instead the win key serves as the power button by default (odd)

    #50290
    Damian
    Participant
    • Posts: 2

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

    #50298
    BBaker
    Participant
    • Posts: 283

    got errors for the attachment, you can find the SileadTouch.sys from win10, the TS chip on hi10 pro is from Silead, and use the algorithm above to get the fw (hi10pro.fw), then convert to the right format (silead_ts.fw) fwtool -c ./hi10pro.fw -m 1680 -w 1925 -h 1260 -t 5 -f track silead_ts.fw cp silead_ts.fw /lib/firmware/ compile and load gslx680_ts_acpi, good to go:)

    Very cool. So what else is working or not on the Hi10 Pro? Is the rtl8723bs (or other) wifi working? Screen brightness control? internal audio speakers and/or headphone out? HDMI audio? Suspend/Resume/Hibernate? <– this commonly does not work even big name notebook models.

    wifi works after manual compile/load, brightness is ok, but with an app, not the hot keys yet, internal audio is a NO, suspend is ok with command line, but the power button not working, instead the win key serves as the power button by default (odd)

    For getting your audio working, it might help to go through my attempts to help a Chuwi Hi12 get his working. It’s a work in progress thread. His audio and touchscreen is not working entirely yet. The thread is dealing with both, including WiFi, so the posts are a bit mixed up. The key for audio is debugging the ALSA component and Pulseaudio. Btw, as a start you should install the latest ALSA 1.1.2 which is not yet part of any kernel release and it has changes that fixed audio for the Microsoft Surface 3 tablet which is also a Cherry-Trail device.
    https://forums.linuxmint.com/viewtopic.php?f=49&t=223426&start=220#p1214587

    #50303
    BBaker
    Participant
    • Posts: 283
    #50460
    angellsl
    Participant
    • Posts: 11

    Here is some help on installing Alsa 1.1.2 http://www.linuxfromscratch.org/blfs/view/svn/multimedia/alsa-lib.html And my attempt at helping build it … https://forums.linuxmint.com/viewtopic.php?f=49&t=223426&start=240#p1214667

    great, thanks, will give the alsa a try, but I just managed to get the external headset working (sound quality not that satisfactory though), the internal speaker is still no go, still based on the kernel 4.8.0-rc7, with the quirk for surface 3 (adapted to hipro10), found  a bug in rc7 for the surface quirk. my kernel code is kept here: https://github.com/angellsl10/I1D6-C109S-Hi10Pro-Linux-4.8-rc7.git

    the sound card on hi10pro is rt5651 (not the same as surface 3, rt5645), I got the necessary config files from here: https://github.com/plbossart/UCM/tree/master/bytcr-rt5651

    #50466
    zozzo
    Participant
    • Posts: 15

    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.

    #50467
    BBaker
    Participant
    • Posts: 283

    4.8-rc7

    So is Alsa 1.1.2 in kernel 4.8-rc7? and is 1.1.2 required to get the audio working?

    #50470
    angellsl
    Participant
    • Posts: 11

    4.8-rc7

    So is Alsa 1.1.2 in kernel 4.8-rc7? and is 1.1.2 required to get the audio working?

    not sure what version of alsa, below is from my box

    root@shawn-I1D6-C109S-Hi10Pro:/home/shawn# cat /proc/asound/version
    Advanced Linux Sound Architecture Driver Version k4.8.0-040800rc5-generic.
    root@shawn-I1D6-C109S-Hi10Pro:/home/shawn# aplay –version
    aplay: version 1.1.0 by Jaroslav Kysela <[email protected]>

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

    #50487
    BBaker
    Participant
    • Posts: 283

    4.8-rc7

    So is Alsa 1.1.2 in kernel 4.8-rc7? and is 1.1.2 required to get the audio working?

    not sure what version of alsa, below is from my box

    root@shawn-I1D6-C109S-Hi10Pro:/home/shawn# cat /proc/asound/version
    Advanced Linux Sound Architecture Driver Version k4.8.0-040800rc5-generic.
    root@shawn-I1D6-C109S-Hi10Pro:/home/shawn# aplay –version
    aplay: version 1.1.0 by Jaroslav Kysela <[email protected]>

    You can run the alsa-info script: https://wiki.ubuntu.com/Audio/AlsaInfo
    and then look in the output for a block like below. I’m not sure if this output (in my case) is correct for RC5 though because I can’t remember if I installed alsa-lib 1.1.2 on top of RC5

    !!ALSA Version
    !!————

    Driver version: k4.8.0-040800rc5-generic
    Library version: 1.1.2
    Utilities version: 1.1.0

    #50493
    angellsl
    Participant
    • Posts: 11

    4.8-rc7

    So is Alsa 1.1.2 in kernel 4.8-rc7? and is 1.1.2 required to get the audio working?

    not sure what version of alsa, below is from my box root@shawn-I1D6-C109S-Hi10Pro:/home/shawn# cat /proc/asound/version Advanced Linux Sound Architecture Driver Version k4.8.0-040800rc5-generic. root@shawn-I1D6-C109S-Hi10Pro:/home/shawn# aplay –version aplay: version 1.1.0 by Jaroslav Kysela <[email protected]>

    You can run the alsa-info script: https://wiki.ubuntu.com/Audio/AlsaInfo and then look in the output for a block like below. I’m not sure if this output (in my case) is correct for RC5 though because I can’t remember if I installed alsa-lib 1.1.2 on top of RC5

    !!ALSA Version !!———— Driver version: k4.8.0-040800rc5-generic Library version: 1.1.2 Utilities version: 1.1.0

    !!ALSA Version
    !!————

    Driver version: k4.8.0-rc7+
    Library version: 1.1.0
    Utilities version: 1.1.0

     

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

Lost Password

Skip to toolbar