Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DisplayPort monitors, ethernet, and USB-C
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
theinvertedform
n00b
n00b


Joined: 08 Feb 2008
Posts: 22

PostPosted: Thu Sep 09, 2021 2:35 am    Post subject: DisplayPort monitors, ethernet, and USB-C Reply with quote

Hi,

I am trying to setup my Lenovo X1 Carbon (fifth generation) laptop for use with peripherals connected via a Lenovo USB-C docking station. I have a keyboard, mouse, microphone and webcam connected to the dock, and when I connect my laptop via USB type C cable, they are all recognized.

Now I am trying to get my external monitor and ethernet, minimally, to work using the same method. Sound would be nice as well but I care less about this one.

I have an HDMI to DisplayPort cable connecting my monitor to my docking station, and an ethernet cable connecting my router and the dock. However, the monitor isn't working and I don't believe the ethernet is either. The monitor is what I care about most so I'll focus on that.

xrandr only shows output for eDP-1, nothing for DP or HDMI.

$ lsusb:
Bus 003 Device 003: ID 17ef:3062 Lenovo ThinkPad Dock Ethernet [Realtek RTL8153B]
Bus 003 Device 009: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 003 Device 012: ID 05ac:1303 Apple, Inc. iPod Shuffle 4.Gen
Bus 003 Device 005: ID 6c4e:6060 TEX Electronic Fantastic60
Bus 003 Device 011: ID 17ef:3063 Lenovo ThinkPad Dock Audio
Bus 001 Device 003: ID 04f2:b5ce Chicony Electronics Co., Ltd Integrated Camera
Bus 002 Device 002: ID 0951:1666 Kingston Technology DataTraveler 100 G3/G4/SE9 G2/50
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 008: ID 046d:0ab7 Logitech, Inc. Blue Microphones
Bus 003 Device 004: ID 17ef:3060 Lenovo ThinkPad Dock
Bus 003 Device 010: ID 046d:0892 Logitech, Inc. C920 HD Pro Webcam
Bus 003 Device 007: ID 17ef:1021 Lenovo ThinkPad Dock Hub [Cypress HX2VL]
Bus 001 Device 002: ID 8087:0a2b Intel Corp. Bluetooth wireless interface
Bus 003 Device 006: ID 17ef:1026 Lenovo
Bus 003 Device 002: ID 17ef:1025 Lenovo
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 138a:0097 Validity Sensors, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


My apologies I can't help more right off the bat. I'm still in the process of figuring this out. I tried enabling the settings in the Gentoo wiki's article on DisplayLink, but they had no effect, and that article is quite bare. I'm also not entirely sure if DisplayLink pertains to what I'm doing.

Posts from several years ago seemed to suggest that transferring data and connecting monitors over USB-C was, at that point, still experimental and quite unstable. Any updates on the status of this? Any suggestions on how I can troubleshoot this problem?

Thanks in advance.

Swapped quote tags to code tags -- NeddySeagoon
Back to top
View user's profile Send private message
psycho
Guru
Guru


Joined: 22 Jun 2007
Posts: 553
Location: New Zealand

PostPosted: Thu Sep 09, 2021 3:21 am    Post subject: Reply with quote

Hi there. Are you able to confirm with another laptop, or with something like Windows on your existing laptop, that the hardware (cables and dock) is all working as it ought to be? I have a vaguely similar situation where a laptop's USB-C connector is its only video output, so I have to use a little DP adapter, and it was a real headache because the first adapter I bought (quite an expensive one) didn't work, but I just assumed that it would so focused on other imaginary problems, and had just about given up on the whole project when I happened to come across a much cheaper adapter at an electronics retailer, so bought it just to try it on the off-chance that it might make a difference...and it worked immediately. I have no idea why (it's actually rated slightly lower, for 4k max throughput as opposed to 8k on the one that didn't work...I'd have assumed that made it less trustworthy at lower bandwidths too but maybe it's the other way around for some reason)...anyway, it's left me a bit wary of USB-C video adapters and I'd be wanting to confirm that the hardware's actually capable of doing what you're aiming to do, before investing too much time in fiddling with software settings.
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5945

PostPosted: Fri Sep 10, 2021 12:26 pm    Post subject: Reply with quote

just to be sure I understood the monitor situation, your source is hdmi and your target is dp? if so, the cable won't work
using cables is only for connection "downgrade", as dp is the successor of hdmi, you need a converter to do that.
your alternatives are to either use dp to dp, get a converter or connect the screen using hdmi only
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Fri Sep 10, 2021 1:54 pm    Post subject: Reply with quote

Displayport is not successor of HDMI, please do some research before posting. One article is here: https://www.hp.com/us-en/shop/tech-takes/displayport-vs-hdmi
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5945

PostPosted: Fri Sep 10, 2021 3:50 pm    Post subject: Reply with quote

Jaglover wrote:
Displayport is not successor of HDMI, please do some research before posting. One article is here: https://www.hp.com/us-en/shop/tech-takes/displayport-vs-hdmi

you are correct regarding the successor, I stand corrected, however goin from hdmi to dp requires a conveter, from dp to hdmi, a simple cable
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3636

PostPosted: Fri Sep 10, 2021 4:10 pm    Post subject: Reply with quote

Quote:
At the end of the day, the DisplayPort vs HDMI vs DVI debate comes down to which ports your display has, and what you are using it for.

Translation: "The whole article is pointless, just use whatever, it's good enough anyway" :lol:


Quote:
however goin from hdmi to dp requires a conveter, from dp to hdmi, a simple cable
That's interesting, any idea how it works? Are hdmi receivers capable of understanding dp signals, or do dp senders negotiate a protocol change?
E.g. dvi was hdmi with a diferent plug and analogue vga support (though #notall video cards provided any signal on vga lines, which I found out by plugging vga monitor to my dvi video card via 1$ dumb adapter). Like in the signal was electrically compatible. May or may not be the case now, since hdmi got some updates and nobody cares about dvi.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55227
Location: 56N 3W

PostPosted: Fri Sep 10, 2021 5:19 pm    Post subject: Reply with quote

theinvertedform,

USB-C can do lots of tricks. Not all USB related.

To drive a display over USB-C, you need both USB-C and USB-C Alt mode support in the kernel.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
psycho
Guru
Guru


Joined: 22 Jun 2007
Posts: 553
Location: New Zealand

PostPosted: Sat Sep 11, 2021 12:26 am    Post subject: Reply with quote

szatox wrote:
Quote:
however goin from hdmi to dp requires a conveter, from dp to hdmi, a simple cable
That's interesting, any idea how it works? Are hdmi receivers capable of understanding dp signals, or do dp senders negotiate a protocol change?

There are "dual mode" displayports (all of them since v.1.3) that can detect an HDMI output and send the appropriate signal...but the basic DP signal is not HDMI-compatible, so you might get unlucky with older gear. The "from DP to HDMI [requires] a simple cable" thing is true with all recent DP hardware, but with older gear you may need an adapter both ways.
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3511
Location: Canada

PostPosted: Sat Sep 11, 2021 4:33 am    Post subject: Reply with quote

I have the same laptop, why you doing HDMI to DisplayPort ??? Do USB-C to displayport (thunderbolt/USB-C ports on carbon X1 support "alternative mode" needed), or HDMI to HDMI for the monitor. Actually, if the monitor has a USB-C hub, you can do monitor, USB-3 and charging all over one USB-C cable (monitor will be charging your desktop)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum