A true mainline Linux Kernel for the Pinebook Pro
(02-07-2020, 08:43 AM)tsys Wrote: Hi,

I've a small update on headphone and speaker audio for all of you. https://gitlab.manjaro.org/tsys/linux-pinebook-pro does now feature control over the speaker amplifier and working headphone detection. Thus in tools like pavucontrol you can now select headphone output  and actually have your speakers disabled.

Note that the kernel sound subsystem does not automatically disable the speakers when headphones are plugged in. However the headphone jack is exposed as an input device, thus an input daemon like acpid can be used for automatic switchover.

That are good news ... mostly.

In the past, there was a whine while playing audio. It continued for two seconds and vanished.

With the new kernel (or other Manjaro changes?), the whine is permanent. I only get rid of when disabling audio in pavucontrol.

Can anyone else confirm this observation?
i can confirm the low volume, high pitched whine on speakers with current kernel and alsa config.

with headphones enabled the whine goes away. speaker output also has low volume output into headphones.
Hi all,

I've got a major update for you all regarding S3 sleep. Thanks to a forward port of the SIP driver by @theotherjimmy the current state of the v5.5 branch does finally support S3 sleep giving you more than 200 hours of standby time.
However, there is a small catch: It does not work with mainline u-boot yet. Only the BSP u-boot is supported.

Additionally you may also see WiFi instability after sleep. I've not done any extensive testing on that yet.


(02-10-2020, 01:12 AM)Der Geist der Maschine Wrote: In the past, there was a whine while playing audio. It continued for two seconds and vanished.

With the new kernel (or other Manjaro changes?), the whine is permanent. I only get rid of when disabling audio in pavucontrol.

I've not observed any change regarding automatic power control of the amplifier. Some userspace applications tend to keep DAPM from putting the audio path to sleep though. Have you checked wether closing all open applications makes a difference yet?


(02-10-2020, 09:46 PM)xmixahlx Wrote: i can confirm the low volume, high pitched whine on speakers with current kernel and alsa config.

Unfortunately the whine itself is a hardware issue. I can do nothing about that. However, the speaker amplifier should get disabled when there is no application playing sound.

(02-10-2020, 09:46 PM)xmixahlx Wrote: speaker output also has low volume output into headphones.

That is expected behaviour. Headphone output and speakers are connected in parallel on the mainboard of the Pinebook Pro. Again there is nothing I can do about that. Think it should not really be an issue though.

Have a nice day,

Tobias
Manjaro ARM

Kernel dev
Buy me a coffee
s3 also doesn't seem to work with the presence of an NVMe device.
(02-11-2020, 10:58 AM)tophneal Wrote: s3 also doesn't seem to work with the presence of an NVMe device.

Not in general. I have an NVMe drive installed and it works fine for me. Are there any errors in the kernel message log? Those might help to figure out what is going wrong.
Manjaro ARM

Kernel dev
Buy me a coffee
(02-11-2020, 07:32 PM)tsys Wrote:
(02-11-2020, 10:58 AM)tophneal Wrote: s3 also doesn't seem to work with the presence of an NVMe device.

Not in general. I have an NVMe drive installed and it works fine for me. Are there any errors in the kernel message log? Those might help to figure out what is going wrong.

I reinstalled the kernel from a package (vs fumbling through installing manually) and it is working. I just can't use close lid to enter/open to resume, but I think that might be a Gnome thing. I'm still trying to figure out debugging that, but that's another topic.

Thanks for the continued improvements @tsys  (and all the other contributors)!
@tsys please review the mainline hwaccel thread. it would be excellent to get these rk3399/hantro/rkvdec/v4l2 patches into manjaro git.
https://forum.pine64.org/showthread.php?tid=9171

libreelec supports the rockpro64. expecting that their configurations are helpful to integrate.

specifically:
https://github.com/LibreELEC/LibreELEC.t...ux/default
https://github.com/LibreELEC/LibreELEC.t...liance.xml
https://github.com/LibreELEC/LibreELEC.t...alsa/cards
https://github.com/LibreELEC/LibreELEC.t...99/options

cheers
(02-18-2020, 06:22 PM)xmixahlx Wrote: @tsys please review the mainline hwaccel thread. it would be excellent to get these rk3399/hantro/rkvdec/v4l2 patches into manjaro git.
https://forum.pine64.org/showthread.php?tid=9171
Sorry for slackin' so much  Tongue . I'm currently in the middle of the examination period at my university and had to prepare for a couple of exams over the course of the last three weeks.
I had seen the support commits on github though and was already planning on implementing them in the Manjaro kernel repo.

(02-18-2020, 06:22 PM)xmixahlx Wrote: libreelec supports the rockpro64. expecting that their configurations are helpful to integrate.

specifically:
https://github.com/LibreELEC/LibreELEC.t...ux/default
https://github.com/LibreELEC/LibreELEC.t...liance.xml
https://github.com/LibreELEC/LibreELEC.t...alsa/cards
https://github.com/LibreELEC/LibreELEC.t...99/options

cheers
Thanks for the advice, I'll check it out!
Manjaro ARM

Kernel dev
Buy me a coffee
lol @ slackin! Smile thank you for what you do!
(02-19-2020, 04:27 AM)tsys Wrote: I'm currently in the middle of the examination period at my university and had to prepare for a couple of exams over the course of the last three weeks.

Good luck with your exams, I hope everything works well for you.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Debian on Pinebook Pro u974615 7 833 03-31-2024, 10:11 AM
Last Post: u974615
  Pinebook Pro upgrading from the factory image yamsoup 12 1,451 02-22-2024, 04:02 PM
Last Post: tllim
  Attempting to install Void Linux, boots into a black screen 9a3eedi 0 309 02-18-2024, 08:54 AM
Last Post: 9a3eedi
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 2,078 12-13-2023, 07:22 PM
Last Post: trillobite
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 2,156 12-11-2023, 03:47 AM
Last Post: calinb
  Gentoo on Pinebook Pro RELEASE jannik2099 54 88,014 12-08-2023, 11:25 PM
Last Post: tllim
  Boot Order in Pinebook Pro food 8 1,176 11-23-2023, 07:37 AM
Last Post: KC9UDX
  How to mainline kernel on daniel thompson's debian installer? hellojack 14 7,268 09-07-2023, 09:38 PM
Last Post: Der Geist der Maschine
  PineBook Pro seems to go to deep sleep, but doesn't wake up pogo 11 5,153 08-31-2023, 04:20 PM
Last Post: TRS-80
  Would a Pinebook Pro be good for a Linux newbie? cassado10 6 1,449 08-08-2023, 04:58 AM
Last Post: moobythegoldensock

Forum Jump:


Users browsing this thread: 1 Guest(s)