def mock_handle_active_kernel_driver(mock_handle):
    """
    Fixture that yields a mock USB device handle that has an active kernel driver.
    """
    mock_handle.kernelDriverActive.return_value = True
    return mock_handle