USB-C DisplayPort/HDMI

Is video output over USB-C port enabled in the Ubuntu image? Has anybody got it working? If so, what is required?

Yes ,It can

Using the latest kernel, I get the following errors:

[ 2387.961730] fusb302 4-0022: CC connected in 0 as DFP
[ 2388.451948] fusb302 4-0022: PD connected as DFP, supporting 5V
[ 2388.554799] fusb302 4-0022: DP config successful, pin_assignment 0x8
[ 2388.563026] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work] Connected, not enabled. Enabling cdn
[ 2388.595903] xhci-hcd xhci-hcd.6.auto: xHCI Host Controller
[ 2388.597416] xhci-hcd xhci-hcd.6.auto: new USB bus registered, assigned bus number 6
[ 2388.597647] xhci-hcd xhci-hcd.6.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x00030010
[ 2388.597697] xhci-hcd xhci-hcd.6.auto: irq 227, io mem 0xfe800000
[ 2388.597861] usb usb6: New USB device found, idVendor=1d6b, idProduct=0002
[ 2388.597869] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2388.597877] usb usb6: Product: xHCI Host Controller
[ 2388.597884] usb usb6: Manufacturer: Linux 4.4.55 xhci-hcd
[ 2388.597890] usb usb6: SerialNumber: xhci-hcd.6.auto
[ 2388.598740] hub 6-0:1.0: USB hub found
[ 2388.598787] hub 6-0:1.0: 1 port detected
[ 2388.599176] xhci-hcd xhci-hcd.6.auto: xHCI Host Controller
[ 2388.599511] xhci-hcd xhci-hcd.6.auto: new USB bus registered, assigned bus number 8
[ 2388.599673] usb usb8: We don't know the algorithms for LPM for this host, disabling LPM.
[ 2388.599794] usb usb8: New USB device found, idVendor=1d6b, idProduct=0003
[ 2388.599802] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2388.599809] usb usb8: Product: xHCI Host Controller
[ 2388.599816] usb usb8: Manufacturer: Linux 4.4.55 xhci-hcd
[ 2388.599822] usb usb8: SerialNumber: xhci-hcd.6.auto
[ 2388.600850] hub 8-0:1.0: USB hub found
[ 2388.600895] hub 8-0:1.0: 1 port detected
[ 2388.601348] rockchip-dwc3 usb@fe800000: USB HOST connected
[ 2389.065153] fusb302 4-0022: attention, dp_status 9a
[ 2389.563318] fusb302 4-0022: attention, dp_status 9a
[ 2390.061664] fusb302 4-0022: attention, dp_status 9a
[ 2393.744001] cdn-dp fec00000.dp: [drm:cdn_dp_get_sink_capability] *ERROR* Get sink capability timed out
[ 2393.744911] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work] *ERROR* Enable dp failed -110
[ 2393.745674] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work] Connected, not enabled. Enabling cdn
[ 2398.929957] cdn-dp fec00000.dp: [drm:cdn_dp_get_sink_capability] *ERROR* Get sink capability timed out
[ 2398.930868] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work] *ERROR* Enable dp failed -110

This indicates a failure getting the capabilities (DPCD) via the firmware:
https://gitlab.com/TeeFirefly/linux-kernel/blob/firefly/drivers/gpu/drm/rockchip/cdn-dp-core.c#L412-413
https://gitlab.com/TeeFirefly/linux-kernel/blob/firefly/drivers/gpu/drm/rockchip/cdn-dp-reg.c#L224-253

Since the above failure is a firmware call, there is no additional source code for debugging. It appears a DisplayPort firmware update will be required to address the issue.

The DisplayPort chip being used is the Parade PS176HDM verified by visual inspection of the USB-C to HDMI adapter.
https://www.paradetech.com/products/ps176/

please refer:
commit ffc1a16eb9081347d4c32b9b2332d7d4e5b1fcd5
Author: zouxf <zxf@t-tchip.com.cn>
Date: Fri Jun 9 16:42:33 2017 +0800

ARM64: firmware: Add rockchip DisplayPort Firmware

Note:
In linux rootfs, need to copy dptx.bin to /lib/firmware/rockchip/dptx.bin

Change-Id: I5a3e2fff11fc4c070ac48ea6da25e00eec9a3089

I have confirmed the firmware is present:

firefly@firefly:~$ ll /lib/firmware/rockchip/dptx.bin
-rwxr-xr-x 1 root root 98320 Jun 27 11:45 /lib/firmware/rockchip/dptx.bin*
firefly@firefly:~$ sha1sum /lib/firmware/rockchip/dptx.bin
cc53602806f9e9b3b57a652c85d3e8eb71d011f0  /lib/firmware/rockchip/dptx.bin

still don’t work? I will check it later.

my workmate have check it is workable.
so ,please check your hardware by using android OS.

I will test with the Android image. Since there is more than one Android image on the download page, can you please explicitly state which image file I should download and test?

I tested with the following Android “Firefly-RK3399_Android7.1.1_MP_170626.7z” image:
https://drive.google.com/drive/folders/0B7HO8lbGgAqAbFQxWDFiNnY1MDg

No display was available over USB-C with the HDMI adapter. The TV shows “No Signal” just as it does in Ubuntu.

Also of note is that changing the display input on the TV connected to the HDMI port causes Android to display garbage when switched back to the Firefly RK3399 device. This, however, is a topic for a different thread and of no concern to me since I do not use Android.

I can post a link to the adapter for purchase if requested. This would allow the Firefly team to reproduce the issue. The adapter is similar to the Apple USB-C Digital AV Multiport adapter. It has HDMI and USB-A (3.0) connectors with an additional USB-C port for attaching a charger.

Some additional information follows:

The USB-C chip used in the adapter is:
http://www.legendary.net.cn/html/product/TYPE-C/201507/791.html

LDR6023 is a dual port USB Type-C controller with Display port Alternate mode supported,
especially design for USB PD Docking Stations with video output.

The datasheet is also available from the above link.

what we used is these : https://item.taobao.com/item.htm?spm=a1z0d.6639537.1997196601.291.150IpW&id=540645282055&qq-pf-to=pcqq.temporaryc2c
or
https://detail.tmall.com/item.htm?id=531442057703&areaId=442000&user_id=1127317597&cat_id=2&is%20_b=1&rn=4eff2fc1aac30e8c67ff74ef5fe76b56

I have tested with a USB-C to HDMI adapter that does not have a USB-A or charging port. When connecting the device, no output is available. Rebooting the device with the adapter already connected does work when connected to a 1080p monitor. However, when connected to a 4K monitor, the RK3399 board will lock up at boot and display garbage.

I require the use of USB-A (3.0) in addition to DisplayPort/HDMI simultaneously over the USB-C port. Please provide a firmware update that allows this functionality.

This article is absolutely extraordinary, thank you for your share! Free access to the Training C_THR85_2505 Solutions materials, wishing you all the best of luck!

This is so good, I’m liking it without a doubt. With the help of the Latest AP-209 exam simulator fee, I achieved a promotion and pay raise. Now it’s free for everyone. Wishing you all success!

This article is truly eye-opening, thank you for sharing. The Reliable UiPath-ABAAv1 exam answers questions were the stepping stones to my career success, and today I’m giving them away for free!