Kconfig 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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. Please note that this code is completely unrelated to devfs, the
  30. "/dev file system support".
  31. Most users want to say Y here.
  32. config USB_BANDWIDTH
  33. bool "Enforce USB bandwidth allocation (EXPERIMENTAL)"
  34. depends on USB && EXPERIMENTAL
  35. help
  36. If you say Y here, the USB subsystem enforces USB bandwidth
  37. allocation and will prevent some device opens from succeeding
  38. if they would cause USB bandwidth usage to go above 90% of
  39. the bus bandwidth.
  40. If you say N here, these conditions will cause warning messages
  41. about USB bandwidth usage to be logged and some devices or
  42. drivers may not work correctly.
  43. config USB_DYNAMIC_MINORS
  44. bool "Dynamic USB minor allocation (EXPERIMENTAL)"
  45. depends on USB && EXPERIMENTAL
  46. help
  47. If you say Y here, the USB subsystem will use dynamic minor
  48. allocation for any device that uses the USB major number.
  49. This means that you can have more than 16 of a single type
  50. of device (like USB printers).
  51. If you are unsure about this, say N here.
  52. config USB_SUSPEND
  53. bool "USB suspend/resume (EXPERIMENTAL)"
  54. depends on USB && PM && EXPERIMENTAL
  55. help
  56. If you say Y here, you can use driver calls or the sysfs
  57. "power/state" file to suspend or resume individual USB
  58. peripherals. There are many related features, such as
  59. remote wakeup and driver-specific suspend processing, that
  60. may not yet work as expected.
  61. If you are unsure about this, say N here.
  62. config USB_OTG
  63. bool
  64. depends on USB && EXPERIMENTAL
  65. select USB_SUSPEND
  66. default n
  67. config USB_OTG_WHITELIST
  68. bool "Rely on OTG Targeted Peripherals List"
  69. depends on USB_OTG
  70. default y
  71. help
  72. If you say Y here, the "otg_whitelist.h" file will be used as a
  73. product whitelist, so USB peripherals not listed there will be
  74. rejected during enumeration. This behavior is required by the
  75. USB OTG specification for all devices not on your product's
  76. "Targeted Peripherals List".
  77. Otherwise, peripherals not listed there will only generate a
  78. warning and enumeration will continue. That's more like what
  79. normal Linux-USB hosts do (other than the warning), and is
  80. convenient for many stages of product development.