Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Video over USB-C



Hi,

I'm still setting my PINEBOOK Pro up (more messages about that to
come up) but one of my main concerns is about the video over
USB-C support to connect an external monitor or videoprojector (I
desperately need that).

The PINEBOOK Pro doesn't have HDMI or VGA connectors.  Instead,
it uses USB-C.  I bought a device similar to this one:

https://www.fnac.com/mp40570095/Hub-C-USB-adaptateur-IKOTEKSUN-de-type-C-8-en-1-vers-ports-HDMI-et-1080P-VGA-4K-HDMI-Ethernet-RJ45-2-ports-USB-3-0-lecteur-de-carte-SD-TF-et-port-USB-C-pour-MacBook-Air-Pro-Chromebook-Dell-ASUS-Huawei-et-Plus/w-4

which connects to the USB-C socket and offert HDMI, VGA,
Ethernet, SD and several USB-A connectors.

I tested this device with the Debian Linux that ships
preinstalled on the PINEBOOK Pro and it works perfectly
(including video).  Linux detects it like this:

[  172.582935] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work [rockchipdrm]] Not connected. Disabling cdn
[  172.925745] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work [rockchipdrm]] Connected, not enabled. Enabling cdn
[  174.201969] usb 7-1: new full-speed USB device number 2 using xhci-hcd
[  174.394039] usb 7-1: New USB device found, idVendor=177a, idProduct=963d, bcdDevice= 1.00
[  174.394773] usb 7-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[  174.395463] usb 7-1: Product: Billboard Device
[  174.395867] usb 7-1: Manufacturer: EXPSM USB
[  174.396255] usb 7-1: SerialNumber: 0001
[  174.410802] hid-generic 0003:177A:963D.0006: hiddev98,hidraw5: USB HID v1.10 Device [EXPSM USB Billboard Device] on usb-xhci-hcd.1.auto-1/input0
[  175.258166] usb 7-1: USB disconnect, device number 2
[  177.921969] usb 7-1: new high-speed USB device number 3 using xhci-hcd
[  178.104509] usb 7-1: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice= 6.54
[  178.105252] usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  178.105888] usb 7-1: Product: USB2.1 Hub
[  178.106246] usb 7-1: Manufacturer: GenesysLogic
[  178.112288] cdn-dp fec00000.dp: [drm:cdn_dp_check_sink_connection [rockchipdrm]] *ERROR* Get sink capability timed out
[  178.113334] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work [rockchipdrm]] *ERROR* Enable dp failed -19
[  178.161460] hub 7-1:1.0: USB hub found
[  178.162124] hub 7-1:1.0: 4 ports detected

But the same device is not detected at all by the NetBSD-current
GENERIC64 aarch64 kernel.

On amd64 9.0_RC2, it is quite properly detected (I couldn't test
video output as the machine on which I tested doesn't seem to do
that):

[ 25352,209129] uhub2 at uhub0 port 1: GenesysLogic (0x5e3) USB3.1 Hub (0x626), class 9/0, rev 3.10/6.54, addr 4
[ 25352,209129] uhub2: 4 ports with 4 removable, self powered
[ 25353,100633] ure0 at uhub2 port 1
[ 25353,100633] ure0: Realtek (0xbda) USB 10/100/1000 LAN (0x8153), rev 3.00/31.00, addr 5
[ 25353,100633] ure0: RTL8153 unknown ver 6010
[ 25353,180766] rgephy1 at ure0 phy 0: RTL8251 1000BASE-T media interface, rev. 0
[ 25353,180766] rgephy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
[ 25353,190783] ure0: Ethernet address 00:e0:4c:68:01:fe
[ 25353,401139] uhidev3 at uhub1 port 1 configuration 1 interface 0
[ 25353,401139] uhidev3: EXPSM USB (0x177a) Billboard Device (0x963d), rev 2.01/1.00, addr 6, iclass 3/0
[ 25353,401139] uhidev3: 2 report ids
[ 25353,401139] uhid7 at uhidev3 reportid 1: input=0, output=0, feature=7
[ 25353,401139] uhid8 at uhidev3 reportid 2: input=0, output=0, feature=256
[ 25353,841888] umass0 at uhub2 port 2 configuration 1 interface 0
[ 25353,841888] umass0: Generic (0x5e3) USB3.0 Card Reader (0x749), rev 3.00/15.32, addr 7
[ 25353,841888] umass0: using SCSI over Bulk-Only
[ 25353,841888] scsibus0 at umass0: 2 targets, 2 luns per target
[ 25353,841888] sd0 at scsibus0 target 0 lun 0: <Generic, STORAGE DEVICE, 1532> disk removable
[ 25353,851901] sd0: drive offline
[ 25353,851901] sd1 at scsibus0 target 0 lun 1: <Generic, STORAGE DEVICE, 1532> disk removable
[ 25354,052242] sd1: drive offline
[ 25356,676678] uhid7: detached
[ 25356,676678] uhid8: detached
[ 25356,676678] uhidev3: detached
[ 25356,676678] uhidev3: at uhub1 port 1 (addr 6) disconnected
[ 25359,992282] uhub3 at uhub1 port 1: GenesysLogic (0x5e3) USB2.1 Hub (0x610), class 9/0, rev 2.10/6.54, addr 8
[ 25359,992282] uhub3: single transaction translator
[ 25359,992282] uhub3: 4 ports with 4 removable, self powered

As a matter of facts, uhub is not in the
/usr/src/sys/arch/evbarm/conf/GENERIC* files at all.  Is this
normal? How to get external video with NetBSD on a PINEBOOK Pro?


Home | Main Index | Thread Index | Old Index