Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different reboots leads to different i2c address for the touch module #9

Merged
merged 1 commit into from Mar 10, 2022

Conversation

0r31
Copy link
Contributor

@0r31 0r31 commented Mar 2, 2022

Hi,

Sometimes at some boots, the touch feature doesn't work.
It seems the touch module has 2 different addresses on the I2C bus (checked with i2cdetect on a raspberry 4 + screen).

Touch module ok

Log :

/var/log/kern.log:4970:Mar  1 18:24:53 myhostname kernel: [    7.343479] Goodix-TS 22-0014: supply AVDD28 not found, using dummy regulator
/var/log/kern.log:4971:Mar  1 18:24:53 myhostname kernel: [    7.345024] Goodix-TS 22-0014: supply VDDIO not found, using dummy regulator
/var/log/kern.log:4972:Mar  1 18:24:53 myhostname kernel: [    7.346970] Goodix-TS 22-0014: ID 911, version: 1060
/var/log/kern.log:4973:Mar  1 18:24:53 myhostname kernel: [    7.368357] input: Goodix Capacitive TouchScreen as /devices/platform/i2c@0/i2c-22/22-0014/input/input0

I2C address :

username@hostname:~$ i2cdetect -y 22
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- UU -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- -- 

Touche module ko

Log :

/var/log/kern.log:5299:Mar  2 14:33:28 myhostname kernel: [    6.575737] Goodix-TS 22-0014: supply AVDD28 not found, using dummy regulator
/var/log/kern.log:5300:Mar  2 14:33:28 myhostname kernel: [    6.576981] Goodix-TS 22-0014: supply VDDIO not found, using dummy regulator
/var/log/kern.log:5301:Mar  2 14:33:28 myhostname kernel: [    6.577781] Goodix-TS 22-0014: i2c test failed attempt 1: -6
/var/log/kern.log:5303:Mar  2 14:33:28 myhostname kernel: [    6.605411] Goodix-TS 22-0014: i2c test failed attempt 2: -6
/var/log/kern.log:5304:Mar  2 14:33:28 myhostname kernel: [    6.636825] Goodix-TS 22-0014: I2C communication failure: -6

I2C address :

username@hostname:~$ i2cdetect -y 22
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- 5d -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- -- 

I don't know exactly why but there is an interesting discussion here : pimoroni/hyperpixel4#41

Thanks @Gadgetoid for the idea to duplicate the related overlay !

@GerogeFu GerogeFu merged commit 37cebe9 into FYSETC:main Mar 10, 2022
@GerogeFu
Copy link
Contributor

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants