kernel module that supports usb-c hdmi
#1
Hi, I currently run a 5.7 kernel on my pinebookpro that supports my usb-c hub, especially its HDMI output. I got it installing archlinuxarm from a repo that was called «simulated-earth» or something like this (thanks to those guys if they ever read me Smile ). But as this repo is dead for a while now, i'm still using this pretty old kernel. I've tried the one provided by Nadia, which is very up-to-date, but cant, unfortunately, make my HDMI output works. I assume this is du to a specific kernel module, but as I am far from being an expert I can just show you the return of lsmod, and ask you for your help if you can identify if there really is an exotic module that should be responsible for this well behavior of this kernel :

rpcsec_gss_krb5        36864  0
snd_usb_audio        266240  2
snd_usbmidi_lib        40960  1 snd_usb_audio
snd_hwdep              20480  1 snd_usb_audio
snd_rawmidi            45056  1 snd_usbmidi_lib
snd_seq_device        20480  1 snd_rawmidi
snd_soc_hdmi_codec    16384  0
cdc_ether              20480  0
usbnet                49152  1 cdc_ether
r8152                  86016  0
mii                    20480  2 usbnet,r8152
snd_soc_simple_amplifier    16384  1
panfrost              65536  0
gpu_sched              32768  1 panfrost
hci_uart              118784  0
btqca                  16384  1 hci_uart
btbcm                  24576  1 hci_uart
btintel                32768  1 hci_uart
joydev                32768  0
bluetooth            454656  5 btqca,btintel,hci_uart,btbcm
snd_soc_rockchip_i2s    16384  2
snd_soc_rockchip_pcm    16384  1 snd_soc_rockchip_i2s
rockchip_rga          28672  0
dw_wdt                20480  0
videobuf2_dma_sg      24576  1 rockchip_rga
cw2015_battery        16384  0
ecdh_generic          16384  1 bluetooth
ecc                    32768  1 ecdh_generic
rfkill                40960  2 bluetooth
hantro_vpu            90112  0
snd_soc_es8316        40960  1
rockchipdrm          147456  2
dw_mipi_dsi            20480  1 rockchipdrm
dw_hdmi                53248  1 rockchipdrm
analogix_dp            45056  1 rockchipdrm
cec                    61440  1 dw_hdmi
rockchip_saradc        16384  0
rc_core                57344  1 cec
drm_kms_helper        241664  4 dw_mipi_dsi,rockchipdrm,dw_hdmi,analogix_dp
rockchip_thermal      24576  0
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
snd_soc_simple_card    20480  1
snd_soc_simple_card_utils    24576  1 snd_soc_simple_card
panel_simple          81920  0
pwm_bl                16384  0
drm                  622592  10 gpu_sched,drm_kms_helper,dw_mipi_dsi,panel_simple,rockchipdrm,dw_hdmi,panfrost,analogix_dp
drm_panel_orientation_quirks    20480  1 drm
gpio_keys              24576  0
hid_multitouch        32768  0


Thanks for any suggestions,
alex
  Reply
#2
IIRC the linux-pinebookpro kernel in the Manjaro repos should enable this support.
https://forum.manjaro.org/t/dp-alt-mode-...y-pbp/8036
  Reply
#3
Also, for others reading this, the Pinebook Pro does not support USB C alternate mode, HDMI video.

Our Pinebook Pros DO support USB C alternate mode DisplayPort video. This DisplayPort video output CAN be turned into HDMI in the USB dock or adapter using active electronics.

The reason I want this clear, is that their may be a difference in kernel modules for USB C alternate modes. So for the Pinebook Pro, always select DisplayPort. Even if your dock / adapter has HDMI connector(s).
--
Arwen Evenstar
Princess of Rivendale
  Reply
#4
I think i didnt understand : do you say i should have to do something in order for my hub to be able to use the hdmi video output ? I have to say, that currently, with the kernel i run, i have nothing to do : it just works perfectly (i can have both displays, the laptop one and an hdmi monitor, in mirror mode, or duplicate, and the simple xfce applet for managing displays is very responsive…) as soon as i plug the hub (one of this cheap hub one can buy on amazon).

I did a diff with the lsmod outputs according to which kernel i run. The only difference between them that involve hdmi is some snd_soc_hdmi_codec that is present in the 5.7 not in the 5.10 but it sounds like it has something do to with audio, not video…
  Reply
#5
@alexandre As long as your hardware has worked once with your Pinebook Pro, then it's the right type. Sounds like it uses an internal convertor from DisplayPort to HDMI.

I can't really help you with the software aspect...


The USB C standard is one of the most bizarre and complicated things in existence. It & the connector tries to be everything to everyone, even when their are competing / conflicting standards. Like the alternate mode video options. First released was DisplayPort, so that is what many USB C alternate video mode devices use. Later came the USB C alternate mode HDMI video, which is NOT compatible with our Pinebook Pros.

As I said, it's complicated.
--
Arwen Evenstar
Princess of Rivendale
  Reply
#6
(12-21-2020, 01:17 PM)Arwen Wrote: @alexandre  As long as your hardware has worked once with your Pinebook Pro, then it's the right type. Sounds like it uses an internal convertor from DisplayPort to HDMI.

I can't really help you with the software aspect...


The USB C standard is one of the most bizarre and complicated things in existence. It & the connector tries to be everything to everyone, even when their are competing / conflicting standards. Like the alternate mode video options. First released was DisplayPort, so that is what many USB C alternate video mode devices use. Later came the USB C alternate mode HDMI video, which is NOT compatible with our Pinebook Pros.

As I said, it's complicated.

Just to be sure, sorry : the DisplayPort or HDMI modes have nothing to do with the physical socket ? Because mine is a HDMI and I dont change nothing to the physical connexion from one kernel to the other one. What sounds good is «As long as your hardware has worked once with your Pinebook Pro, then it's the right type», and I hope I will find out what to do to make it works with updated kernels…
  Reply
#7
@alexandre Correct, the physical socket used on the external device, (dock or simple USB-C to video adapter), has little relation to what the Pinebook Pro exports electrically via the USB-C socket.
--
Arwen Evenstar
Princess of Rivendale
  Reply
#8
Hi again ! Investigating the differences between the modules these two kernels load, i only find this : analogix_dp. The modinfo is pretty intersting :
description: Analogix DP Core Driver

and this page more : https://cateee.net/lkddb/web-lkddb/ROCKC...IX_DP.html

Could it be THE guy ?
  Reply
#9
I read in the january blog post that «USB-C alt DP mode has now been merged in Manjaro’s default OS image for the Pinebook Pro». Is it a specific patch only for their distro or is it available in mainline linux so that it could save me ?
  Reply
#10
For the experts that might read this. Here are my latest tries :

As i read the solution might have been found, i decided to try again a recent kernel (nadia's one not to mention her, and thanks again by the way). It still breaks the compatibility between pbp and my usb-c-hdmi-display. Then i though it might be because i use an old uboot version, so i upgraded it. But it still does not work. When i downgrade back to this good old kernel it works again (but with this new uboot, now i cant have just the external monitor without the laptop display !!! if i play a little bit too much with the XFCE applet for managing two displays, it even freezes the pbp with a quite scary red-green blinking led !)

If this can help…

alex
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to mainline kernel on daniel thompson's debian installer? hellojack 14 7,028 09-07-2023, 09:38 PM
Last Post: Der Geist der Maschine
Question Debian (Vanilla) no output on display after Kernel update (6.0.8-1) as365n4 1 1,200 12-09-2022, 12:43 PM
Last Post: as365n4
  bootloader menu to pick a kernel - what is the current situation in in early 2022? maxtothemax 4 3,025 02-05-2022, 03:04 PM
Last Post: maxtothemax
  Kernel panics solostian 17 13,743 01-26-2022, 08:08 AM
Last Post: TRS-80
  Kernel 5.17 will improve VP9 support? jiyong 1 2,051 01-16-2022, 08:26 PM
Last Post: xmixahlx
  Solution for issue with 'panfrost' module not initializing due to missing dependency cobratbq 0 1,521 12-02-2021, 05:26 PM
Last Post: cobratbq
  red/green power led not working with kernel 5.14 alchemist 4 3,671 11-04-2021, 04:09 AM
Last Post: alchemist
  Sound stuttering on Manjaro gnome after latest kernel upgrade? pjsf 0 1,740 07-13-2021, 10:37 PM
Last Post: pjsf
  Kernel panic on boot with danielt's Debian installer hjalfi 11 10,880 07-09-2021, 08:52 AM
Last Post: moonwalkers
  Kernel crash on Manjaro ARM mfashby 0 1,543 07-06-2021, 03:17 PM
Last Post: mfashby

Forum Jump:


Users browsing this thread: 1 Guest(s)