Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

USB-C no monitor working at all

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
Spargeltarzan
Guru
Guru
Posts: 328
Joined: Sun Jul 23, 2017 12:46 pm

USB-C no monitor working at all

  • Quote

Post by Spargeltarzan » Sat Nov 25, 2023 8:09 pm

Dear community,

I am with my notebook on Gentoo since 2017 and from time to time due to a kernel upgrade my USB-C monitor connection breaks.
I accepted this for some months now since I wasn't able to fix it quickly, but now I invested many hours without success. No connection directly USB-C to USB-C monitor, my kensington hub is not working, a little usb-c to hdmi cable not and also not a Thinkpad dock. I feel lost - worked through every little section of the handbook, etc. for USB-C, etc. but can't find my mistake.

Booting windows my Thinkpad Dock works, booting a fedora live stick to check its drivers, not at all. Can't test for the kensington/USB-C cable for today from fedora, but I believe I miss quite a important option since nothing at all is working.

Could you please support me?

Regards
Spargeltarzan
___________________
Regards

Spargeltarzan

Notebook: Lenovo YOGA 900-13ISK: Gentoo stable amd64, GNOME systemd, KVM/QEMU
Desktop-PC: Intel Core i7-4770K, 8GB Ram, AMD Radeon R9 280X, ZFS Storage, GNOME openrc, Dantrell, Xen
Top
pietinger
Moderator
Moderator
Posts: 6607
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Sun Nov 26, 2023 12:30 am

Do you have this in your kernel .config ?

Code: Select all

Device Drivers  --->
        [*]   USB Type-C Support  --->
            [*]   USB Type-C Port Controller Manager
        USB Type-C Alternate Mode drivers  --->
            [*] DisplayPort Alternate Mode driver
(Usually you will need also PCI Hotplugging for Type-C. See: https://wiki.gentoo.org/wiki/USB/Guide# ... hunderbolt )
https://wiki.gentoo.org/wiki/User:Pietinger --> https://wiki.gentoo.org/wiki/User:Pieti ... _at_Gentoo
Top
Spargeltarzan
Guru
Guru
Posts: 328
Joined: Sun Jul 23, 2017 12:46 pm

  • Quote

Post by Spargeltarzan » Sun Nov 26, 2023 8:33 am

Thank you for your support!

Yes I activated everything under USB Type-C Support (directly into the kernel "*") and I also activated HOTPLUG_PCI_ACPI and HOTPLUG_PCI_PCIE.


I have attached a wgetpaste of

Code: Select all

cat /usr/src/linux/.config | grep USB
https://bpa.st/J53A

and

Code: Select all

cat /usr/src/linux/.config | grep PCI
https://bpa.st/F25A

and

Code: Select all

lenovo-yoga ~ # lspci -k
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers (rev 08)
	Subsystem: Lenovo Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers
	Kernel driver in use: skl_uncore
00:02.0 VGA compatible controller: Intel Corporation Skylake GT2 [HD Graphics 520] (rev 07)
	Subsystem: Lenovo Skylake GT2 [HD Graphics 520]
	Kernel driver in use: i915
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 08)
	Subsystem: Lenovo Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem
	Kernel driver in use: proc_thermal
	Kernel modules: processor_thermal_device_pci_legacy
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
	Subsystem: Lenovo Sunrise Point-LP USB 3.0 xHCI Controller
	Kernel driver in use: xhci_hcd
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
	Subsystem: Lenovo Sunrise Point-LP Thermal subsystem
	Kernel driver in use: intel_pch_thermal
	Kernel modules: intel_pch_thermal
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
	Subsystem: Lenovo Sunrise Point-LP Serial IO I2C Controller
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
	Subsystem: Lenovo Sunrise Point-LP Serial IO I2C Controller
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci
00:15.3 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #3 (rev 21)
	Subsystem: Lenovo Sunrise Point-LP Serial IO I2C Controller
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
	Subsystem: Lenovo Sunrise Point-LP CSME HECI
	Kernel driver in use: mei_me
	Kernel modules: mei_me
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
	Subsystem: Lenovo Sunrise Point-LP SATA Controller [AHCI mode]
	Kernel driver in use: ahci
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
	Subsystem: Lenovo Sunrise Point-LP PCI Express Root Port
	Kernel driver in use: pcieport
00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1)
	Subsystem: Lenovo Sunrise Point-LP PCI Express Root Port
	Kernel driver in use: pcieport
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-LP LPC Controller (rev 21)
	Subsystem: Lenovo Sunrise Point-LP LPC Controller
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
	Subsystem: Lenovo Sunrise Point-LP PMC
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
	Subsystem: Lenovo Sunrise Point-LP HD Audio
	Kernel driver in use: snd_hda_intel
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
	Subsystem: Lenovo Sunrise Point-LP SMBus
	Kernel driver in use: i801_smbus
01:00.0 Network controller: Intel Corporation Wireless 8260 (rev 3a)
	Subsystem: Intel Corporation Wireless 8260
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi
02:00.0 SD Host controller: O2 Micro, Inc. Device 8620 (rev 01)
	Subsystem: Lenovo Device 3800
	Kernel driver in use: sdhci-pci
Should I provide any other config file?
Can it be there might be incompatibilities when something is compiled as a module or directly into the kernel?
___________________
Regards

Spargeltarzan

Notebook: Lenovo YOGA 900-13ISK: Gentoo stable amd64, GNOME systemd, KVM/QEMU
Desktop-PC: Intel Core i7-4770K, 8GB Ram, AMD Radeon R9 280X, ZFS Storage, GNOME openrc, Dantrell, Xen
Top
pietinger
Moderator
Moderator
Posts: 6607
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Sun Nov 26, 2023 11:35 am

Spargeltarzan wrote:Should I provide any other config file?
Can it be there might be incompatibilities when something is compiled as a module or directly into the kernel?
Maybe we need your complete kernel .config.
Yes, this is always possible (often with sound), but i don't think it's the problem here. To be on the safe side, you can embed this statically:

Code: Select all

CONFIG_MFD_INTEL_LPSS_PCI=m

CONFIG_PWM_LPSS_PCI=m
I have seen this:

Code: Select all

CONFIG_I2C_DESIGNWARE_PCI=m
and this:

Code: Select all

# PCI controller drivers
# DesignWare PCI Core Support
# CONFIG_PCIE_DW_PLAT_HOST is not set
# CONFIG_PCI_MESON is not set
# end of DesignWare PCI Core Support
Do you really have a DESINGWARE PCI controller ? (is I2C_DESIGNWARE active as module?) If yes, I would recommend to enable also:

Code: Select all

Device Drivers  --->
    [*] PCI support  --->
        PCI controller drivers  --->
            DesignWare PCI Core Support  --->
                [*] Platform bus based DesignWare PCIe Controller - Host mode
Everything else looks fine for me. So, maybe something has gotten broke (if it has worked before and you have used the same kernel config before) ?

What you can always do is:
1. Boot with UbuntuLiveCD and check if all works
2. If YES, then check with "dmesg" and "lsmod" the system boot AND what you get after connecting your display to USB-C
Maybe we need then also these both (from Ubuntu) AND a "dmesg" from your Gentoo system (to be able to compare everything; SystemBoot AND after connecting display).
https://wiki.gentoo.org/wiki/User:Pietinger --> https://wiki.gentoo.org/wiki/User:Pieti ... _at_Gentoo
Top
Spargeltarzan
Guru
Guru
Posts: 328
Joined: Sun Jul 23, 2017 12:46 pm

  • Quote

Post by Spargeltarzan » Mon Nov 27, 2023 4:30 pm

Thanks for your support!
pietinger wrote:

Code: Select all

CONFIG_MFD_INTEL_LPSS_PCI=m
CONFIG_PWM_LPSS_PCI=m[
I compiled it directly into the kernel.
pietinger wrote: I have seen this:

Code: Select all

CONFIG_I2C_DESIGNWARE_PCI=m
and this:

Code: Select all

# PCI controller drivers
# DesignWare PCI Core Support
# CONFIG_PCIE_DW_PLAT_HOST is not set
# CONFIG_PCI_MESON is not set
# end of DesignWare PCI Core Support
Do you really have a DESINGWARE PCI controller ? (is I2C_DESIGNWARE active as module?) If yes, I would recommend to enable also:

Code: Select all

Device Drivers  --->
    [*] PCI support  --->
        PCI controller drivers  --->
            DesignWare PCI Core Support  --->
                [*] Platform bus based DesignWare PCIe Controller - Host mode
I believe I don't have a DESIGNWARE PCI controller, I have a Lenovo Yoga 900 notebook.
pietinger wrote: What you can always do is:
1. Boot with UbuntuLiveCD and check if all works
2. If YES, then check with "dmesg" and "lsmod" the system boot AND what you get after connecting your display to USB-C
Maybe we need then also these both (from Ubuntu) AND a "dmesg" from your Gentoo system (to be able to compare everything; SystemBoot AND after connecting display).
I realised now, my little OWC USB-C hub to HDMI/SD-Cards/network/etc. is working, my monitor shows a screen when I am connecting it using a HDMI cable to the hub.

But my monitor shows no screen, when I connect it directly to USB-C from its USB-C port with USB-C cable. (Yes this cable is actually a good one, supports even charging 60W).
It also doesn't work from a Fedora live stick. Same for the Thinkpad Dock, it doesn't work in Fedora.
It is a ThinkPad Hybrid USB -C mit USB -A- Dock.

https://wiki.gentoo.org/wiki/DisplayLink I also tried setting fbdev in VIDEO_CARDS in /etc/portage/make.conf. Will this really be necessary? It looks like the DisplayLink wiki plays around with the xorg configs which I didn't touch for many years - I believe this is a obsolete approach. I reverted again and removed fbdev from VIDEO_CARDS again.

So we have my Thinkpad-Dock and a normal USB-C cable what remains not working. Any ideas? Both isn't working in the Fedora live stick neither.
___________________
Regards

Spargeltarzan

Notebook: Lenovo YOGA 900-13ISK: Gentoo stable amd64, GNOME systemd, KVM/QEMU
Desktop-PC: Intel Core i7-4770K, 8GB Ram, AMD Radeon R9 280X, ZFS Storage, GNOME openrc, Dantrell, Xen
Top
pietinger
Moderator
Moderator
Posts: 6607
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Mon Nov 27, 2023 5:57 pm

Spargeltarzan wrote:Thanks for your support!
You are very Welcome ! :D
Spargeltarzan wrote:I realised now, my little OWC USB-C hub to HDMI/SD-Cards/network/etc. is working, my monitor shows a screen when I am connecting it using a HDMI cable to the hub.

But my monitor shows no screen, when I connect it directly to USB-C from its USB-C port with USB-C cable. (Yes this cable is actually a good one, supports even charging 60W).
It also doesn't work from a Fedora live stick. Same for the Thinkpad Dock, it doesn't work in Fedora.
It is a ThinkPad Hybrid USB -C mit USB -A- Dock.
[...]
So we have my Thinkpad-Dock and a normal USB-C cable what remains not working. Any ideas? Both isn't working in the Fedora live stick neither.
If it doesn't work with (the latest) UbuntuLiveCD either, I'm afraid that either a BIOS setting is preventing it, or the USB-C cable is wrong, or it doesn't work by design (==your monitor supports only HDMI and DisplayPort and uses USB-C only to be a hub for other devices; but not for connecting as monitor). I am sorry I could not help you further. :(
Spargeltarzan wrote:https://wiki.gentoo.org/wiki/DisplayLink I also tried setting fbdev in VIDEO_CARDS in /etc/portage/make.conf. Will this really be necessary? It looks like the DisplayLink wiki plays around with the xorg configs which I didn't touch for many years - I believe this is a obsolete approach. I reverted again and removed fbdev from VIDEO_CARDS again.
AFAIK DisplayLink was (is?) a solution for USB 2.0.
Last edited by pietinger on Mon Nov 27, 2023 6:31 pm, edited 1 time in total.
https://wiki.gentoo.org/wiki/User:Pietinger --> https://wiki.gentoo.org/wiki/User:Pieti ... _at_Gentoo
Top
pietinger
Moderator
Moderator
Posts: 6607
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Mon Nov 27, 2023 6:29 pm

Moved from Portage & Programming to Kernel & Hardware.
https://wiki.gentoo.org/wiki/User:Pietinger --> https://wiki.gentoo.org/wiki/User:Pieti ... _at_Gentoo
Top
Spargeltarzan
Guru
Guru
Posts: 328
Joined: Sun Jul 23, 2017 12:46 pm

  • Quote

Post by Spargeltarzan » Wed Nov 29, 2023 7:12 pm

pietinger wrote:
If it doesn't work with (the latest) UbuntuLiveCD either, I'm afraid that either a BIOS setting is preventing it, or the USB-C cable is wrong, or it doesn't work by design (==your monitor supports only HDMI and DisplayPort and uses USB-C only to be a hub for other devices; but not for connecting as monitor). I am sorry I could not help you further. :(
I can confirm my USB-C port of my monitor doesn't work from my Windows dualboot or UbuntuLiveCD neither. I believe there is some kind of hardware defect in my monitor since I am very sure there was a time when it worked. Well that is not that important anyway.

I am also happy that my kensington hub also works now. So the only software issue remaining is the Thinkpad USB Dock (ThinkPad Hybrid USB -C mit USB -A- Dock) which I would love to use regularly. I have time to test this with the UbuntuLiveCD in some days. I read in forums about people using it with Linux...I will let you know! :)
___________________
Regards

Spargeltarzan

Notebook: Lenovo YOGA 900-13ISK: Gentoo stable amd64, GNOME systemd, KVM/QEMU
Desktop-PC: Intel Core i7-4770K, 8GB Ram, AMD Radeon R9 280X, ZFS Storage, GNOME openrc, Dantrell, Xen
Top
grknight
Retired Dev
Retired Dev
Posts: 2549
Joined: Fri Feb 20, 2015 9:36 pm

  • Quote

Post by grknight » Wed Nov 29, 2023 7:24 pm

Make sure you have a USB-C cable that is of decent quality as cheap ones may only connect the power pins.
It should be rated for video or Thunderbolt.

Edit: also look for CONFIG_USB4 in the kernel, but this is primarily for Intel Falcon Ridge or newer PCs

Edit 2: Not all USB-C ports are the same. It should be DisplayPort or Thunderbolt compatible to have enough bandwidth for video. Some USB-C connections are USB-2 only.
Top
Post Reply

9 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy