a64-pine64+ goodix touchscreen (i2c) fails to load on reboot


Recommended Posts

Armbianmonitor:

 5.10.4-sunxi64 pine64 board with goodix 7" mipi-dsi LCD touchscreen.

 

The LCD output is working fine across reboots after enabling the dt overlay using armbian-config.

 

For the touchscreen, I have added "goodix" to /etc/modules and the digitizer works fine from all cold boots:

~$ dmesg | grep -i goodix
[    5.836601] Goodix-TS 1-005d: supply VDDIO not found, using dummy regulator
[    5.843605] Goodix-TS 1-005d: ID k}\xfa, version: 7b6f
[    5.866815] input: Goodix Capacitive TouchScreen as /devices/platform/soc/1c2ac00.i2c/i2c-1/1-005d/input/input5

 

but a reboot leads to either:

[    5.856172] Goodix-TS 1-005d: supply VDDIO not found, using dummy regulator
[    5.856668] Goodix-TS 1-005d: i2c test failed attempt 1: -6
[    5.886780] Goodix-TS 1-005d: ID k}\xfa, version: 7b6f
[    5.909817] input: Goodix Capacitive TouchScreen as /devices/platform/soc/1c2ac00.i2c/i2c-1/1-005d/input/input5

and the screen works

 

or:

$ dmesg | grep -i goodix
[    5.862909] Goodix-TS 1-005d: supply VDDIO not found, using dummy regulator
[    5.864033] Goodix-TS 1-005d: i2c test failed attempt 1: -6
[    5.889397] Goodix-TS 1-005d: i2c test failed attempt 2: -6
[    5.925072] Goodix-TS 1-005d: I2C communication failure: -6

 

a double reboot works.

 

It looks like the i2c bus is not being completely reset in time, but that multiple connection attempts  sometimes succeed.

 

Can anyone suggest a workaround, to force a reset, add more i2c test iterations or provide more time to load from reboot?

 

BR.

 

 

Link to post
Share on other sites
Armbian is a community driven open source project. Do you like to contribute your code?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...