• Maximilian Luz's avatar
    platform/surface: Add DTX driver · 1d609992
    Maximilian Luz authored
    The Microsoft Surface Book series devices consist of a so-called
    clipboard part (containing the CPU, touchscreen, and primary battery)
    and a base part (containing keyboard, secondary battery, and optional
    discrete GPU). These parts can be separated, i.e. the clipboard can be
    detached and used as tablet.
    
    This detachment process is initiated by pressing a button. On the
    Surface Book 2 and 3 (targeted with this commit), the Surface Aggregator
    Module (i.e. the embedded controller on those devices) attempts to send
    a notification to any listening client driver and waits for further
    instructions (i.e. whether the detachment process should continue or be
    aborted). If it does not receive a response in a certain time-frame, the
    detachment process (by default) continues and the clipboard can be
    physically separated. In other words, (by default and) without a driver,
    the detachment process takes about 10 seconds to complete.
    
    This commit introduces a driver for this detachment syste...
    1d609992
ioctl-number.rst 24.5 KB