Skip to content

Instantly share code, notes, and snippets.

@innovodesign
Last active April 8, 2024 15:33
Show Gist options
  • Star 12 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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
@mayday00
Copy link

How do I make the resolution smaller? I have the 480x1920 display. But the hole it is going in is smaller.

@Tysonpower
Copy link

Thanks man! Exactly what i searched for after i tried to get that display working on a pi.
Only the display rotation command is wrong, you need display_hdmi_rotate=1

@apocolipse
Copy link

OMG Thank You!!! Was smashing my head trying to figure out why it wouldn't work with a Pi Zero W 2, but works perfectly fine with a Pi 4 with the same cable! Saved me a lot of headache

@trwilliams79
Copy link

You're a life saver, I was starting to think something was horribly wrong hardware wise. I can confirm this works with the ModBro monitoring image on a Raspberry Pi Zero 2 W. I went from having some sorta indistinct blur to having proper display! It's actually quite a nice display once it's working.

@emulsion-io
Copy link

For Pi4,

need to disable : dtoverlay=vc4-kms-v3d
and use : display_hdmi_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