# SPDX-License-Identifier: GPL-2.0
#
# [31mCONFIG_USB[0m Core configuration
#
config [31mCONFIG_USB_ANNOUNCE_NEW_DEVICES[0m
bool "USB announce new devices"
help
Say Y here if you want the [31mCONFIG_USB[0m core to always announce the
idVendor, idProduct, Manufacturer, Product, and SerialNumber
strings for every new [31mCONFIG_USB[0m device to the syslog. This option is
usually used by distro vendors to help with debugging and to
let users know what specific device was added to the machine
in what location.
If you do not want this kind of information sent to the system
log, or have any doubts about this, say N here.
comment "Miscellaneous USB options"
config [31mCONFIG_USB_DEFAULT_PERSIST[0m
bool "Enable USB persist by default"
default y
help
Say N here if you don't want [31mCONFIG_USB[0m power session persistence
enabled by default. If you say N it will make suspended [31mCONFIG_USB[0m
devices that lose power get reenumerated as if they had been
unplugged, causing any mounted filesystems to be lost. The
persist feature can still be enabled for individual devices
through the power/persist sysfs node. See
Documentation/driver-api/usb/persist.rst for more info.
If you have any questions about this, say Y here, only say N
if you know exactly what you are doing.
config [31mCONFIG_USB_DYNAMIC_MINORS[0m
bool "Dynamic USB minor allocation"
help
If you say Y here, the [31mCONFIG_USB[0m subsystem will use dynamic minor
allocation for any device that uses the [31mCONFIG_USB[0m major number.
This means that you can have more than 16 of a single type
of device (like [31mCONFIG_USB[0m printers).
If you are unsure about this, say N here.
config [31mCONFIG_USB_OTG[0m
bool "OTG support"
depends on [31mCONFIG_PM[0m
help
The most notable feature of [31mCONFIG_USB[0m OTG is support for a
"Dual-Role" device, which can act as either a device
or a host. The initial role is decided by the type of
plug inserted and can be changed later when two dual
role devices talk to each other.
Select this only if your board has Mini-AB/Micro-AB
connector.
config [31mCONFIG_USB_OTG_WHITELIST[0m
bool "Rely on OTG and EH Targeted Peripherals List"
depends on [31mCONFIG_USB[0m
help
If you say Y here, the "otg_whitelist.h" file will be used as a
product whitelist, so [31mCONFIG_USB[0m peripherals not listed there will be
rejected during enumeration. This behavior is required by the
[31mCONFIG_USB[0m OTG and EH specification for all devices not on your product's
"Targeted Peripherals List". "Embedded Hosts" are likewise
allowed to support only a limited number of peripherals.
config [31mCONFIG_USB_OTG_BLACKLIST_HUB[0m
bool "Disable external hubs"
depends on [31mCONFIG_USB_OTG[0m || [31mCONFIG_EXPERT[0m
help
If you say Y here, then Linux will refuse to enumerate
external hubs. OTG hosts are allowed to reduce hardware
and software costs by not supporting external hubs. So
are "Embedded Hosts" that don't offer OTG support.
config [31mCONFIG_USB_OTG_FSM[0m
tristate "USB 2.0 OTG FSM implementation"
depends on [31mCONFIG_USB[0m && [31mCONFIG_USB_OTG[0m
select [31mCONFIG_USB_PHY[0m
help
Implements OTG Finite State Machine as specified in On-The-Go
and Embedded Host Supplement to the [31mCONFIG_USB[0m Revision 2.0 Specification.
config [31mCONFIG_USB_LEDS_TRIGGER_USBPORT[0m
tristate "USB port LED trigger"
depends on [31mCONFIG_USB[0m && [31mCONFIG_LEDS_TRIGGERS[0m
help
This driver allows LEDs to be controlled by [31mCONFIG_USB[0m events. Enabling this
trigger allows specifying list of [31mCONFIG_USB[0m ports that should turn on LED
when some [31mCONFIG_USB[0m device gets connected.
config [31mCONFIG_USB_AUTOSUSPEND_DELAY[0m
int "Default autosuspend delay"
depends on [31mCONFIG_USB[0m
default 2
help
The default autosuspend delay in seconds. Can be overridden
with the usbcore.autosuspend command line or module parameter.
The default value Linux has always had is 2 seconds. Change
this value if you want a different delay and cannot modify
the command line or module parameter.