notro / fbtft

Linux Framebuffer drivers for small TFT LCD display modules. Development has moved to https://git.kernel.org/cgit/linux/kernel/git/gregkh/staging.git/tree/drivers/staging/fbtft?h=staging-testing
1.86k stars 495 forks source link

rasbian mz61581 no '/sys/class/backlight/' anymore #571

Closed mojocorp closed 2 years ago

mojocorp commented 3 years ago

Hi,

Since I've updated raspbian recently, the '/sys/class/backlight/' is completely gone. I cannot control the backlight anymore using 'echo 1 | sudo tee /sys/class/backlight/*/bl_power'. I'm still able to control the backlight using the gpio util:

turn off

gpio -1 mode 12 out && gpio -1 write 12 1

turn on

gpio -1 mode 12 out && gpio -1 write 12 0

Since I did not update since years I may missed few things....

ahogen commented 3 years ago

Per README:

2015-01-19 The FBTFT drivers are now in the Linux kernel staging tree: https://git.kernel.org/cgit/linux/kernel/git/gregkh/staging.git/tree/drivers/staging/fbtft?h=staging-testing

Development in this github repo has ceased.

github-actions[bot] commented 3 years ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

peterlin82 commented 3 years ago

I have the same problem. My LCD is ili9341,rpi-display.dtbo,2021-01-11-raspios-buster-armhf-lite.zip(kernel 5.4) or 2021-05-07-raspios-buster-armhf-lite.zip(kernel 5.10)

### /sys/class/backlight/ is empty

I don't know how to solve.

github-actions[bot] commented 3 years ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

notro commented 3 years ago

The problem is fixed here: [PATCH v2] staging/fbtft: Fix backlight This will eventually trickle back through the kernel stable tree.

notro commented 2 years ago

The fix is now in mainline and in the stable releases 5.15.6, 5.10.83 and 5.4.163.

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.