From 539ac12ebb563bad51489f6fbdac48567aa48dfc Mon Sep 17 00:00:00 2001 From: MagneFire Date: Thu, 5 Jan 2023 14:51:49 +0100 Subject: [PATCH] feat: Rewrite Polar vendor and add Polar M600 product. (#248) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Darrel Griƫt --- 51-android.rules | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/51-android.rules b/51-android.rules index a397860..ba94dec 100644 --- a/51-android.rules +++ b/51-android.rules @@ -521,8 +521,14 @@ ATTR{idProduct}=="5101", ENV{adb_user}="yes" GOTO="android_usb_rule_match" LABEL="not_Point_Mobile" -# Polar M600 -ATTR{idVendor}=="0da4", ENV{adb_user}="yes" +# Polar +ATTR{idVendor}!="0da4", GOTO="not_Polar" +ENV{adb_user}="yes" +# Polar M600 (0010=adb,000b=fastboot) +ATTR{idProduct}=="0010", SYMLINK+="android_adb" +ATTR{idProduct}=="000b", SYMLINK+="android_fastboot" +GOTO="android_usb_rule_match" +LABEL="not_Polar" # Qualcomm (Wearners also 05c6) ATTR{idVendor}!="05c6", GOTO="not_Qualcomm"