Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unable to use usb ports of Dell WD19TB Thunderbolt Dock
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
Jimmy2027
n00b
n00b


Joined: 12 May 2020
Posts: 42

PostPosted: Tue Sep 24, 2024 7:34 am    Post subject: Unable to use usb ports of Dell WD19TB Thunderbolt Dock Reply with quote

Some time ago (I'm not exactly sure when it happened since I didn't have time to debug it) my laptop stopped being able to connect to the usb and ethernet ports of my Dell WD19TB Thunderbolt Dock.
The same dock works perfectly fine with an ubuntu machine.
I'm running the distribution kernel: 6.10.8-gentoo-dist
Does someone have any idea if I might be missing some kernel configuration ?

This is what shows up in dmesg:
Code:
[  787.446815] usb 3-3: new high-speed USB device number 7 using xhci_hcd
[  788.526589] thunderbolt 0-0:3.1: new retimer found, vendor=0x8087 device=0x15ee
[  789.342415] thunderbolt 0-3: new device found, vendor=0xd4 device=0xb070
[  789.342429] thunderbolt 0-3: Dell WD19TB Thunderbolt Dock
Back to top
View user's profile Send private message
druggo
Guru
Guru


Joined: 24 Sep 2003
Posts: 302
Location: Hangzhou, China

PostPosted: Tue Sep 24, 2024 11:28 am    Post subject: Reply with quote

maybe its need CONFIG_USB4 ?
_________________
HighWayToHell(blog)
https://blog.druggo.org/
Back to top
View user's profile Send private message
Jimmy2027
n00b
n00b


Joined: 12 May 2020
Posts: 42

PostPosted: Tue Sep 24, 2024 12:26 pm    Post subject: Reply with quote

should be enabled:
Code:

grep CONFIG_USB4 /usr/src/linux/.config
CONFIG_USB4_NET=m
CONFIG_USB4=m
# CONFIG_USB4_DEBUGFS_WRITE is not set
# CONFIG_USB4_DMA_TEST is not set
Back to top
View user's profile Send private message
druggo
Guru
Guru


Joined: 24 Sep 2003
Posts: 302
Location: Hangzhou, China

PostPosted: Tue Sep 24, 2024 12:29 pm    Post subject: Reply with quote

since it works at Ubuntu, you can compare the modules on both sides, like
Code:
lsmod
lspci -k
dmesg

_________________
HighWayToHell(blog)
https://blog.druggo.org/
Back to top
View user's profile Send private message
Jimmy2027
n00b
n00b


Joined: 12 May 2020
Posts: 42

PostPosted: Tue Sep 24, 2024 7:32 pm    Post subject: Reply with quote

comparing the output of lsmod, these are the modules that are on the ubuntu machine but not on mine:
Code:

'usb_common', 'evdev', 'cryptd', 'intel_lpss', 'configfs', 'xhci_hcd', 'crc_t10dif', 'scsi_mod', 'jitterentropy_rng', 'rc_core', 'button', 't10_pi', 'nls_cp437', 'ext4', 'xhci_pci', 'scsi_common', 'nls_ascii', 'watchdog', 'intel_hid', 'snd_hrtimer', 'snd_seq_dummy', 'battery', 'ledtrig_audio', 'af_alg', 'ecdh_generic', 'drm', 'drbg', 'crct10dif_generic', 'hid_generic', 'acpi_tad', 'ac', 'jbd2', 'crct10dif_common', 'usbcore', 'aesni_intel', 'ecc', 'autofs4', 'algif_skcipher', 'intel_lpss_pci', 'usbhid', 'sha512_generic', 'parport_pc', 'loop', 'crypto_simd', 'crc16',
'crc64_rocksoft_generic', 'dm_crypt', 'snd_seq', 'msr', 'dm_mod', 'x_tables', 'hid', 'irqbypass', 'fan', 'crc32c_generic', 'ppdev', 'parport', 'qrtr', 'sd_mod', 'sparse_keymap', 'mbcache', 'asus_wmi', 'drm_kms_helper', 'ansi_cprng', 'crc64', 'ccm', 'crc64_rocksoft', 'algif_hash', 'snd_hda_codec_realtek', 'lp', 'ctr', 'efivarfs', 'efi_pstore', 'sg', 'platform_profile', 'ip_tables', 'roles', 'cmac'


not sure if any are related to this issue.
Will get the lspci output tomorrow.
Back to top
View user's profile Send private message
Jimmy2027
n00b
n00b


Joined: 12 May 2020
Posts: 42

PostPosted: Wed Sep 25, 2024 4:38 pm    Post subject: Reply with quote

this is the output of:
Code:
lspci -k
from the ubuntu machine: https://bpa.st/IO5XK and this is the one from gentoo machine: https://bpa.st/AUJ5M
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4887
Location: Bavaria

PostPosted: Wed Sep 25, 2024 6:48 pm    Post subject: Reply with quote

With Ubuntu you have two, with Gentoo only the first one:
Code:
00:0d.2 USB controller: Intel Corporation Raptor Lake-P Thunderbolt 4 NHI #0
   Subsystem: Framework Computer Inc. Device 0003
   Kernel driver in use: thunderbolt
   Kernel modules: thunderbolt
00:0d.3 USB controller: Intel Corporation Raptor Lake-P Thunderbolt 4 NHI #1
   Subsystem: Framework Computer Inc. Device 0003
   Kernel driver in use: thunderbolt
   Kernel modules: thunderbolt

Is this an additional Renesas xHCI controller ? If yes, try to enable CONFIG_USB_XHCI_PCI_RENESAS
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Jimmy2027
n00b
n00b


Joined: 12 May 2020
Posts: 42

PostPosted: Thu Sep 26, 2024 6:22 am    Post subject: Reply with quote

its the other way around, the gentoo machine has both, the ubuntu only the first one.
I couldn't find out which controller the framework13 has
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4887
Location: Bavaria

PostPosted: Thu Sep 26, 2024 11:42 am    Post subject: Reply with quote

Jimmy2027 wrote:
its the other way around, the gentoo machine has both, the ubuntu only the first one. [...]

I'm sorry - sometimes I get very confused. :oops:

Normally our Gentoo dist-kernel contains everything needed. If it runs with Ubuntu and not with our dist-kernel, you could compare both configurations (completely) and check for differences. Especially: differences in the built-in options (=everything that is not configured as <M>odule).
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
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