A true mainline Linux Kernel for the Pinebook Pro
#85
(12-02-2019, 09:37 PM)tsys Wrote:
(12-02-2019, 11:20 AM)danielt Wrote: I tested today with all three of my USB-C to HDMI adapters... all can put up a display (and are reversible).

Thanks for testing! Kind of expected my cable to be at fault here.


Did also some tests with the standard-issue LMP mini-dock at my work place.
(I've put all the details in the USB-C docks thread in the Hardware subforum)

Long story short:
  • In my case, too. It only works in one orientation and never in the other (except USB-PD).
  • It's one of these which is supposed to be able to both USB-3 and HDMI 4k @60Hz (so able to dynamically assign high-speed lanes to either USB-3 or DisplayPort depending on needs).
  • It cycles weirdly
  • But if setup on a 2-lanes only mode (e.g.: 1920x1080 @24fps) everything works perfectly.

This strongly makes me think of some race condition happening between the OS trying to enumerate everything available (USB-PD, everything on USB-3, all the display modes on DP) and the drivers assigning high-speed lanes to either USB-3 or HDMI.

In one orientation: probing 4K @60Hz requires 4 DisplayPort lanes, which would yank out the two USB3 lanes, which would trigger a rescan of the USB-3, which in turn yaks out two out of the four DisplayPort lanes, etc. thus the on/off cycles.

In the other orientation: the probing reaches a dead end on the USB-3 lanes where nothing gets detected (random imaginary speculative example: the laptop looks for two USB-3 lanes on the high-speed lanes where the mini-dock gives Display lanes and vice versa). Only USB-PD works because it uses completely different lanes (the charging lanes and the detection lanes).

I might be completely wrong and it might be that the detection of alt-mode is just b0rked on that mini-dock. (the mini-dock just outputs wrong values on the auto-detect lanes, à la Raspberry Pi 4 pretending to be an unpowered audio-jack adapter due to wrong resistors pattern). But I thought it's worth sharing.

(12-06-2019, 06:57 AM)tsys Wrote: took me some time but I finally got around to enable CONFIG_COMPAT in the defconfig.

Cool, this will enable me to get Netflix running (requires Widevine on a 32-bits Google Chrome/Chromium), e.g.: in a 32bits chroot.

(12-06-2019, 06:57 AM)tsys Wrote: I've enabled CONFIG_KEXEC_FILE, too just in case someone wants to toy around with that.

...faster reboots into newer kernels?~ :-D


Messages In This Thread
RE: A true mainline Linux Kernel for the Pinebook Pro - by DrYak - 12-06-2019, 08:50 AM
5.12 - by kalpazanius - 04-26-2021, 04:38 PM
RE: 5.12 - by ramsey - 06-19-2021, 05:36 PM
RE: 5.12 - by linuxad - 06-20-2021, 09:26 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Debian on Pinebook Pro u974615 7 1,143 03-31-2024, 10:11 AM
Last Post: u974615
  Pinebook Pro upgrading from the factory image yamsoup 12 1,667 02-22-2024, 04:02 PM
Last Post: tllim
  Attempting to install Void Linux, boots into a black screen 9a3eedi 0 357 02-18-2024, 08:54 AM
Last Post: 9a3eedi
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 2,180 12-13-2023, 07:22 PM
Last Post: trillobite
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 2,263 12-11-2023, 03:47 AM
Last Post: calinb
  Gentoo on Pinebook Pro RELEASE jannik2099 54 89,461 12-08-2023, 11:25 PM
Last Post: tllim
  Boot Order in Pinebook Pro food 8 1,292 11-23-2023, 07:37 AM
Last Post: KC9UDX
  How to mainline kernel on daniel thompson's debian installer? hellojack 14 7,536 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,389 08-31-2023, 04:20 PM
Last Post: TRS-80
  Would a Pinebook Pro be good for a Linux newbie? cassado10 6 1,518 08-08-2023, 04:58 AM
Last Post: moobythegoldensock

Forum Jump:


Users browsing this thread: 1 Guest(s)