USB

From Gentoo Wiki
Jump to:navigation Jump to:search
Resources

This article describes the setup of USB (Universal Serial Bus) controllers.

Installation

Hardware detection

To choose the right driver, first detect the used USB controllers. The lspci utility works nicely for this task:

root #lspci | grep --color -i usb

Kernel

See the kernel section of the USB guide and the USB host controllers section of the Kernel configuration guide.

Portage

Portage knows the usb USE flag. Some packages include or exclude support for USB based on this flag. As with all USE flags, can be set as a value of the USE variable in /etc/portage/make.conf or in /etc/portage/package.use.

Emerge

Install the sys-apps/usbutils package, if it is not already installed by adding the usb USE flag and re-running emerge with --changed-use:

root #emerge --ask sys-apps/usbutils