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
nexedi
linux
Commits
f212bd95
Commit
f212bd95
authored
Sep 01, 2015
by
Jiri Kosina
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-4.3/microsoft' into for-linus
Conflicts: drivers/hid/usbhid/hid-quirks.c
parents
8c4de9bc
0439de75
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
8 deletions
+14
-8
drivers/hid/hid-core.c
drivers/hid/hid-core.c
+5
-3
drivers/hid/hid-ids.h
drivers/hid/hid-ids.h
+3
-2
drivers/hid/hid-microsoft.c
drivers/hid/hid-microsoft.c
+4
-2
drivers/hid/usbhid/hid-quirks.c
drivers/hid/usbhid/hid-quirks.c
+2
-1
No files found.
drivers/hid/hid-core.c
View file @
f212bd95
...
...
@@ -724,8 +724,9 @@ static void hid_scan_collection(struct hid_parser *parser, unsigned type)
hid
->
group
=
HID_GROUP_SENSOR_HUB
;
if
(
hid
->
vendor
==
USB_VENDOR_ID_MICROSOFT
&&
(
hid
->
product
==
USB_DEVICE_ID_MS_TYPE_COVER_3
||
hid
->
product
==
USB_DEVICE_ID_MS_TYPE_COVER_3_JP
||
(
hid
->
product
==
USB_DEVICE_ID_MS_TYPE_COVER_PRO_3
||
hid
->
product
==
USB_DEVICE_ID_MS_TYPE_COVER_PRO_3_JP
||
hid
->
product
==
USB_DEVICE_ID_MS_TYPE_COVER_3
||
hid
->
product
==
USB_DEVICE_ID_MS_POWER_COVER
)
&&
hid
->
group
==
HID_GROUP_MULTITOUCH
)
hid
->
group
=
HID_GROUP_GENERIC
;
...
...
@@ -1926,8 +1927,9 @@ static const struct hid_device_id hid_have_special_driver[] = {
{
HID_USB_DEVICE
(
USB_VENDOR_ID_MICROSOFT
,
USB_DEVICE_ID_MS_DIGITAL_MEDIA_3K
)
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_MICROSOFT
,
USB_DEVICE_ID_WIRELESS_OPTICAL_DESKTOP_3_0
)
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_MICROSOFT
,
USB_DEVICE_ID_MS_OFFICE_KB
)
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_MICROSOFT
,
USB_DEVICE_ID_MS_TYPE_COVER_PRO_3
)
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_MICROSOFT
,
USB_DEVICE_ID_MS_TYPE_COVER_PRO_3_JP
)
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_MICROSOFT
,
USB_DEVICE_ID_MS_TYPE_COVER_3
)
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_MICROSOFT
,
USB_DEVICE_ID_MS_TYPE_COVER_3_JP
)
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_MICROSOFT
,
USB_DEVICE_ID_MS_POWER_COVER
)
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_MONTEREY
,
USB_DEVICE_ID_GENIUS_KB29E
)
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_MSI
,
USB_DEVICE_ID_MSI_GT683R_LED_PANEL
)
},
...
...
drivers/hid/hid-ids.h
View file @
f212bd95
...
...
@@ -678,8 +678,9 @@
#define USB_DEVICE_ID_MS_SURFACE_PRO_2 0x0799
#define USB_DEVICE_ID_MS_TOUCH_COVER_2 0x07a7
#define USB_DEVICE_ID_MS_TYPE_COVER_2 0x07a9
#define USB_DEVICE_ID_MS_TYPE_COVER_3 0x07dc
#define USB_DEVICE_ID_MS_TYPE_COVER_3_JP 0x07dd
#define USB_DEVICE_ID_MS_TYPE_COVER_PRO_3 0x07dc
#define USB_DEVICE_ID_MS_TYPE_COVER_PRO_3_JP 0x07dd
#define USB_DEVICE_ID_MS_TYPE_COVER_3 0x07de
#define USB_DEVICE_ID_MS_POWER_COVER 0x07da
#define USB_VENDOR_ID_MOJO 0x8282
...
...
drivers/hid/hid-microsoft.c
View file @
f212bd95
...
...
@@ -276,9 +276,11 @@ static const struct hid_device_id ms_devices[] = {
.
driver_data
=
MS_NOGET
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_MICROSOFT
,
USB_DEVICE_ID_MS_COMFORT_MOUSE_4500
),
.
driver_data
=
MS_DUPLICATE_USAGES
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_MICROSOFT
,
USB_DEVICE_ID_MS_TYPE_COVER_3
),
{
HID_USB_DEVICE
(
USB_VENDOR_ID_MICROSOFT
,
USB_DEVICE_ID_MS_TYPE_COVER_PRO_3
),
.
driver_data
=
MS_HIDINPUT
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_MICROSOFT
,
USB_DEVICE_ID_MS_TYPE_COVER_PRO_3_JP
),
.
driver_data
=
MS_HIDINPUT
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_MICROSOFT
,
USB_DEVICE_ID_MS_TYPE_COVER_3
_JP
),
{
HID_USB_DEVICE
(
USB_VENDOR_ID_MICROSOFT
,
USB_DEVICE_ID_MS_TYPE_COVER_3
),
.
driver_data
=
MS_HIDINPUT
},
{
HID_USB_DEVICE
(
USB_VENDOR_ID_MICROSOFT
,
USB_DEVICE_ID_MS_POWER_COVER
),
.
driver_data
=
MS_HIDINPUT
},
...
...
drivers/hid/usbhid/hid-quirks.c
View file @
f212bd95
...
...
@@ -90,8 +90,9 @@ static const struct hid_blacklist {
{
USB_VENDOR_ID_MICROSOFT
,
USB_DEVICE_ID_MS_SURFACE_PRO_2
,
HID_QUIRK_NO_INIT_REPORTS
},
{
USB_VENDOR_ID_MICROSOFT
,
USB_DEVICE_ID_MS_TYPE_COVER_2
,
HID_QUIRK_NO_INIT_REPORTS
},
{
USB_VENDOR_ID_MICROSOFT
,
USB_DEVICE_ID_MS_TOUCH_COVER_2
,
HID_QUIRK_NO_INIT_REPORTS
},
{
USB_VENDOR_ID_MICROSOFT
,
USB_DEVICE_ID_MS_TYPE_COVER_PRO_3
,
HID_QUIRK_NO_INIT_REPORTS
},
{
USB_VENDOR_ID_MICROSOFT
,
USB_DEVICE_ID_MS_TYPE_COVER_PRO_3_JP
,
HID_QUIRK_NO_INIT_REPORTS
},
{
USB_VENDOR_ID_MICROSOFT
,
USB_DEVICE_ID_MS_TYPE_COVER_3
,
HID_QUIRK_NO_INIT_REPORTS
},
{
USB_VENDOR_ID_MICROSOFT
,
USB_DEVICE_ID_MS_TYPE_COVER_3_JP
,
HID_QUIRK_NO_INIT_REPORTS
},
{
USB_VENDOR_ID_MICROSOFT
,
USB_DEVICE_ID_MS_POWER_COVER
,
HID_QUIRK_NO_INIT_REPORTS
},
{
USB_VENDOR_ID_MSI
,
USB_DEVICE_ID_MSI_GT683R_LED_PANEL
,
HID_QUIRK_NO_INIT_REPORTS
},
{
USB_VENDOR_ID_NEXIO
,
USB_DEVICE_ID_NEXIO_MULTITOUCH_PTI0750
,
HID_QUIRK_NO_INIT_REPORTS
},
...
...
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