Manouchehri / vi8

Various bits of information on getting Linux running on the Chuwi Vi8 tablet.
54 stars 17 forks source link

Chuwi VI10 Pro touchscreen #13

Open fourpoint opened 3 years ago

fourpoint commented 3 years ago

I successfuly installed Kubuntu 20.10 on my tablet but did not managed to setup touchscreen. I always get this dmesg output: [ 8.265859] chipone_icn8505 i2c-CHPN0001:00: Warning ACPI _SUB failed: 0x5 [ 8.267159] chipone_icn8505 i2c-CHPN0001:00: Direct firmware load for chipone/icn8505-unknown.fw failed with error -2 [ 8.267166] chipone_icn8505 i2c-CHPN0001:00: Firmware request error -2 [ 8.267341] chipone_icn8505: probe of i2c-CHPN0001:00 failed with error -2 When I tried to rename firmware file to icn8505-unknown.fw only first line remained but it's still not working.

I also tried to compile chipone driver but I always get this error (It's partly in Czech but it's understandable):

KCPPFLAGS="-DCONFIG_HI10=1" make default make[1]: Vstupuje se do adresáře „/home/karel/chipone_ts“ make -C /lib/modules/5.8.0-48-generic/build M=/home/karel/chipone_ts modules make[2]: Vstupuje se do adresáře „/usr/src/linux-headers-5.8.0-48-generic“ CC [M] /home/karel/chipone_ts/chipone_main.o In file included from /home/karel/chipone_ts/chipone_sysfs.h:4, from /home/karel/chipone_ts/chipone_main.c:12: /home/karel/chipone_ts/chipone_types.h:15:17: error: field ‘last_irq_event’ has incomplete type 15 | struct timeval last_irq_event; | ^~~~~~ /home/karel/chipone_ts/chipone_main.c: In function ‘do_gettimeofday_cust’: /home/karel/chipone_ts/chipone_main.c:19:5: error: invalid use of undefined type ‘struct timeval’ 19 | tv -> tv_sec = ts.tv_sec; | ^~ /home/karel/chipone_ts/chipone_main.c:20:5: error: invalid use of undefined type ‘struct timeval’ 20 | tv -> tv_usec = ts.tv_nsec; | ^~ /home/karel/chipone_ts/chipone_main.c: In function ‘chipone_ts_irq_handler’: /home/karel/chipone_ts/chipone_main.c:88:15: warning: unused variable ‘msec_since’ [-Wunused-variable] 88 | unsigned int msec_since; | ^~~~~~ make[3]: [scripts/Makefile.build:286: /home/karel/chipone_ts/chipone_main.o] Chyba 1 make[2]: [Makefile:1783: /home/karel/chipone_ts] Chyba 2 make[2]: Opouští se adresář „/usr/src/linux-headers-5.8.0-48-generic“ make[1]: [Makefile:12: default] Chyba 2 make[1]: Opouští se adresář „/home/karel/chipone_ts“ make: [Makefile:15: hi10] Chyba 2