Skip to content

fix(udev): grant uaccess to X6 hidraw nodes - #86

Merged
blak0p merged 3 commits into
mainfrom
fix/udev-hidraw-uaccess
Sep 17, 2026
Merged

blak0p merged 3 commits into
mainfrom
fix/udev-hidraw-uaccess

Conversation

@blak0p

@blak0p blak0p commented Sep 17, 2026

Copy link
Copy Markdown
Owner

Closes #77

Summary

  • Replace late USB-only X6 udev policies with a lexical-priority hidraw policy.
  • Add a static contract test and align Linux installation/recovery guidance.

Changes

File Change
packaging/udev/60-attack-shark-x6-hidraw.rules Install X6 hidraw uaccess policy before 73-seat-late.rules.
packaging/udev/udev_policy_tdd_test.go Verify the packaged policy and documentation contract.
docs/linux-usb-prerequisites.md Install and recover using the hidraw policy.

Hardware impact

The packaged policy changes Linux ACL setup only. It does not change HID report payloads, validation, or transport. Live validation confirmed uaccess ACLs on all four X6 hidraw nodes and successful non-mutating device/battery reads.

Test Plan

  • go test ./packaging/udev -run '^TestPackagedUdevPolicyContract$' -count=1
  • git diff --check origin/main..HEAD
  • make build
  • Physical X6 E2E: ACLs plus device/battery reads
  • go test ./..., go vet ./..., and full frontend tests were not run locally; CI remains authoritative.

@blak0p blak0p added the type:bug Bug fix pull request label Sep 17, 2026
@blak0p
blak0p merged commit cb440d0 into main Sep 17, 2026
7 checks passed
@blak0p
blak0p deleted the fix/udev-hidraw-uaccess branch September 17, 2026 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:bug Bug fix pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

uaccess tag added but no ACL, udev rule issue, from 99-... to 60-...

1 participant