• Benjamin Tissoires's avatar
    HID: hid-mosart: support suspend/resume · c25bcd34
    Benjamin Tissoires authored
    The device has 2 modes. The first one is an emulation of a touchscreen
    by sending left and right button, and the second mode is the one used in
    dual-touch (sending trackingID, touch and else).
    
    In case of a suspend/resume, the device switch back to the first mode
    described above (with left and right buttons).
    This adds a hook in .reset_resume for the device to be switched to
    the correct mode (I just copied the code in mosart_probe).
    Signed-off-by: default avatarBenjamin Tissoires <benjamin.tissoires@enac.fr>
    Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
    c25bcd34
hid-mosart.c 7.11 KB