[Wayland-bugs] [Bug 99079] Improve Surface Pro Type Cover 2 support

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Dec 20 21:42:00 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=99079

Peter Hutterer <peter.hutterer at who-t.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |benjamin.tissoires at gmail.co
                   |                            |m

--- Comment #4 from Peter Hutterer <peter.hutterer at who-t.net> ---
(In reply to defree from comment #3)
> So this device need some hack for proper support?
> Either a custom initialization procedure or just filtering some packets.
> (Is it reasonable to expect that kind of hack into the kernel? Given the
> huge number of clunky usb devices, it seems one would need a dedicated
> database for handling that).

yes. CC-ing benjamin, he's done work on the type covers before and knows the
current state.

as for tap-to-click and scrolling: the device just looks like a normal mouse
with a scroll wheel. tapping is implemented in the firmware, we don't have
access to it. here too we'd need the kernel to support this properly and expose
it as a touchpad device.

We can put a quickfix in for the F23 though. In libinput's
evdev_pre_configure_model_quirks() put in a call to 

   libevdev_disable_event_code(device->evdev, EV_KEY, KEY_F23);

and see if that has any side-effects. as you noticed, F23 is used for touchpad
disabling, so let's see what happens if we just completely filter this out.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20161220/7a9abbc2/attachment.html>


More information about the wayland-bugs mailing list