xref: /openbmc/linux/drivers/hid/usbhid/Kconfig (revision ec8f24b7)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
21f41a6a9SHenrik Rydbergmenu "USB HID support"
36db3dfefSJiri Kosina	depends on USB
46db3dfefSJiri Kosina
56db3dfefSJiri Kosinaconfig USB_HID
61f41a6a9SHenrik Rydberg	tristate "USB HID transport layer"
76db3dfefSJiri Kosina	default y
86db3dfefSJiri Kosina	depends on USB && INPUT
96db3dfefSJiri Kosina	select HID
106db3dfefSJiri Kosina	---help---
111f41a6a9SHenrik Rydberg	  Say Y here if you want to connect USB keyboards,
126db3dfefSJiri Kosina	  mice, joysticks, graphic tablets, or any other HID based devices
136db3dfefSJiri Kosina	  to your computer via USB, as well as Uninterruptible Power Supply
146db3dfefSJiri Kosina	  (UPS) and monitor control devices.
156db3dfefSJiri Kosina
166db3dfefSJiri Kosina	  You can't use this driver and the HIDBP (Boot Protocol) keyboard
176db3dfefSJiri Kosina	  and mouse drivers at the same time. More information is available:
18ec15872dSMauro Carvalho Chehab	  <file:Documentation/input/input.rst>.
196db3dfefSJiri Kosina
206db3dfefSJiri Kosina	  If unsure, say Y.
216db3dfefSJiri Kosina
226db3dfefSJiri Kosina	  To compile this driver as a module, choose M here: the
236db3dfefSJiri Kosina	  module will be called usbhid.
246db3dfefSJiri Kosina
256db3dfefSJiri Kosinacomment "Input core support is needed for USB HID input layer or HIDBP support"
266db3dfefSJiri Kosina	depends on USB_HID && INPUT=n
276db3dfefSJiri Kosina
286db3dfefSJiri Kosinaconfig HID_PID
296db3dfefSJiri Kosina	bool "PID device support"
306db3dfefSJiri Kosina	help
316db3dfefSJiri Kosina	  Say Y here if you have a PID-compliant device and wish to enable force
326db3dfefSJiri Kosina	  feedback for it. Microsoft Sidewinder Force Feedback 2 is one of such
336db3dfefSJiri Kosina	  devices.
346db3dfefSJiri Kosina
356db3dfefSJiri Kosinaconfig USB_HIDDEV
366db3dfefSJiri Kosina	bool "/dev/hiddev raw HID device support"
376db3dfefSJiri Kosina	depends on USB_HID
386db3dfefSJiri Kosina	help
396db3dfefSJiri Kosina	  Say Y here if you want to support HID devices (from the USB
406db3dfefSJiri Kosina	  specification standpoint) that aren't strictly user interface
416db3dfefSJiri Kosina	  devices, like monitor controls and Uninterruptable Power Supplies.
426db3dfefSJiri Kosina
436db3dfefSJiri Kosina	  This module supports these devices separately using a separate
446db3dfefSJiri Kosina	  event interface on /dev/usb/hiddevX (char 180:96 to 180:111).
456db3dfefSJiri Kosina
466db3dfefSJiri Kosina	  If unsure, say Y.
476db3dfefSJiri Kosina
486db3dfefSJiri Kosinamenu "USB HID Boot Protocol drivers"
496a108a14SDavid Rientjes	depends on USB!=n && USB_HID!=y && EXPERT
506db3dfefSJiri Kosina
516db3dfefSJiri Kosinaconfig USB_KBD
526db3dfefSJiri Kosina	tristate "USB HIDBP Keyboard (simple Boot) support"
536db3dfefSJiri Kosina	depends on USB && INPUT
546db3dfefSJiri Kosina	---help---
556db3dfefSJiri Kosina	  Say Y here only if you are absolutely sure that you don't want
566db3dfefSJiri Kosina	  to use the generic HID driver for your USB keyboard and prefer
576db3dfefSJiri Kosina	  to use the keyboard in its limited Boot Protocol mode instead.
586db3dfefSJiri Kosina
596db3dfefSJiri Kosina	  This is almost certainly not what you want.  This is mostly
606db3dfefSJiri Kosina	  useful for embedded applications or simple keyboards.
616db3dfefSJiri Kosina
626db3dfefSJiri Kosina	  To compile this driver as a module, choose M here: the
636db3dfefSJiri Kosina	  module will be called usbkbd.
646db3dfefSJiri Kosina
656db3dfefSJiri Kosina	  If even remotely unsure, say N.
666db3dfefSJiri Kosina
676db3dfefSJiri Kosinaconfig USB_MOUSE
686db3dfefSJiri Kosina	tristate "USB HIDBP Mouse (simple Boot) support"
696db3dfefSJiri Kosina	depends on USB && INPUT
706db3dfefSJiri Kosina	---help---
716db3dfefSJiri Kosina	  Say Y here only if you are absolutely sure that you don't want
726db3dfefSJiri Kosina	  to use the generic HID driver for your USB mouse and prefer
736db3dfefSJiri Kosina	  to use the mouse in its limited Boot Protocol mode instead.
746db3dfefSJiri Kosina
756db3dfefSJiri Kosina	  This is almost certainly not what you want.  This is mostly
766db3dfefSJiri Kosina	  useful for embedded applications or simple mice.
776db3dfefSJiri Kosina
786db3dfefSJiri Kosina	  To compile this driver as a module, choose M here: the
796db3dfefSJiri Kosina	  module will be called usbmouse.
806db3dfefSJiri Kosina
816db3dfefSJiri Kosina	  If even remotely unsure, say N.
826db3dfefSJiri Kosina
836db3dfefSJiri Kosinaendmenu
846db3dfefSJiri Kosina
851f41a6a9SHenrik Rydbergendmenu
86