pimoroni / hyperpixel4

Driver for the Pimoroni HyperPixel 4.0" Touchscreen Display
https://shop.pimoroni.com/products/hyperpixel-4?variant=12569485443155
329 stars 47 forks source link

Touchscreen doesn`t work Pi 4 Hyperpixel 4.0 Square 2020 Raspbian OS 64bit #195

Open JohnJayMcKaye opened 1 year ago

JohnJayMcKaye commented 1 year ago

Touchscreen doesn`t work Pi 4 Hyperpixel 4.0 Square 2020 Raspbian OS 64bit

What's gone wrong?

After installing the driver the touchscreen doesn`t work

I tried both install from GitHub and use the one-line-installer?

Your HyperPixel 4

  1. Is it Square
  2. Touch
  3. Approximately when was it purchased 2020
  4. How is it connected to your Pi - GPIO

Raspbian OS 64bit Pi 4

  1. Revision : c03111
  2. Kernel 5.15.84-v8+
  3. It`s a fresh OS setup

pi@raspberrypi:~ $ dmesg | grep ft5 [ 7.723656] edt_ft5x06 22-0048: Error applying setting, reverse things back

i2c is working

i2cdetect -y 20 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: 08 09 0a 0b 0c 0d 0e 0f 10: 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20: 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f 30: -- -- -- -- -- -- -- -- 38 39 3a 3b 3c 3d 3e 3f 40: 40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f 70: 70 71 72 73 74 75 76 77
pi@raspberrypi:~ $ i2cdetect -y 21 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: 08 09 0a 0b 0c 0d 0e 0f 10: 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20: 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f 30: -- -- -- -- -- -- -- -- 38 39 3a 3b 3c 3d 3e 3f 40: 40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f 70: 70 71 72 73 74 75 76 77
pi@raspberrypi:~ $ i2cdetect -y 22 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- 48 -- -- -- -- -- -- -- 50: -- -- -- 53 -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --

Platform Information

Revision : c03111 Description: Debian GNU/Linux 11 (bullseye) 6.15.84-v8+

Touchscreen logs

Rectangular: Goodix Square: ft5 [ 7.723656] edt_ft5x06 22-0048: Error applying setting, reverse things back

I2C Devices and Mappings

/dev/i2c-20 /dev/i2c-21 /dev/i2c-22 Error: Could not open file /dev/i2c-2' or/dev/i2c/2': No such file or directory

Boot Config

For more options and information see

http://rpf.io/configtxt

Some settings may impact device functionality. See link above for details

uncomment if you get no picture on HDMI for a default "safe" mode

hdmi_safe=1

uncomment the following to adjust overscan. Use positive numbers if console

goes off screen, and negative if there is too much border

overscan_left=16

overscan_right=16

overscan_top=16

overscan_bottom=16

uncomment to force a console size. By default it will be display's size minus

overscan.

framebuffer_width=1280

framebuffer_height=720

uncomment if hdmi display is not detected and composite is being output

hdmi_force_hotplug=1

uncomment to force a specific HDMI mode (this will force VGA)

hdmi_group=1

hdmi_mode=1

uncomment to force a HDMI mode rather than DVI. This can make audio work in

DMT (computer monitor) modes

hdmi_drive=2

uncomment to increase signal to HDMI, if you have interference, blanking, or

no display

config_hdmi_boost=4

uncomment for composite PAL

sdtv_mode=2

uncomment to overclock the arm. 700 MHz is the default.

arm_freq=800

Uncomment some or all of these to enable the optional hardware interfaces

dtparam=i2c_arm=on

dtparam=i2s=off

dtparam=spi=off

Uncomment this to enable infrared communication.

dtoverlay=gpio-ir,gpio_pin=17

dtoverlay=gpio-ir-tx,gpio_pin=18

Additional overlays and parameters are documented /boot/overlays/README

Enable audio (loads snd_bcm2835)

dtparam=audio=off

Automatically load overlays for detected cameras

camera_auto_detect=1

Automatically load overlays for detected DSI displays

display_auto_detect=1

Enable DRM VC4 V3D driver

dtoverlay=vc4-kms-v3d max_framebuffers=2

Run in 64-bit mode

arm_64bit=1

Disable compensation for displays with overscan

disable_overscan=1

[cm4]

Enable host mode on the 2711 built-in XHCI USB controller.

This line should be removed if the legacy DWC2 controller is required

(e.g. for USB device mode) or if USB support is not required.

otg_mode=1

[all]

[pi4]

Run as fast as firmware / board allows

arm_boost=1

[all]

dtoverlay=vc4-kms-dpi-hyperpixel4sq

dtoverlay=hyperpixel4 enable_dpi_lcd=1 dpi_group=2 dpi_mode=87

dpi_output_format=0x5f026

dpi_timings=720 0 20 20 40 720 0 15 15 15 0 0 0 60 0 36720000 4

dpi_output_format=0x7f226 dpi_timings=720 0 15 15 15 720 0 10 10 10 0 0 0 60 0 35113500 6 enable_uart=0 gpu_mem=256

kisdia commented 1 year ago

Comment out: dtparam=i2c_arm=on