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
  An unofficial Debian Installer for Pinebook Pro danielt 430 151,507 6 hours ago
Last Post: ab1jx
  OpenMandriva to release ARM builds for PineBook Pro and Pi ludix 8 760 Yesterday, 04:38 PM
Last Post: wdt
  postmarketOS/Alpine edge image for the Pinebook Pro MartijnBraam 62 31,319 02-14-2021, 12:25 PM
Last Post: pmjohann
  Keyboard issue: Debian PineSupporter 8 357 02-01-2021, 09:57 PM
Last Post: PineSupporter
  Pinebook Pro wifi not working seyo-iv 1 188 02-01-2021, 11:00 AM
Last Post: seyo-iv
  slarm64 (unofficial slackware) Pinebook Pro RK3399 (aarch64) mara 25 3,538 01-30-2021, 11:03 AM
Last Post: mara
  FLOSS pinebook pro linux set-up misha64 3 1,097 01-14-2021, 04:05 PM
Last Post: kuleszdl
  Debian Bullseye installation Baconomics 3 571 01-07-2021, 01:46 PM
Last Post: kuleszdl
  Armbian for the Pinebook Pro [WIP] Luke 41 14,083 01-06-2021, 06:14 PM
Last Post: Idaho
  Gentoo on Pinebook Pro RELEASE jannik2099 48 28,419 01-03-2021, 06:21 AM
Last Post: wdt

Forum Jump:


Users browsing this thread: 1 Guest(s)