Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DELL XPS13 USB type-c port not working
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
davidshen84
Guru
Guru


Joined: 09 Aug 2008
Posts: 314

PostPosted: Wed Feb 08, 2017 12:18 pm    Post subject: DELL XPS13 USB type-c port not working Reply with quote

Hi,

`uname -a`:

Linux XPS13 4.9.7-gentoo #1 SMP Sat Feb 4 08:58:07 CST 2017 x86_64 Intel(R) Core(TM) i7-6560U CPU @ 2.20GHz GenuineIntel GNU/Linux

I have a USB thumb drive with dual ports. One usb 3 port, one use type-c port. When I plug it into the usb 3 port, my system can recognize it. But if I plug it into the type-c port, nothing happens. dmesg shows nothing. It seems the system does not recognize the usb type-c port at all.

I think I have missed some options in the kernel. But I could not figure it out.

I have also updated my BIOS to the latest.


Thanks,
David
_________________
David Shen
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Wed Feb 08, 2017 12:36 pm    Post subject: Reply with quote

Verify with "lspci -k" that all your USB controllers have a kernel driver in use.

Possibly your kernel is missing a driver for the controller which is connected to the USB Type C port.
Back to top
View user's profile Send private message
davidshen84
Guru
Guru


Joined: 09 Aug 2008
Posts: 314

PostPosted: Thu Feb 09, 2017 7:11 am    Post subject: Reply with quote

Sure, some kernel driver is missing. But which one? I have selected all I can think of. I do not want to enable all the kernel options...
_________________
David Shen
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30915
Location: here

PostPosted: Thu Feb 09, 2017 7:53 am    Post subject: Reply with quote

davidshen84 wrote:
Sure, some kernel driver is missing. But which one? I have selected all I can think of. I do not want to enable all the kernel options...

You have this enabled in your kernel?
Code:
   Symbol: UCSI [=n]   
   Type  : tristate                                 
   Prompt: USB Type-C Connector System Software Interface driver
     Location:                                     
       -> Device Drivers   
   (1)   -> USB support (USB_SUPPORT [=y])         
     Defined at drivers/usb/misc/Kconfig:270 
     Depends on: USB_SUPPORT [=y] && USB [=y] && ACPI [=y]

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Thu Feb 09, 2017 7:56 am    Post subject: Reply with quote

davidshen84 wrote:
Sure, some kernel driver is missing. But which one? ...
To find the driver you need to know the device. There is good chance lshw marks it as UNCLAIMED.
Back to top
View user's profile Send private message
davidshen84
Guru
Guru


Joined: 09 Aug 2008
Posts: 314

PostPosted: Fri Feb 10, 2017 12:53 am    Post subject: Reply with quote

fedeliallalinea wrote:
davidshen84 wrote:
Sure, some kernel driver is missing. But which one? I have selected all I can think of. I do not want to enable all the kernel options...

You have this enabled in your kernel?
Code:
   Symbol: UCSI [=n]   
   Type  : tristate                                 
   Prompt: USB Type-C Connector System Software Interface driver
     Location:                                     
       -> Device Drivers   
   (1)   -> USB support (USB_SUPPORT [=y])         
     Defined at drivers/usb/misc/Kconfig:270 
     Depends on: USB_SUPPORT [=y] && USB [=y] && ACPI [=y]


Yes, it is checked.


One interesting thing I just found. If I plug in the usb type-c drive in before I boot the system, the system can see the device and can access the content. But if I unplug it, then plug it back, nothing happens. Apparently, the system only try to detect usb type-c device during boot. But why?
_________________
David Shen
Back to top
View user's profile Send private message
GrayTShirt
n00b
n00b


Joined: 17 Aug 2011
Posts: 5

PostPosted: Thu Feb 23, 2017 9:38 pm    Post subject: Reply with quote

You may need to enable PCI hotplug support https://wiki.gentoo.org/wiki/Dell_XPS_13_9360#USB_Type-C_and_Thunderbolt
Back to top
View user's profile Send private message
davidshen84
Guru
Guru


Joined: 09 Aug 2008
Posts: 314

PostPosted: Sat Feb 25, 2017 2:28 am    Post subject: Reply with quote

Thanks, that really helps.
_________________
David Shen
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