Anyone find a work around for the brightness issues from kernels 5.13/14?
#1
I have the UBports version on the pinephone and with bother kernels 5.13 and 5.14 I get an issue where if I turn the brightness down all the way the screen goes black. I noticed a few threads on here from a while ago talking about it but was wondering if anyone found a solution?
  Reply
#2
I set up /etc/rc.local to set brightness at boot time before upgrading to the 5.13 kernel. If you do this and accidentally turn the screen off, rebooting the phone will bring the screen back. If you have ssh access you can do it from the command line.

On Mobian, rc.local is not enabled by default, you have to set up a systemd unit file for it. This is the command to run at boot or from ssh as root:

echo 400 > /sys/class/backlight/backlight/brightness

(The number "400" is an example, higher number is brighter screen. I'm actually using 600 - not sure what the max is.)
  Reply
#3
(08-31-2021, 05:41 PM)Zebulon Walton Wrote: I set up /etc/rc.local to set brightness at boot time before upgrading to the 5.13 kernel.  If you do this and accidentally turn the screen off, rebooting the phone will bring the screen back. If you have ssh access you can do it from the command line.

On Mobian, rc.local is not enabled by default, you have to set up a systemd unit file for it.  This is the command to run at boot or from ssh as root:

echo 400 > /sys/class/backlight/backlight/brightness

(The number "400" is an example, higher number is brighter screen. I'm actually using 600 - not sure what the max is.)

Shoot, I figured this was a case. I was hoping there was a way to set up a minimum/maximum brightness in the settings or in `sys/class/backlight` somewhere.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  wwan0 (SIM interface) doesn't work with OpenVPN nickolas 6 2,535 09-05-2023, 11:16 AM
Last Post: nickolas
  Chatty does not work after suspend mode user641 4 2,269 07-18-2023, 10:43 AM
Last Post: alaraajavamma
  Wifi doesn't work after update nickolas 2 1,466 04-14-2023, 10:07 AM
Last Post: nickolas
  Most recent Mobian image or installer image known to work? DrPlamsa 13 5,757 02-26-2023, 11:47 PM
Last Post: SukiiPooru
Exclamation The webcam doesn't work in Firefox anonymous 0 850 11-06-2022, 01:45 PM
Last Post: anonymous
  Modem Firmware Upgrade - Modem Busy - USB Issues biketool 10 5,519 09-23-2022, 05:15 AM
Last Post: biketool
  Lot of issues after flashing mobian to emmc with tow-boot benedikt55 5 3,079 08-30-2022, 01:14 PM
Last Post: benedikt55
  Megapixels doesn't work Glenn 4 3,180 08-28-2022, 03:19 PM
Last Post: vortex
  Can't Get Nheko To Work [never mind, it's a bug] el.pollo.diablo 0 899 08-02-2022, 02:11 AM
Last Post: el.pollo.diablo
  Chatty - XMPP receiving photos - inline display doesn't work arkadione 2 2,195 07-10-2022, 03:16 AM
Last Post: arkadione

Forum Jump:


Users browsing this thread: 1 Guest(s)