• sales

    +86-0755-88291180

Intermittent Screen Failure Raspberry Pi DSI Mipi LCD bookworm

2024-03-25 08:23:13 Ask

I am getting an intermittent screen failure.

The relevant dmesg output is:

[    8.392335] Goodix-TS 1-0014: Error reading 1 bytes from 0x8140: -5

[    8.421991] Goodix-TS 1-0014: Error reading 1 bytes from 0x8140: -5

[    8.449382] Goodix-TS 1-0014: I2C communication failure: -5


It appears to happen approximately 50% of the time.

I feel like this is an i2c address collision.

The raspberry pi usually boots and from an ssh console, I can see when it fails, that there is no i2c device but when it succeeds there is one at 0x5d.

There are other people with similar devices having this issue, I was wondering what the resolution was.  I have the 7in LCD touch screen 800x480 and a Raspberry pi 4b.


Intermittent Screen Failure Raspberry Pi DSI Mipi LCD bookworm
5answers
SpotPearGuestf9576
Answer time:
2024-03-25 18:37:48

】which version image do you use ?

bookworm ?

It is the lastest 2024-03-15-raspios-bookworm-armhf ?

32 bit or 64 bit ?

】Do you try this ?

https://www.spotpear.com/index/study/detail/id/1210.html

】Your display is from us ?

Like0

report

SpotPearGuestbd2dc
Answer time:
2024-03-26 00:21:50

My display came with a link to this instruction:

https://www.spotpear.com/index/study/detail/id/715.html

I tried the ones that you linked to, but it isn't working immediately.  I think there are two slighty different 7in models that have different drivers.



Like0

report

SpotPearGuestbd2dc
Answer time:
2024-03-26 01:04:07

I am using raspbian OS in 64bit mode on an RPi 4.  My desired OS is actually a prebuilt image, but it is based on Bookworm.  These things were happening on the default OS as well, I have a couple of SD cards I change around.

Yes, it is a spotpear display.  This is the item name in ebay.  The seller was SpotPear.

Raspberry Pi DSI Mipi LCD Display 7inch LCD Capacitive Touch Screen for 3B/4B

Like0

report

SpotPearGuestbd2dc
Answer time:
2024-03-26 05:49:00

I think I figured it out.

I went to the fkms version of the kms driver.  Boots much faster and without error.  Though touch quit working when using the overlays, so I started using the overlays from the DSI_800x480_gt911_har_touch, though there were no fkms drivers in overlays designed specifically for 7in.

Then I had to adjust the baud rate.

#dtoverlay=gt911-3b

#dtoverlay=gt911-4b

The only weird issue that remains, is the sway/wayland has a shut down prompt, that doesn't seem to get the events.  It's on the edge of the screen, but the windows underneath get the messages, so the scanning is OK.


Like0

report

SpotPearGuestbd2dc
Answer time:
2024-03-27 18:50:42

"The only weird issue that remains, is the sway/wayland has a shut down prompt, that doesn't seem to get the events.  It's on the edge of the screen, but the windows underneath get the messages, so the scanning is OK."


This is likely a related to fkms being firmware driven and kms being kernel driven, and there being restrictions on layers.  I can ignore this.


Also, it appears that kms is newer and may still be underdevelopment.

Like0

report

Price: $30/35/30/35/40/45
Part Number: Raspberry-Pi-DSI-Board
Brand: Spotpear