External USB C Monitor not working
#1
I am trying to get a Lenovo ThinkVision USB C monitor working with my pinebook pro running debian w/the manjaro 5.7 kernel.

when I plug in the monitor dmesg produces


Code:
[  760.964053] usb 7-1: USB disconnect, device number 32
[  760.964163] usb 7-1.3: USB disconnect, device number 33
[  760.967215] usb 7-1.4: USB disconnect, device number 34
[  760.973941] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work [rockchipdrm]] Not connected. Disabling cdn
[  760.980924] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work [rockchipdrm]] Not connected. Disabling cdn
[  765.823271] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work [rockchipdrm]] Not connected. Disabling cdn
[  766.150886] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work [rockchipdrm]] Not connected. Disabling cdn
[  766.218518] typec_displayport port0-partner.0: No compatible pin configuration found:0000 -> 000c, 001c <- 0000
[  767.151965] usb 7-1: new high-speed USB device number 35 using xhci-hcd
[  767.345096] usb 7-1: New USB device found, idVendor=0bda, idProduct=5411, bcdDevice= 1.23
[  767.345106] usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  767.345111] usb 7-1: Product: 4-Port USB 2.0 Hub
[  767.345115] usb 7-1: Manufacturer: Generic
[  767.408343] hub 7-1:1.0: USB hub found
[  767.409572] hub 7-1:1.0: 4 ports detected
[  767.791792] usb 7-1.3: new full-speed USB device number 36 using xhci-hcd
[  767.931623] usb 7-1.3: not running at top speed; connect to a high speed hub
[  767.940423] usb 7-1.3: New USB device found, idVendor=17ef, idProduct=a361, bcdDevice= 3.00
[  767.940447] usb 7-1.3: New USB device strings: Mfr=17, Product=18, SerialNumber=19
[  767.940464] usb 7-1.3: Product: BillBoard Device
[  767.940478] usb 7-1.3: Manufacturer: Realtek
[  767.940493] usb 7-1.3: SerialNumber: 123456789ABCDEFGH
[  768.251772] usb 7-1.4: new high-speed USB device number 37 using xhci-hcd
[  768.395625] usb 7-1.4: New USB device found, idVendor=0bda, idProduct=5411, bcdDevice= 1.23
[  768.395649] usb 7-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  768.395665] usb 7-1.4: Product: 4-Port USB 2.0 Hub
[  768.395680] usb 7-1.4: Manufacturer: Generic
[  768.432313] hub 7-1.4:1.0: USB hub found
[  768.433595] hub 7-1.4:1.0: 2 ports detected

A diff of lsusb reveals 
Code:
Bus 007 Device 028: ID 0bda:5411 Realtek Semiconductor Corp.
Bus 007 Device 027: ID 17ef:a361 Lenovo
Bus 007 Device 026: ID 0bda:5411 Realtek Semiconductor Corp. 4-Port USB 2.0 Hub

Is there any particular firmware/module that I'm missing? I haven't been able to find anything.

Thanks in advance!
  Reply
#2
Similar problem here: I can't use an external monitor. I'm using Debian sid with a 5.7 kernel build following the instructions in kernel build script for latest mainline manjaro kernel.

Kernel: Linux version 5.7.0-0.37-2-pinebookpro-manjaro-kwiboo+

Monitor: NEC EA271Q

dmesg excerpt:

Code:
[  291.513396] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work [rockchipdrm]] Not connected. Disabling cdn
[  291.714223] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work [rockchipdrm]] Not connected. Disabling cdn
[  291.762834] typec_displayport port0-partner.0: No compatible pin configuration found:0000 -> 001c, 001c <- 0000
[  291.948829] usb 7-1: new full-speed USB device number 2 using xhci-hcd
[  292.098881] usb 7-1: device descriptor read/64, error -71
[  292.368838] usb 7-1: device descriptor read/64, error -71
[  292.638791] usb 7-1: new full-speed USB device number 3 using xhci-hcd
[  292.788819] usb 7-1: device descriptor read/64, error -71
[  293.058818] usb 7-1: device descriptor read/64, error -71
[  293.179266] usb usb7-port1: attempt power cycle
[  293.888776] usb 7-1: new full-speed USB device number 4 using xhci-hcd
[  293.889485] usb 7-1: Device not responding to setup address.
[  294.108897] usb 7-1: Device not responding to setup address.
[  294.338827] usb 7-1: device not accepting address 4, error -71
[  294.488742] usb 7-1: new full-speed USB device number 5 using xhci-hcd
[  294.489457] usb 7-1: Device not responding to setup address.
[  294.708827] usb 7-1: Device not responding to setup address.
[  294.928699] usb 7-1: device not accepting address 5, error -71
[  294.929745] usb usb7-port1: unable to enumerate USB device
  Reply
#3
if these are supported, then it probably means that the kernel driver needs to be added to the config. if you figure out what that is i will add it. i also made it easy to use your own config in the pbp-tools linux script.
  Reply
#4
In my experience in playing with various docks:

- sometimes, the PineBook only works in one single cable orientation (troubles negociating which lanes used for USB3 and which lanes used for Display Port), try flipping the USB-C connector the other side up.

- make sure that you have set up the resolution to something sufficiently low that that can be handled by only two Display Port lanes (as the other two are needed for USB3). Do no attempt to run 4kp60, it won't work.
  Reply
#5
Connect the monitor before you boot the PBP.
Worked for me with Manjaro and a 1080p monitor.
Hot plugging doesn't work for me.
  Reply
#6
(06-16-2020, 01:28 PM)jiyong Wrote: Connect the monitor before you boot the PBP.
Worked for me with Manjaro and a 1080p monitor.
Hot plugging doesn't work for me.
When I try booting with the USB-C cable between PineBook and monitor I get less errors indeed, but still no picture. Here some of my dmesg (which may or may not be relevant - I just looked for "dp"):
Code:
[    7.031789] dwmmc_rockchip fe310000.mmc: Successfully tuned phase to 47
[    7.035004] mmc0: new ultra high speed SDR104 SDIO card at address 0001
[    7.636187] rockchip-vop ff8f0000.vop: Adding to iommu group 1
[    7.640167] rockchip-vop ff900000.vop: Adding to iommu group 2
[    7.643677] rockchip-dp ff970000.edp: no DP phy configured
[    7.656244] rockchip-drm display-subsystem: bound ff8f0000.vop (ops vop_component_ops [rockchipdrm])
[    7.659642] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_component_ops [rockchipdrm])
[    7.660798] rockchip-drm display-subsystem: bound ff970000.edp (ops rockchip_dp_component_ops [rockchipdrm])
[    7.662036] cdn-dp fec00000.dp: Direct firmware load for rockchip/dptx.bin failed with error -2
[    7.665313] rockchip-drm display-subsystem: bound fec00000.dp (ops cdn_dp_component_ops [rockchipdrm])
[    7.666636] es8316 1-0011: Failed to get IRQ 0: -22
[    7.666638] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    7.807492] asoc-simple-card es8316-sound: ES8316 HiFi <-> ff890000.i2s mapping ok
[    7.807544] asoc-simple-card es8316-sound: ASoC: no DMI vendor name!
[    7.811928] input: rockchip,es8316-codec Headphones as /devices/platform/es8316-sound/sound/card0/input6
[    8.049148] Console: switching to colour frame buffer device 240x67
[    8.114078] rockchip-drm display-subsystem: fb0: rockchipdrmfb frame buffer device
[    8.151955] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem on minor 0
[    8.219507] fuse: init (API version 7.31)
[    8.253723] usbcore: registered new interface driver uvcvideo
[    8.254506] USB Video Class driver (1.1.1)
[    8.374629] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    8.375584] cfg80211: failed to load regulatory.db
[    8.741114] cdn-dp fec00000.dp: Direct firmware load for rockchip/dptx.bin failed with error -2
[    8.960333] EXT4-fs (mmcblk2p6): mounted filesystem with ordered data mode. Opts: (null)
[    9.283042] systemd[1]: System time before build time, advancing clock.
[    9.293423] systemd[1]: systemd 245.6-1 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid)
[    9.296593] systemd[1]: Detected architecture arm64.
Thanks everyone for the quick replies! Actually connecting the extra monitor is not that important to me right now. So far especially video performance still is so poor on the PineBook that I prefer using my 2013 AMD64 PC (8 GByte RAM), when sitting at the desk anyway. I'm mostly using the PBP for when I'm sitting in a more relaxed position.

My monitor is 2560x1440, by the way... about the highest resolution my PC would still support with its integrated Radeon HD graphics.
  Reply
#7
(06-16-2020, 10:44 AM)xmixahlx Wrote: if these are supported, then it probably means that the kernel driver needs to be added to the config. if you figure out what that is i will add it. i also made it easy to use your own config in the pbp-tools linux script.

xmixahlx
I am also using your script to compile the 5.6 kernel. I'm not sure what to do to get the drivers into the kernel. Here's a diff from lsusb for my lenovo monitor
Quote:Bus 007 Device 007: ID 0bda:5411 Realtek Semiconductor Corp.
Bus 007 Device 006: ID 17ef:a361 Lenovo
Bus 007 Device 005: ID 0bda:5411 Realtek Semiconductor Corp. 4-Port USB 2.0 Hub

Here's a diff from lsusb for my caldigit usb-c pro dock

Quote:Bus 007 Device 004: ID 2188:4042 CalDigit, Inc. USB2.1 Hub
Bus 007 Device 003: ID 2188:0611 
Bus 007 Device 002: ID 2188:0610 CalDigit, Inc. USB2.1 Hub


Please let me know if you need anything else. I appreciate all your help!
  Reply
#8
(06-16-2020, 02:20 PM)v-man Wrote: My monitor is 2560x1440, by the way... about the highest resolution my PC would still support with its integrated Radeon HD graphics.

I remember from some other thread that this might be an issue.
It's not the hardware, it's something in the software.
I have the original Samsung Chromebook Plus with the same RK3399, and I can connect it to a 4K TV.
Can you test with a 1080p monitor?
  Reply
#9
Hello all,

I'm experiencing the same issue here with a portable display. The Asus MB16AP which has an integrated battery. I cannot get the display to be recognized in display settings or display output from the PBP. The monitor is receiving a charge from the laptop.


I've tried flipping the USB-c cable and rebooting after each attempt, changing the orientation, etc as suggested above. I'm using an 18inch certified thunderbolt 3 cable. I have also tested with other more generic USB-c to USB-c cables.


My next steps are to see if the device is supported by the kernel, update/intergrate mainline if needed, and research dmesg output:
"[drm:analogix_dp_bridge_atomic_enable [analogix_dp]] *ERROR* Failed to disable psr -110"

I'm having a blast with this new PBP.



Really appreciate any input and suggestions.



Thank you.



Code:
$ uname -a
Linux pliny 5.7.0-1-MANJARO-ARM #1 SMP Sun Jun 7 22:17:22 +03 2020 aarch64 GNU/Linux
Code:
[ 1931.010998] [drm:analogix_dp_bridge_atomic_enable [analogix_dp]] *ERROR* Failed to disable psr -110
[ 1931.830256] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work [rockchipdrm]] Not connected. Disabling cdn
[ 1931.840393] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work [rockchipdrm]] Not connected. Disabling cdn
[ 1940.249384] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work [rockchipdrm]] Not connected. Disabling cdn
[ 1946.447618] usb 7-1: new high-speed USB device number 6 using xhci-hcd
[ 1946.455351] rockchip-dp ff970000.edp: Failed to apply PSR -110
[ 1946.455389] [drm:analogix_dp_bridge_atomic_enable [analogix_dp]] *ERROR* Failed to disable psr -110
[ 1946.525141] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work [rockchipdrm]] Not connected. Disabling cdn
[ 1946.650419] typec_displayport port0-partner.0: No compatible pin configuration found:0000 -> 000c, 001c <- 0000
[ 1946.963641] usb 7-1: New USB device found, idVendor=0bda, idProduct=5412, bcdDevice= 1.41
[ 1946.963652] usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1946.963657] usb 7-1: Product: 4-Port USB 2.0 Hub
[ 1946.963661] usb 7-1: Manufacturer: Generic
[ 1947.021302] hub 7-1:1.0: USB hub found
[ 1947.022577] hub 7-1:1.0: 2 ports detected
[ 1947.098941] usb 8-1: new SuperSpeed Gen 1 USB device number 4 using xhci-hcd
[ 1947.143414] usb 8-1: New USB device found, idVendor=0bda, idProduct=0412, bcdDevice= 1.41
[ 1947.143426] usb 8-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1947.143432] usb 8-1: Product: 4-Port USB 3.0 Hub
[ 1947.143436] usb 8-1: Manufacturer: Generic
[ 1947.169273] hub 8-1:1.0: USB hub found
[ 1947.170723] hub 8-1:1.0: 2 ports detected
[ 1947.398050] usb 7-1.2: new full-speed USB device number 7 using xhci-hcd
[ 1947.638854] usb 7-1.2: not running at top speed; connect to a high speed hub
[ 1947.655376] usb 7-1.2: New USB device found, idVendor=0bda, idProduct=5400, bcdDevice= 1.06
[ 1947.655398] usb 7-1.2: New USB device strings: Mfr=17, Product=18, SerialNumber=19
[ 1947.655411] usb 7-1.2: Product: BillBoard Device
[ 1947.655423] usb 7-1.2: Manufacturer: Realtek
[ 1947.655435] usb 7-1.2: SerialNumber: 123456789ABCDEFGH
[ 1947.738184] usb 8-1.1: new SuperSpeed Gen 1 USB device number 5 using xhci-hcd
[ 1947.768760] usb 8-1.1: New USB device found, idVendor=17e9, idProduct=4375, bcdDevice=31.01
[ 1947.768773] usb 8-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1947.768778] usb 8-1.1: Product: MB16AP
[ 1947.768783] usb 8-1.1: Manufacturer: DisplayLink
[ 1947.768788] usb 8-1.1: SerialNumber: 4412564M0378
[ 1959.011974] rockchip-dp ff970000.edp: Failed to apply PSR -110
[ 1959.012018] [drm:analogix_dp_bridge_atomic_enable [analogix_dp]] *ERROR* Failed to disable psr -110
  Reply
#10
(06-21-2020, 12:11 AM)ebrock415 Wrote: Hello all,

I'm experiencing the same issue here with a portable display. The Asus MB16AP which has an integrated battery. I cannot get the display to be recognized in display settings or display output from the PBP. The monitor is receiving a charge from the laptop.


I've tried flipping the USB-c cable and rebooting after each attempt, changing the orientation, etc as suggested above. I'm using an 18inch certified thunderbolt 3 cable. I have also tested with other more generic USB-c to USB-c cables.


My next steps are to see if the device is supported by the kernel, update/intergrate mainline if needed, and research dmesg output:
"[drm:analogix_dp_bridge_atomic_enable [analogix_dp]] *ERROR* Failed to disable psr -110"

I'm having a blast with this new PBP.



Really appreciate any input and suggestions.



Thank you.


From log, looks like this is a DisplayLink type monitor and not actual USB alt-mode DP type. The displaylink needs special driver to drive and not sure whether there is such Linux driver, and disadvantage is taking up a lot of CPU resource.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Slackware Linux working on PBP vxzero 0 603 06-05-2024, 04:30 PM
Last Post: vxzero
  No external monitorvia USB-C over Dockingstation bnjmnhg 14 5,452 11-28-2023, 01:35 PM
Last Post: zaius
  Manjaro ARM: enabling external monitors & fixing Broadcom WiFi after updating trifleneurotic 2 1,632 11-14-2023, 10:57 AM
Last Post: trifleneurotic
  USB 3 port not working with Armbian zaius 3 1,690 11-13-2023, 01:54 PM
Last Post: zaius
  Sleep and external display - Are there any options? chris88233 7 3,006 09-04-2023, 09:03 PM
Last Post: wdt
  Camera not working with Cheese cypresstwist 1 1,681 08-18-2023, 02:02 AM
Last Post: juliamenendez
  5GHz wifi not working snorwood 11 7,483 01-16-2023, 03:41 PM
Last Post: ehcorn
  Pinebook Pro wifi not working Queliffrel 1 1,684 11-30-2022, 06:30 AM
Last Post: myself600
  Resume from suspend not working after flashing Tow-Boot to SPI xp19375 3 2,509 10-31-2022, 10:14 AM
Last Post: wdt
  Webcam not working in Manjaro with Cheese, but works in Armbian petaramesh 1 1,461 09-30-2022, 10:09 AM
Last Post: crazyquark

Forum Jump:


Users browsing this thread: 3 Guest(s)