View previous topic :: View next topic |
Author |
Message |
Budoka l33t
Joined: 03 Jun 2012 Posts: 777 Location: Tokyo, Japan
|
Posted: Tue Mar 18, 2014 6:45 am Post subject: USB Kernel Options |
|
|
I am trying to clean up my kernel a little bit at a time and was wondering about the USB options.
I see in lspci that I have 3 USB Controller's. 2 EHCI and 1 "SuperSpeed" Controller.
Code: | # lspci |grep -i usb
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
04:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller
|
In my kernel I see that I have the following for EHCI:
Code: | $ cat /usr/src/linux-`uname -r`/.config | grep -i ehci
CONFIG_USB_ARCH_HAS_EHCI=y
CONFIG_USB_EHCI_HCD=y
# CONFIG_USB_EHCI_ROOT_HUB_TT is not set
# CONFIG_USB_EHCI_TT_NEWSCHED is not set
CONFIG_USB_EHCI_PCI=y
CONFIG_USB_EHCI_HCD_PLATFORM=m
|
As best I can make out this should be all good to handle my 2 EHCI controller's but I am not sure what handles my "Superspeed" controller.
This leaves OHCI, UHCI, XHCI remaining does anyone know which one handles "superspeed"? Also is it safe to remove the remaining options from my kernel? I don't see anything in lspci indicating that I have OHCI, UHCI, or XHCI on this box.
Code: | $ cat /usr/src/linux-`uname -r`/.config | grep -i ohci
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_HCD_PLATFORM=y
# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
# CONFIG_PROVIDE_OHCI1394_DMA_INIT is not set
|
Code: | $ cat /usr/src/linux-`uname -r`/.config | grep -i UHCI
CONFIG_USB_UHCI_HCD=y
|
Code: | $ cat /usr/src/linux-`uname -r`/.config | grep -i xhci
CONFIG_USB_ARCH_HAS_XHCI=y
CONFIG_USB_XHCI_HCD=y
CONFIG_USB_XHCI_HCD_DEBUGGING=y
|
Code: | cat /usr/src/linux-`uname -r`/.config | grep -i usb
http://bpaste.net/show/190270/ |
Thanks as always. |
|
Back to top |
|
|
aCOSwt Bodhisattva
Joined: 19 Oct 2007 Posts: 2537 Location: Hilbert space
|
Posted: Tue Mar 18, 2014 7:18 am Post subject: Re: USB Kernel Options |
|
|
Budoka wrote: | Code: | # lspci |grep -i usb |
|
From a general standpoint, note that lspci -v would tell you precisely which driver is actually attached to each device.
(Your syslogs can tell you that as well)
Budoka wrote: | I am not sure what handles my "Superspeed" controller. |
Check as suggested above, in the case of your device, I think it should be the XHCI. _________________
Last edited by aCOSwt on Tue Mar 18, 2014 9:36 am; edited 1 time in total |
|
Back to top |
|
|
GOS Tux's lil' helper
Joined: 09 Sep 2010 Posts: 102 Location: Germany
|
Posted: Tue Mar 18, 2014 7:56 am Post subject: |
|
|
I think it would be useful to boot with a Gentoo-Live-CD and then make a "lspci -k" to view the kerneldrivers in use. Then choose the same in your own kernel.
My machine uses also XHCI for SuperSpeed ports.
Best regards
GOS |
|
Back to top |
|
|
|