onitake / gsl-firmware

Firmware repository for Silead touchscreen controllers
321 stars 201 forks source link

Trekstor Surftab 7.0 - Initialization error, status: 0x0 #212

Open oscarsantillana opened 1 year ago

oscarsantillana commented 1 year ago

Hello,

I am facing this error when loading silead module in a Trekstor Suftab 7.0 with bios version TREK.G.WI71C.JGBMRBA04

[ 9.161250] silead_ts i2c-MSSL1680:00: supply vddio not found, using dummy regulator [ 9.161381] silead_ts i2c-MSSL1680:00: supply avdd not found, using dummy regulator [ 9.161950] silead_ts i2c-MSSL1680:00: Silead chip ID: 0xB4820000 [ 9.310551] silead_ts i2c-MSSL1680:00: firmware: direct-loading firmware silead/gsl1686-surftab-wintron70-st70416-6.fw [ 9.895451] silead_ts i2c-MSSL1680:00: Initialization error, status: 0x0

I am running debian 12

OS: Debian GNU/Linux 12 (bookworm) x86_64 Host: ST70416-6 Type1 - TBD by Kernel: 6.1.0-11-amd64

These are the steps I have followed:

I have copied the firmware here

ls -la /lib/firmware/silead total 68 drwxr-xr-x 2 root root 4096 Aug 28 15:00 . drwxr-xr-x 38 root root 4096 Aug 24 13:35 .. -rw-r--r-- 1 root root 14769 Aug 24 13:53 gsl1686-surftab-wintron70-st70416-6.fw -rw-r--r-- 1 root root 43032 Aug 28 15:00 mssl1680.fw

and added the grub the following parameter

GRUB_CMDLINE_LINUX_DEFAULT="quiet CONFIG_TOUCHSCREEN_SILEAD=y"

Any ideas what step I have missed? My understanding is that there is no need to recompile the kernel.

Thanks in advance

onitake commented 1 year ago

GRUB_CMDLINE_LINUX_DEFAULT="quiet CONFIG_TOUCHSCREEN_SILEAD=y"

This is not a kernel command line parameter. You need to set this when recompiling the kernel, and normally you'd build it as a module anyway (CONFIG_TOUCHSCREEN_SILEAD=m). But that shouldn't be needed - Debian has the module enabled by default since kernel 6.1.

I don't really know why it's not working though, the log indicates it's loading the correct file.