^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) menu "USB HID support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) depends on USB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) config USB_HID
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) tristate "USB HID transport layer"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) depends on USB && INPUT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) select HID
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) Say Y here if you want to connect USB keyboards,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) mice, joysticks, graphic tablets, or any other HID based devices
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) to your computer via USB, as well as Uninterruptible Power Supply
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) (UPS) and monitor control devices.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) You can't use this driver and the HIDBP (Boot Protocol) keyboard
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) and mouse drivers at the same time. More information is available:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) <file:Documentation/input/input.rst>.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) If unsure, say Y.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) To compile this driver as a module, choose M here: the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) module will be called usbhid.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) comment "Input core support is needed for USB HID input layer or HIDBP support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) depends on USB_HID && INPUT=n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) config HID_PID
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) bool "PID device support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) Say Y here if you have a PID-compliant device and wish to enable force
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) feedback for it. Microsoft Sidewinder Force Feedback 2 is one of such
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) devices.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) config USB_HIDDEV
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) bool "/dev/hiddev raw HID device support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) depends on USB_HID
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) Say Y here if you want to support HID devices (from the USB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) specification standpoint) that aren't strictly user interface
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) devices, like monitor controls and Uninterruptable Power Supplies.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) This module supports these devices separately using a separate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) event interface on /dev/usb/hiddevX (char 180:96 to 180:111).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) If unsure, say Y.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) menu "USB HID Boot Protocol drivers"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) depends on USB!=n && USB_HID!=y && EXPERT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) config USB_KBD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) tristate "USB HIDBP Keyboard (simple Boot) support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) depends on USB && INPUT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) Say Y here only if you are absolutely sure that you don't want
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) to use the generic HID driver for your USB keyboard and prefer
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) to use the keyboard in its limited Boot Protocol mode instead.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) This is almost certainly not what you want. This is mostly
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) useful for embedded applications or simple keyboards.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) To compile this driver as a module, choose M here: the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) module will be called usbkbd.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) If even remotely unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) config USB_MOUSE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) tristate "USB HIDBP Mouse (simple Boot) support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) depends on USB && INPUT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) Say Y here only if you are absolutely sure that you don't want
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) to use the generic HID driver for your USB mouse and prefer
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) to use the mouse in its limited Boot Protocol mode instead.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) This is almost certainly not what you want. This is mostly
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) useful for embedded applications or simple mice.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) To compile this driver as a module, choose M here: the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) module will be called usbmouse.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) If even remotely unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) endmenu
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) endmenu