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
Exclamation The webcam doesn't work in Firefox anonymous 0 160 11-06-2022, 01:45 PM
Last Post: anonymous
  Modem Firmware Upgrade - Modem Busy - USB Issues biketool 10 1,205 09-23-2022, 05:15 AM
Last Post: biketool
  Lot of issues after flashing mobian to emmc with tow-boot benedikt55 5 697 08-30-2022, 01:14 PM
Last Post: benedikt55
  Megapixels doesn't work Glenn 4 705 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 250 08-02-2022, 02:11 AM
Last Post: el.pollo.diablo
  Chatty - XMPP receiving photos - inline display doesn't work arkadione 2 769 07-10-2022, 03:16 AM
Last Post: arkadione
  GPS/location services don't work with Maps after Bookworm upgrade Anna 16 5,306 06-13-2022, 02:37 PM
Last Post: wibble
  gpsd issues io. 5 1,459 05-07-2022, 03:31 AM
Last Post: wibble
  Issues with Mobian? Start here. tophneal 0 1,088 04-21-2022, 11:27 AM
Last Post: tophneal
  Automatic Brightness Stuck On biketool 3 1,431 04-05-2022, 11:49 AM
Last Post: henrythemouse

Forum Jump:


Users browsing this thread: 1 Guest(s)