Skip to content

Instantly share code, notes, and snippets.

@innovodesign
Last active April 8, 2024 15:33
Show Gist options
  • Save innovodesign/3f5775d19cb890c0aa59fbb96757bf4b to your computer and use it in GitHub Desktop.
Save innovodesign/3f5775d19cb890c0aa59fbb96757bf4b to your computer and use it in GitHub Desktop.
8.8" 1920x480 letterbox LCD HSD088IPW1 with Raspberry Pi

Raspberry Pi 1920x480 LCD

The HSD088IPW1 with Wisecoco HDMI driver board from Aliexpress.com work seemlessly with a PC but refused to play nicely with my Raspberry Pi until making these changes, tested with Raspbian (March2021) on a Pi Zero W.

These lines modified in /boot/config.txt file

# These lines for 1920x480 display
max_framebuffer_height=1920
hdmi_ignore_edid=0xa5000080
hdmi_timings=480 1 48 32 80 1920 0 3 10 56 0 0 0 60 0 75840000 3
hdmi_group=2
hdmi_mode=87
hdmi_force_mode=1
hdmi_drive=1
config_hdmi_boost=4

The default orientation is portrait. To rotate the display, include the line

lcd_rotate=1
@qtaped
Copy link

qtaped commented Jun 21, 2022

For Pi4,

need to disable : dtoverlay=vc4-kms-v3d and use : display_hdmi_rotate=1

If you do that you'll loose hardware acceleration. I finally figured out how to get rotation with new drivers, append fbcon=rotate:3 (or 1) to /boot/cmdline.txt in order to rotate the screen in console mode, and then use xrandr --output HDMI-X --rotate left to rotate in your desktop environment.

And force framebuffer to get fullscreen:

framebuffer_width=1920
framebuffer_height=480
max_framebuffer_width=1920
max_framebuffer_height=1920

@emulsion-io
Copy link

without dtoverlay=vc4-kms-v3d, the screen show content not in all width...

@ludufre
Copy link

ludufre commented Apr 6, 2024

Hello.

Raspberry PI3 model B with that display worked with:

max_framebuffer_height=1920
hdmi_ignore_edid=0xa5000080
hdmi_timings=480 1 48 32 80 1920 0 3 10 56 0 0 0 60 0 75840000 3
hdmi_group=2
hdmi_mode=87
hdmi_force_mode=1
hdmi_drive=1
config_hdmi_boost=4
display_hdmi_rotate=1

Any ideas to rotate de touch screen?

@qtaped
Copy link

qtaped commented Apr 8, 2024

@ludufre Do you try my method?

append fbcon=rotate:3 (or 1) to /boot/cmdline.txt in order to rotate the screen in console mode, and then use xrandr --output HDMI-1 --rotate left (or right) to rotate in your desktop environment.

It is working on a piZero 2 which is almost the same as a pi3.

@ludufre
Copy link

ludufre commented Apr 8, 2024

Hi @qtaped with the code I posted I have screen rotated even in console mode.
To rotate the touch screen orientation I solved with: https://gist.github.com/francip/4183e2a860af34dd4aa0d1c98366f76b?permalink_comment_id=5014209#gistcomment-5014209

@qtaped
Copy link

qtaped commented Apr 8, 2024

@ludufre My bad, I though you were looking to rotate the screen not the touch part (I do not have a touch screen)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment