Bug 135561 - Surface Pro 4 type cover not working after unplug/replug
Summary: Surface Pro 4 type cover not working after unplug/replug
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Input Devices (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_input-devices
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-19 17:25 UTC by Weng Xuetian
Modified: 2018-09-04 18:49 UTC (History)
5 users (show)

See Also:
Kernel Version: 4.6.0
Subsystem:
Regression: No
Bisected commit-id:


Attachments
patch that adds type cover 4 support. (6.86 KB, patch)
2016-07-19 17:25 UTC, Weng Xuetian
Details | Diff

Description Weng Xuetian 2016-07-19 17:25:44 UTC
Created attachment 224291 [details]
patch that adds type cover 4 support.

This only happens to me after a specific firmware update from Microsoft. (7/14 updates). https://www.microsoft.com/surface/en-us/support/install-update-activate/surface-pro-4-update-history

When I boot the surface with type cover 4 plugged in and boot into linux, the type cover will work properly (kernel is with a patch applied to add device id, patch can be found in attachment).

But if I either suspend and resume the Surface, or unplug the type cover and replug it again, the type cover 4 will stop working. Type cover can still be recognized by kernel (checked by lsusb/dmesg). But it doesn't work and the led light on type cover also not light up and doesn't work under either tty or X11.
Comment 1 Weng Xuetian 2016-09-20 22:02:02 UTC
ping :)
Comment 2 Dmitry Torokhov 2016-11-04 22:38:17 UTC
Weng, please send your patch directly to Jiri Kosina <jkosina@suse.cz> (who is maintainer of HID drivers) and CC Benjamin Tissoires <benjamin.tissoires@redhat.com> and linux-input@vger.kernel.org mailing list.

You can also discuss there the issues you are seeing with the cover after suspend/resume.

Thanks!

Note You need to log in before you can comment on or make changes to this bug.