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
  Chatty, SMS does not work - could hardware be at fault? AntonReiser 32 1,200 10-25-2021, 11:21 AM
Last Post: AntonReiser
  GPS/location services don't work with Maps after Bookworm upgrade Anna 7 346 10-23-2021, 04:49 PM
Last Post: l_gyuri
  Recipe for getting OpenVPN to work? county93 1 185 10-04-2021, 12:10 PM
Last Post: county93
Question Alarm keeps going off - can't find anything set in Clocks Fenellakw 4 302 09-10-2021, 01:26 AM
Last Post: Fenellakw
  Automatic Brightness Stuck On biketool 0 335 06-25-2021, 04:01 AM
Last Post: biketool
  Remote desktop, video playback issues Zebulon Walton 13 2,964 06-17-2021, 06:57 AM
Last Post: aus
  How does calls work in debian? temp0rary 4 1,047 05-31-2021, 10:44 AM
Last Post: temp0rary
  Always-On VPN issues at boot. Need to manually activate it.. What did i miss.. temp0rary 0 367 05-31-2021, 10:35 AM
Last Post: temp0rary
  alarms do not seem to work motox6 2 774 05-06-2021, 11:08 AM
Last Post: motox6
  Unable to turn off auto brightness at times motox6 0 452 05-05-2021, 07:56 PM
Last Post: motox6

Forum Jump:


Users browsing this thread: 1 Guest(s)