Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB Kernel Options
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
Budoka
l33t
l33t


Joined: 03 Jun 2012
Posts: 777
Location: Tokyo, Japan

PostPosted: Tue Mar 18, 2014 6:45 am    Post subject: USB Kernel Options Reply with quote

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
View user's profile Send private message
aCOSwt
Bodhisattva
Bodhisattva


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Tue Mar 18, 2014 7:18 am    Post subject: Re: USB Kernel Options Reply with quote

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
View user's profile Send private message
GOS
Tux's lil' helper
Tux's lil' helper


Joined: 09 Sep 2010
Posts: 102
Location: Germany

PostPosted: Tue Mar 18, 2014 7:56 am    Post subject: Reply with quote

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
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