• Malay Keshav's avatar
    List evdi displays as USB during touch pairing · aae861b8
    Malay Keshav authored
    When connecting touch devices via a USB-C cable, the touch-display
    pairing may fail. This happens specifically when multiple external
    displays are connected. The only way to resolve this is by performing
    a manual calibration.
    
    The default heuristic that pairs touch controllers and displays
    connected via the USB fails since the display is actually connected
    via the display link interface rather than the USB. The display is
    thus listed as an evdi device when the pairing happens.
    
    This patch changes the way we identify USB devices and lists evdi
    displays as USB displays instead.
    
    Bug: 925211
    Change-Id: I2568d41360f6f23465fd28314d5602f29f562204
    Component: Touch device manager, evdi, usb, pairing
    Reviewed-on: https://chromium-review.googlesource.com/c/1435758
    Commit-Queue: Malay Keshav <malaykeshav@chromium.org>
    Reviewed-by: default avatarStéphane Marchesin <marcheu@chromium.org>
    Reviewed-by: default avatarMichael Spang <spang@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#626169}
    aae861b8
touch_device_manager.cc 27.6 KB