Kconfig 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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_DYNAMIC_MINORS
  27. bool "Dynamic USB minor allocation"
  28. depends on USB
  29. help
  30. If you say Y here, the USB subsystem will use dynamic minor
  31. allocation for any device that uses the USB major number.
  32. This means that you can have more than 16 of a single type
  33. of device (like USB printers).
  34. If you are unsure about this, say N here.
  35. config USB_SUSPEND
  36. bool "USB runtime power management (autosuspend) and wakeup"
  37. depends on USB && PM_RUNTIME
  38. help
  39. If you say Y here, you can use driver calls or the sysfs
  40. "power/control" file to enable or disable autosuspend for
  41. individual USB peripherals (see
  42. Documentation/usb/power-management.txt for more details).
  43. Also, USB "remote wakeup" signaling is supported, whereby some
  44. USB devices (like keyboards and network adapters) can wake up
  45. their parent hub. That wakeup cascades up the USB tree, and
  46. could wake the system from states like suspend-to-RAM.
  47. If you are unsure about this, say N here.
  48. config USB_OTG
  49. bool "OTG support"
  50. depends on USB
  51. depends on USB_SUSPEND
  52. default n
  53. help
  54. The most notable feature of USB OTG is support for a
  55. "Dual-Role" device, which can act as either a device
  56. or a host. The initial role is decided by the type of
  57. plug inserted and can be changed later when two dual
  58. role devices talk to each other.
  59. Select this only if your board has Mini-AB/Micro-AB
  60. connector.
  61. config USB_OTG_WHITELIST
  62. bool "Rely on OTG Targeted Peripherals List"
  63. depends on USB_OTG || EXPERT
  64. default y if USB_OTG
  65. help
  66. If you say Y here, the "otg_whitelist.h" file will be used as a
  67. product whitelist, so USB peripherals not listed there will be
  68. rejected during enumeration. This behavior is required by the
  69. USB OTG specification for all devices not on your product's
  70. "Targeted Peripherals List". "Embedded Hosts" are likewise
  71. allowed to support only a limited number of peripherals.
  72. Otherwise, peripherals not listed there will only generate a
  73. warning and enumeration will continue. That's more like what
  74. normal Linux-USB hosts do (other than the warning), and is
  75. convenient for many stages of product development.
  76. config USB_OTG_BLACKLIST_HUB
  77. bool "Disable external hubs"
  78. depends on USB_OTG || EXPERT
  79. help
  80. If you say Y here, then Linux will refuse to enumerate
  81. external hubs. OTG hosts are allowed to reduce hardware
  82. and software costs by not supporting external hubs. So
  83. are "Embedded Hosts" that don't offer OTG support.