Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only
0002 menu "USB HID support"
0003         depends on USB
0004 
0005 config USB_HID
0006         tristate "USB HID transport layer"
0007         default y
0008         depends on USB && INPUT
0009         select HID
0010         help
0011           Say Y here if you want to connect USB keyboards,
0012           mice, joysticks, graphic tablets, or any other HID based devices
0013           to your computer via USB, as well as Uninterruptible Power Supply
0014           (UPS) and monitor control devices.
0015 
0016           You can't use this driver and the HIDBP (Boot Protocol) keyboard
0017           and mouse drivers at the same time. More information is available:
0018           <file:Documentation/input/input.rst>.
0019 
0020           If unsure, say Y.
0021 
0022           To compile this driver as a module, choose M here: the
0023           module will be called usbhid.
0024 
0025 comment "Input core support is needed for USB HID input layer or HIDBP support"
0026         depends on USB_HID && INPUT=n
0027 
0028 config HID_PID
0029         bool "PID device support"
0030         help
0031           Say Y here if you have a PID-compliant device and wish to enable force
0032           feedback for it. Microsoft Sidewinder Force Feedback 2 is one of such
0033           devices.
0034 
0035 config USB_HIDDEV
0036         bool "/dev/hiddev raw HID device support"
0037         depends on USB_HID
0038         help
0039           Say Y here if you want to support HID devices (from the USB
0040           specification standpoint) that aren't strictly user interface
0041           devices, like monitor controls and Uninterruptible Power Supplies.
0042 
0043           This module supports these devices separately using a separate
0044           event interface on /dev/usb/hiddevX (char 180:96 to 180:111).
0045 
0046           If unsure, say Y.
0047 
0048 menu "USB HID Boot Protocol drivers"
0049         depends on USB!=n && USB_HID!=y && EXPERT
0050 
0051 config USB_KBD
0052         tristate "USB HIDBP Keyboard (simple Boot) support"
0053         depends on USB && INPUT
0054         help
0055           Say Y here only if you are absolutely sure that you don't want
0056           to use the generic HID driver for your USB keyboard and prefer
0057           to use the keyboard in its limited Boot Protocol mode instead.
0058 
0059           This is almost certainly not what you want.  This is mostly
0060           useful for embedded applications or simple keyboards.
0061 
0062           To compile this driver as a module, choose M here: the
0063           module will be called usbkbd.
0064 
0065           If even remotely unsure, say N.
0066 
0067 config USB_MOUSE
0068         tristate "USB HIDBP Mouse (simple Boot) support"
0069         depends on USB && INPUT
0070         help
0071           Say Y here only if you are absolutely sure that you don't want
0072           to use the generic HID driver for your USB mouse and prefer
0073           to use the mouse in its limited Boot Protocol mode instead.
0074 
0075           This is almost certainly not what you want.  This is mostly
0076           useful for embedded applications or simple mice.
0077 
0078           To compile this driver as a module, choose M here: the
0079           module will be called usbmouse.
0080 
0081           If even remotely unsure, say N.
0082 
0083 endmenu
0084 
0085 endmenu