PINE64
A true mainline Linux Kernel for the Pinebook Pro - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114)
+--- Thread: A true mainline Linux Kernel for the Pinebook Pro (/showthread.php?tid=8207)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16


RE: A true mainline Linux Kernel for the Pinebook Pro - Der Geist der Maschine - 02-10-2020

(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?


RE: A true mainline Linux Kernel for the Pinebook Pro - xmixahlx - 02-10-2020

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.


RE: A true mainline Linux Kernel for the Pinebook Pro - tsys - 02-11-2020

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


RE: A true mainline Linux Kernel for the Pinebook Pro - tophneal - 02-11-2020

s3 also doesn't seem to work with the presence of an NVMe device.


RE: A true mainline Linux Kernel for the Pinebook Pro - tsys - 02-11-2020

(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.


RE: A true mainline Linux Kernel for the Pinebook Pro - tophneal - 02-12-2020

(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)!


RE: A true mainline Linux Kernel for the Pinebook Pro - xmixahlx - 02-18-2020

@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.tv/tree/master/projects/Rockchip/patches/linux/default
https://github.com/LibreELEC/LibreELEC.tv/blob/master/projects/Rockchip/kodi/appliance.xml
https://github.com/LibreELEC/LibreELEC.tv/tree/master/projects/Rockchip/filesystem/usr/share/alsa/cards
https://github.com/LibreELEC/LibreELEC.tv/blob/master/projects/Rockchip/devices/RK3399/options

cheers


RE: A true mainline Linux Kernel for the Pinebook Pro - tsys - 02-19-2020

(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.tv/tree/master/projects/Rockchip/patches/linux/default
https://github.com/LibreELEC/LibreELEC.tv/blob/master/projects/Rockchip/kodi/appliance.xml
https://github.com/LibreELEC/LibreELEC.tv/tree/master/projects/Rockchip/filesystem/usr/share/alsa/cards
https://github.com/LibreELEC/LibreELEC.tv/blob/master/projects/Rockchip/devices/RK3399/options

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


RE: A true mainline Linux Kernel for the Pinebook Pro - xmixahlx - 02-20-2020

lol @ slackin! Smile thank you for what you do!


RE: A true mainline Linux Kernel for the Pinebook Pro - DrYak - 02-25-2020

(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.