Forum Replies Created
-
AuthorPosts
-
September 24, 2016 at 6:57 am #50496
————————————- | 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
September 24, 2016 at 6:27 am #50495I 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/
September 24, 2016 at 4:07 am #504934.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.0September 23, 2016 at 2:55 pm #50471I 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
September 23, 2016 at 2:53 pm #504704.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]>September 23, 2016 at 9:41 am #50460Here 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
September 20, 2016 at 2:36 am #50207got 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)
September 19, 2016 at 6:28 am #50154got 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:)
September 19, 2016 at 6:22 am #50153#!/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 -n2September 19, 2016 at 6:21 am #50152————————————-
| 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
September 18, 2016 at 1:01 pm #50104Just made Ubuntu MATE 16.04 working on Chuwi Hi10 Pro, attached is the touchscreen driver (silead, NOT goodix), hope it helps
-
AuthorPosts

