You are not logged in.

#1 2021-08-31 12:06:52

Xwang
Member
Registered: 2012-05-14
Posts: 353

USB-C how to check if it has HDMI signal?

Hi to all,
I've an Asus N752VX which has both usb-c port and hdmi output.
I've seen that there are some usb-c hubs which have hdmi and LAN port.
If I find one which is compatible with linux, is it enough to have a second hdmi outport or should I check previously if the usb-c port contains the hdmi signal?
On an asus help page there is an explanation of usb ports symbols according to which my laptop usb-c port does not have a video signal.
However I'm not sure if that page is for my laptop tooo and, moreover, I've not understood if it is a software (Windows) limitation or an hardware one.
Is there any way in linux to understand if an usb-c port outputs a video signal?

Last edited by Xwang (2021-08-31 12:07:08)


I'm still learning English so please excuse me if my English is not good enough and feel free to correct me via PM if you want.

Offline

#2 2021-08-31 13:23:02

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,280

Re: USB-C how to check if it has HDMI signal?

Usb-c has optional alternate modes which allow displayport , hdmi and such options .
Support for those modes needs to be provided by the hardware.

Complicating things is that Thunderbolt3 uses the same connector and has support for DisplayPort screens .

No idea how to check for usb-c alternate modes, but the thunderbolt controller has its own kernel module.

$ lsmod | grep bolt

should clarify if your laptop has thunderbolt connections.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2021-08-31 13:35:59

Xwang
Member
Registered: 2012-05-14
Posts: 353

Re: USB-C how to check if it has HDMI signal?

Lone_Wolf wrote:

Usb-c has optional alternate modes which allow displayport , hdmi and such options .
Support for those modes needs to be provided by the hardware.

Complicating things is that Thunderbolt3 uses the same connector and has support for DisplayPort screens .

No idea how to check for usb-c alternate modes, but the thunderbolt controller has its own kernel module.

$ lsmod | grep bolt

should clarify if your laptop has thunderbolt connections.

Thank you,
without anything connected to the port I've tried to give that command. Since it returned nothing, I think that the laptop doesn't have thunderbird connections.
Regarding usb I'll continue to investigate about the alternate modes.


I'm still learning English so please excuse me if my English is not good enough and feel free to correct me via PM if you want.

Offline

#4 2021-08-31 13:38:34

progandy
Member
Registered: 2012-05-17
Posts: 5,212

Re: USB-C how to check if it has HDMI signal?

I think there should be some indication in /sys/class/typec, but that may only show if something is plugged in.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#5 2021-08-31 13:49:16

Xwang
Member
Registered: 2012-05-14
Posts: 353

Re: USB-C how to check if it has HDMI signal?

progandy wrote:

I think there should be some indication in /sys/class/typec, but that may only show if something is plugged in.

I've tried to connect a usb hub to the usb-c port, but there is no /sys/class/typec folder of file.


I'm still learning English so please excuse me if my English is not good enough and feel free to correct me via PM if you want.

Offline

#6 2021-08-31 14:13:13

solskog
Member
Registered: 2020-09-05
Posts: 426

Re: USB-C how to check if it has HDMI signal?

If you are referring to a USB-C to HDMI adapter, Yes it works. I use one myself with archlinux. I think the necessary hardware is the adapter itself.

Offline

#7 2021-08-31 15:04:50

progandy
Member
Registered: 2012-05-17
Posts: 5,212

Re: USB-C how to check if it has HDMI signal?

solskog wrote:

If you are referring to a USB-C to HDMI adapter, Yes it works. I use one myself with archlinux. I think the necessary hardware is the adapter itself.

A good adapter needs a USB-C port that provides a displayport alternate mode.

There are "displaylink" adapters that do not need that, but those do not work well on linux, sometimes only delivering 1 frame per second or not working at all.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#8 2021-08-31 15:40:27

Xwang
Member
Registered: 2012-05-14
Posts: 353

Re: USB-C how to check if it has HDMI signal?

solskog wrote:

If you are referring to a USB-C to HDMI adapter, Yes it works. I use one myself with archlinux. I think the necessary hardware is the adapter itself.

Could you tell me which one are you using, please?
I've seen some of those usb-c hubs with hdmi and lan ports (sometimes also SD card readers) which advertise compatibility with windows/mac/linux/chromeOS but do not say anything about the fact that usb-c port must have specific capabilities.

Last edited by Xwang (2021-08-31 15:45:21)


I'm still learning English so please excuse me if my English is not good enough and feel free to correct me via PM if you want.

Offline

#9 2021-08-31 16:00:47

solskog
Member
Registered: 2020-09-05
Posts: 426

Re: USB-C how to check if it has HDMI signal?

Lone_Wolf wrote:

A good adapter needs a USB-C port that provides a displayport alternate mode.

I agree! and an HDMI alternate mode in my case.

https://www.ugreen.com/products/9-in-1- … th-4k-hdmi
Widely compatible
It is an ideal USB-C expansion hub for Apple MacBook, Apple MacBook Air, Apple MacBook Pro, Apple iMac / iMac Pro (21.5 inches, 27 inches), Google ChromeBook Pixel, Dell, as US, HP, Lenovo, and many other Type C laptops. Supported systems drive free for Windows 10/8.1/8/7/XP; linux; MAC OS; IOS; Android.

Available on amazon.com a while ago, maybe not now anymore, but you may find a replacement.

Offline

#10 2021-08-31 16:23:06

Xwang
Member
Registered: 2012-05-14
Posts: 353

Re: USB-C how to check if it has HDMI signal?

solskog wrote:
Lone_Wolf wrote:

A good adapter needs a USB-C port that provides a displayport alternate mode.

I agree! and an HDMI alternate mode in my case.

https://www.ugreen.com/products/9-in-1- … th-4k-hdmi
Widely compatible
It is an ideal USB-C expansion hub for Apple MacBook, Apple MacBook Air, Apple MacBook Pro, Apple iMac / iMac Pro (21.5 inches, 27 inches), Google ChromeBook Pixel, Dell, as US, HP, Lenovo, and many other Type C laptops. Supported systems drive free for Windows 10/8.1/8/7/XP; linux; MAC OS; IOS; Android.

Available on amazon.com a while ago, maybe not now anymore, but you may find a replacement.

So your usb-c has hdmi alternate mode, right?
As far as I have understood, mine doesn not have it.
So in case I buy the same, the hdmi port would be dead on my pc, right?

I wanted to have such a device so that to be able to disconnect all cables by just unplugging the usb-c. Moreover with time the HDMI port of the laptop starts to misbehave with false contacts.


I'm still learning English so please excuse me if my English is not good enough and feel free to correct me via PM if you want.

Offline

#11 2021-08-31 17:01:22

progandy
Member
Registered: 2012-05-17
Posts: 5,212

Re: USB-C how to check if it has HDMI signal?

As far as I have understood, mine doesn not have it.

If you are lucky, asus just forgot to add the displayport icon on your model. I found one document that claims some N752VX models have it: https://www.steg-electronics.ch/api/Pro … t/1630751/

So your usb-c has hdmi alternate mode, right?

Maybe. Most hdmi adapters identify as DP and use the DP altmode. The HDMI altmode is rare.

Last edited by progandy (2021-08-31 17:07:43)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#12 2021-08-31 22:49:10

solskog
Member
Registered: 2020-09-05
Posts: 426

Re: USB-C how to check if it has HDMI signal?

progandy wrote:

Maybe. Most hdmi adapters identify as DP and use the DP altmode. The HDMI altmode is rare.

At a closer look, my laptop usb-c port does have an (ss->D) symbol on it. As for the alternate mode, after I read the wiki:
https://en.wikipedia.org/wiki/DisplayPo … ode_(DP++)
I wondering if the usb-c port with displayport alternate mode support DP++? Means it requires an active HDMI adapter?

Xwang wrote:

I wanted to have such a device so that to be able to disconnect all cables by just unplugging the usb-c. Moreover with time the HDMI port of the laptop starts to misbehave with false contacts.

me as well, same reason for purchasing this adapter.

Last edited by solskog (2021-08-31 23:49:16)

Offline

#13 2021-09-01 06:38:47

Xwang
Member
Registered: 2012-05-14
Posts: 353

Re: USB-C how to check if it has HDMI signal?

progandy wrote:

As far as I have understood, mine doesn not have it.

If you are lucky, asus just forgot to add the displayport icon on your model. I found one document that claims some N752VX models have it: https://www.steg-electronics.ch/api/Pro … t/1630751/

So your usb-c has hdmi alternate mode, right?

Maybe. Most hdmi adapters identify as DP and use the DP altmode. The HDMI altmode is rare.

Mine is NV752VX-GC132T  which is not listed there and the only symbol near the usb-c port id the SS one.
Moreover the user manual does not report anything about hdmi or DP capability odf the usb-c port.

solskog wrote:
progandy wrote:

Maybe. Most hdmi adapters identify as DP and use the DP altmode. The HDMI altmode is rare.

At a closer look, my laptop usb-c port does have an (ss->D) symbol on it. As for the alternate mode, after I read the wiki:
https://en.wikipedia.org/wiki/DisplayPo … ode_(DP++)
I wondering if the usb-c port with displayport alternate mode support DP++? Means it requires an active HDMI adapter?

Xwang wrote:

I wanted to have such a device so that to be able to disconnect all cables by just unplugging the usb-c. Moreover with time the HDMI port of the laptop starts to misbehave with false contacts.

me as well, same reason for purchasing this adapter.

In my case it seems that the usb-c port does not have any alt mode and since it seems to be an hardware configuration, I expect that there should be some way in which the hardware communicate to the operating system this capability.
Just to avoid buying something which does not work.


I'm still learning English so please excuse me if my English is not good enough and feel free to correct me via PM if you want.

Offline

Board footer

Powered by FluxBB