Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
b680751b
Commit
b680751b
authored
Apr 26, 2023
by
Jiri Kosina
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-6.4/kye' into for-linus
- generic support for all Kye tablets (David Yang)
parents
ba984d27
0f6fac2c
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
421 additions
and
526 deletions
+421
-526
drivers/hid/hid-ids.h
drivers/hid/hid-ids.h
+8
-1
drivers/hid/hid-kye.c
drivers/hid/hid-kye.c
+402
-522
drivers/hid/hid-quirks.c
drivers/hid/hid-quirks.c
+11
-3
No files found.
drivers/hid/hid-ids.h
View file @
b680751b
...
@@ -722,12 +722,19 @@
...
@@ -722,12 +722,19 @@
#define USB_DEVICE_ID_GENIUS_MANTICORE 0x0153
#define USB_DEVICE_ID_GENIUS_MANTICORE 0x0153
#define USB_DEVICE_ID_GENIUS_GX_IMPERATOR 0x4018
#define USB_DEVICE_ID_GENIUS_GX_IMPERATOR 0x4018
#define USB_DEVICE_ID_KYE_GPEN_560 0x5003
#define USB_DEVICE_ID_KYE_GPEN_560 0x5003
#define USB_DEVICE_ID_KYE_EASYPEN_M406 0x5005
#define USB_DEVICE_ID_KYE_EASYPEN_M506 0x500F
#define USB_DEVICE_ID_KYE_EASYPEN_I405X 0x5010
#define USB_DEVICE_ID_KYE_EASYPEN_I405X 0x5010
#define USB_DEVICE_ID_KYE_MOUSEPEN_I608X 0x5011
#define USB_DEVICE_ID_KYE_MOUSEPEN_I608X 0x5011
#define USB_DEVICE_ID_KYE_
MOUSEPEN_I608X_V2 0x501a
#define USB_DEVICE_ID_KYE_
EASYPEN_M406W 0x5012
#define USB_DEVICE_ID_KYE_EASYPEN_M610X 0x5013
#define USB_DEVICE_ID_KYE_EASYPEN_M610X 0x5013
#define USB_DEVICE_ID_KYE_EASYPEN_340 0x5014
#define USB_DEVICE_ID_KYE_PENSKETCH_M912 0x5015
#define USB_DEVICE_ID_KYE_PENSKETCH_M912 0x5015
#define USB_DEVICE_ID_KYE_MOUSEPEN_M508WX 0x5016
#define USB_DEVICE_ID_KYE_MOUSEPEN_M508X 0x5017
#define USB_DEVICE_ID_KYE_EASYPEN_M406XE 0x5019
#define USB_DEVICE_ID_KYE_EASYPEN_M406XE 0x5019
#define USB_DEVICE_ID_KYE_MOUSEPEN_I608X_V2 0x501A
#define USB_DEVICE_ID_KYE_PENSKETCH_T609A 0x501B
#define USB_VENDOR_ID_LABTEC 0x1020
#define USB_VENDOR_ID_LABTEC 0x1020
#define USB_DEVICE_ID_LABTEC_WIRELESS_KEYBOARD 0x0006
#define USB_DEVICE_ID_LABTEC_WIRELESS_KEYBOARD 0x0006
...
...
drivers/hid/hid-kye.c
View file @
b680751b
This diff is collapsed.
Click to expand it.
drivers/hid/hid-quirks.c
View file @
b680751b
...
@@ -104,12 +104,20 @@ static const struct hid_device_id hid_quirks[] = {
...
@@ -104,12 +104,20 @@ static const struct hid_device_id hid_quirks[] = {
{
HID_USB_DEVICE
(
USB_VENDOR_ID_HP
,
USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE_1f4a
),
HID_QUIRK_ALWAYS_POLL
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_HP
,
USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE_1f4a
),
HID_QUIRK_ALWAYS_POLL
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_IDEACOM
,
USB_DEVICE_ID_IDEACOM_IDC6680
),
HID_QUIRK_MULTI_INPUT
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_IDEACOM
,
USB_DEVICE_ID_IDEACOM_IDC6680
),
HID_QUIRK_MULTI_INPUT
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_INNOMEDIA
,
USB_DEVICE_ID_INNEX_GENESIS_ATARI
),
HID_QUIRK_MULTI_INPUT
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_INNOMEDIA
,
USB_DEVICE_ID_INNEX_GENESIS_ATARI
),
HID_QUIRK_MULTI_INPUT
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_KYE
,
USB_DEVICE_ID_KYE_EASYPEN_M610X
),
HID_QUIRK_MULTI_INPUT
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_KYE
,
USB_DEVICE_ID_PIXART_USB_OPTICAL_MOUSE_ID2
),
HID_QUIRK_ALWAYS_POLL
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_KYE
,
USB_DEVICE_ID_KYE_EASYPEN_M406
),
HID_QUIRK_MULTI_INPUT
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_KYE
,
USB_DEVICE_ID_KYE_EASYPEN_M506
),
HID_QUIRK_MULTI_INPUT
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_KYE
,
USB_DEVICE_ID_KYE_EASYPEN_I405X
),
HID_QUIRK_MULTI_INPUT
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_KYE
,
USB_DEVICE_ID_KYE_MOUSEPEN_I608X
),
HID_QUIRK_MULTI_INPUT
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_KYE
,
USB_DEVICE_ID_KYE_MOUSEPEN_I608X
),
HID_QUIRK_MULTI_INPUT
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_KYE
,
USB_DEVICE_ID_KYE_MOUSEPEN_I608X_V2
),
HID_QUIRK_MULTI_INPUT
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_KYE
,
USB_DEVICE_ID_KYE_EASYPEN_M406W
),
HID_QUIRK_MULTI_INPUT
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_KYE
,
USB_DEVICE_ID_KYE_EASYPEN_M610X
),
HID_QUIRK_MULTI_INPUT
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_KYE
,
USB_DEVICE_ID_KYE_EASYPEN_340
),
HID_QUIRK_MULTI_INPUT
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_KYE
,
USB_DEVICE_ID_KYE_PENSKETCH_M912
),
HID_QUIRK_MULTI_INPUT
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_KYE
,
USB_DEVICE_ID_KYE_PENSKETCH_M912
),
HID_QUIRK_MULTI_INPUT
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_KYE
,
USB_DEVICE_ID_KYE_MOUSEPEN_M508WX
),
HID_QUIRK_MULTI_INPUT
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_KYE
,
USB_DEVICE_ID_KYE_MOUSEPEN_M508X
),
HID_QUIRK_MULTI_INPUT
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_KYE
,
USB_DEVICE_ID_KYE_EASYPEN_M406XE
),
HID_QUIRK_MULTI_INPUT
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_KYE
,
USB_DEVICE_ID_KYE_EASYPEN_M406XE
),
HID_QUIRK_MULTI_INPUT
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_KYE
,
USB_DEVICE_ID_PIXART_USB_OPTICAL_MOUSE_ID2
),
HID_QUIRK_ALWAYS_POLL
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_KYE
,
USB_DEVICE_ID_KYE_MOUSEPEN_I608X_V2
),
HID_QUIRK_MULTI_INPUT
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_KYE
,
USB_DEVICE_ID_KYE_PENSKETCH_T609A
),
HID_QUIRK_MULTI_INPUT
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_LENOVO
,
USB_DEVICE_ID_LENOVO_OPTICAL_USB_MOUSE_600E
),
HID_QUIRK_ALWAYS_POLL
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_LENOVO
,
USB_DEVICE_ID_LENOVO_OPTICAL_USB_MOUSE_600E
),
HID_QUIRK_ALWAYS_POLL
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_LENOVO
,
USB_DEVICE_ID_LENOVO_PIXART_USB_MOUSE_608D
),
HID_QUIRK_ALWAYS_POLL
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_LENOVO
,
USB_DEVICE_ID_LENOVO_PIXART_USB_MOUSE_608D
),
HID_QUIRK_ALWAYS_POLL
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_LENOVO
,
USB_DEVICE_ID_LENOVO_PIXART_USB_MOUSE_6019
),
HID_QUIRK_ALWAYS_POLL
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_LENOVO
,
USB_DEVICE_ID_LENOVO_PIXART_USB_MOUSE_6019
),
HID_QUIRK_ALWAYS_POLL
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment