From 18ab19b8d2326ca473c1f9b36d381e7e5d55c2f7 Mon Sep 17 00:00:00 2001 From: Joe Date: Sun, 3 Sep 2023 00:30:52 -0700 Subject: [PATCH] chore: modify BQ device as adb+mtp, or mtp (#285) initial patch was to add android links, however, based on looking at libmtp these are both mtp, therefore changed these to adb+mtp, while the mtp-only product was dropped and left for libmtp to handle since it appears there is no adb for this. More details given in issue #46 --- 51-android.rules | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/51-android.rules b/51-android.rules index 65a617e..99b3ec1 100644 --- a/51-android.rules +++ b/51-android.rules @@ -128,9 +128,8 @@ LABEL="not_Asus" # BQ ATTR{idVendor}!="2a47", GOTO="not_BQ" -# Aquaris 4.5 -ATTR{idProduct}=="0c02", GOTO="adbfast" -ATTR{idProduct}=="2008", GOTO="adbfast" +# Aquaris 4.5, Krillin (0c02=mtp,adb 2008=mtp) +ATTR{idProduct}=="0c02", GOTO="adbmtp" GOTO="android_usb_rules_end" LABEL="not_BQ" @@ -523,6 +522,7 @@ ATTR{idProduct}=="2eb7", GOTO="mass" # off ENV{adb_user}="yes" GOTO="android_usb_rule_match" LABEL="not_Motorola" + # MTK (MediaTek Inc) ATTR{idVendor}!="0e8d", GOTO="not_MTK" # Umidigi F1 (201c=adbfast)