2005-04-17 05:20:36 +07:00
|
|
|
#
|
|
|
|
# USB Core configuration
|
|
|
|
#
|
|
|
|
config USB_DEBUG
|
|
|
|
bool "USB verbose debug messages"
|
|
|
|
depends on USB
|
|
|
|
help
|
|
|
|
Say Y here if you want the USB core & hub drivers to produce a bunch
|
|
|
|
of debug messages to the system log. Select this if you are having a
|
|
|
|
problem with USB support and want to see more of what is going on.
|
|
|
|
|
2007-11-27 13:11:55 +07:00
|
|
|
config USB_ANNOUNCE_NEW_DEVICES
|
|
|
|
bool "USB announce new devices"
|
|
|
|
depends on USB
|
|
|
|
default N
|
|
|
|
help
|
|
|
|
Say Y here if you want the USB core to always announce the
|
|
|
|
idVendor, idProduct, Manufacturer, Product, and SerialNumber
|
|
|
|
strings for every new USB 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.
|
|
|
|
|
2005-04-17 05:20:36 +07:00
|
|
|
comment "Miscellaneous USB options"
|
|
|
|
depends on USB
|
|
|
|
|
|
|
|
config USB_DYNAMIC_MINORS
|
2008-03-08 15:12:44 +07:00
|
|
|
bool "Dynamic USB minor allocation"
|
|
|
|
depends on USB
|
2005-04-17 05:20:36 +07:00
|
|
|
help
|
|
|
|
If you say Y here, the USB subsystem will use dynamic minor
|
|
|
|
allocation for any device that uses the USB major number.
|
|
|
|
This means that you can have more than 16 of a single type
|
|
|
|
of device (like USB printers).
|
|
|
|
|
|
|
|
If you are unsure about this, say N here.
|
|
|
|
|
|
|
|
config USB_OTG
|
2010-12-16 16:02:24 +07:00
|
|
|
bool "OTG support"
|
2012-09-15 11:15:50 +07:00
|
|
|
depends on USB
|
2010-03-29 18:24:51 +07:00
|
|
|
depends on USB_SUSPEND
|
2005-04-17 05:20:36 +07:00
|
|
|
default n
|
2010-12-16 16:02:24 +07:00
|
|
|
help
|
|
|
|
The most notable feature of USB 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.
|
2005-04-17 05:20:36 +07:00
|
|
|
|
|
|
|
config USB_OTG_WHITELIST
|
|
|
|
bool "Rely on OTG Targeted Peripherals List"
|
2011-01-21 05:44:16 +07:00
|
|
|
depends on USB_OTG || EXPERT
|
2008-03-06 14:17:38 +07:00
|
|
|
default y if USB_OTG
|
2005-04-17 05:20:36 +07:00
|
|
|
help
|
|
|
|
If you say Y here, the "otg_whitelist.h" file will be used as a
|
|
|
|
product whitelist, so USB peripherals not listed there will be
|
|
|
|
rejected during enumeration. This behavior is required by the
|
|
|
|
USB OTG specification for all devices not on your product's
|
2008-03-06 14:17:38 +07:00
|
|
|
"Targeted Peripherals List". "Embedded Hosts" are likewise
|
|
|
|
allowed to support only a limited number of peripherals.
|
2005-04-17 05:20:36 +07:00
|
|
|
|
|
|
|
Otherwise, peripherals not listed there will only generate a
|
|
|
|
warning and enumeration will continue. That's more like what
|
|
|
|
normal Linux-USB hosts do (other than the warning), and is
|
|
|
|
convenient for many stages of product development.
|
|
|
|
|
2006-04-03 01:18:09 +07:00
|
|
|
config USB_OTG_BLACKLIST_HUB
|
|
|
|
bool "Disable external hubs"
|
2011-01-21 05:44:16 +07:00
|
|
|
depends on USB_OTG || EXPERT
|
2006-04-03 01:18:09 +07:00
|
|
|
help
|
|
|
|
If you say Y here, then Linux will refuse to enumerate
|
|
|
|
external hubs. OTG hosts are allowed to reduce hardware
|
2008-03-06 14:17:38 +07:00
|
|
|
and software costs by not supporting external hubs. So
|
2008-09-08 15:14:47 +07:00
|
|
|
are "Embedded Hosts" that don't offer OTG support.
|
2005-04-17 05:20:36 +07:00
|
|
|
|