Skip to content

Commit

Permalink
feat: add Oculus Quest 2 (close #308) (#309)
Browse files Browse the repository at this point in the history
Support the adb mode of Oculus Quest 2

  Bus 002 Device 002: ID 2833:0186 Oculus Quest 2
  • Loading branch information
M0Rf30 authored Jan 27, 2024
1 parent ac358ab commit 4fcbfaf
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions 51-android.rules
Original file line number Diff line number Diff line change
Expand Up @@ -579,8 +579,12 @@ ENV{adb_user}="yes"
GOTO="android_usb_rule_match"
LABEL="not_Nvidia"

# Oculus (Need product specific rules)
#ATTR{idVendor}=="2833", GOTO="user"
# Oculus
ATTR{idVendor}!="2833", GOTO="not_Oculus"
# Oculus Quest 2
ATTR{idProduct}=="0186", GOTO="user"
GOTO="android_usb_rules_end"
LABEL="not_Oculus"

# OnePlus(Oreo)
ATTR{idVendor}!="2a70", GOTO="not_OnePlus"
Expand Down

0 comments on commit 4fcbfaf

Please sign in to comment.