Kconfig 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. comment "Miscellaneous USB options"
  12. depends on USB
  13. config USB_DEVICEFS
  14. bool "USB device filesystem"
  15. depends on USB
  16. ---help---
  17. If you say Y here (and to "/proc file system support" in the "File
  18. systems" section, above), you will get a file /proc/bus/usb/devices
  19. which lists the devices currently connected to your USB bus or
  20. busses, and for every connected device a file named
  21. "/proc/bus/usb/xxx/yyy", where xxx is the bus number and yyy the
  22. device number; the latter files can be used by user space programs
  23. to talk directly to the device. These files are "virtual", meaning
  24. they are generated on the fly and not stored on the hard drive.
  25. You may need to mount the usbfs file system to see the files, use
  26. mount -t usbfs none /proc/bus/usb
  27. For the format of the various /proc/bus/usb/ files, please read
  28. <file:Documentation/usb/proc_usb_info.txt>.
  29. Most users want to say Y here.
  30. config USB_DYNAMIC_MINORS
  31. bool "Dynamic USB minor allocation (EXPERIMENTAL)"
  32. depends on USB && EXPERIMENTAL
  33. help
  34. If you say Y here, the USB subsystem will use dynamic minor
  35. allocation for any device that uses the USB major number.
  36. This means that you can have more than 16 of a single type
  37. of device (like USB printers).
  38. If you are unsure about this, say N here.
  39. config USB_SUSPEND
  40. bool "USB selective suspend/resume and wakeup (EXPERIMENTAL)"
  41. depends on USB && PM && EXPERIMENTAL
  42. help
  43. If you say Y here, you can use driver calls or the sysfs
  44. "power/state" file to suspend or resume individual USB
  45. peripherals.
  46. Also, USB "remote wakeup" signaling is supported, whereby some
  47. USB devices (like keyboards and network adapters) can wake up
  48. their parent hub. That wakeup cascades up the USB tree, and
  49. could wake the system from states like suspend-to-RAM.
  50. If you are unsure about this, say N here.
  51. config USB_OTG
  52. bool
  53. depends on USB && EXPERIMENTAL
  54. select USB_SUSPEND
  55. default n
  56. config USB_OTG_WHITELIST
  57. bool "Rely on OTG Targeted Peripherals List"
  58. depends on USB_OTG
  59. default y
  60. help
  61. If you say Y here, the "otg_whitelist.h" file will be used as a
  62. product whitelist, so USB peripherals not listed there will be
  63. rejected during enumeration. This behavior is required by the
  64. USB OTG specification for all devices not on your product's
  65. "Targeted Peripherals List".
  66. Otherwise, peripherals not listed there will only generate a
  67. warning and enumeration will continue. That's more like what
  68. normal Linux-USB hosts do (other than the warning), and is
  69. convenient for many stages of product development.
  70. config USB_OTG_BLACKLIST_HUB
  71. bool "Disable external hubs"
  72. depends on USB_OTG
  73. help
  74. If you say Y here, then Linux will refuse to enumerate
  75. external hubs. OTG hosts are allowed to reduce hardware
  76. and software costs by not supporting external hubs.