feat(surface-arm64-usb4): USB4 authorization + Surface Dock docking support#4
Open
foil-copy-overrate wants to merge 18 commits into
Open
feat(surface-arm64-usb4): USB4 authorization + Surface Dock docking support#4foil-copy-overrate wants to merge 18 commits into
foil-copy-overrate wants to merge 18 commits into
Conversation
…kargs, no tpm2-luks)
…omm stack, sbctl)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
USB4 / Thunderbolt for Surface Laptop 7 (Snapdragon X Elite)
Adds USB4 device authorization and Surface Dock 2 support for Surface Laptop 7.
Background
Surface Laptop 7 has two USB4 v1.0 ports (Qualcomm implementation, not Intel TBT controller).
The upstream
thunderboltkernel driver handles USB4 on Qualcomm since kernel 6.11.Default kernel security policy is
authorized=0(denied) until authorized — this PRsets policy to auto-authorize (
authorized=1) via udev, matching the Surface default experience.Files
udev/rules.d/99-surface-usb4.rulesmodprobe.d/surface-arm64-usb4.confthunderbolt+typec_ucsioptionssystemd/system/surface-usb4.servicesystemd/system-preset/20-...-usb4.presetUSB4 capabilities on Surface Laptop 7
Security note
Auto-authorization (
authorized=1) is used for UX parity with Surface default firmware.For higher security deployments, replace with
tbtadm(per-device allowlist).See: https://github.com/intel/thunderbolt-software-user-space
Depends on
Base surface-arm64 PR #2 — no additional dependencies.