2006-12-09 00:41:30 +07:00
|
|
|
#
|
|
|
|
# Makefile for the HID driver
|
|
|
|
#
|
2010-11-18 16:42:30 +07:00
|
|
|
hid-y := hid-core.o hid-input.o
|
2015-01-21 20:07:10 +07:00
|
|
|
hid-$(CONFIG_DEBUG_FS) += hid-debug.o
|
2009-06-12 20:20:55 +07:00
|
|
|
|
2007-01-25 17:43:31 +07:00
|
|
|
obj-$(CONFIG_HID) += hid.o
|
2012-06-10 20:16:13 +07:00
|
|
|
obj-$(CONFIG_UHID) += uhid.o
|
2007-05-14 14:57:40 +07:00
|
|
|
|
2012-04-23 17:07:07 +07:00
|
|
|
obj-$(CONFIG_HID_GENERIC) += hid-generic.o
|
|
|
|
|
2007-05-14 14:57:40 +07:00
|
|
|
hid-$(CONFIG_HIDRAW) += hidraw.o
|
2007-01-25 17:43:31 +07:00
|
|
|
|
2010-11-18 16:42:30 +07:00
|
|
|
hid-logitech-y := hid-lg.o
|
2015-01-21 20:07:10 +07:00
|
|
|
hid-logitech-$(CONFIG_LOGITECH_FF) += hid-lgff.o
|
|
|
|
hid-logitech-$(CONFIG_LOGIRUMBLEPAD2_FF) += hid-lg2ff.o
|
|
|
|
hid-logitech-$(CONFIG_LOGIG940_FF) += hid-lg3ff.o
|
|
|
|
hid-logitech-$(CONFIG_LOGIWHEELS_FF) += hid-lg4ff.o
|
2008-07-05 04:06:45 +07:00
|
|
|
|
HID: wiimote: add sub-device module infrastructure
To avoid loading all sub-device drivers for every Wii Remote, even though
the required hardware might not be available, we introduce a module layer.
The module layer specifies which sub-devices are available on each
device-type. After device detection, we only load the modules for the
detected device. If module loading fails, we unload everything and mark
the device as WIIMOTE_DEV_UNKNOWN. As long as a device is marked as
"unknown", no sub-devices will be used and the device is considered
unsupported.
All the different sub-devices, including KEYS, RUMBLE, BATTERY, LEDS,
ACCELEROMETER, IR and more will be ported in follow-up patches to the new
module layer.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2013-05-06 04:12:51 +07:00
|
|
|
hid-wiimote-y := hid-wiimote-core.o hid-wiimote-modules.o
|
2015-01-21 20:07:10 +07:00
|
|
|
hid-wiimote-$(CONFIG_DEBUG_FS) += hid-wiimote-debug.o
|
2011-11-17 20:11:58 +07:00
|
|
|
|
2008-06-24 04:31:09 +07:00
|
|
|
obj-$(CONFIG_HID_A4TECH) += hid-a4tech.o
|
2017-02-14 21:17:56 +07:00
|
|
|
obj-$(CONFIG_HID_ACCUTOUCH) += hid-accutouch.o
|
2016-06-16 16:45:57 +07:00
|
|
|
obj-$(CONFIG_HID_ALPS) += hid-alps.o
|
2011-03-11 15:27:34 +07:00
|
|
|
obj-$(CONFIG_HID_ACRUX) += hid-axff.o
|
2008-06-19 04:36:49 +07:00
|
|
|
obj-$(CONFIG_HID_APPLE) += hid-apple.o
|
2013-04-17 23:15:15 +07:00
|
|
|
obj-$(CONFIG_HID_APPLEIR) += hid-appleir.o
|
HID: Asus X205TA keyboard driver
Asus X205TA built-in keyboard contains wrong
logical maximum value in report descriptor.
0x05, 0x01, // Usage Page (Generic Desktop)
0x09, 0x06, // Usage (Keyboard)
0xa1, 0x01, // Collection (Application)
0x85, 0x01, // Report ID (1)
0x05, 0x07, // Usage Page (Keyboard/Keypad)
0x19, 0xe0, // Usage Minimum (224)
0x29, 0xe7, // Usage Maximum (231)
0x15, 0x00, // Logical Minimum (0)
0x25, 0x01, // Logical Maximum (1)
0x75, 0x01, // Report Size (1)
0x95, 0x08, // Report Count (8)
0x81, 0x02, // Input (Data,Array,Abs)
0x95, 0x01, // Report Count (1)
0x75, 0x08, // Report Size (8)
0x81, 0x03, // Input (Const,Var,Abs)
0x95, 0x05, // Report Count (5)
0x75, 0x01, // Report Size (1)
0x05, 0x08, // Usage (LED)
0x19, 0x01, // Usage Minimum (1)
0x29, 0x05, // Usage Maximum (5)
0x91, 0x02, // Output (Data,Var,Abs)
0x95, 0x01, // Report Count (1)
0x75, 0x03, // Report Size (3)
0x91, 0x03, // Output (Const,Var,Abs)
0x95, 0x06, // Report Count (6)
0x75, 0x08, // Report Size (8)
0x15, 0x00, // Logical Minimum (0)
0x25, 0x65, // Logical Maximum (101) * too small *
0x05, 0x07, // Usage Page (Keyboard/Keypad)
0x19, 0x00, // Usage Minimum (0)
0x29, 0xdd, // Usage Maximum (221)
0x81, 0x00, // Input(Data,Array,Abs)
In Asus X205TA japanese keyboard model,there are language
specific keys over usage id 101.
This patch correct wrong logical maximum in report
descriptor.
Signed-off-by: Yusuke Fujimaki <usk.fujimaki@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2016-03-21 14:18:42 +07:00
|
|
|
obj-$(CONFIG_HID_ASUS) += hid-asus.o
|
2015-04-28 18:11:20 +07:00
|
|
|
obj-$(CONFIG_HID_AUREAL) += hid-aureal.o
|
2008-06-25 04:24:57 +07:00
|
|
|
obj-$(CONFIG_HID_BELKIN) += hid-belkin.o
|
2014-11-26 17:21:03 +07:00
|
|
|
obj-$(CONFIG_HID_BETOP_FF) += hid-betopff.o
|
2008-06-25 01:42:25 +07:00
|
|
|
obj-$(CONFIG_HID_CHERRY) += hid-cherry.o
|
2008-06-25 03:48:52 +07:00
|
|
|
obj-$(CONFIG_HID_CHICONY) += hid-chicony.o
|
2016-01-22 10:59:43 +07:00
|
|
|
obj-$(CONFIG_HID_CMEDIA) += hid-cmedia.o
|
2015-09-30 20:14:20 +07:00
|
|
|
obj-$(CONFIG_HID_CORSAIR) += hid-corsair.o
|
2014-02-05 01:42:48 +07:00
|
|
|
obj-$(CONFIG_HID_CP2112) += hid-cp2112.o
|
2008-06-24 03:54:08 +07:00
|
|
|
obj-$(CONFIG_HID_CYPRESS) += hid-cypress.o
|
2011-01-28 18:50:51 +07:00
|
|
|
obj-$(CONFIG_HID_DRAGONRISE) += hid-dr.o
|
2010-11-02 02:13:37 +07:00
|
|
|
obj-$(CONFIG_HID_EMS_FF) += hid-emsff.o
|
2010-06-28 23:54:25 +07:00
|
|
|
obj-$(CONFIG_HID_ELECOM) += hid-elecom.o
|
2013-05-07 16:40:58 +07:00
|
|
|
obj-$(CONFIG_HID_ELO) += hid-elo.o
|
2008-06-25 02:11:21 +07:00
|
|
|
obj-$(CONFIG_HID_EZKEY) += hid-ezkey.o
|
2015-08-13 22:11:27 +07:00
|
|
|
obj-$(CONFIG_HID_GEMBIRD) += hid-gembird.o
|
2015-10-26 15:15:58 +07:00
|
|
|
obj-$(CONFIG_HID_GFRM) += hid-gfrm.o
|
2014-06-18 23:05:02 +07:00
|
|
|
obj-$(CONFIG_HID_GT683R) += hid-gt683r.o
|
2008-07-25 04:35:13 +07:00
|
|
|
obj-$(CONFIG_HID_GYRATION) += hid-gyration.o
|
2012-07-06 22:05:04 +07:00
|
|
|
obj-$(CONFIG_HID_HOLTEK) += hid-holtek-kbd.o
|
2013-05-21 06:31:08 +07:00
|
|
|
obj-$(CONFIG_HID_HOLTEK) += hid-holtek-mouse.o
|
2011-06-27 04:07:31 +07:00
|
|
|
obj-$(CONFIG_HID_HOLTEK) += hid-holtekff.o
|
2011-11-23 04:52:15 +07:00
|
|
|
obj-$(CONFIG_HID_HYPERV_MOUSE) += hid-hyperv.o
|
2012-10-31 18:10:10 +07:00
|
|
|
obj-$(CONFIG_HID_ICADE) += hid-icade.o
|
2017-05-10 22:12:53 +07:00
|
|
|
obj-$(CONFIG_HID_ITE) += hid-ite.o
|
2009-03-04 22:09:40 +07:00
|
|
|
obj-$(CONFIG_HID_KENSINGTON) += hid-kensington.o
|
2011-02-17 21:12:45 +07:00
|
|
|
obj-$(CONFIG_HID_KEYTOUCH) += hid-keytouch.o
|
2009-03-11 17:43:27 +07:00
|
|
|
obj-$(CONFIG_HID_KYE) += hid-kye.o
|
2015-04-28 18:11:20 +07:00
|
|
|
obj-$(CONFIG_HID_LCPOWER) += hid-lcpower.o
|
2014-07-24 05:30:45 +07:00
|
|
|
obj-$(CONFIG_HID_LENOVO) += hid-lenovo.o
|
2008-05-16 16:49:19 +07:00
|
|
|
obj-$(CONFIG_HID_LOGITECH) += hid-logitech.o
|
2011-09-15 16:34:49 +07:00
|
|
|
obj-$(CONFIG_HID_LOGITECH_DJ) += hid-logitech-dj.o
|
2014-10-01 00:18:27 +07:00
|
|
|
obj-$(CONFIG_HID_LOGITECH_HIDPP) += hid-logitech-hidpp.o
|
2015-04-28 18:11:20 +07:00
|
|
|
obj-$(CONFIG_HID_MAGICMOUSE) += hid-magicmouse.o
|
2016-11-04 01:47:42 +07:00
|
|
|
obj-$(CONFIG_HID_MAYFLASH) += hid-mf.o
|
2008-06-21 02:26:11 +07:00
|
|
|
obj-$(CONFIG_HID_MICROSOFT) += hid-microsoft.o
|
2008-06-25 05:07:50 +07:00
|
|
|
obj-$(CONFIG_HID_MONTEREY) += hid-monterey.o
|
2011-01-08 05:45:50 +07:00
|
|
|
obj-$(CONFIG_HID_MULTITOUCH) += hid-multitouch.o
|
2017-02-02 02:54:57 +07:00
|
|
|
obj-$(CONFIG_HID_NTI) += hid-nti.o
|
2008-11-19 21:54:46 +07:00
|
|
|
obj-$(CONFIG_HID_NTRIG) += hid-ntrig.o
|
2010-01-21 21:36:52 +07:00
|
|
|
obj-$(CONFIG_HID_ORTEK) += hid-ortek.o
|
2010-05-12 20:18:59 +07:00
|
|
|
obj-$(CONFIG_HID_PRODIKEYS) += hid-prodikeys.o
|
2008-09-19 00:43:32 +07:00
|
|
|
obj-$(CONFIG_HID_PANTHERLORD) += hid-pl.o
|
2014-09-03 15:33:53 +07:00
|
|
|
obj-$(CONFIG_HID_PENMOUNT) += hid-penmount.o
|
2008-06-25 04:46:21 +07:00
|
|
|
obj-$(CONFIG_HID_PETALYNX) += hid-petalynx.o
|
2010-03-31 03:33:50 +07:00
|
|
|
obj-$(CONFIG_HID_PICOLCD) += hid-picolcd.o
|
2012-07-31 02:38:28 +07:00
|
|
|
hid-picolcd-y += hid-picolcd_core.o
|
2015-01-21 20:07:10 +07:00
|
|
|
hid-picolcd-$(CONFIG_HID_PICOLCD_FB) += hid-picolcd_fb.o
|
|
|
|
hid-picolcd-$(CONFIG_HID_PICOLCD_BACKLIGHT) += hid-picolcd_backlight.o
|
|
|
|
hid-picolcd-$(CONFIG_HID_PICOLCD_LCD) += hid-picolcd_lcd.o
|
|
|
|
hid-picolcd-$(CONFIG_HID_PICOLCD_LEDS) += hid-picolcd_leds.o
|
|
|
|
hid-picolcd-$(CONFIG_HID_PICOLCD_CIR) += hid-picolcd_cir.o
|
|
|
|
hid-picolcd-$(CONFIG_DEBUG_FS) += hid-picolcd_debugfs.o
|
2012-07-31 02:38:28 +07:00
|
|
|
|
2014-11-01 07:34:42 +07:00
|
|
|
obj-$(CONFIG_HID_PLANTRONICS) += hid-plantronics.o
|
2011-10-15 07:18:54 +07:00
|
|
|
obj-$(CONFIG_HID_PRIMAX) += hid-primax.o
|
2017-06-20 23:13:37 +07:00
|
|
|
obj-$(CONFIG_HID_RETRODE) += hid-retrode.o
|
2011-12-29 23:20:14 +07:00
|
|
|
obj-$(CONFIG_HID_ROCCAT) += hid-roccat.o hid-roccat-common.o \
|
|
|
|
hid-roccat-arvo.o hid-roccat-isku.o hid-roccat-kone.o \
|
2013-03-10 18:32:44 +07:00
|
|
|
hid-roccat-koneplus.o hid-roccat-konepure.o hid-roccat-kovaplus.o \
|
2013-10-29 00:52:07 +07:00
|
|
|
hid-roccat-lua.o hid-roccat-pyra.o hid-roccat-ryos.o hid-roccat-savu.o
|
2014-04-08 00:39:33 +07:00
|
|
|
obj-$(CONFIG_HID_RMI) += hid-rmi.o
|
2012-02-22 08:10:06 +07:00
|
|
|
obj-$(CONFIG_HID_SAITEK) += hid-saitek.o
|
2008-06-26 03:31:48 +07:00
|
|
|
obj-$(CONFIG_HID_SAMSUNG) += hid-samsung.o
|
2009-05-13 15:54:38 +07:00
|
|
|
obj-$(CONFIG_HID_SMARTJOYPLUS) += hid-sjoy.o
|
2008-06-26 04:47:04 +07:00
|
|
|
obj-$(CONFIG_HID_SONY) += hid-sony.o
|
2011-05-27 23:40:29 +07:00
|
|
|
obj-$(CONFIG_HID_SPEEDLINK) += hid-speedlink.o
|
2013-01-31 22:50:24 +07:00
|
|
|
obj-$(CONFIG_HID_STEELSERIES) += hid-steelseries.o
|
2008-06-24 02:56:07 +07:00
|
|
|
obj-$(CONFIG_HID_SUNPLUS) += hid-sunplus.o
|
2009-05-15 20:46:44 +07:00
|
|
|
obj-$(CONFIG_HID_GREENASIA) += hid-gaff.o
|
|
|
|
obj-$(CONFIG_HID_THRUSTMASTER) += hid-tmff.o
|
HID: add support for tivo slide remote
This patch finishes off adding full support for the TiVo Slide remote,
which is a mostly pure HID device from the perspective of the kernel.
There are a few mappings that use a vendor-specific usage page, and a
few keys in the consumer usage page that I think make sense to remap
slightly, to better fit their key labels' intended use. Doing this in a
stand-alone hid-tivo.c makes the modifications only matter for this
specific device.
What's actually connected to the computer is a Broadcom-made usb dongle,
which has an embedded hub, bluetooth adapter, mouse and keyboard
devices. You pair with the dongle, then the remote sends data that its
converted into HID on the keyboard interface (the mouse interface
doesn't do anything interesting, so far as I can tell).
lsusb for this device:
Bus 004 Device 005: ID 0a5c:2190 Broadcom Corp.
Bus 004 Device 004: ID 0a5c:4503 Broadcom Corp.
Bus 004 Device 003: ID 150a:1201
Bus 004 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Speaking of the keyboard interface, the remote actually does contain a
keyboard as well. The top slides away, revealing a reasonably functional
qwerty keyboard (not unlike many slide cell phones), thus the product
name.
CC: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2011-10-15 03:57:42 +07:00
|
|
|
obj-$(CONFIG_HID_TIVO) += hid-tivo.o
|
2009-01-04 06:36:56 +07:00
|
|
|
obj-$(CONFIG_HID_TOPSEED) += hid-topseed.o
|
2009-07-13 19:19:58 +07:00
|
|
|
obj-$(CONFIG_HID_TWINHAN) += hid-twinhan.o
|
2010-08-09 23:44:17 +07:00
|
|
|
obj-$(CONFIG_HID_UCLOGIC) += hid-uclogic.o
|
2016-11-15 19:02:05 +07:00
|
|
|
obj-$(CONFIG_HID_UDRAW_PS3) += hid-udraw-ps3.o
|
2016-06-18 02:20:46 +07:00
|
|
|
obj-$(CONFIG_HID_LED) += hid-led.o
|
2013-07-28 00:20:02 +07:00
|
|
|
obj-$(CONFIG_HID_XINMO) += hid-xinmo.o
|
2009-05-15 20:46:44 +07:00
|
|
|
obj-$(CONFIG_HID_ZEROPLUS) += hid-zpff.o
|
2010-05-14 23:30:59 +07:00
|
|
|
obj-$(CONFIG_HID_ZYDACRON) += hid-zydacron.o
|
2014-07-25 03:10:09 +07:00
|
|
|
|
|
|
|
wacom-objs := wacom_wac.o wacom_sys.o
|
2014-08-07 04:06:26 +07:00
|
|
|
obj-$(CONFIG_HID_WACOM) += wacom.o
|
2010-08-20 22:21:11 +07:00
|
|
|
obj-$(CONFIG_HID_WALTOP) += hid-waltop.o
|
2011-07-05 18:45:08 +07:00
|
|
|
obj-$(CONFIG_HID_WIIMOTE) += hid-wiimote.o
|
2012-09-05 19:56:00 +07:00
|
|
|
obj-$(CONFIG_HID_SENSOR_HUB) += hid-sensor-hub.o
|
2015-04-11 01:22:22 +07:00
|
|
|
obj-$(CONFIG_HID_SENSOR_CUSTOM_SENSOR) += hid-sensor-custom.o
|
2008-05-16 16:49:19 +07:00
|
|
|
|
2007-03-08 22:47:49 +07:00
|
|
|
obj-$(CONFIG_USB_HID) += usbhid/
|
|
|
|
obj-$(CONFIG_USB_MOUSE) += usbhid/
|
|
|
|
obj-$(CONFIG_USB_KBD) += usbhid/
|
|
|
|
|
2012-11-12 21:42:59 +07:00
|
|
|
obj-$(CONFIG_I2C_HID) += i2c-hid/
|
2016-08-07 16:25:34 +07:00
|
|
|
|
|
|
|
obj-$(CONFIG_INTEL_ISH_HID) += intel-ish-hid/
|