Kconfig 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. #
  2. # USB Core configuration
  3. #
  4. config USB_DEBUG
  5. bool "USB verbose debug messages"
  6. depends on USB
  7. help
  8. Say Y here if you want the USB core & hub drivers to produce a bunch
  9. of debug messages to the system log. Select this if you are having a
  10. problem with USB support and want to see more of what is going on.
  11. config USB_ANNOUNCE_NEW_DEVICES
  12. bool "USB announce new devices"
  13. depends on USB
  14. default N
  15. help
  16. Say Y here if you want the USB core to always announce the
  17. idVendor, idProduct, Manufacturer, Product, and SerialNumber
  18. strings for every new USB device to the syslog. This option is
  19. usually used by distro vendors to help with debugging and to
  20. let users know what specific device was added to the machine
  21. in what location.
  22. If you do not want this kind of information sent to the system
  23. log, or have any doubts about this, say N here.
  24. comment "Miscellaneous USB options"
  25. depends on USB
  26. config USB_DEVICE_CLASS
  27. bool "USB device class-devices (DEPRECATED)"
  28. depends on USB
  29. default y
  30. ---help---
  31. Userspace access to USB devices is granted by device-nodes exported
  32. directly from the usbdev in sysfs. Old versions of the driver
  33. core and udev needed additional class devices to export device nodes.
  34. These additional devices are difficult to handle in userspace, if
  35. information about USB interfaces must be available. One device
  36. contains the device node, the other device contains the interface
  37. data. Both devices are at the same level in sysfs (siblings) and one
  38. can't access the other. The device node created directly by the
  39. usb device is the parent device of the interface and therefore
  40. easily accessible from the interface event.
  41. This option provides backward compatibility for libusb device
  42. nodes (lsusb) when usbfs is not used, and the following udev rule
  43. doesn't exist:
  44. SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", \
  45. NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0644"
  46. config USB_DYNAMIC_MINORS
  47. bool "Dynamic USB minor allocation"
  48. depends on USB
  49. help
  50. If you say Y here, the USB subsystem will use dynamic minor
  51. allocation for any device that uses the USB major number.
  52. This means that you can have more than 16 of a single type
  53. of device (like USB printers).
  54. If you are unsure about this, say N here.
  55. config USB_SUSPEND
  56. bool "USB runtime power management (autosuspend) and wakeup"
  57. depends on USB && PM_RUNTIME
  58. help
  59. If you say Y here, you can use driver calls or the sysfs
  60. "power/control" file to enable or disable autosuspend for
  61. individual USB peripherals (see
  62. Documentation/usb/power-management.txt for more details).
  63. Also, USB "remote wakeup" signaling is supported, whereby some
  64. USB devices (like keyboards and network adapters) can wake up
  65. their parent hub. That wakeup cascades up the USB tree, and
  66. could wake the system from states like suspend-to-RAM.
  67. If you are unsure about this, say N here.
  68. config USB_OTG
  69. bool "OTG support"
  70. depends on USB && EXPERIMENTAL
  71. depends on USB_SUSPEND
  72. default n
  73. help
  74. The most notable feature of USB OTG is support for a
  75. "Dual-Role" device, which can act as either a device
  76. or a host. The initial role is decided by the type of
  77. plug inserted and can be changed later when two dual
  78. role devices talk to each other.
  79. Select this only if your board has Mini-AB/Micro-AB
  80. connector.
  81. config USB_OTG_WHITELIST
  82. bool "Rely on OTG Targeted Peripherals List"
  83. depends on USB_OTG || EXPERT
  84. default y if USB_OTG
  85. default n if EXPERT
  86. help
  87. If you say Y here, the "otg_whitelist.h" file will be used as a
  88. product whitelist, so USB peripherals not listed there will be
  89. rejected during enumeration. This behavior is required by the
  90. USB OTG specification for all devices not on your product's
  91. "Targeted Peripherals List". "Embedded Hosts" are likewise
  92. allowed to support only a limited number of peripherals.
  93. Otherwise, peripherals not listed there will only generate a
  94. warning and enumeration will continue. That's more like what
  95. normal Linux-USB hosts do (other than the warning), and is
  96. convenient for many stages of product development.
  97. config USB_OTG_BLACKLIST_HUB
  98. bool "Disable external hubs"
  99. depends on USB_OTG || EXPERT
  100. help
  101. If you say Y here, then Linux will refuse to enumerate
  102. external hubs. OTG hosts are allowed to reduce hardware
  103. and software costs by not supporting external hubs. So
  104. are "Embedded Hosts" that don't offer OTG support.