From 6a769a3a5d00729479b424d6ce1192fad6a8bf39 Mon Sep 17 00:00:00 2001 From: M0Rf30 Date: Thu, 25 Jan 2024 12:52:41 +0100 Subject: [PATCH] feat: add Oculus Quest 2 (close #308) Support the adb mode of Oculus Quest 2 Bus 002 Device 002: ID 2833:0186 Oculus Quest 2 --- 51-android.rules | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/51-android.rules b/51-android.rules index a71b0ae..197ec55 100644 --- a/51-android.rules +++ b/51-android.rules @@ -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"