📄 hid-quirks.c
字号:
/* * USB HID quirks support for Linux * * Copyright (c) 1999 Andreas Gal * Copyright (c) 2000-2005 Vojtech Pavlik <vojtech@suse.cz> * Copyright (c) 2005 Michael Haboustak <mike-@cinci.rr.com> for Concept2, Inc * Copyright (c) 2006-2007 Jiri Kosina * Copyright (c) 2007 Paul Walmsley *//* * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation; either version 2 of the License, or (at your option) * any later version. */#include <linux/hid.h>#define USB_VENDOR_ID_A4TECH 0x09da#define USB_DEVICE_ID_A4TECH_WCP32PU 0x0006#define USB_VENDOR_ID_AASHIMA 0x06d6#define USB_DEVICE_ID_AASHIMA_GAMEPAD 0x0025#define USB_DEVICE_ID_AASHIMA_PREDATOR 0x0026#define USB_VENDOR_ID_ACECAD 0x0460#define USB_DEVICE_ID_ACECAD_FLAIR 0x0004#define USB_DEVICE_ID_ACECAD_302 0x0008#define USB_VENDOR_ID_AIPTEK 0x08ca#define USB_DEVICE_ID_AIPTEK_01 0x0001#define USB_DEVICE_ID_AIPTEK_10 0x0010#define USB_DEVICE_ID_AIPTEK_20 0x0020#define USB_DEVICE_ID_AIPTEK_21 0x0021#define USB_DEVICE_ID_AIPTEK_22 0x0022#define USB_DEVICE_ID_AIPTEK_23 0x0023#define USB_DEVICE_ID_AIPTEK_24 0x0024#define USB_VENDOR_ID_AIRCABLE 0x16CA#define USB_DEVICE_ID_AIRCABLE1 0x1502#define USB_VENDOR_ID_ALCOR 0x058f#define USB_DEVICE_ID_ALCOR_USBRS232 0x9720#define USB_VENDOR_ID_ALPS 0x0433#define USB_DEVICE_ID_IBM_GAMEPAD 0x1101#define USB_VENDOR_ID_APPLE 0x05ac#define USB_DEVICE_ID_APPLE_MIGHTYMOUSE 0x0304#define USB_DEVICE_ID_APPLE_FOUNTAIN_ANSI 0x020e#define USB_DEVICE_ID_APPLE_FOUNTAIN_ISO 0x020f#define USB_DEVICE_ID_APPLE_GEYSER_ANSI 0x0214#define USB_DEVICE_ID_APPLE_GEYSER_ISO 0x0215#define USB_DEVICE_ID_APPLE_GEYSER_JIS 0x0216#define USB_DEVICE_ID_APPLE_GEYSER3_ANSI 0x0217#define USB_DEVICE_ID_APPLE_GEYSER3_ISO 0x0218#define USB_DEVICE_ID_APPLE_GEYSER3_JIS 0x0219#define USB_DEVICE_ID_APPLE_GEYSER4_ANSI 0x021a#define USB_DEVICE_ID_APPLE_GEYSER4_ISO 0x021b#define USB_DEVICE_ID_APPLE_GEYSER4_JIS 0x021c#define USB_DEVICE_ID_APPLE_FOUNTAIN_TP_ONLY 0x030a#define USB_DEVICE_ID_APPLE_GEYSER1_TP_ONLY 0x030b#define USB_DEVICE_ID_APPLE_IRCONTROL4 0x8242#define USB_VENDOR_ID_ASUS 0x0b05#define USB_DEVICE_ID_ASUS_LCM 0x1726#define USB_VENDOR_ID_ATEN 0x0557#define USB_DEVICE_ID_ATEN_UC100KM 0x2004#define USB_DEVICE_ID_ATEN_CS124U 0x2202#define USB_DEVICE_ID_ATEN_2PORTKVM 0x2204#define USB_DEVICE_ID_ATEN_4PORTKVM 0x2205#define USB_DEVICE_ID_ATEN_4PORTKVMC 0x2208#define USB_VENDOR_ID_BELKIN 0x050d#define USB_DEVICE_ID_FLIP_KVM 0x3201#define USB_VENDOR_ID_BERKSHIRE 0x0c98#define USB_DEVICE_ID_BERKSHIRE_PCWD 0x1140#define USB_VENDOR_ID_CHERRY 0x046a#define USB_DEVICE_ID_CHERRY_CYMOTION 0x0023#define USB_VENDOR_ID_CHIC 0x05fe#define USB_DEVICE_ID_CHIC_GAMEPAD 0x0014#define USB_VENDOR_ID_CIDC 0x1677#define USB_VENDOR_ID_CMEDIA 0x0d8c#define USB_DEVICE_ID_CM109 0x000e#define USB_VENDOR_ID_CODEMERCS 0x07c0#define USB_DEVICE_ID_CODEMERCS_IOW_FIRST 0x1500#define USB_DEVICE_ID_CODEMERCS_IOW_LAST 0x15ff#define USB_VENDOR_ID_CYPRESS 0x04b4#define USB_DEVICE_ID_CYPRESS_MOUSE 0x0001#define USB_DEVICE_ID_CYPRESS_HIDCOM 0x5500#define USB_DEVICE_ID_CYPRESS_ULTRAMOUSE 0x7417#define USB_DEVICE_ID_CYPRESS_BARCODE_1 0xde61#define USB_DEVICE_ID_CYPRESS_BARCODE_2 0xde64#define USB_VENDOR_ID_DELL 0x413c#define USB_DEVICE_ID_DELL_W7658 0x2005#define USB_VENDOR_ID_DELORME 0x1163#define USB_DEVICE_ID_DELORME_EARTHMATE 0x0100#define USB_DEVICE_ID_DELORME_EM_LT20 0x0200#define USB_VENDOR_ID_ELO 0x04E7#define USB_DEVICE_ID_ELO_TS2700 0x0020#define USB_VENDOR_ID_ESSENTIAL_REALITY 0x0d7f#define USB_DEVICE_ID_ESSENTIAL_REALITY_P5 0x0100#define USB_VENDOR_ID_GAMERON 0x0810#define USB_DEVICE_ID_GAMERON_DUAL_PSX_ADAPTOR 0x0001#define USB_VENDOR_ID_GENERAL_TOUCH 0x0dfc#define USB_VENDOR_ID_GLAB 0x06c2#define USB_DEVICE_ID_4_PHIDGETSERVO_30 0x0038#define USB_DEVICE_ID_1_PHIDGETSERVO_30 0x0039#define USB_DEVICE_ID_0_0_4_IF_KIT 0x0040#define USB_DEVICE_ID_0_16_16_IF_KIT 0x0044#define USB_DEVICE_ID_8_8_8_IF_KIT 0x0045#define USB_DEVICE_ID_0_8_7_IF_KIT 0x0051#define USB_DEVICE_ID_0_8_8_IF_KIT 0x0053#define USB_DEVICE_ID_PHIDGET_MOTORCONTROL 0x0058#define USB_VENDOR_ID_GOTOP 0x08f2#define USB_DEVICE_ID_SUPER_Q2 0x007f#define USB_DEVICE_ID_GOGOPEN 0x00ce#define USB_DEVICE_ID_PENPOWER 0x00f4#define USB_VENDOR_ID_GRIFFIN 0x077d#define USB_DEVICE_ID_POWERMATE 0x0410#define USB_DEVICE_ID_SOUNDKNOB 0x04AA#define USB_VENDOR_ID_GTCO 0x078c#define USB_DEVICE_ID_GTCO_90 0x0090#define USB_DEVICE_ID_GTCO_100 0x0100#define USB_DEVICE_ID_GTCO_101 0x0101#define USB_DEVICE_ID_GTCO_103 0x0103#define USB_DEVICE_ID_GTCO_104 0x0104#define USB_DEVICE_ID_GTCO_105 0x0105#define USB_DEVICE_ID_GTCO_106 0x0106#define USB_DEVICE_ID_GTCO_107 0x0107#define USB_DEVICE_ID_GTCO_108 0x0108#define USB_DEVICE_ID_GTCO_200 0x0200#define USB_DEVICE_ID_GTCO_201 0x0201#define USB_DEVICE_ID_GTCO_202 0x0202#define USB_DEVICE_ID_GTCO_203 0x0203#define USB_DEVICE_ID_GTCO_204 0x0204#define USB_DEVICE_ID_GTCO_205 0x0205#define USB_DEVICE_ID_GTCO_206 0x0206#define USB_DEVICE_ID_GTCO_207 0x0207#define USB_DEVICE_ID_GTCO_300 0x0300#define USB_DEVICE_ID_GTCO_301 0x0301#define USB_DEVICE_ID_GTCO_302 0x0302#define USB_DEVICE_ID_GTCO_303 0x0303#define USB_DEVICE_ID_GTCO_304 0x0304#define USB_DEVICE_ID_GTCO_305 0x0305#define USB_DEVICE_ID_GTCO_306 0x0306#define USB_DEVICE_ID_GTCO_307 0x0307#define USB_DEVICE_ID_GTCO_308 0x0308#define USB_DEVICE_ID_GTCO_309 0x0309#define USB_DEVICE_ID_GTCO_400 0x0400#define USB_DEVICE_ID_GTCO_401 0x0401#define USB_DEVICE_ID_GTCO_402 0x0402#define USB_DEVICE_ID_GTCO_403 0x0403#define USB_DEVICE_ID_GTCO_404 0x0404#define USB_DEVICE_ID_GTCO_405 0x0405#define USB_DEVICE_ID_GTCO_500 0x0500#define USB_DEVICE_ID_GTCO_501 0x0501#define USB_DEVICE_ID_GTCO_502 0x0502#define USB_DEVICE_ID_GTCO_503 0x0503#define USB_DEVICE_ID_GTCO_504 0x0504#define USB_DEVICE_ID_GTCO_1000 0x1000#define USB_DEVICE_ID_GTCO_1001 0x1001#define USB_DEVICE_ID_GTCO_1002 0x1002#define USB_DEVICE_ID_GTCO_1003 0x1003#define USB_DEVICE_ID_GTCO_1004 0x1004#define USB_DEVICE_ID_GTCO_1005 0x1005#define USB_DEVICE_ID_GTCO_1006 0x1006#define USB_VENDOR_ID_HAPP 0x078b#define USB_DEVICE_ID_UGCI_DRIVING 0x0010#define USB_DEVICE_ID_UGCI_FLYING 0x0020#define USB_DEVICE_ID_UGCI_FIGHTING 0x0030#define USB_VENDOR_ID_IMATION 0x0718#define USB_DEVICE_ID_DISC_STAKKA 0xd000#define USB_VENDOR_ID_KBGEAR 0x084e#define USB_DEVICE_ID_KBGEAR_JAMSTUDIO 0x1001#define USB_VENDOR_ID_LD 0x0f11#define USB_DEVICE_ID_LD_CASSY 0x1000#define USB_DEVICE_ID_LD_POCKETCASSY 0x1010#define USB_DEVICE_ID_LD_MOBILECASSY 0x1020#define USB_DEVICE_ID_LD_JWM 0x1080#define USB_DEVICE_ID_LD_DMMP 0x1081#define USB_DEVICE_ID_LD_UMIP 0x1090#define USB_DEVICE_ID_LD_XRAY1 0x1100#define USB_DEVICE_ID_LD_XRAY2 0x1101#define USB_DEVICE_ID_LD_VIDEOCOM 0x1200#define USB_DEVICE_ID_LD_COM3LAB 0x2000#define USB_DEVICE_ID_LD_TELEPORT 0x2010#define USB_DEVICE_ID_LD_NETWORKANALYSER 0x2020#define USB_DEVICE_ID_LD_POWERCONTROL 0x2030#define USB_DEVICE_ID_LD_MACHINETEST 0x2040#define USB_VENDOR_ID_LOGITECH 0x046d#define USB_DEVICE_ID_LOGITECH_RECEIVER 0xc101#define USB_DEVICE_ID_LOGITECH_HARMONY 0xc110#define USB_DEVICE_ID_LOGITECH_HARMONY_2 0xc111#define USB_DEVICE_ID_LOGITECH_HARMONY_3 0xc112#define USB_DEVICE_ID_LOGITECH_HARMONY_4 0xc113#define USB_DEVICE_ID_LOGITECH_HARMONY_5 0xc114#define USB_DEVICE_ID_LOGITECH_HARMONY_6 0xc115#define USB_DEVICE_ID_LOGITECH_HARMONY_7 0xc116#define USB_DEVICE_ID_LOGITECH_HARMONY_8 0xc117#define USB_DEVICE_ID_LOGITECH_HARMONY_9 0xc118#define USB_DEVICE_ID_LOGITECH_HARMONY_10 0xc119#define USB_DEVICE_ID_LOGITECH_HARMONY_11 0xc11a#define USB_DEVICE_ID_LOGITECH_HARMONY_12 0xc11b#define USB_DEVICE_ID_LOGITECH_HARMONY_13 0xc11c#define USB_DEVICE_ID_LOGITECH_HARMONY_14 0xc11d#define USB_DEVICE_ID_LOGITECH_HARMONY_15 0xc11e#define USB_DEVICE_ID_LOGITECH_HARMONY_16 0xc11f#define USB_DEVICE_ID_LOGITECH_HARMONY_17 0xc120#define USB_DEVICE_ID_LOGITECH_HARMONY_18 0xc121#define USB_DEVICE_ID_LOGITECH_HARMONY_19 0xc122#define USB_DEVICE_ID_LOGITECH_HARMONY_20 0xc123#define USB_DEVICE_ID_LOGITECH_HARMONY_21 0xc124#define USB_DEVICE_ID_LOGITECH_HARMONY_22 0xc125#define USB_DEVICE_ID_LOGITECH_HARMONY_23 0xc126#define USB_DEVICE_ID_LOGITECH_HARMONY_24 0xc127#define USB_DEVICE_ID_LOGITECH_HARMONY_25 0xc128#define USB_DEVICE_ID_LOGITECH_HARMONY_26 0xc129#define USB_DEVICE_ID_LOGITECH_HARMONY_27 0xc12a#define USB_DEVICE_ID_LOGITECH_HARMONY_28 0xc12b#define USB_DEVICE_ID_LOGITECH_HARMONY_29 0xc12c#define USB_DEVICE_ID_LOGITECH_HARMONY_30 0xc12d#define USB_DEVICE_ID_LOGITECH_HARMONY_31 0xc12e#define USB_DEVICE_ID_LOGITECH_HARMONY_32 0xc12f#define USB_DEVICE_ID_LOGITECH_HARMONY_33 0xc130#define USB_DEVICE_ID_LOGITECH_HARMONY_34 0xc131#define USB_DEVICE_ID_LOGITECH_HARMONY_35 0xc132#define USB_DEVICE_ID_LOGITECH_HARMONY_36 0xc133#define USB_DEVICE_ID_LOGITECH_HARMONY_37 0xc134#define USB_DEVICE_ID_LOGITECH_HARMONY_38 0xc135#define USB_DEVICE_ID_LOGITECH_HARMONY_39 0xc136#define USB_DEVICE_ID_LOGITECH_HARMONY_40 0xc137#define USB_DEVICE_ID_LOGITECH_HARMONY_41 0xc138#define USB_DEVICE_ID_LOGITECH_HARMONY_42 0xc139#define USB_DEVICE_ID_LOGITECH_HARMONY_43 0xc13a#define USB_DEVICE_ID_LOGITECH_HARMONY_44 0xc13b#define USB_DEVICE_ID_LOGITECH_HARMONY_45 0xc13c#define USB_DEVICE_ID_LOGITECH_HARMONY_46 0xc13d#define USB_DEVICE_ID_LOGITECH_HARMONY_47 0xc13e#define USB_DEVICE_ID_LOGITECH_HARMONY_48 0xc13f#define USB_DEVICE_ID_LOGITECH_HARMONY_49 0xc140#define USB_DEVICE_ID_LOGITECH_HARMONY_50 0xc141#define USB_DEVICE_ID_LOGITECH_HARMONY_51 0xc142#define USB_DEVICE_ID_LOGITECH_HARMONY_52 0xc143#define USB_DEVICE_ID_LOGITECH_HARMONY_53 0xc144#define USB_DEVICE_ID_LOGITECH_HARMONY_54 0xc145#define USB_DEVICE_ID_LOGITECH_HARMONY_55 0xc146#define USB_DEVICE_ID_LOGITECH_HARMONY_56 0xc147#define USB_DEVICE_ID_LOGITECH_HARMONY_57 0xc148#define USB_DEVICE_ID_LOGITECH_HARMONY_58 0xc149#define USB_DEVICE_ID_LOGITECH_HARMONY_59 0xc14a#define USB_DEVICE_ID_LOGITECH_HARMONY_60 0xc14b#define USB_DEVICE_ID_LOGITECH_HARMONY_61 0xc14c#define USB_DEVICE_ID_LOGITECH_HARMONY_62 0xc14d#define USB_DEVICE_ID_LOGITECH_HARMONY_63 0xc14e#define USB_DEVICE_ID_LOGITECH_HARMONY_64 0xc14f#define USB_DEVICE_ID_LOGITECH_WHEEL 0xc294#define USB_DEVICE_ID_LOGITECH_KBD 0xc311#define USB_DEVICE_ID_S510_RECEIVER 0xc50c#define USB_DEVICE_ID_S510_RECEIVER_2 0xc517#define USB_DEVICE_ID_LOGITECH_CORDLESS_DESKTOP_LX500 0xc512#define USB_DEVICE_ID_MX3000_RECEIVER 0xc513#define USB_DEVICE_ID_DINOVO_EDGE 0xc714#define USB_VENDOR_ID_MCC 0x09db#define USB_DEVICE_ID_MCC_PMD1024LS 0x0076#define USB_DEVICE_ID_MCC_PMD1208LS 0x007a#define USB_VENDOR_ID_MGE 0x0463#define USB_DEVICE_ID_MGE_UPS 0xffff#define USB_DEVICE_ID_MGE_UPS1 0x0001#define USB_VENDOR_ID_MICROSOFT 0x045e#define USB_DEVICE_ID_SIDEWINDER_GV 0x003b#define USB_VENDOR_ID_NCR 0x0404#define USB_DEVICE_ID_NCR_FIRST 0x0300#define USB_DEVICE_ID_NCR_LAST 0x03ff#define USB_VENDOR_ID_NATIONAL_SEMICONDUCTOR 0x0400#define USB_DEVICE_ID_N_S_HARMONY 0xc359#define USB_VENDOR_ID_NEC 0x073e#define USB_DEVICE_ID_NEC_USB_GAME_PAD 0x0301#define USB_VENDOR_ID_ONTRAK 0x0a07#define USB_DEVICE_ID_ONTRAK_ADU100 0x0064#define USB_VENDOR_ID_PANJIT 0x134c#define USB_VENDOR_ID_PANTHERLORD 0x0810#define USB_DEVICE_ID_PANTHERLORD_TWIN_USB_JOYSTICK 0x0001#define USB_VENDOR_ID_PETALYNX 0x18b1#define USB_DEVICE_ID_PETALYNX_MAXTER_REMOTE 0x0037#define USB_VENDOR_ID_PLAYDOTCOM 0x0b43#define USB_DEVICE_ID_PLAYDOTCOM_EMS_USBII 0x0003#define USB_VENDOR_ID_SAITEK 0x06a3#define USB_DEVICE_ID_SAITEK_RUMBLEPAD 0xff17#define USB_VENDOR_ID_SONY 0x054c#define USB_DEVICE_ID_SONY_PS3_CONTROLLER 0x0268#define USB_VENDOR_ID_SUN 0x0430#define USB_DEVICE_ID_RARITAN_KVM_DONGLE 0xcdab#define USB_VENDOR_ID_TOPMAX 0x0663#define USB_DEVICE_ID_TOPMAX_COBRAPAD 0x0103#define USB_VENDOR_ID_TURBOX 0x062a#define USB_DEVICE_ID_TURBOX_KEYBOARD 0x0201#define USB_VENDOR_ID_VERNIER 0x08f7#define USB_DEVICE_ID_VERNIER_LABPRO 0x0001#define USB_DEVICE_ID_VERNIER_GOTEMP 0x0002#define USB_DEVICE_ID_VERNIER_SKIP 0x0003
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -