162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0-or-later
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci *  HID quirks support for Linux
462306a36Sopenharmony_ci *
562306a36Sopenharmony_ci *  Copyright (c) 1999 Andreas Gal
662306a36Sopenharmony_ci *  Copyright (c) 2000-2005 Vojtech Pavlik <vojtech@suse.cz>
762306a36Sopenharmony_ci *  Copyright (c) 2005 Michael Haboustak <mike-@cinci.rr.com> for Concept2, Inc
862306a36Sopenharmony_ci *  Copyright (c) 2006-2007 Jiri Kosina
962306a36Sopenharmony_ci *  Copyright (c) 2007 Paul Walmsley
1062306a36Sopenharmony_ci */
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci/*
1362306a36Sopenharmony_ci */
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ci#include <linux/hid.h>
1662306a36Sopenharmony_ci#include <linux/export.h>
1762306a36Sopenharmony_ci#include <linux/slab.h>
1862306a36Sopenharmony_ci#include <linux/mutex.h>
1962306a36Sopenharmony_ci#include <linux/input/elan-i2c-ids.h>
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ci#include "hid-ids.h"
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ci/*
2462306a36Sopenharmony_ci * Alphabetically sorted by vendor then product.
2562306a36Sopenharmony_ci */
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_cistatic const struct hid_device_id hid_quirks[] = {
2862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_AASHIMA, USB_DEVICE_ID_AASHIMA_GAMEPAD), HID_QUIRK_BADPAD },
2962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_AASHIMA, USB_DEVICE_ID_AASHIMA_PREDATOR), HID_QUIRK_BADPAD },
3062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_AFATECH, USB_DEVICE_ID_AFATECH_AF9016), HID_QUIRK_FULLSPEED_INTERVAL },
3162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_AIREN, USB_DEVICE_ID_AIREN_SLIMPLUS), HID_QUIRK_NOGET },
3262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_AKAI_09E8, USB_DEVICE_ID_AKAI_09E8_MIDIMIX), HID_QUIRK_NO_INIT_REPORTS },
3362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_AKAI, USB_DEVICE_ID_AKAI_MPKMINI2), HID_QUIRK_NO_INIT_REPORTS },
3462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ALPS, USB_DEVICE_ID_IBM_GAMEPAD), HID_QUIRK_BADPAD },
3562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_AMI, USB_DEVICE_ID_AMI_VIRT_KEYBOARD_AND_MOUSE), HID_QUIRK_ALWAYS_POLL },
3662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_ALU_REVB_ANSI), HID_QUIRK_ALWAYS_POLL },
3762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ATEN, USB_DEVICE_ID_ATEN_2PORTKVM), HID_QUIRK_NOGET },
3862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ATEN, USB_DEVICE_ID_ATEN_4PORTKVMC), HID_QUIRK_NOGET },
3962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ATEN, USB_DEVICE_ID_ATEN_4PORTKVM), HID_QUIRK_NOGET },
4062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ATEN, USB_DEVICE_ID_ATEN_CS124U), HID_QUIRK_NOGET },
4162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ATEN, USB_DEVICE_ID_ATEN_CS1758), HID_QUIRK_NOGET },
4262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ATEN, USB_DEVICE_ID_ATEN_CS682), HID_QUIRK_NOGET },
4362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ATEN, USB_DEVICE_ID_ATEN_CS692), HID_QUIRK_NOGET },
4462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ATEN, USB_DEVICE_ID_ATEN_UC100KM), HID_QUIRK_NOGET },
4562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_MULTI_TOUCH), HID_QUIRK_MULTI_INPUT },
4662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_PIXART_USB_OPTICAL_MOUSE), HID_QUIRK_ALWAYS_POLL },
4762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_PIXART_USB_OPTICAL_MOUSE2), HID_QUIRK_ALWAYS_POLL },
4862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_WIRELESS), HID_QUIRK_MULTI_INPUT },
4962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CHIC, USB_DEVICE_ID_CHIC_GAMEPAD), HID_QUIRK_BADPAD },
5062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CH, USB_DEVICE_ID_CH_3AXIS_5BUTTON_STICK), HID_QUIRK_NOGET },
5162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CH, USB_DEVICE_ID_CH_AXIS_295), HID_QUIRK_NOGET },
5262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CH, USB_DEVICE_ID_CH_COMBATSTICK), HID_QUIRK_NOGET },
5362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CH, USB_DEVICE_ID_CH_FIGHTERSTICK), HID_QUIRK_NOGET },
5462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CH, USB_DEVICE_ID_CH_FLIGHT_SIM_ECLIPSE_YOKE), HID_QUIRK_NOGET },
5562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CH, USB_DEVICE_ID_CH_FLIGHT_SIM_YOKE), HID_QUIRK_NOGET },
5662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CH, USB_DEVICE_ID_CH_PRO_PEDALS), HID_QUIRK_NOGET },
5762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CH, USB_DEVICE_ID_CH_PRO_THROTTLE), HID_QUIRK_NOGET },
5862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CORSAIR, USB_DEVICE_ID_CORSAIR_K65RGB), HID_QUIRK_NO_INIT_REPORTS },
5962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CORSAIR, USB_DEVICE_ID_CORSAIR_K65RGB_RAPIDFIRE), HID_QUIRK_NO_INIT_REPORTS | HID_QUIRK_ALWAYS_POLL },
6062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CORSAIR, USB_DEVICE_ID_CORSAIR_K70RGB), HID_QUIRK_NO_INIT_REPORTS },
6162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CORSAIR, USB_DEVICE_ID_CORSAIR_K70RGB_RAPIDFIRE), HID_QUIRK_NO_INIT_REPORTS | HID_QUIRK_ALWAYS_POLL },
6262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CORSAIR, USB_DEVICE_ID_CORSAIR_K70R), HID_QUIRK_NO_INIT_REPORTS },
6362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CORSAIR, USB_DEVICE_ID_CORSAIR_K95RGB), HID_QUIRK_NO_INIT_REPORTS | HID_QUIRK_ALWAYS_POLL },
6462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CORSAIR, USB_DEVICE_ID_CORSAIR_M65RGB), HID_QUIRK_NO_INIT_REPORTS },
6562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CORSAIR, USB_DEVICE_ID_CORSAIR_GLAIVE_RGB), HID_QUIRK_NO_INIT_REPORTS | HID_QUIRK_ALWAYS_POLL },
6662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CORSAIR, USB_DEVICE_ID_CORSAIR_SCIMITAR_PRO_RGB), HID_QUIRK_NO_INIT_REPORTS | HID_QUIRK_ALWAYS_POLL },
6762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CORSAIR, USB_DEVICE_ID_CORSAIR_STRAFE), HID_QUIRK_NO_INIT_REPORTS | HID_QUIRK_ALWAYS_POLL },
6862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CREATIVELABS, USB_DEVICE_ID_CREATIVE_SB_OMNI_SURROUND_51), HID_QUIRK_NOGET },
6962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_DELL, USB_DEVICE_ID_DELL_PIXART_USB_OPTICAL_MOUSE), HID_QUIRK_ALWAYS_POLL },
7062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_DELL, USB_DEVICE_ID_DELL_PRO_WIRELESS_KM5221W), HID_QUIRK_ALWAYS_POLL },
7162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_DMI, USB_DEVICE_ID_DMI_ENC), HID_QUIRK_NOGET },
7262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_DRACAL_RAPHNET, USB_DEVICE_ID_RAPHNET_2NES2SNES), HID_QUIRK_MULTI_INPUT },
7362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_DRACAL_RAPHNET, USB_DEVICE_ID_RAPHNET_4NES4SNES), HID_QUIRK_MULTI_INPUT },
7462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_DRAGONRISE, USB_DEVICE_ID_REDRAGON_SEYMUR2), HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE },
7562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_DRAGONRISE, USB_DEVICE_ID_DRAGONRISE_DOLPHINBAR), HID_QUIRK_MULTI_INPUT },
7662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_DRAGONRISE, USB_DEVICE_ID_DRAGONRISE_GAMECUBE1), HID_QUIRK_MULTI_INPUT },
7762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_DRAGONRISE, USB_DEVICE_ID_DRAGONRISE_GAMECUBE3), HID_QUIRK_MULTI_INPUT },
7862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_DRAGONRISE, USB_DEVICE_ID_DRAGONRISE_PS3), HID_QUIRK_MULTI_INPUT },
7962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_DRAGONRISE, USB_DEVICE_ID_DRAGONRISE_WIIU), HID_QUIRK_MULTI_INPUT },
8062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_DWAV, USB_DEVICE_ID_EGALAX_TOUCHCONTROLLER), HID_QUIRK_MULTI_INPUT | HID_QUIRK_NOGET },
8162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ELAN, HID_ANY_ID), HID_QUIRK_ALWAYS_POLL },
8262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ELO, USB_DEVICE_ID_ELO_TS2700), HID_QUIRK_NOGET },
8362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_EMS, USB_DEVICE_ID_EMS_TRIO_LINKER_PLUS_II), HID_QUIRK_MULTI_INPUT },
8462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ETURBOTOUCH, USB_DEVICE_ID_ETURBOTOUCH_2968), HID_QUIRK_MULTI_INPUT },
8562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ETURBOTOUCH, USB_DEVICE_ID_ETURBOTOUCH), HID_QUIRK_MULTI_INPUT },
8662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_FORMOSA, USB_DEVICE_ID_FORMOSA_IR_RECEIVER), HID_QUIRK_NO_INIT_REPORTS },
8762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_FREESCALE, USB_DEVICE_ID_FREESCALE_MX28), HID_QUIRK_NOGET },
8862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_FUTABA, USB_DEVICE_ID_LED_DISPLAY), HID_QUIRK_NO_INIT_REPORTS },
8962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GREENASIA, USB_DEVICE_ID_GREENASIA_DUAL_SAT_ADAPTOR), HID_QUIRK_MULTI_INPUT },
9062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GREENASIA, USB_DEVICE_ID_GREENASIA_DUAL_USB_JOYPAD), HID_QUIRK_MULTI_INPUT },
9162306a36Sopenharmony_ci	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_GAMEVICE, USB_DEVICE_ID_GAMEVICE_GV186),
9262306a36Sopenharmony_ci		HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE },
9362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GAMEVICE, USB_DEVICE_ID_GAMEVICE_KISHI),
9462306a36Sopenharmony_ci		HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE },
9562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_HAPP, USB_DEVICE_ID_UGCI_DRIVING), HID_QUIRK_BADPAD | HID_QUIRK_MULTI_INPUT },
9662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_HAPP, USB_DEVICE_ID_UGCI_FIGHTING), HID_QUIRK_BADPAD | HID_QUIRK_MULTI_INPUT },
9762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_HAPP, USB_DEVICE_ID_UGCI_FLYING), HID_QUIRK_BADPAD | HID_QUIRK_MULTI_INPUT },
9862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_HOLTEK_ALT, USB_DEVICE_ID_HOLTEK_ALT_KEYBOARD_A096), HID_QUIRK_NO_INIT_REPORTS },
9962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_HOLTEK_ALT, USB_DEVICE_ID_HOLTEK_ALT_KEYBOARD_A293), HID_QUIRK_ALWAYS_POLL },
10062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_HP, USB_PRODUCT_ID_HP_LOGITECH_OEM_USB_OPTICAL_MOUSE_0A4A), HID_QUIRK_ALWAYS_POLL },
10162306a36Sopenharmony_ci	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_HP, USB_PRODUCT_ID_HP_ELITE_PRESENTER_MOUSE_464A), HID_QUIRK_MULTI_INPUT },
10262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_HP, USB_PRODUCT_ID_HP_LOGITECH_OEM_USB_OPTICAL_MOUSE_0B4A), HID_QUIRK_ALWAYS_POLL },
10362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_HP, USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE), HID_QUIRK_ALWAYS_POLL },
10462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_HP, USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE_094A), HID_QUIRK_ALWAYS_POLL },
10562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_HP, USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE_0941), HID_QUIRK_ALWAYS_POLL },
10662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_HP, USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE_0641), HID_QUIRK_ALWAYS_POLL },
10762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_HP, USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE_1f4a), HID_QUIRK_ALWAYS_POLL },
10862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_IDEACOM, USB_DEVICE_ID_IDEACOM_IDC6680), HID_QUIRK_MULTI_INPUT },
10962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_INNOMEDIA, USB_DEVICE_ID_INNEX_GENESIS_ATARI), HID_QUIRK_MULTI_INPUT },
11062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_KYE, USB_DEVICE_ID_PIXART_USB_OPTICAL_MOUSE_ID2), HID_QUIRK_ALWAYS_POLL },
11162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_KYE, USB_DEVICE_ID_KYE_EASYPEN_M406), HID_QUIRK_MULTI_INPUT },
11262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_KYE, USB_DEVICE_ID_KYE_EASYPEN_M506), HID_QUIRK_MULTI_INPUT },
11362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_KYE, USB_DEVICE_ID_KYE_EASYPEN_I405X), HID_QUIRK_MULTI_INPUT },
11462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_KYE, USB_DEVICE_ID_KYE_MOUSEPEN_I608X), HID_QUIRK_MULTI_INPUT },
11562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_KYE, USB_DEVICE_ID_KYE_EASYPEN_M406W), HID_QUIRK_MULTI_INPUT },
11662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_KYE, USB_DEVICE_ID_KYE_EASYPEN_M610X), HID_QUIRK_MULTI_INPUT },
11762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_KYE, USB_DEVICE_ID_KYE_EASYPEN_340), HID_QUIRK_MULTI_INPUT },
11862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_KYE, USB_DEVICE_ID_KYE_PENSKETCH_M912), HID_QUIRK_MULTI_INPUT },
11962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_KYE, USB_DEVICE_ID_KYE_MOUSEPEN_M508WX), HID_QUIRK_MULTI_INPUT },
12062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_KYE, USB_DEVICE_ID_KYE_MOUSEPEN_M508X), HID_QUIRK_MULTI_INPUT },
12162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_KYE, USB_DEVICE_ID_KYE_EASYPEN_M406XE), HID_QUIRK_MULTI_INPUT },
12262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_KYE, USB_DEVICE_ID_KYE_MOUSEPEN_I608X_V2), HID_QUIRK_MULTI_INPUT },
12362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_KYE, USB_DEVICE_ID_KYE_PENSKETCH_T609A), HID_QUIRK_MULTI_INPUT },
12462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LABTEC, USB_DEVICE_ID_LABTEC_ODDOR_HANDBRAKE), HID_QUIRK_ALWAYS_POLL },
12562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LENOVO, USB_DEVICE_ID_LENOVO_OPTICAL_USB_MOUSE_600E), HID_QUIRK_ALWAYS_POLL },
12662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LENOVO, USB_DEVICE_ID_LENOVO_PIXART_USB_MOUSE_608D), HID_QUIRK_ALWAYS_POLL },
12762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LENOVO, USB_DEVICE_ID_LENOVO_PIXART_USB_MOUSE_6019), HID_QUIRK_ALWAYS_POLL },
12862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LENOVO, USB_DEVICE_ID_LENOVO_PIXART_USB_MOUSE_602E), HID_QUIRK_ALWAYS_POLL },
12962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LENOVO, USB_DEVICE_ID_LENOVO_PIXART_USB_MOUSE_6093), HID_QUIRK_ALWAYS_POLL },
13062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_C007), HID_QUIRK_ALWAYS_POLL },
13162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_C077), HID_QUIRK_ALWAYS_POLL },
13262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_KEYBOARD_G710_PLUS), HID_QUIRK_NOGET },
13362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_MOUSE_C01A), HID_QUIRK_ALWAYS_POLL },
13462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_MOUSE_C05A), HID_QUIRK_ALWAYS_POLL },
13562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_MOUSE_C06A), HID_QUIRK_ALWAYS_POLL },
13662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MCS, USB_DEVICE_ID_MCS_GAMEPADBLOCK), HID_QUIRK_MULTI_INPUT },
13762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_MOUSE_0783), HID_QUIRK_ALWAYS_POLL },
13862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_PIXART_MOUSE), HID_QUIRK_ALWAYS_POLL },
13962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_POWER_COVER), HID_QUIRK_NO_INIT_REPORTS },
14062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_SURFACE3_COVER), HID_QUIRK_NO_INIT_REPORTS },
14162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_SURFACE_PRO_2), HID_QUIRK_NO_INIT_REPORTS },
14262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TOUCH_COVER_2), HID_QUIRK_NO_INIT_REPORTS },
14362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_TYPE_COVER_2), HID_QUIRK_NO_INIT_REPORTS },
14462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MOJO, USB_DEVICE_ID_RETRO_ADAPTER), HID_QUIRK_MULTI_INPUT },
14562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MSI, USB_DEVICE_ID_MSI_GT683R_LED_PANEL), HID_QUIRK_NO_INIT_REPORTS },
14662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MULTIPLE_1781, USB_DEVICE_ID_RAPHNET_4NES4SNES_OLD), HID_QUIRK_MULTI_INPUT },
14762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_NATSU, USB_DEVICE_ID_NATSU_GAMEPAD), HID_QUIRK_BADPAD },
14862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_NEC, USB_DEVICE_ID_NEC_USB_GAME_PAD), HID_QUIRK_BADPAD },
14962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_NEXIO, USB_DEVICE_ID_NEXIO_MULTITOUCH_PTI0750), HID_QUIRK_NO_INIT_REPORTS },
15062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_NEXTWINDOW, USB_DEVICE_ID_NEXTWINDOW_TOUCHSCREEN), HID_QUIRK_MULTI_INPUT},
15162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_NOVATEK, USB_DEVICE_ID_NOVATEK_MOUSE), HID_QUIRK_NO_INIT_REPORTS },
15262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_NTRIG, USB_DEVICE_ID_NTRIG_DUOSENSE), HID_QUIRK_NO_INIT_REPORTS },
15362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_PANTHERLORD, USB_DEVICE_ID_PANTHERLORD_TWIN_USB_JOYSTICK), HID_QUIRK_MULTI_INPUT | HID_QUIRK_SKIP_OUTPUT_REPORTS },
15462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_PENMOUNT, USB_DEVICE_ID_PENMOUNT_1610), HID_QUIRK_NOGET },
15562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_PENMOUNT, USB_DEVICE_ID_PENMOUNT_1640), HID_QUIRK_NOGET },
15662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_PI_ENGINEERING, USB_DEVICE_ID_PI_ENGINEERING_VEC_USB_FOOTPEDAL), HID_QUIRK_HIDINPUT_FORCE },
15762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_PIXART, USB_DEVICE_ID_PIXART_OPTICAL_TOUCH_SCREEN1), HID_QUIRK_NO_INIT_REPORTS },
15862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_PIXART, USB_DEVICE_ID_PIXART_OPTICAL_TOUCH_SCREEN2), HID_QUIRK_NO_INIT_REPORTS },
15962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_PIXART, USB_DEVICE_ID_PIXART_OPTICAL_TOUCH_SCREEN), HID_QUIRK_NO_INIT_REPORTS },
16062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_PIXART, USB_DEVICE_ID_PIXART_USB_OPTICAL_MOUSE), HID_QUIRK_ALWAYS_POLL },
16162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_PRIMAX, USB_DEVICE_ID_PRIMAX_MOUSE_4D22), HID_QUIRK_ALWAYS_POLL },
16262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_PRIMAX, USB_DEVICE_ID_PRIMAX_MOUSE_4E2A), HID_QUIRK_ALWAYS_POLL },
16362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_PRIMAX, USB_DEVICE_ID_PRIMAX_PIXART_MOUSE_4D0F), HID_QUIRK_ALWAYS_POLL },
16462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_PRIMAX, USB_DEVICE_ID_PRIMAX_PIXART_MOUSE_4D65), HID_QUIRK_ALWAYS_POLL },
16562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_PRIMAX, USB_DEVICE_ID_PRIMAX_PIXART_MOUSE_4E22), HID_QUIRK_ALWAYS_POLL },
16662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_PRODIGE, USB_DEVICE_ID_PRODIGE_CORDLESS), HID_QUIRK_NOGET },
16762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_QUANTA, USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH_3001), HID_QUIRK_NOGET },
16862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_QUANTA, USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH_3003), HID_QUIRK_NOGET },
16962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_QUANTA, USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH_3008), HID_QUIRK_NOGET },
17062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_REALTEK, USB_DEVICE_ID_REALTEK_READER), HID_QUIRK_NO_INIT_REPORTS },
17162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_RETROUSB, USB_DEVICE_ID_RETROUSB_SNES_RETROPAD), HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE },
17262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_RETROUSB, USB_DEVICE_ID_RETROUSB_SNES_RETROPORT), HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE },
17362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SAITEK, USB_DEVICE_ID_SAITEK_RUMBLEPAD), HID_QUIRK_BADPAD },
17462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SAITEK, USB_DEVICE_ID_SAITEK_X52), HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE },
17562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SAITEK, USB_DEVICE_ID_SAITEK_X52_2), HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE },
17662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SAITEK, USB_DEVICE_ID_SAITEK_X52_PRO), HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE },
17762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SAITEK, USB_DEVICE_ID_SAITEK_X65), HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE },
17862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SEMICO, USB_DEVICE_ID_SEMICO_USB_KEYKOARD2), HID_QUIRK_NO_INIT_REPORTS },
17962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SEMICO, USB_DEVICE_ID_SEMICO_USB_KEYKOARD), HID_QUIRK_NO_INIT_REPORTS },
18062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SENNHEISER, USB_DEVICE_ID_SENNHEISER_BTD500USB), HID_QUIRK_NOGET },
18162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SIGMA_MICRO, USB_DEVICE_ID_SIGMA_MICRO_KEYBOARD), HID_QUIRK_NO_INIT_REPORTS },
18262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SIGMATEL, USB_DEVICE_ID_SIGMATEL_STMP3780), HID_QUIRK_NOGET },
18362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SIS_TOUCH, USB_DEVICE_ID_SIS1030_TOUCH), HID_QUIRK_NOGET },
18462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SIS_TOUCH, USB_DEVICE_ID_SIS817_TOUCH), HID_QUIRK_NOGET },
18562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SIS_TOUCH, USB_DEVICE_ID_SIS9200_TOUCH), HID_QUIRK_NOGET },
18662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SIS_TOUCH, USB_DEVICE_ID_SIS_TS), HID_QUIRK_NO_INIT_REPORTS },
18762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SUN, USB_DEVICE_ID_RARITAN_KVM_DONGLE), HID_QUIRK_NOGET },
18862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SYMBOL, USB_DEVICE_ID_SYMBOL_SCANNER_1), HID_QUIRK_NOGET },
18962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SYMBOL, USB_DEVICE_ID_SYMBOL_SCANNER_2), HID_QUIRK_NOGET },
19062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SYNAPTICS, USB_DEVICE_ID_SYNAPTICS_HD), HID_QUIRK_NO_INIT_REPORTS },
19162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SYNAPTICS, USB_DEVICE_ID_SYNAPTICS_LTS1), HID_QUIRK_NO_INIT_REPORTS },
19262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SYNAPTICS, USB_DEVICE_ID_SYNAPTICS_LTS2), HID_QUIRK_NO_INIT_REPORTS },
19362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SYNAPTICS, USB_DEVICE_ID_SYNAPTICS_QUAD_HD), HID_QUIRK_NO_INIT_REPORTS },
19462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SYNAPTICS, USB_DEVICE_ID_SYNAPTICS_TP_V103), HID_QUIRK_NO_INIT_REPORTS },
19562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SYNAPTICS, USB_DEVICE_ID_SYNAPTICS_DELL_K12A), HID_QUIRK_NO_INIT_REPORTS },
19662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SYNAPTICS, USB_DEVICE_ID_SYNAPTICS_DELL_K15A), HID_QUIRK_NO_INIT_REPORTS },
19762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_TOPMAX, USB_DEVICE_ID_TOPMAX_COBRAPAD), HID_QUIRK_BADPAD },
19862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_TOUCHPACK, USB_DEVICE_ID_TOUCHPACK_RTS), HID_QUIRK_MULTI_INPUT },
19962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_TPV, USB_DEVICE_ID_TPV_OPTICAL_TOUCHSCREEN_8882), HID_QUIRK_NOGET },
20062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_TPV, USB_DEVICE_ID_TPV_OPTICAL_TOUCHSCREEN_8883), HID_QUIRK_NOGET },
20162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_TURBOX, USB_DEVICE_ID_TURBOX_KEYBOARD), HID_QUIRK_NOGET },
20262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_UCLOGIC, USB_DEVICE_ID_UCLOGIC_TABLET_KNA5), HID_QUIRK_MULTI_INPUT },
20362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_UCLOGIC, USB_DEVICE_ID_UCLOGIC_TABLET_TWA60), HID_QUIRK_MULTI_INPUT },
20462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_UGTIZER, USB_DEVICE_ID_UGTIZER_TABLET_WP5540), HID_QUIRK_MULTI_INPUT },
20562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_MEDIA_TABLET_10_6_INCH), HID_QUIRK_MULTI_INPUT },
20662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_MEDIA_TABLET_14_1_INCH), HID_QUIRK_MULTI_INPUT },
20762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_SIRIUS_BATTERY_FREE_TABLET), HID_QUIRK_MULTI_INPUT },
20862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_WISEGROUP_LTD2, USB_DEVICE_ID_SMARTJOY_DUAL_PLUS), HID_QUIRK_NOGET | HID_QUIRK_MULTI_INPUT },
20962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_WISEGROUP, USB_DEVICE_ID_QUAD_USB_JOYPAD), HID_QUIRK_NOGET | HID_QUIRK_MULTI_INPUT },
21062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_XIN_MO, USB_DEVICE_ID_XIN_MO_DUAL_ARCADE), HID_QUIRK_MULTI_INPUT },
21162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_GROUP_AUDIO), HID_QUIRK_NOGET },
21262306a36Sopenharmony_ci
21362306a36Sopenharmony_ci	{ 0 }
21462306a36Sopenharmony_ci};
21562306a36Sopenharmony_ci
21662306a36Sopenharmony_ci/*
21762306a36Sopenharmony_ci * A list of devices for which there is a specialized driver on HID bus.
21862306a36Sopenharmony_ci *
21962306a36Sopenharmony_ci * Please note that for multitouch devices (driven by hid-multitouch driver),
22062306a36Sopenharmony_ci * there is a proper autodetection and autoloading in place (based on presence
22162306a36Sopenharmony_ci * of HID_DG_CONTACTID), so those devices don't need to be added to this list,
22262306a36Sopenharmony_ci * as we are doing the right thing in hid_scan_usage().
22362306a36Sopenharmony_ci *
22462306a36Sopenharmony_ci * Autodetection for (USB) HID sensor hubs exists too. If a collection of type
22562306a36Sopenharmony_ci * physical is found inside a usage page of type sensor, hid-sensor-hub will be
22662306a36Sopenharmony_ci * used as a driver. See hid_scan_report().
22762306a36Sopenharmony_ci */
22862306a36Sopenharmony_cistatic const struct hid_device_id hid_have_special_driver[] = {
22962306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_A4TECH)
23062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_A4TECH, USB_DEVICE_ID_A4TECH_WCP32PU) },
23162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_A4TECH, USB_DEVICE_ID_A4TECH_X5_005D) },
23262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_A4TECH, USB_DEVICE_ID_A4TECH_RP_649) },
23362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_A4TECH, USB_DEVICE_ID_A4TECH_NB_95) },
23462306a36Sopenharmony_ci#endif
23562306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_ACCUTOUCH)
23662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ELO, USB_DEVICE_ID_ELO_ACCUTOUCH_2216) },
23762306a36Sopenharmony_ci#endif
23862306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_ACRUX)
23962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ACRUX, 0x0802) },
24062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ACRUX, 0xf705) },
24162306a36Sopenharmony_ci#endif
24262306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_ALPS)
24362306a36Sopenharmony_ci	{ HID_DEVICE(HID_BUS_ANY, HID_GROUP_ANY, USB_VENDOR_ID_ALPS_JP, HID_DEVICE_ID_ALPS_U1_DUAL) },
24462306a36Sopenharmony_ci#endif
24562306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_APPLE)
24662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_MIGHTYMOUSE) },
24762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_FOUNTAIN_ANSI) },
24862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_FOUNTAIN_ISO) },
24962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER_ANSI) },
25062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER_ISO) },
25162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER_JIS) },
25262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER3_ANSI) },
25362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER3_ISO) },
25462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER3_JIS) },
25562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER4_ANSI) },
25662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER4_ISO) },
25762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER4_JIS) },
25862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_ALU_MINI_ANSI) },
25962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_ALU_MINI_ISO) },
26062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_ALU_MINI_JIS) },
26162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_ALU_ANSI) },
26262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_ALU_ISO) },
26362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_ALU_JIS) },
26462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER4_HF_ANSI) },
26562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER4_HF_ISO) },
26662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER4_HF_JIS) },
26762306a36Sopenharmony_ci	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_ALU_WIRELESS_ANSI) },
26862306a36Sopenharmony_ci	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_ALU_WIRELESS_ISO) },
26962306a36Sopenharmony_ci	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_ALU_WIRELESS_JIS) },
27062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING_ANSI) },
27162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING_ISO) },
27262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING_JIS) },
27362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING2_ANSI) },
27462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING2_ISO) },
27562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING2_JIS) },
27662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING3_ANSI) },
27762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING3_ISO) },
27862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING3_JIS) },
27962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING4_ANSI) },
28062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING4_ISO) },
28162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING4_JIS) },
28262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING4A_ANSI) },
28362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING4A_ISO) },
28462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING4A_JIS) },
28562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING5_ANSI) },
28662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING5_ISO) },
28762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING5_JIS) },
28862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING5A_ANSI) },
28962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING5A_ISO) },
29062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING5A_JIS) },
29162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_ALU_REVB_ANSI) },
29262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_ALU_REVB_ISO) },
29362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_ALU_REVB_JIS) },
29462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING6_ANSI) },
29562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING6_ISO) },
29662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING6_JIS) },
29762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING6A_ANSI) },
29862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING6A_ISO) },
29962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING6A_JIS) },
30062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING7_ANSI) },
30162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING7_ISO) },
30262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING7_JIS) },
30362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING7A_ANSI) },
30462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING7A_ISO) },
30562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING7A_JIS) },
30662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING8_ANSI) },
30762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING8_ISO) },
30862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING8_JIS) },
30962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING9_ANSI) },
31062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING9_ISO) },
31162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING9_JIS) },
31262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRINGT2_J140K) },
31362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRINGT2_J132) },
31462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRINGT2_J680) },
31562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRINGT2_J213) },
31662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRINGT2_J214K) },
31762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRINGT2_J223) },
31862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRINGT2_J230K) },
31962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRINGT2_J152F) },
32062306a36Sopenharmony_ci	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_ALU_WIRELESS_2009_ANSI) },
32162306a36Sopenharmony_ci	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_ALU_WIRELESS_2009_ISO) },
32262306a36Sopenharmony_ci	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_ALU_WIRELESS_2009_JIS) },
32362306a36Sopenharmony_ci	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_ALU_WIRELESS_2011_ANSI) },
32462306a36Sopenharmony_ci	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_ALU_WIRELESS_2011_ISO) },
32562306a36Sopenharmony_ci	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_ALU_WIRELESS_2011_JIS) },
32662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_MAGIC_KEYBOARD_2015) },
32762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_FOUNTAIN_TP_ONLY) },
32862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER1_TP_ONLY) },
32962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_MAGIC_KEYBOARD_2021) },
33062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_MAGIC_KEYBOARD_FINGERPRINT_2021) },
33162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_TOUCHBAR_BACKLIGHT) },
33262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_TOUCHBAR_DISPLAY) },
33362306a36Sopenharmony_ci#endif
33462306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_APPLEIR)
33562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_IRCONTROL) },
33662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_IRCONTROL2) },
33762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_IRCONTROL3) },
33862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_IRCONTROL4) },
33962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_IRCONTROL5) },
34062306a36Sopenharmony_ci#endif
34162306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_ASUS)
34262306a36Sopenharmony_ci	{ HID_I2C_DEVICE(USB_VENDOR_ID_ASUSTEK, USB_DEVICE_ID_ASUSTEK_I2C_KEYBOARD) },
34362306a36Sopenharmony_ci	{ HID_I2C_DEVICE(USB_VENDOR_ID_ASUSTEK, USB_DEVICE_ID_ASUSTEK_I2C_TOUCHPAD) },
34462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ASUSTEK, USB_DEVICE_ID_ASUSTEK_ROG_KEYBOARD1) },
34562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ASUSTEK, USB_DEVICE_ID_ASUSTEK_ROG_KEYBOARD2) },
34662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ASUSTEK, USB_DEVICE_ID_ASUSTEK_ROG_KEYBOARD3) },
34762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_JESS, USB_DEVICE_ID_ASUS_MD_5112) },
34862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_TURBOX, USB_DEVICE_ID_ASUS_MD_5110) },
34962306a36Sopenharmony_ci	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_ASUSTEK, USB_DEVICE_ID_ASUSTEK_T100CHI_KEYBOARD) },
35062306a36Sopenharmony_ci#endif
35162306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_AUREAL)
35262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_AUREAL, USB_DEVICE_ID_AUREAL_W01RN) },
35362306a36Sopenharmony_ci#endif
35462306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_BELKIN)
35562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_BELKIN, USB_DEVICE_ID_FLIP_KVM) },
35662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LABTEC, USB_DEVICE_ID_LABTEC_WIRELESS_KEYBOARD) },
35762306a36Sopenharmony_ci#endif
35862306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_BETOP_FF)
35962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_BETOP_2185BFM, 0x2208) },
36062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_BETOP_2185PC, 0x5506) },
36162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_BETOP_2185V2PC, 0x1850) },
36262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_BETOP_2185V2BFM, 0x5500) },
36362306a36Sopenharmony_ci#endif
36462306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_CHERRY)
36562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CHERRY, USB_DEVICE_ID_CHERRY_CYMOTION) },
36662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CHERRY, USB_DEVICE_ID_CHERRY_CYMOTION_SOLAR) },
36762306a36Sopenharmony_ci#endif
36862306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_CHICONY)
36962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_TACTICAL_PAD) },
37062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_WIRELESS2) },
37162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_ASUS_AK1D) },
37262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_ACER_SWITCH12) },
37362306a36Sopenharmony_ci#endif
37462306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_CMEDIA)
37562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CMEDIA, USB_DEVICE_ID_CM6533) },
37662306a36Sopenharmony_ci#endif
37762306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_CORSAIR)
37862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CORSAIR, USB_DEVICE_ID_CORSAIR_K90) },
37962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CORSAIR, USB_DEVICE_ID_CORSAIR_GLAIVE_RGB) },
38062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CORSAIR, USB_DEVICE_ID_CORSAIR_SCIMITAR_PRO_RGB) },
38162306a36Sopenharmony_ci#endif
38262306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_CP2112)
38362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CYGNAL, USB_DEVICE_ID_CYGNAL_CP2112) },
38462306a36Sopenharmony_ci#endif
38562306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_CYPRESS)
38662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_BARCODE_1) },
38762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_BARCODE_2) },
38862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_BARCODE_3) },
38962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_BARCODE_4) },
39062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_MOUSE) },
39162306a36Sopenharmony_ci#endif
39262306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_DRAGONRISE)
39362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_DRAGONRISE, 0x0006) },
39462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_DRAGONRISE, 0x0011) },
39562306a36Sopenharmony_ci#endif
39662306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_ELAN)
39762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ELAN, USB_DEVICE_ID_HP_X2_10_COVER) },
39862306a36Sopenharmony_ci#endif
39962306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_ELECOM)
40062306a36Sopenharmony_ci	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_ELECOM, USB_DEVICE_ID_ELECOM_BM084) },
40162306a36Sopenharmony_ci	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_ELECOM, USB_DEVICE_ID_ELECOM_M_XGL20DLBK) },
40262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ELECOM, USB_DEVICE_ID_ELECOM_M_XT3URBK) },
40362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ELECOM, USB_DEVICE_ID_ELECOM_M_XT3DRBK) },
40462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ELECOM, USB_DEVICE_ID_ELECOM_M_XT4DRBK) },
40562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ELECOM, USB_DEVICE_ID_ELECOM_M_DT1URBK) },
40662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ELECOM, USB_DEVICE_ID_ELECOM_M_DT1DRBK) },
40762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ELECOM, USB_DEVICE_ID_ELECOM_M_HT1URBK) },
40862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ELECOM, USB_DEVICE_ID_ELECOM_M_HT1DRBK_010D) },
40962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ELECOM, USB_DEVICE_ID_ELECOM_M_HT1DRBK_011C) },
41062306a36Sopenharmony_ci#endif
41162306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_ELO)
41262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ELO, 0x0009) },
41362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ELO, 0x0030) },
41462306a36Sopenharmony_ci#endif
41562306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_EMS_FF)
41662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_EMS, USB_DEVICE_ID_EMS_TRIO_LINKER_PLUS_II) },
41762306a36Sopenharmony_ci#endif
41862306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_EZKEY)
41962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_EZKEY, USB_DEVICE_ID_BTC_8193) },
42062306a36Sopenharmony_ci#endif
42162306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_GEMBIRD)
42262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GEMBIRD, USB_DEVICE_ID_GEMBIRD_JPD_DUALFORCE2) },
42362306a36Sopenharmony_ci#endif
42462306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_GFRM)
42562306a36Sopenharmony_ci	{ HID_BLUETOOTH_DEVICE(0x58, 0x2000) },
42662306a36Sopenharmony_ci	{ HID_BLUETOOTH_DEVICE(0x471, 0x2210) },
42762306a36Sopenharmony_ci#endif
42862306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_GREENASIA)
42962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GREENASIA, 0x0012) },
43062306a36Sopenharmony_ci#endif
43162306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_GT683R)
43262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MSI, USB_DEVICE_ID_MSI_GT683R_LED_PANEL) },
43362306a36Sopenharmony_ci#endif
43462306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_GYRATION)
43562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GYRATION, USB_DEVICE_ID_GYRATION_REMOTE) },
43662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GYRATION, USB_DEVICE_ID_GYRATION_REMOTE_2) },
43762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GYRATION, USB_DEVICE_ID_GYRATION_REMOTE_3) },
43862306a36Sopenharmony_ci#endif
43962306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_HOLTEK)
44062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_HOLTEK, USB_DEVICE_ID_HOLTEK_ON_LINE_GRIP) },
44162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_HOLTEK_ALT, USB_DEVICE_ID_HOLTEK_ALT_KEYBOARD) },
44262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_HOLTEK_ALT, USB_DEVICE_ID_HOLTEK_ALT_MOUSE_A04A) },
44362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_HOLTEK_ALT, USB_DEVICE_ID_HOLTEK_ALT_MOUSE_A067) },
44462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_HOLTEK_ALT, USB_DEVICE_ID_HOLTEK_ALT_MOUSE_A070) },
44562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_HOLTEK_ALT, USB_DEVICE_ID_HOLTEK_ALT_MOUSE_A072) },
44662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_HOLTEK_ALT, USB_DEVICE_ID_HOLTEK_ALT_MOUSE_A081) },
44762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_HOLTEK_ALT, USB_DEVICE_ID_HOLTEK_ALT_MOUSE_A0C2) },
44862306a36Sopenharmony_ci#endif
44962306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_ICADE)
45062306a36Sopenharmony_ci	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_ION, USB_DEVICE_ID_ICADE) },
45162306a36Sopenharmony_ci#endif
45262306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_JABRA)
45362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_JABRA, HID_ANY_ID) },
45462306a36Sopenharmony_ci#endif
45562306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_KENSINGTON)
45662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_KENSINGTON, USB_DEVICE_ID_KS_SLIMBLADE) },
45762306a36Sopenharmony_ci#endif
45862306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_KEYTOUCH)
45962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_KEYTOUCH, USB_DEVICE_ID_KEYTOUCH_IEC) },
46062306a36Sopenharmony_ci#endif
46162306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_KYE)
46262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_KYE, USB_DEVICE_ID_GENIUS_GILA_GAMING_MOUSE) },
46362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_KYE, USB_DEVICE_ID_GENIUS_MANTICORE) },
46462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_KYE, USB_DEVICE_ID_GENIUS_GX_IMPERATOR) },
46562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_KYE, USB_DEVICE_ID_KYE_ERGO_525V) },
46662306a36Sopenharmony_ci#endif
46762306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_LCPOWER)
46862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LCPOWER, USB_DEVICE_ID_LCPOWER_LC1000) },
46962306a36Sopenharmony_ci#endif
47062306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_LENOVO)
47162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LENOVO, USB_DEVICE_ID_LENOVO_TPKBD) },
47262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LENOVO, USB_DEVICE_ID_LENOVO_CUSBKBD) },
47362306a36Sopenharmony_ci	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LENOVO, USB_DEVICE_ID_LENOVO_CBTKBD) },
47462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LENOVO, USB_DEVICE_ID_LENOVO_TPPRODOCK) },
47562306a36Sopenharmony_ci#endif
47662306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_LOGITECH)
47762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_MX3000_RECEIVER) },
47862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_S510_RECEIVER) },
47962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_RECEIVER) },
48062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_DINOVO_DESKTOP) },
48162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_ELITE_KBD) },
48262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_CORDLESS_DESKTOP_LX500) },
48362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_EXTREME_3D) },
48462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_DUAL_ACTION) },
48562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_WHEEL) },
48662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_RUMBLEPAD_CORD) },
48762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_RUMBLEPAD) },
48862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_RUMBLEPAD2_2) },
48962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_G29_WHEEL) },
49062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_WINGMAN_F3D) },
49162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_WINGMAN_FG) },
49262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_WINGMAN_FFG) },
49362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_FORCE3D_PRO) },
49462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_FLIGHT_SYSTEM_G940) },
49562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_MOMO_WHEEL) },
49662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_MOMO_WHEEL2) },
49762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_VIBRATION_WHEEL) },
49862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_DFP_WHEEL) },
49962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_DFGT_WHEEL) },
50062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_G25_WHEEL) },
50162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_G27_WHEEL) },
50262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_WII_WHEEL) },
50362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_RUMBLEPAD2) },
50462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_SPACETRAVELLER) },
50562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_SPACENAVIGATOR) },
50662306a36Sopenharmony_ci#endif
50762306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_LOGITECH_HIDPP)
50862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_G920_WHEEL) },
50962306a36Sopenharmony_ci#endif
51062306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_MAGICMOUSE)
51162306a36Sopenharmony_ci	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_MAGICMOUSE) },
51262306a36Sopenharmony_ci	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_MAGICTRACKPAD) },
51362306a36Sopenharmony_ci#endif
51462306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_MAYFLASH)
51562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_DRAGONRISE, USB_DEVICE_ID_DRAGONRISE_PS3) },
51662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_DRAGONRISE, USB_DEVICE_ID_DRAGONRISE_DOLPHINBAR) },
51762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_DRAGONRISE, USB_DEVICE_ID_DRAGONRISE_GAMECUBE1) },
51862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_DRAGONRISE, USB_DEVICE_ID_DRAGONRISE_GAMECUBE2) },
51962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_DRAGONRISE, USB_DEVICE_ID_DRAGONRISE_GAMECUBE3) },
52062306a36Sopenharmony_ci#endif
52162306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_MICROSOFT)
52262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_COMFORT_MOUSE_4500) },
52362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_COMFORT_KEYBOARD) },
52462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_SIDEWINDER_GV) },
52562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_NE4K) },
52662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_NE4K_JP) },
52762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_NE7K) },
52862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_LK6K) },
52962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_PRESENTER_8K_USB) },
53062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_DIGITAL_MEDIA_3K) },
53162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_WIRELESS_OPTICAL_DESKTOP_3_0) },
53262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_OFFICE_KB) },
53362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_DIGITAL_MEDIA_7K) },
53462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_DIGITAL_MEDIA_600) },
53562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_DIGITAL_MEDIA_3KV1) },
53662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_POWER_COVER) },
53762306a36Sopenharmony_ci	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_PRESENTER_8K_BT) },
53862306a36Sopenharmony_ci#endif
53962306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_MONTEREY)
54062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MONTEREY, USB_DEVICE_ID_GENIUS_KB29E) },
54162306a36Sopenharmony_ci#endif
54262306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_MULTITOUCH)
54362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LG, USB_DEVICE_ID_LG_MELFAS_MT) },
54462306a36Sopenharmony_ci#endif
54562306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_WIIMOTE)
54662306a36Sopenharmony_ci	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_NINTENDO, USB_DEVICE_ID_NINTENDO_WIIMOTE) },
54762306a36Sopenharmony_ci	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_NINTENDO, USB_DEVICE_ID_NINTENDO_WIIMOTE2) },
54862306a36Sopenharmony_ci#endif
54962306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_NTI)
55062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_NTI, USB_DEVICE_ID_USB_SUN) },
55162306a36Sopenharmony_ci#endif
55262306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_NTRIG)
55362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_NTRIG, USB_DEVICE_ID_NTRIG_TOUCH_SCREEN) },
55462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_NTRIG, USB_DEVICE_ID_NTRIG_TOUCH_SCREEN_1) },
55562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_NTRIG, USB_DEVICE_ID_NTRIG_TOUCH_SCREEN_2) },
55662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_NTRIG, USB_DEVICE_ID_NTRIG_TOUCH_SCREEN_3) },
55762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_NTRIG, USB_DEVICE_ID_NTRIG_TOUCH_SCREEN_4) },
55862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_NTRIG, USB_DEVICE_ID_NTRIG_TOUCH_SCREEN_5) },
55962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_NTRIG, USB_DEVICE_ID_NTRIG_TOUCH_SCREEN_6) },
56062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_NTRIG, USB_DEVICE_ID_NTRIG_TOUCH_SCREEN_7) },
56162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_NTRIG, USB_DEVICE_ID_NTRIG_TOUCH_SCREEN_8) },
56262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_NTRIG, USB_DEVICE_ID_NTRIG_TOUCH_SCREEN_9) },
56362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_NTRIG, USB_DEVICE_ID_NTRIG_TOUCH_SCREEN_10) },
56462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_NTRIG, USB_DEVICE_ID_NTRIG_TOUCH_SCREEN_11) },
56562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_NTRIG, USB_DEVICE_ID_NTRIG_TOUCH_SCREEN_12) },
56662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_NTRIG, USB_DEVICE_ID_NTRIG_TOUCH_SCREEN_13) },
56762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_NTRIG, USB_DEVICE_ID_NTRIG_TOUCH_SCREEN_14) },
56862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_NTRIG, USB_DEVICE_ID_NTRIG_TOUCH_SCREEN_15) },
56962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_NTRIG, USB_DEVICE_ID_NTRIG_TOUCH_SCREEN_16) },
57062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_NTRIG, USB_DEVICE_ID_NTRIG_TOUCH_SCREEN_17) },
57162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_NTRIG, USB_DEVICE_ID_NTRIG_TOUCH_SCREEN_18) },
57262306a36Sopenharmony_ci#endif
57362306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_ORTEK)
57462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ORTEK, USB_DEVICE_ID_ORTEK_PKB1700) },
57562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ORTEK, USB_DEVICE_ID_ORTEK_WKB2000) },
57662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ORTEK, USB_DEVICE_ID_ORTEK_IHOME_IMAC_A210S) },
57762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SKYCABLE, USB_DEVICE_ID_SKYCABLE_WIRELESS_PRESENTER) },
57862306a36Sopenharmony_ci#endif
57962306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_PANTHERLORD)
58062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GAMERON, USB_DEVICE_ID_GAMERON_DUAL_PSX_ADAPTOR) },
58162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GAMERON, USB_DEVICE_ID_GAMERON_DUAL_PCS_ADAPTOR) },
58262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GREENASIA, 0x0003) },
58362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_JESS2, USB_DEVICE_ID_JESS2_COLOR_RUMBLE_PAD) },
58462306a36Sopenharmony_ci#endif
58562306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_PENMOUNT)
58662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_PENMOUNT, USB_DEVICE_ID_PENMOUNT_6000) },
58762306a36Sopenharmony_ci#endif
58862306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_PETALYNX)
58962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_PETALYNX, USB_DEVICE_ID_PETALYNX_MAXTER_REMOTE) },
59062306a36Sopenharmony_ci#endif
59162306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_PICOLCD)
59262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MICROCHIP, USB_DEVICE_ID_PICOLCD) },
59362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MICROCHIP, USB_DEVICE_ID_PICOLCD_BOOTLOADER) },
59462306a36Sopenharmony_ci#endif
59562306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_PLANTRONICS)
59662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_PLANTRONICS, HID_ANY_ID) },
59762306a36Sopenharmony_ci#endif
59862306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_PRIMAX)
59962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_PRIMAX, USB_DEVICE_ID_PRIMAX_KEYBOARD) },
60062306a36Sopenharmony_ci#endif
60162306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_PRODIKEYS)
60262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CREATIVELABS, USB_DEVICE_ID_PRODIKEYS_PCMIDI) },
60362306a36Sopenharmony_ci#endif
60462306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_RETRODE)
60562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_FUTURE_TECHNOLOGY, USB_DEVICE_ID_RETRODE2) },
60662306a36Sopenharmony_ci#endif
60762306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_RMI)
60862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LENOVO, USB_DEVICE_ID_LENOVO_X1_COVER) },
60962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_RAZER, USB_DEVICE_ID_RAZER_BLADE_14) },
61062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_PRIMAX, USB_DEVICE_ID_PRIMAX_REZEL) },
61162306a36Sopenharmony_ci#endif
61262306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_ROCCAT)
61362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ROCCAT, USB_DEVICE_ID_ROCCAT_ARVO) },
61462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ROCCAT, USB_DEVICE_ID_ROCCAT_ISKU) },
61562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ROCCAT, USB_DEVICE_ID_ROCCAT_ISKUFX) },
61662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ROCCAT, USB_DEVICE_ID_ROCCAT_KONE) },
61762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ROCCAT, USB_DEVICE_ID_ROCCAT_KONEPLUS) },
61862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ROCCAT, USB_DEVICE_ID_ROCCAT_KONEPURE) },
61962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ROCCAT, USB_DEVICE_ID_ROCCAT_KONEPURE_OPTICAL) },
62062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ROCCAT, USB_DEVICE_ID_ROCCAT_KONEXTD) },
62162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ROCCAT, USB_DEVICE_ID_ROCCAT_KOVAPLUS) },
62262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ROCCAT, USB_DEVICE_ID_ROCCAT_LUA) },
62362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ROCCAT, USB_DEVICE_ID_ROCCAT_PYRA_WIRED) },
62462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ROCCAT, USB_DEVICE_ID_ROCCAT_PYRA_WIRELESS) },
62562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ROCCAT, USB_DEVICE_ID_ROCCAT_RYOS_MK) },
62662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ROCCAT, USB_DEVICE_ID_ROCCAT_RYOS_MK_GLOW) },
62762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ROCCAT, USB_DEVICE_ID_ROCCAT_RYOS_MK_PRO) },
62862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ROCCAT, USB_DEVICE_ID_ROCCAT_SAVU) },
62962306a36Sopenharmony_ci#endif
63062306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_SAITEK)
63162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SAITEK, USB_DEVICE_ID_SAITEK_PS1000) },
63262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SAITEK, USB_DEVICE_ID_SAITEK_RAT7_OLD) },
63362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SAITEK, USB_DEVICE_ID_SAITEK_RAT7) },
63462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SAITEK, USB_DEVICE_ID_SAITEK_RAT9) },
63562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SAITEK, USB_DEVICE_ID_SAITEK_MMO7) },
63662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MADCATZ, USB_DEVICE_ID_MADCATZ_RAT5) },
63762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MADCATZ, USB_DEVICE_ID_MADCATZ_RAT9) },
63862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MADCATZ, USB_DEVICE_ID_MADCATZ_MMO7) },
63962306a36Sopenharmony_ci#endif
64062306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_SAMSUNG)
64162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SAMSUNG, USB_DEVICE_ID_SAMSUNG_IR_REMOTE) },
64262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SAMSUNG, USB_DEVICE_ID_SAMSUNG_WIRELESS_KBD_MOUSE) },
64362306a36Sopenharmony_ci#endif
64462306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_SMARTJOYPLUS)
64562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_PLAYDOTCOM, USB_DEVICE_ID_PLAYDOTCOM_EMS_USBII) },
64662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_WISEGROUP, USB_DEVICE_ID_SMARTJOY_PLUS) },
64762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_WISEGROUP, USB_DEVICE_ID_SUPER_JOY_BOX_3) },
64862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_WISEGROUP, USB_DEVICE_ID_DUAL_USB_JOYPAD) },
64962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_WISEGROUP_LTD, USB_DEVICE_ID_SUPER_JOY_BOX_3_PRO) },
65062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_WISEGROUP_LTD, USB_DEVICE_ID_SUPER_DUAL_BOX_PRO) },
65162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_WISEGROUP_LTD, USB_DEVICE_ID_SUPER_JOY_BOX_5_PRO) },
65262306a36Sopenharmony_ci#endif
65362306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_SONY)
65462306a36Sopenharmony_ci	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_HARMONY_PS3) },
65562306a36Sopenharmony_ci	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_SMK, USB_DEVICE_ID_SMK_PS3_BDREMOTE) },
65662306a36Sopenharmony_ci	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_SMK, USB_DEVICE_ID_SMK_NSG_MR5U_REMOTE) },
65762306a36Sopenharmony_ci	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_SMK, USB_DEVICE_ID_SMK_NSG_MR7U_REMOTE) },
65862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SONY, USB_DEVICE_ID_SONY_BUZZ_CONTROLLER) },
65962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SONY, USB_DEVICE_ID_SONY_WIRELESS_BUZZ_CONTROLLER) },
66062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SONY, USB_DEVICE_ID_SONY_MOTION_CONTROLLER) },
66162306a36Sopenharmony_ci	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_SONY, USB_DEVICE_ID_SONY_MOTION_CONTROLLER) },
66262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SONY, USB_DEVICE_ID_SONY_NAVIGATION_CONTROLLER) },
66362306a36Sopenharmony_ci	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_SONY, USB_DEVICE_ID_SONY_NAVIGATION_CONTROLLER) },
66462306a36Sopenharmony_ci	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_SONY, USB_DEVICE_ID_SONY_PS3_BDREMOTE) },
66562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SONY, USB_DEVICE_ID_SONY_PS3_CONTROLLER) },
66662306a36Sopenharmony_ci	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_SONY, USB_DEVICE_ID_SONY_PS3_CONTROLLER) },
66762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SONY, USB_DEVICE_ID_SONY_PS4_CONTROLLER) },
66862306a36Sopenharmony_ci	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_SONY, USB_DEVICE_ID_SONY_PS4_CONTROLLER) },
66962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SONY, USB_DEVICE_ID_SONY_PS4_CONTROLLER_2) },
67062306a36Sopenharmony_ci	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_SONY, USB_DEVICE_ID_SONY_PS4_CONTROLLER_2) },
67162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SONY, USB_DEVICE_ID_SONY_PS4_CONTROLLER_DONGLE) },
67262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SONY, USB_DEVICE_ID_SONY_VAIO_VGX_MOUSE) },
67362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SONY, USB_DEVICE_ID_SONY_VAIO_VGP_MOUSE) },
67462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SINO_LITE, USB_DEVICE_ID_SINO_LITE_CONTROLLER) },
67562306a36Sopenharmony_ci#endif
67662306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_SPEEDLINK)
67762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_X_TENSIONS, USB_DEVICE_ID_SPEEDLINK_VAD_CEZANNE) },
67862306a36Sopenharmony_ci#endif
67962306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_STEELSERIES)
68062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_STEELSERIES, USB_DEVICE_ID_STEELSERIES_SRWS1) },
68162306a36Sopenharmony_ci#endif
68262306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_SUNPLUS)
68362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SUNPLUS, USB_DEVICE_ID_SUNPLUS_WDESKTOP) },
68462306a36Sopenharmony_ci#endif
68562306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_THRUSTMASTER)
68662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb300) },
68762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb304) },
68862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb323) },
68962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb324) },
69062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb605) },
69162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb651) },
69262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb653) },
69362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb654) },
69462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb65a) },
69562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb65d) },
69662306a36Sopenharmony_ci#endif
69762306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_TIVO)
69862306a36Sopenharmony_ci	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_TIVO, USB_DEVICE_ID_TIVO_SLIDE_BT) },
69962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_TIVO, USB_DEVICE_ID_TIVO_SLIDE) },
70062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_TIVO, USB_DEVICE_ID_TIVO_SLIDE_PRO) },
70162306a36Sopenharmony_ci#endif
70262306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_TOPSEED)
70362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_BTC, USB_DEVICE_ID_BTC_EMPREX_REMOTE) },
70462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_BTC, USB_DEVICE_ID_BTC_EMPREX_REMOTE_2) },
70562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_WIRELESS) },
70662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_TOPSEED, USB_DEVICE_ID_TOPSEED_CYBERLINK) },
70762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_TOPSEED2, USB_DEVICE_ID_TOPSEED2_RF_COMBO) },
70862306a36Sopenharmony_ci#endif
70962306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_TWINHAN)
71062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_TWINHAN, USB_DEVICE_ID_TWINHAN_IR_REMOTE) },
71162306a36Sopenharmony_ci#endif
71262306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_UDRAW_PS3)
71362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_THQ, USB_DEVICE_ID_THQ_PS3_UDRAW) },
71462306a36Sopenharmony_ci#endif
71562306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_XINMO)
71662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_XIN_MO, USB_DEVICE_ID_XIN_MO_DUAL_ARCADE) },
71762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_XIN_MO, USB_DEVICE_ID_THT_2P_ARCADE) },
71862306a36Sopenharmony_ci#endif
71962306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_ZEROPLUS)
72062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0005) },
72162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0030) },
72262306a36Sopenharmony_ci#endif
72362306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_HID_ZYDACRON)
72462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ZYDACRON, USB_DEVICE_ID_ZYDACRON_REMOTE_CONTROL) },
72562306a36Sopenharmony_ci#endif
72662306a36Sopenharmony_ci	{ }
72762306a36Sopenharmony_ci};
72862306a36Sopenharmony_ci
72962306a36Sopenharmony_ci/* a list of devices that shouldn't be handled by HID core at all */
73062306a36Sopenharmony_cistatic const struct hid_device_id hid_ignore_list[] = {
73162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ACECAD, USB_DEVICE_ID_ACECAD_FLAIR) },
73262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ACECAD, USB_DEVICE_ID_ACECAD_302) },
73362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ADS_TECH, USB_DEVICE_ID_ADS_TECH_RADIO_SI470X) },
73462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_AIPTEK, USB_DEVICE_ID_AIPTEK_01) },
73562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_AIPTEK, USB_DEVICE_ID_AIPTEK_10) },
73662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_AIPTEK, USB_DEVICE_ID_AIPTEK_20) },
73762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_AIPTEK, USB_DEVICE_ID_AIPTEK_21) },
73862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_AIPTEK, USB_DEVICE_ID_AIPTEK_22) },
73962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_AIPTEK, USB_DEVICE_ID_AIPTEK_23) },
74062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_AIPTEK, USB_DEVICE_ID_AIPTEK_24) },
74162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_AIRCABLE, USB_DEVICE_ID_AIRCABLE1) },
74262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ALCOR, USB_DEVICE_ID_ALCOR_USBRS232) },
74362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ASUSTEK, USB_DEVICE_ID_ASUSTEK_LCM)},
74462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ASUSTEK, USB_DEVICE_ID_ASUSTEK_LCM2)},
74562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_AVERMEDIA, USB_DEVICE_ID_AVER_FM_MR800) },
74662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_AXENTIA, USB_DEVICE_ID_AXENTIA_FM_RADIO) },
74762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_BERKSHIRE, USB_DEVICE_ID_BERKSHIRE_PCWD) },
74862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CIDC, 0x0103) },
74962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CYGNAL, USB_DEVICE_ID_CYGNAL_RADIO_SI470X) },
75062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CYGNAL, USB_DEVICE_ID_CYGNAL_RADIO_SI4713) },
75162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CMEDIA, USB_DEVICE_ID_CM109) },
75262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_HIDCOM) },
75362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_ULTRAMOUSE) },
75462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_DEALEXTREAME, USB_DEVICE_ID_DEALEXTREAME_RADIO_SI4701) },
75562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_DELORME, USB_DEVICE_ID_DELORME_EARTHMATE) },
75662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_DELORME, USB_DEVICE_ID_DELORME_EM_LT20) },
75762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ESSENTIAL_REALITY, USB_DEVICE_ID_ESSENTIAL_REALITY_P5) },
75862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ETT, USB_DEVICE_ID_TC5UH) },
75962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ETT, USB_DEVICE_ID_TC4UM) },
76062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GENERAL_TOUCH, 0x0001) },
76162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GENERAL_TOUCH, 0x0002) },
76262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GENERAL_TOUCH, 0x0004) },
76362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GOTOP, USB_DEVICE_ID_SUPER_Q2) },
76462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GOTOP, USB_DEVICE_ID_GOGOPEN) },
76562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GOTOP, USB_DEVICE_ID_PENPOWER) },
76662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GRETAGMACBETH, USB_DEVICE_ID_GRETAGMACBETH_HUEY) },
76762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GRIFFIN, USB_DEVICE_ID_POWERMATE) },
76862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GRIFFIN, USB_DEVICE_ID_SOUNDKNOB) },
76962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GRIFFIN, USB_DEVICE_ID_RADIOSHARK) },
77062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_90) },
77162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_100) },
77262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_101) },
77362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_103) },
77462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_104) },
77562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_105) },
77662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_106) },
77762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_107) },
77862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_108) },
77962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_200) },
78062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_201) },
78162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_202) },
78262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_203) },
78362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_204) },
78462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_205) },
78562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_206) },
78662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_207) },
78762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_300) },
78862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_301) },
78962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_302) },
79062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_303) },
79162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_304) },
79262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_305) },
79362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_306) },
79462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_307) },
79562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_308) },
79662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_309) },
79762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_400) },
79862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_401) },
79962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_402) },
80062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_403) },
80162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_404) },
80262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_405) },
80362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_500) },
80462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_501) },
80562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_502) },
80662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_503) },
80762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_504) },
80862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_1000) },
80962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_1001) },
81062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_1002) },
81162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_1003) },
81262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_1004) },
81362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_1005) },
81462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_1006) },
81562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_1007) },
81662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_IMATION, USB_DEVICE_ID_DISC_STAKKA) },
81762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_JABRA, USB_DEVICE_ID_JABRA_GN9350E) },
81862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_KBGEAR, USB_DEVICE_ID_KBGEAR_JAMSTUDIO) },
81962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_KWORLD, USB_DEVICE_ID_KWORLD_RADIO_FM700) },
82062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_KYE, USB_DEVICE_ID_KYE_GPEN_560) },
82162306a36Sopenharmony_ci	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_KYE, 0x0058) },
82262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_CASSY) },
82362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_CASSY2) },
82462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_POCKETCASSY) },
82562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_POCKETCASSY2) },
82662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_MOBILECASSY) },
82762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_MOBILECASSY2) },
82862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_MICROCASSYVOLTAGE) },
82962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_MICROCASSYCURRENT) },
83062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_MICROCASSYTIME) },
83162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_MICROCASSYTEMPERATURE) },
83262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_MICROCASSYPH) },
83362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_POWERANALYSERCASSY) },
83462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_CONVERTERCONTROLLERCASSY) },
83562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_MACHINETESTCASSY) },
83662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_JWM) },
83762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_DMMP) },
83862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_UMIP) },
83962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_UMIC) },
84062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_UMIB) },
84162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_XRAY) },
84262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_XRAY2) },
84362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_VIDEOCOM) },
84462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_MOTOR) },
84562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_COM3LAB) },
84662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_TELEPORT) },
84762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_NETWORKANALYSER) },
84862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_POWERCONTROL) },
84962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_MACHINETEST) },
85062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_MOSTANALYSER) },
85162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_MOSTANALYSER2) },
85262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_ABSESP) },
85362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_AUTODATABUS) },
85462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_MCT) },
85562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_HYBRID) },
85662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_HEATCONTROL) },
85762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MADCATZ, USB_DEVICE_ID_MADCATZ_BEATPAD) },
85862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MCC, USB_DEVICE_ID_MCC_PMD1024LS) },
85962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MCC, USB_DEVICE_ID_MCC_PMD1208LS) },
86062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MICROCHIP, USB_DEVICE_ID_PICKIT1) },
86162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MICROCHIP, USB_DEVICE_ID_PICKIT2) },
86262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MICROCHIP, USB_DEVICE_ID_PICK16F1454) },
86362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_MICROCHIP, USB_DEVICE_ID_PICK16F1454_V2) },
86462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_NATIONAL_SEMICONDUCTOR, USB_DEVICE_ID_N_S_HARMONY) },
86562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ONTRAK, USB_DEVICE_ID_ONTRAK_ADU100) },
86662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ONTRAK, USB_DEVICE_ID_ONTRAK_ADU100 + 20) },
86762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ONTRAK, USB_DEVICE_ID_ONTRAK_ADU100 + 30) },
86862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ONTRAK, USB_DEVICE_ID_ONTRAK_ADU100 + 100) },
86962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ONTRAK, USB_DEVICE_ID_ONTRAK_ADU100 + 108) },
87062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ONTRAK, USB_DEVICE_ID_ONTRAK_ADU100 + 118) },
87162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ONTRAK, USB_DEVICE_ID_ONTRAK_ADU100 + 200) },
87262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ONTRAK, USB_DEVICE_ID_ONTRAK_ADU100 + 300) },
87362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ONTRAK, USB_DEVICE_ID_ONTRAK_ADU100 + 400) },
87462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_ONTRAK, USB_DEVICE_ID_ONTRAK_ADU100 + 500) },
87562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_PANJIT, 0x0001) },
87662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_PANJIT, 0x0002) },
87762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_PANJIT, 0x0003) },
87862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_PANJIT, 0x0004) },
87962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_PETZL, USB_DEVICE_ID_PETZL_HEADLAMP) },
88062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_PHILIPS, USB_DEVICE_ID_PHILIPS_IEEE802154_DONGLE) },
88162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_POWERCOM, USB_DEVICE_ID_POWERCOM_UPS) },
88262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SAI, USB_DEVICE_ID_CYPRESS_HIDCOM) },
88362306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_MOUSE_SYNAPTICS_USB)
88462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SYNAPTICS, USB_DEVICE_ID_SYNAPTICS_TP) },
88562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SYNAPTICS, USB_DEVICE_ID_SYNAPTICS_INT_TP) },
88662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SYNAPTICS, USB_DEVICE_ID_SYNAPTICS_CPAD) },
88762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SYNAPTICS, USB_DEVICE_ID_SYNAPTICS_STICK) },
88862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SYNAPTICS, USB_DEVICE_ID_SYNAPTICS_WP) },
88962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SYNAPTICS, USB_DEVICE_ID_SYNAPTICS_COMP_TP) },
89062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SYNAPTICS, USB_DEVICE_ID_SYNAPTICS_WTP) },
89162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_SYNAPTICS, USB_DEVICE_ID_SYNAPTICS_DPAD) },
89262306a36Sopenharmony_ci#endif
89362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_YEALINK, USB_DEVICE_ID_YEALINK_P1K_P4K_B2K) },
89462306a36Sopenharmony_ci	{ }
89562306a36Sopenharmony_ci};
89662306a36Sopenharmony_ci
89762306a36Sopenharmony_ci/*
89862306a36Sopenharmony_ci * hid_mouse_ignore_list - mouse devices which should not be handled by the hid layer
89962306a36Sopenharmony_ci *
90062306a36Sopenharmony_ci * There are composite devices for which we want to ignore only a certain
90162306a36Sopenharmony_ci * interface. This is a list of devices for which only the mouse interface will
90262306a36Sopenharmony_ci * be ignored. This allows a dedicated driver to take care of the interface.
90362306a36Sopenharmony_ci */
90462306a36Sopenharmony_cistatic const struct hid_device_id hid_mouse_ignore_list[] = {
90562306a36Sopenharmony_ci	/* appletouch driver */
90662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_FOUNTAIN_ANSI) },
90762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_FOUNTAIN_ISO) },
90862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER_ANSI) },
90962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER_ISO) },
91062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER_JIS) },
91162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER3_ANSI) },
91262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER3_ISO) },
91362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER3_JIS) },
91462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER4_ANSI) },
91562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER4_ISO) },
91662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER4_JIS) },
91762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER4_HF_ANSI) },
91862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER4_HF_ISO) },
91962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER4_HF_JIS) },
92062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING_ANSI) },
92162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING_ISO) },
92262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING_JIS) },
92362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING2_ANSI) },
92462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING2_ISO) },
92562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING2_JIS) },
92662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING3_ANSI) },
92762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING3_ISO) },
92862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING3_JIS) },
92962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING4_ANSI) },
93062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING4_ISO) },
93162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING4_JIS) },
93262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING4A_ANSI) },
93362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING4A_ISO) },
93462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING4A_JIS) },
93562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING5_ANSI) },
93662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING5_ISO) },
93762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING5_JIS) },
93862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING5A_ANSI) },
93962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING5A_ISO) },
94062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING5A_JIS) },
94162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING6_ANSI) },
94262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING6_ISO) },
94362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING6_JIS) },
94462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING6A_ANSI) },
94562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING6A_ISO) },
94662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING6A_JIS) },
94762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING7_ANSI) },
94862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING7_ISO) },
94962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING7_JIS) },
95062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING7A_ANSI) },
95162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING7A_ISO) },
95262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING7A_JIS) },
95362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING8_ANSI) },
95462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING8_ISO) },
95562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING8_JIS) },
95662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING9_ANSI) },
95762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING9_ISO) },
95862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING9_JIS) },
95962306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRINGT2_J140K) },
96062306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRINGT2_J132) },
96162306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRINGT2_J680) },
96262306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRINGT2_J213) },
96362306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRINGT2_J214K) },
96462306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRINGT2_J223) },
96562306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRINGT2_J230K) },
96662306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRINGT2_J152F) },
96762306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_FOUNTAIN_TP_ONLY) },
96862306a36Sopenharmony_ci	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER1_TP_ONLY) },
96962306a36Sopenharmony_ci	{ }
97062306a36Sopenharmony_ci};
97162306a36Sopenharmony_ci
97262306a36Sopenharmony_cibool hid_ignore(struct hid_device *hdev)
97362306a36Sopenharmony_ci{
97462306a36Sopenharmony_ci	int i;
97562306a36Sopenharmony_ci
97662306a36Sopenharmony_ci	if (hdev->quirks & HID_QUIRK_NO_IGNORE)
97762306a36Sopenharmony_ci		return false;
97862306a36Sopenharmony_ci	if (hdev->quirks & HID_QUIRK_IGNORE)
97962306a36Sopenharmony_ci		return true;
98062306a36Sopenharmony_ci
98162306a36Sopenharmony_ci	switch (hdev->vendor) {
98262306a36Sopenharmony_ci	case USB_VENDOR_ID_CODEMERCS:
98362306a36Sopenharmony_ci		/* ignore all Code Mercenaries IOWarrior devices */
98462306a36Sopenharmony_ci		if (hdev->product >= USB_DEVICE_ID_CODEMERCS_IOW_FIRST &&
98562306a36Sopenharmony_ci		    hdev->product <= USB_DEVICE_ID_CODEMERCS_IOW_LAST)
98662306a36Sopenharmony_ci			return true;
98762306a36Sopenharmony_ci		break;
98862306a36Sopenharmony_ci	case USB_VENDOR_ID_LOGITECH:
98962306a36Sopenharmony_ci		if (hdev->product >= USB_DEVICE_ID_LOGITECH_HARMONY_FIRST &&
99062306a36Sopenharmony_ci		    hdev->product <= USB_DEVICE_ID_LOGITECH_HARMONY_LAST)
99162306a36Sopenharmony_ci			return true;
99262306a36Sopenharmony_ci		/*
99362306a36Sopenharmony_ci		 * The Keene FM transmitter USB device has the same USB ID as
99462306a36Sopenharmony_ci		 * the Logitech AudioHub Speaker, but it should ignore the hid.
99562306a36Sopenharmony_ci		 * Check if the name is that of the Keene device.
99662306a36Sopenharmony_ci		 * For reference: the name of the AudioHub is
99762306a36Sopenharmony_ci		 * "HOLTEK  AudioHub Speaker".
99862306a36Sopenharmony_ci		 */
99962306a36Sopenharmony_ci		if (hdev->product == USB_DEVICE_ID_LOGITECH_AUDIOHUB &&
100062306a36Sopenharmony_ci		    !strcmp(hdev->name, "HOLTEK  B-LINK USB Audio  "))
100162306a36Sopenharmony_ci			return true;
100262306a36Sopenharmony_ci		break;
100362306a36Sopenharmony_ci	case USB_VENDOR_ID_SOUNDGRAPH:
100462306a36Sopenharmony_ci		if (hdev->product >= USB_DEVICE_ID_SOUNDGRAPH_IMON_FIRST &&
100562306a36Sopenharmony_ci		    hdev->product <= USB_DEVICE_ID_SOUNDGRAPH_IMON_LAST)
100662306a36Sopenharmony_ci			return true;
100762306a36Sopenharmony_ci		break;
100862306a36Sopenharmony_ci	case USB_VENDOR_ID_HANWANG:
100962306a36Sopenharmony_ci		if (hdev->product >= USB_DEVICE_ID_HANWANG_TABLET_FIRST &&
101062306a36Sopenharmony_ci		    hdev->product <= USB_DEVICE_ID_HANWANG_TABLET_LAST)
101162306a36Sopenharmony_ci			return true;
101262306a36Sopenharmony_ci		break;
101362306a36Sopenharmony_ci	case USB_VENDOR_ID_JESS:
101462306a36Sopenharmony_ci		if (hdev->product == USB_DEVICE_ID_JESS_YUREX &&
101562306a36Sopenharmony_ci		    hdev->type == HID_TYPE_USBNONE)
101662306a36Sopenharmony_ci			return true;
101762306a36Sopenharmony_ci		break;
101862306a36Sopenharmony_ci	case USB_VENDOR_ID_VELLEMAN:
101962306a36Sopenharmony_ci		/* These are not HID devices.  They are handled by comedi. */
102062306a36Sopenharmony_ci		if ((hdev->product >= USB_DEVICE_ID_VELLEMAN_K8055_FIRST &&
102162306a36Sopenharmony_ci		     hdev->product <= USB_DEVICE_ID_VELLEMAN_K8055_LAST) ||
102262306a36Sopenharmony_ci		    (hdev->product >= USB_DEVICE_ID_VELLEMAN_K8061_FIRST &&
102362306a36Sopenharmony_ci		     hdev->product <= USB_DEVICE_ID_VELLEMAN_K8061_LAST))
102462306a36Sopenharmony_ci			return true;
102562306a36Sopenharmony_ci		break;
102662306a36Sopenharmony_ci	case USB_VENDOR_ID_ATMEL_V_USB:
102762306a36Sopenharmony_ci		/* Masterkit MA901 usb radio based on Atmel tiny85 chip and
102862306a36Sopenharmony_ci		 * it has the same USB ID as many Atmel V-USB devices. This
102962306a36Sopenharmony_ci		 * usb radio is handled by radio-ma901.c driver so we want
103062306a36Sopenharmony_ci		 * ignore the hid. Check the name, bus, product and ignore
103162306a36Sopenharmony_ci		 * if we have MA901 usb radio.
103262306a36Sopenharmony_ci		 */
103362306a36Sopenharmony_ci		if (hdev->product == USB_DEVICE_ID_ATMEL_V_USB &&
103462306a36Sopenharmony_ci		    hdev->bus == BUS_USB &&
103562306a36Sopenharmony_ci		    strncmp(hdev->name, "www.masterkit.ru MA901", 22) == 0)
103662306a36Sopenharmony_ci			return true;
103762306a36Sopenharmony_ci		break;
103862306a36Sopenharmony_ci	case USB_VENDOR_ID_ELAN:
103962306a36Sopenharmony_ci		/*
104062306a36Sopenharmony_ci		 * Blacklist of everything that gets handled by the elan_i2c
104162306a36Sopenharmony_ci		 * input driver.  This avoids disabling valid touchpads and
104262306a36Sopenharmony_ci		 * other ELAN devices.
104362306a36Sopenharmony_ci		 */
104462306a36Sopenharmony_ci		if ((hdev->product == 0x0401 || hdev->product == 0x0400))
104562306a36Sopenharmony_ci			for (i = 0; strlen(elan_acpi_id[i].id); ++i)
104662306a36Sopenharmony_ci				if (!strncmp(hdev->name, elan_acpi_id[i].id,
104762306a36Sopenharmony_ci					     strlen(elan_acpi_id[i].id)))
104862306a36Sopenharmony_ci					return true;
104962306a36Sopenharmony_ci		break;
105062306a36Sopenharmony_ci	}
105162306a36Sopenharmony_ci
105262306a36Sopenharmony_ci	if (hdev->type == HID_TYPE_USBMOUSE &&
105362306a36Sopenharmony_ci	    hid_match_id(hdev, hid_mouse_ignore_list))
105462306a36Sopenharmony_ci		return true;
105562306a36Sopenharmony_ci
105662306a36Sopenharmony_ci	return !!hid_match_id(hdev, hid_ignore_list);
105762306a36Sopenharmony_ci}
105862306a36Sopenharmony_ciEXPORT_SYMBOL_GPL(hid_ignore);
105962306a36Sopenharmony_ci
106062306a36Sopenharmony_ci/* Dynamic HID quirks list - specified at runtime */
106162306a36Sopenharmony_cistruct quirks_list_struct {
106262306a36Sopenharmony_ci	struct hid_device_id hid_bl_item;
106362306a36Sopenharmony_ci	struct list_head node;
106462306a36Sopenharmony_ci};
106562306a36Sopenharmony_ci
106662306a36Sopenharmony_cistatic LIST_HEAD(dquirks_list);
106762306a36Sopenharmony_cistatic DEFINE_MUTEX(dquirks_lock);
106862306a36Sopenharmony_ci
106962306a36Sopenharmony_ci/* Runtime ("dynamic") quirks manipulation functions */
107062306a36Sopenharmony_ci
107162306a36Sopenharmony_ci/**
107262306a36Sopenharmony_ci * hid_exists_dquirk - find any dynamic quirks for a HID device
107362306a36Sopenharmony_ci * @hdev: the HID device to match
107462306a36Sopenharmony_ci *
107562306a36Sopenharmony_ci * Description:
107662306a36Sopenharmony_ci *         Scans dquirks_list for a matching dynamic quirk and returns
107762306a36Sopenharmony_ci *         the pointer to the relevant struct hid_device_id if found.
107862306a36Sopenharmony_ci *         Must be called with a read lock held on dquirks_lock.
107962306a36Sopenharmony_ci *
108062306a36Sopenharmony_ci * Return: NULL if no quirk found, struct hid_device_id * if found.
108162306a36Sopenharmony_ci */
108262306a36Sopenharmony_cistatic struct hid_device_id *hid_exists_dquirk(const struct hid_device *hdev)
108362306a36Sopenharmony_ci{
108462306a36Sopenharmony_ci	struct quirks_list_struct *q;
108562306a36Sopenharmony_ci	struct hid_device_id *bl_entry = NULL;
108662306a36Sopenharmony_ci
108762306a36Sopenharmony_ci	list_for_each_entry(q, &dquirks_list, node) {
108862306a36Sopenharmony_ci		if (hid_match_one_id(hdev, &q->hid_bl_item)) {
108962306a36Sopenharmony_ci			bl_entry = &q->hid_bl_item;
109062306a36Sopenharmony_ci			break;
109162306a36Sopenharmony_ci		}
109262306a36Sopenharmony_ci	}
109362306a36Sopenharmony_ci
109462306a36Sopenharmony_ci	if (bl_entry != NULL)
109562306a36Sopenharmony_ci		dbg_hid("Found dynamic quirk 0x%lx for HID device 0x%04x:0x%04x\n",
109662306a36Sopenharmony_ci			bl_entry->driver_data, bl_entry->vendor,
109762306a36Sopenharmony_ci			bl_entry->product);
109862306a36Sopenharmony_ci
109962306a36Sopenharmony_ci	return bl_entry;
110062306a36Sopenharmony_ci}
110162306a36Sopenharmony_ci
110262306a36Sopenharmony_ci
110362306a36Sopenharmony_ci/**
110462306a36Sopenharmony_ci * hid_modify_dquirk - add/replace a HID quirk
110562306a36Sopenharmony_ci * @id: the HID device to match
110662306a36Sopenharmony_ci * @quirks: the unsigned long quirks value to add/replace
110762306a36Sopenharmony_ci *
110862306a36Sopenharmony_ci * Description:
110962306a36Sopenharmony_ci *         If an dynamic quirk exists in memory for this device, replace its
111062306a36Sopenharmony_ci *         quirks value with what was provided.  Otherwise, add the quirk
111162306a36Sopenharmony_ci *         to the dynamic quirks list.
111262306a36Sopenharmony_ci *
111362306a36Sopenharmony_ci * Return: 0 OK, -error on failure.
111462306a36Sopenharmony_ci */
111562306a36Sopenharmony_cistatic int hid_modify_dquirk(const struct hid_device_id *id,
111662306a36Sopenharmony_ci			     const unsigned long quirks)
111762306a36Sopenharmony_ci{
111862306a36Sopenharmony_ci	struct hid_device *hdev;
111962306a36Sopenharmony_ci	struct quirks_list_struct *q_new, *q;
112062306a36Sopenharmony_ci	int list_edited = 0;
112162306a36Sopenharmony_ci	int ret = 0;
112262306a36Sopenharmony_ci
112362306a36Sopenharmony_ci	hdev = kzalloc(sizeof(*hdev), GFP_KERNEL);
112462306a36Sopenharmony_ci	if (!hdev)
112562306a36Sopenharmony_ci		return -ENOMEM;
112662306a36Sopenharmony_ci
112762306a36Sopenharmony_ci	q_new = kmalloc(sizeof(struct quirks_list_struct), GFP_KERNEL);
112862306a36Sopenharmony_ci	if (!q_new) {
112962306a36Sopenharmony_ci		ret = -ENOMEM;
113062306a36Sopenharmony_ci		goto out;
113162306a36Sopenharmony_ci	}
113262306a36Sopenharmony_ci
113362306a36Sopenharmony_ci	hdev->bus = q_new->hid_bl_item.bus = id->bus;
113462306a36Sopenharmony_ci	hdev->group = q_new->hid_bl_item.group = id->group;
113562306a36Sopenharmony_ci	hdev->vendor = q_new->hid_bl_item.vendor = id->vendor;
113662306a36Sopenharmony_ci	hdev->product = q_new->hid_bl_item.product = id->product;
113762306a36Sopenharmony_ci	q_new->hid_bl_item.driver_data = quirks;
113862306a36Sopenharmony_ci
113962306a36Sopenharmony_ci	mutex_lock(&dquirks_lock);
114062306a36Sopenharmony_ci
114162306a36Sopenharmony_ci	list_for_each_entry(q, &dquirks_list, node) {
114262306a36Sopenharmony_ci
114362306a36Sopenharmony_ci		if (hid_match_one_id(hdev, &q->hid_bl_item)) {
114462306a36Sopenharmony_ci
114562306a36Sopenharmony_ci			list_replace(&q->node, &q_new->node);
114662306a36Sopenharmony_ci			kfree(q);
114762306a36Sopenharmony_ci			list_edited = 1;
114862306a36Sopenharmony_ci			break;
114962306a36Sopenharmony_ci
115062306a36Sopenharmony_ci		}
115162306a36Sopenharmony_ci
115262306a36Sopenharmony_ci	}
115362306a36Sopenharmony_ci
115462306a36Sopenharmony_ci	if (!list_edited)
115562306a36Sopenharmony_ci		list_add_tail(&q_new->node, &dquirks_list);
115662306a36Sopenharmony_ci
115762306a36Sopenharmony_ci	mutex_unlock(&dquirks_lock);
115862306a36Sopenharmony_ci
115962306a36Sopenharmony_ci out:
116062306a36Sopenharmony_ci	kfree(hdev);
116162306a36Sopenharmony_ci	return ret;
116262306a36Sopenharmony_ci}
116362306a36Sopenharmony_ci
116462306a36Sopenharmony_ci/**
116562306a36Sopenharmony_ci * hid_remove_all_dquirks - remove all runtime HID quirks from memory
116662306a36Sopenharmony_ci * @bus: bus to match against. Use HID_BUS_ANY if all need to be removed.
116762306a36Sopenharmony_ci *
116862306a36Sopenharmony_ci * Description:
116962306a36Sopenharmony_ci *         Free all memory associated with dynamic quirks - called before
117062306a36Sopenharmony_ci *         module unload.
117162306a36Sopenharmony_ci *
117262306a36Sopenharmony_ci */
117362306a36Sopenharmony_cistatic void hid_remove_all_dquirks(__u16 bus)
117462306a36Sopenharmony_ci{
117562306a36Sopenharmony_ci	struct quirks_list_struct *q, *temp;
117662306a36Sopenharmony_ci
117762306a36Sopenharmony_ci	mutex_lock(&dquirks_lock);
117862306a36Sopenharmony_ci	list_for_each_entry_safe(q, temp, &dquirks_list, node) {
117962306a36Sopenharmony_ci		if (bus == HID_BUS_ANY || bus == q->hid_bl_item.bus) {
118062306a36Sopenharmony_ci			list_del(&q->node);
118162306a36Sopenharmony_ci			kfree(q);
118262306a36Sopenharmony_ci		}
118362306a36Sopenharmony_ci	}
118462306a36Sopenharmony_ci	mutex_unlock(&dquirks_lock);
118562306a36Sopenharmony_ci
118662306a36Sopenharmony_ci}
118762306a36Sopenharmony_ci
118862306a36Sopenharmony_ci/**
118962306a36Sopenharmony_ci * hid_quirks_init - apply HID quirks specified at module load time
119062306a36Sopenharmony_ci * @quirks_param: array of quirks strings (vendor:product:quirks)
119162306a36Sopenharmony_ci * @bus: bus type
119262306a36Sopenharmony_ci * @count: number of quirks to check
119362306a36Sopenharmony_ci */
119462306a36Sopenharmony_ciint hid_quirks_init(char **quirks_param, __u16 bus, int count)
119562306a36Sopenharmony_ci{
119662306a36Sopenharmony_ci	struct hid_device_id id = { 0 };
119762306a36Sopenharmony_ci	int n = 0, m;
119862306a36Sopenharmony_ci	unsigned short int vendor, product;
119962306a36Sopenharmony_ci	u32 quirks;
120062306a36Sopenharmony_ci
120162306a36Sopenharmony_ci	id.bus = bus;
120262306a36Sopenharmony_ci
120362306a36Sopenharmony_ci	for (; n < count && quirks_param[n]; n++) {
120462306a36Sopenharmony_ci
120562306a36Sopenharmony_ci		m = sscanf(quirks_param[n], "0x%hx:0x%hx:0x%x",
120662306a36Sopenharmony_ci				&vendor, &product, &quirks);
120762306a36Sopenharmony_ci
120862306a36Sopenharmony_ci		id.vendor = (__u16)vendor;
120962306a36Sopenharmony_ci		id.product = (__u16)product;
121062306a36Sopenharmony_ci
121162306a36Sopenharmony_ci		if (m != 3 ||
121262306a36Sopenharmony_ci		    hid_modify_dquirk(&id, quirks) != 0) {
121362306a36Sopenharmony_ci			pr_warn("Could not parse HID quirk module param %s\n",
121462306a36Sopenharmony_ci				quirks_param[n]);
121562306a36Sopenharmony_ci		}
121662306a36Sopenharmony_ci	}
121762306a36Sopenharmony_ci
121862306a36Sopenharmony_ci	return 0;
121962306a36Sopenharmony_ci}
122062306a36Sopenharmony_ciEXPORT_SYMBOL_GPL(hid_quirks_init);
122162306a36Sopenharmony_ci
122262306a36Sopenharmony_ci/**
122362306a36Sopenharmony_ci * hid_quirks_exit - release memory associated with dynamic_quirks
122462306a36Sopenharmony_ci * @bus: a bus to match against
122562306a36Sopenharmony_ci *
122662306a36Sopenharmony_ci * Description:
122762306a36Sopenharmony_ci *     Release all memory associated with dynamic quirks for a given bus.
122862306a36Sopenharmony_ci *     Called upon module unload.
122962306a36Sopenharmony_ci *     Use HID_BUS_ANY to remove all dynamic quirks.
123062306a36Sopenharmony_ci *
123162306a36Sopenharmony_ci * Returns: nothing
123262306a36Sopenharmony_ci */
123362306a36Sopenharmony_civoid hid_quirks_exit(__u16 bus)
123462306a36Sopenharmony_ci{
123562306a36Sopenharmony_ci	hid_remove_all_dquirks(bus);
123662306a36Sopenharmony_ci}
123762306a36Sopenharmony_ciEXPORT_SYMBOL_GPL(hid_quirks_exit);
123862306a36Sopenharmony_ci
123962306a36Sopenharmony_ci/**
124062306a36Sopenharmony_ci * hid_gets_squirk - return any static quirks for a HID device
124162306a36Sopenharmony_ci * @hdev: the HID device to match
124262306a36Sopenharmony_ci *
124362306a36Sopenharmony_ci * Description:
124462306a36Sopenharmony_ci *     Given a HID device, return a pointer to the quirked hid_device_id entry
124562306a36Sopenharmony_ci *     associated with that device.
124662306a36Sopenharmony_ci *
124762306a36Sopenharmony_ci * Return: the quirks.
124862306a36Sopenharmony_ci */
124962306a36Sopenharmony_cistatic unsigned long hid_gets_squirk(const struct hid_device *hdev)
125062306a36Sopenharmony_ci{
125162306a36Sopenharmony_ci	const struct hid_device_id *bl_entry;
125262306a36Sopenharmony_ci	unsigned long quirks = hdev->initial_quirks;
125362306a36Sopenharmony_ci
125462306a36Sopenharmony_ci	if (hid_match_id(hdev, hid_ignore_list))
125562306a36Sopenharmony_ci		quirks |= HID_QUIRK_IGNORE;
125662306a36Sopenharmony_ci
125762306a36Sopenharmony_ci	if (hid_match_id(hdev, hid_have_special_driver))
125862306a36Sopenharmony_ci		quirks |= HID_QUIRK_HAVE_SPECIAL_DRIVER;
125962306a36Sopenharmony_ci
126062306a36Sopenharmony_ci	bl_entry = hid_match_id(hdev, hid_quirks);
126162306a36Sopenharmony_ci	if (bl_entry != NULL)
126262306a36Sopenharmony_ci		quirks |= bl_entry->driver_data;
126362306a36Sopenharmony_ci
126462306a36Sopenharmony_ci	if (quirks)
126562306a36Sopenharmony_ci		dbg_hid("Found squirk 0x%lx for HID device 0x%04x:0x%04x\n",
126662306a36Sopenharmony_ci			quirks, hdev->vendor, hdev->product);
126762306a36Sopenharmony_ci	return quirks;
126862306a36Sopenharmony_ci}
126962306a36Sopenharmony_ci
127062306a36Sopenharmony_ci/**
127162306a36Sopenharmony_ci * hid_lookup_quirk - return any quirks associated with a HID device
127262306a36Sopenharmony_ci * @hdev: the HID device to look for
127362306a36Sopenharmony_ci *
127462306a36Sopenharmony_ci * Description:
127562306a36Sopenharmony_ci *     Given a HID device, return any quirks associated with that device.
127662306a36Sopenharmony_ci *
127762306a36Sopenharmony_ci * Return: an unsigned long quirks value.
127862306a36Sopenharmony_ci */
127962306a36Sopenharmony_ciunsigned long hid_lookup_quirk(const struct hid_device *hdev)
128062306a36Sopenharmony_ci{
128162306a36Sopenharmony_ci	unsigned long quirks = 0;
128262306a36Sopenharmony_ci	const struct hid_device_id *quirk_entry = NULL;
128362306a36Sopenharmony_ci
128462306a36Sopenharmony_ci	/* NCR devices must not be queried for reports */
128562306a36Sopenharmony_ci	if (hdev->bus == BUS_USB &&
128662306a36Sopenharmony_ci	    hdev->vendor == USB_VENDOR_ID_NCR &&
128762306a36Sopenharmony_ci	    hdev->product >= USB_DEVICE_ID_NCR_FIRST &&
128862306a36Sopenharmony_ci	    hdev->product <= USB_DEVICE_ID_NCR_LAST)
128962306a36Sopenharmony_ci		return HID_QUIRK_NO_INIT_REPORTS;
129062306a36Sopenharmony_ci
129162306a36Sopenharmony_ci	/* These devices must be ignored if version (bcdDevice) is too old */
129262306a36Sopenharmony_ci	if (hdev->bus == BUS_USB && hdev->vendor == USB_VENDOR_ID_JABRA) {
129362306a36Sopenharmony_ci		switch (hdev->product) {
129462306a36Sopenharmony_ci		case USB_DEVICE_ID_JABRA_SPEAK_410:
129562306a36Sopenharmony_ci			if (hdev->version < 0x0111)
129662306a36Sopenharmony_ci				return HID_QUIRK_IGNORE;
129762306a36Sopenharmony_ci			break;
129862306a36Sopenharmony_ci		case USB_DEVICE_ID_JABRA_SPEAK_510:
129962306a36Sopenharmony_ci			if (hdev->version < 0x0214)
130062306a36Sopenharmony_ci				return HID_QUIRK_IGNORE;
130162306a36Sopenharmony_ci			break;
130262306a36Sopenharmony_ci		}
130362306a36Sopenharmony_ci	}
130462306a36Sopenharmony_ci
130562306a36Sopenharmony_ci	mutex_lock(&dquirks_lock);
130662306a36Sopenharmony_ci	quirk_entry = hid_exists_dquirk(hdev);
130762306a36Sopenharmony_ci	if (quirk_entry)
130862306a36Sopenharmony_ci		quirks = quirk_entry->driver_data;
130962306a36Sopenharmony_ci	else
131062306a36Sopenharmony_ci		quirks = hid_gets_squirk(hdev);
131162306a36Sopenharmony_ci	mutex_unlock(&dquirks_lock);
131262306a36Sopenharmony_ci
131362306a36Sopenharmony_ci	return quirks;
131462306a36Sopenharmony_ci}
131562306a36Sopenharmony_ciEXPORT_SYMBOL_GPL(hid_lookup_quirk);
1316