Linux Mint Forums
Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.
USB-C Video on Linux 20
Post by shpsyte » Sun Aug 09, 2020 4:30 pm
I have a Dell Inspirion with a USB-C port
Does the Linux mint 20 support a second monitor on this port?
I am using a usb-c to hdmi to connect the second monitor
xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP-1 connected 1920×1080+0+0
HDMI-1 connected primary 1920×1080+0+0 (normal left inverted right x axis y axis) 521mm x 293mm
HDMI-2 disconnected (normal left inverted right x axis y axis)
inxi -Fxz
System: Kernel: 5.4.0-42-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 4.6.6
Distro: Linux Mint 20 Ulyana base: Ubuntu 20.04 focal
Machine: Type: Laptop System: Dell product: Inspiron 5570 v: N/A serial:
Mobo: Dell model: 0X34T0 v: A01 serial: UEFI: Dell v: 1.1.8 date: 08/15/2018
Battery: ID-1: BAT0 charge: 33.5 Wh condition: 36.5/42.0 Wh (87%) model: LGC-LGC3.553 DELL 8YPRW8A status: Charging
CPU: Topology: Quad Core model: Intel Core i7-8550U bits: 64 type: MT MCP arch: Kaby Lake rev: A L2 cache: 8192 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 31999
Speed: 800 MHz min/max: 400/4000 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800 8: 800
Graphics: Device-1: Intel UHD Graphics 620 vendor: Dell driver: i915 v: kernel bus ID: 00:02.0
Display: x11 server: X.Org 1.20.8 driver: amdgpu,ati,modesetting unloaded: fbdev,vesa
resolution: 1920×1080~60Hz, 1920×1080~60Hz
OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 20.0.8 direct render: Yes
Audio: Device-1: Intel Sunrise Point-LP HD Audio vendor: Dell driver: snd_hda_intel v: kernel bus ID: 00:1f.3
Sound Server: ALSA v: k5.4.0-42-generic
Network: Device-1: Realtek RTL810xE PCI Express Fast Ethernet vendor: Dell driver: r8169 v: kernel port: d000
bus ID: 02:00.0
IF: enp2s0 state: down mac:
Device-2: Intel Wireless 3165 driver: iwlwifi v: kernel port: d000 bus ID: 03:00.0
IF: wlp3s0 state: up mac:
Drives: Local Storage: total: 1.14 TiB used: 184.34 GiB (15.8%)
ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO Plus 1TB size: 931.51 GiB
ID-2: /dev/sda vendor: Samsung model: SSD 750 EVO 250GB size: 232.89 GiB
Partition: ID-1: / size: 915.89 GiB used: 184.31 GiB (20.1%) fs: ext4 dev: /dev/nvme0n1p1
Sensors: System Temperatures: cpu: 51.0 C mobo: 45.0 C sodimm: 42.0 C gpu: amdgpu temp: 25 C
Fan Speeds (RPM): cpu: 0
Info: Processes: 297 Uptime: 54m Memory: 31.26 GiB used: 2.37 GiB (7.6%) Init: systemd runlevel: 5 Compilers: gcc: 9.3.0
Shell: zsh v: 5.8 inxi: 3.0.38
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: USB-C Video on Linux 20
Post by jwstarr » Sun Oct 18, 2020 10:06 pm
I am working on the same issue. although I have a ACER ASPIRE 5 new install MINT 20 — I had to upgrade my Kernel to 5.8 something to get hdmi working.. now I want to add second monitor through USB C
System: Kernel: 5.8.0-23-generic x86_64 bits: 64 compiler: N/A Desktop: Xfce 4.14.2 tk: Gtk 3.24.13 info: xfce4-panel wm: xfwm4 dm: LightDM 1.30.0 Distro: Linux Mint 20 Ulyana base: Ubuntu 20.04 focal Machine: Type: Laptop System: Acer product: Aspire A515-44 v: V1.06 serial: Mobo: RO model: Calla_RN v: V1.06 serial: UEFI: INSYDE v: 1.06 date: 05/13/2020 Battery: ID-1: BAT1 charge: 50.0 Wh condition: 50.0/53.0 Wh (94%) volts: 17.4/15.4 model: PANASONIC AP19B5L type: Li-ion serial: status: Full CPU: Topology: 6-Core model: AMD Ryzen 5 4500U with Radeon Graphics bits: 64 type: MCP arch: Zen rev: 1 L2 cache: 3072 KiB flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 28447 Speed: 1442 MHz min/max: 1400/2375 MHz boost: enabled Core speeds (MHz): 1: 1397 2: 1397 3: 1397 4: 1397 5: 1397 6: 1397 Graphics: Device-1: AMD Renoir vendor: Acer Incorporated ALI driver: amdgpu v: kernel bus ID: 05:00.0 chip ID: 1002:1636 Display: x11 server: X.Org 1.20.8 driver: amdgpu,ati unloaded: fbdev,modesetting,vesa resolution: 1920x1080~60Hz, 1920x1080~60Hz OpenGL: renderer: AMD RENOIR (DRM 3.38.0 5.8.0-23-generic LLVM 9.0.1) v: 4.6 Mesa 20.0.4 direct render: Yes Audio: Device-1: AMD vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel bus ID: 05:00.1 chip ID: 1002:1637 Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Acer Incorporated ALI driver: N/A bus ID: 05:00.5 chip ID: 1022:15e2 Device-3: AMD Family 17h HD Audio vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel bus ID: 05:00.6 chip ID: 1022:15e3 Sound Server: ALSA v: k5.8.0-23-generic Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Acer Incorporated ALI driver: r8169 v: kernel port: 2000 bus ID: 03:00.0 chip ID: 10ec:8168 IF: enp3s0 state: up speed: 100 Mbps duplex: full mac: Device-2: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter vendor: Lite-On driver: ath10k_pci v: kernel port: 2000 bus ID: 04:00.0 chip ID: 168c:003e IF: wlp4s0 state: down mac: Device-3: ASIX AX88772 type: USB driver: asix bus ID: 3-3:3 chip ID: 0b95:7720 serial: IF: enx50c4ddf01038 state: down mac: Drives: Local Storage: total: 238.47 GiB used: 10.62 GiB (4.5%) ID-1: /dev/nvme0n1 vendor: Western Digital model: PC SN520 SDAPNUW-256G-1014 size: 238.47 GiB speed: 15.8 Gb/s lanes: 2 serial: rev: 20110000 scheme: GPT Partition: ID-1: / size: 233.24 GiB used: 10.61 GiB (4.5%) fs: ext4 dev: /dev/nvme0n1p2 Sensors: System Temperatures: cpu: 46.1 C mobo: N/A gpu: amdgpu temp: 34 C Fan Speeds (RPM): N/A Repos: No active apt repos in: /etc/apt/sources.list Active apt repos in: /etc/apt/sources.list.d/canonical-kernel-team-ppa-focal.list 1: deb http://ppa.launchpad.net/canonical-kernel-team/ppa/ubuntu focal main 2: deb-src http://ppa.launchpad.net/canonical-kernel-team/ppa/ubuntu focal main Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main Active apt repos in: /etc/apt/sources.list.d/nordvpn.list 1: deb https://repo.nordvpn.com/deb/nordvpn/debian stable main Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 1: deb http://packages.linuxmint.com ulyana main upstream import backport #id:linuxmint_main 2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse 3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse 4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse 5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse 6: deb http://archive.canonical.com/ubuntu/ focal partner Info: Processes: 296 Uptime: 3h 33m Memory: 7.21 GiB used: 5.08 GiB (70.5%) Init: systemd v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Shell: bash v: 5.0.16 running in: xfce4-terminal inxi: 3.0.38
Linux-Compatible USB-C to HDMI Adapter
I recently purchased a Dell XPS 13 (9350) laptop, which lacks any dedicated video output ports but does have a USB-C port. This recent Skylake-based laptop is constantly gaining hardware compatibility with Linux with each kernel release, so almost as soon as a new kernel comes out I upgrade. Consequently I’m currently running Linux Kernel 4.6.2.
When I first installed Linux on this machine I believe I was running Kernel 3.19, and later I upgraded to 4.4. It wasn’t until I believe the 4.5 series before I could mount my USB-C Nexus 5X phone. At that point I figured it was time to buy a new USB-C peripheral to get an external display working.
I ended up purchasing this peripheral for $50 from Amazon:
Cable Matters USB-C to HDMI / VGA / Ethernet / USB Multiport 4K UHD Adapter (TB3 Compatible)
This device has four ports: Gigabit Ethernet, USB 3.0, VGA, and HDMI. It draws all the power it needs from the host via the single USB-C wire.
I’m currently typing this post on an external monitor attached to HDMI, using a keyboard simultaneously attached to the USB port. I haven’t tried using the Ethernet port, however I can confirm the device is displayed when running ifconfig. I also tried using the VGA port to and it worked as well. The monitor appears to be running at 60fps (and xrandr output lists it as 60fps).
This device is a sort of docking station; I can leave it at my desk attached to my monitor and a USB hub and only worry about plugging in power and the device when coming home.
I will say, though, that the device is a bit on the big and ugly side. What’s with the checkered pattern on top? Why not make it more squat and put ports on the side? Also, having a USB-C female port on the device would make for a great addition.
I also have no idea how this device performs with other USB-C computers, such as the Apple Macbook. I can only assume it works great, as the Macbook is currently the most popular consumer laptop with USB-C (though, charging would be impossible, lacking a USB-C female port).
Thomas has contributed to dozens of enterprise Node.js services and has worked for a company dedicated to securing Node.js. He has spoken at several conferences on Node.js and JavaScript, is an O’Reilly published author, and is an organizer of NodeSchool SF.
Thomas Hunter II
@tlhunter
I came here to kick ass, build web applications, and chew bubble gum. And I’m all out of gum.
Books I’ve Published
External
Side Projects
Arch Linux
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.
#2 2021-08-31 13:23:02
Lone_Wolf Member From: Netherlands, Europe Registered: 2005-10-04 Posts: 11,063
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.
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)