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

kernel 5.4.x breaks backlight control on PiTFT(STMPE610) #3767

Closed
vorbeiei opened this issue Jul 30, 2020 · 3 comments
Closed

kernel 5.4.x breaks backlight control on PiTFT(STMPE610) #3767

vorbeiei opened this issue Jul 30, 2020 · 3 comments

Comments

@vorbeiei
Copy link

Describe the bug
After the update of the Raspberry Pi OS to kernel 5.4 (from 4.19) the backlight control no longer works. When trying to turn on/off the backlight as described here the backlight simply stays on with no error output.

This issue seems to be fixed in kernel 5.5 by this commit. Compiling the current rpi-5.4.y branch with the gpio-backlight module from rpi-5.5.y results in the backlight control working again.

System

  • Which model of Raspberry Pi?
    Raspberry Pi 2B
  • Which OS and version (cat /etc/rpi-issue)?
    Raspberry Pi reference 2020-02-13
  • Which firmware version (vcgencmd version)?
    Jul 17 2020 11:04:27
    Copyright (c) 2012 Broadcom
    version 21a15cb094f41c7506ad65d2cb9b29c550693057 (clean) (release) (start)
  • Which kernel version (uname -a)?
    Linux raspberrypi 5.4.51-v7+ var->green.length may be left uninitialized #1 SMP Thu Jul 30 15:26:28 CEST 2020 armv7l GNU/Linux(mind you that this is my own build of the latest rpi-5.4.y branch with a fix applied)
@pelwell
Copy link
Contributor

pelwell commented Jul 30, 2020

That commit has been back-ported into rpi-5.4.y (42a52f1a) and will be in the next firmware release.

popcornmix added a commit to raspberrypi/firmware that referenced this issue Jul 31, 2020
See: raspberrypi/linux#3765

kernel: overlays: Delete spi0-hw-cs
See: raspberrypi/linux#3355

kernel: backlight: gpio: Explicitly set the direction of the GPIO
See: raspberrypi/linux#3767

kernel: overlays: Add maxtherm overlay for MAX6675/31855
See: raspberrypi/linux#3763

firmware: arm_loader: Knock 1.7 seconds off boot time
See: #1375

firmware: Imx477 external sync signals
popcornmix added a commit to Hexxeh/rpi-firmware that referenced this issue Jul 31, 2020
See: raspberrypi/linux#3765

kernel: overlays: Delete spi0-hw-cs
See: raspberrypi/linux#3355

kernel: backlight: gpio: Explicitly set the direction of the GPIO
See: raspberrypi/linux#3767

kernel: overlays: Add maxtherm overlay for MAX6675/31855
See: raspberrypi/linux#3763

firmware: arm_loader: Knock 1.7 seconds off boot time
See: raspberrypi/firmware#1375

firmware: Imx477 external sync signals
@popcornmix
Copy link
Collaborator

Please test latest rpi-update kernel and report if issue is resolved

@vorbeiei
Copy link
Author

Yes, works fine. 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

No branches or pull requests

3 participants