My Debian journey on the Pinebook Pro
#31
@as400 Sorry for not making this clear - I have included both consoles in the APPEND line as suggested by @schwarzwieweiss and tried both console=tty0 and console=tty1 for the last console. See also my updated blog article.

Well, maybe I should try to reproduce this with Debian to see whether this is a init-specific issue.
  Reply
#32
With that being said, there are a number of things which don't work ootb on the PBP in Debian/Devuan that have been tweaked in the various distros. However, I am not sure which of these require patches. For instance:

- changing screen brightness using hotkeys
- battery gauge
  Reply
#33
(01-06-2021, 08:48 PM)kuleszdl Wrote: With that being said, there are a number of things which don't work ootb on the PBP in Debian/Devuan that have been tweaked in the various distros. However, I am not sure which of these require patches. For instance:

- changing screen brightness using hotkeys
- battery gauge

Regarding screen brightness and the hotkeys: there's three parts to this

  1. An interface to actually change screen brightness, in this case available at /sys/class/backlight/edp-backlight/brightness
  2. The hotkeys being recognized as XF86MonBrightnessUp and XF86MonBrightnessDown (EDIT: defined in /lib/udev/hwdb.d/60-keyboard.hwdb which is part of udev (search for Pinebook Pro in this file))
  3. Some software that will run when you press the hotkeys: brightnessctl, available in Debian
So all that remains should be to configure whatever window manager or desktop environment you are using to actually execute brightnessctl when you press the hotkeys, e.g. I have the following lines in my .config/sway/config:

Code:
bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl --class backlight set 10%+
bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl --class backlight set 10%-

EDIT for clarification: I'm not saying that brightnessctl is the only way to get this to work nicely. Your desktop environment might include its own tooling and you might just need to enable or configure that. I'm just saying: all the parts required are included in Debian bullseye but you might still need to glue them together.

(01-06-2021, 08:48 PM)kuleszdl Wrote: With that being said, there are a number of things which don't work ootb on the PBP in Debian/Devuan that have been tweaked in the various distros. However, I am not sure which of these require patches. For instance:

- changing screen brightness using hotkeys
- battery gauge

Regarding battery gauge: battery information is available at /sys/class/power_supply/cw2015-battery/. For some reason this information is not in the standard path /sys/class/power_supply/BATn/, so you need some way to tell whatever tool you want to use where to find the battery information.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Debian/unstable SD card rescue image vajak 1 183 10-16-2021, 01:39 PM
Last Post: vajak
  Pop!_OS coming to Pinebook Pro? jiyong 2 146 10-15-2021, 03:46 AM
Last Post: jiyong
  Gentoo on Pinebook Pro RELEASE jannik2099 50 42,693 10-05-2021, 08:16 AM
Last Post: glesker
  Official Debian support moonwalkers 58 8,732 10-04-2021, 05:49 PM
Last Post: vajak
  Debian GPU Support Atton 4 1,124 09-19-2021, 09:16 AM
Last Post: kuleszdl
  postmarketOS/Alpine edge image for the Pinebook Pro MartijnBraam 72 54,240 09-18-2021, 03:58 PM
Last Post: stozi
  Pinebook pro nearly unusable after using manjaro-arm-installer TheCounselor 2 926 09-07-2021, 08:34 PM
Last Post: TRS-80
  Please help...Pinebook Pro Night Color / mode not working :( sushilsharma71@gmail.com 13 1,730 08-16-2021, 05:16 PM
Last Post: sushilsharma71@gmail.com
  which distro + DE are you using these days on the Pinebook Pro? halogen 19 2,842 08-01-2021, 03:25 AM
Last Post: gabeeg
  Blobs on the Pinebook Pro globaltree 6 1,013 07-25-2021, 12:11 PM
Last Post: igorp

Forum Jump:


Users browsing this thread: 1 Guest(s)