Fixes -> Rules too broad for Asus; catching my bluetooth dongle. #72
Also if vendor==Asus then skip other tests and go directly to match_found.
This commit is contained in:
parent
f276ea1be7
commit
8b05099aa1
|
@ -38,16 +38,17 @@ GOTO="android_usb_rule_match"
|
||||||
LABEL="not_Archos"
|
LABEL="not_Archos"
|
||||||
|
|
||||||
# Asus
|
# Asus
|
||||||
ATTR{idVendor}=="0b05", ENV{adb_user}="yes"
|
ATTR{idVendor}!="0b05", GOTO="not_Asus"
|
||||||
# Zenphone 5
|
# False positive - accessory
|
||||||
# normal
|
ATTR{idProduct}=="1???", GOTO="android_usb_rules_end"
|
||||||
ATTR{idProduct}=="4c90"
|
ENV{adb_user}="yes"
|
||||||
# USB Debugging
|
# Zenphone 5 (4c90=normal,4c91=debug,4daf=Fastboot)
|
||||||
ATTR{idProduct}=="4c91", SYMLINK+="android_adb"
|
ATTR{idProduct}=="4c91", SYMLINK+="android_adb"
|
||||||
# Fastboot
|
|
||||||
ATTR{idProduct}=="4daf", SYMLINK+="android_fastboot"
|
ATTR{idProduct}=="4daf", SYMLINK+="android_fastboot"
|
||||||
# Tegra APX
|
# Tegra APX
|
||||||
ATTR{idProduct}=="7030"
|
ATTR{idProduct}=="7030"
|
||||||
|
GOTO="android_usb_rule_match"
|
||||||
|
LABEL="not_Asus"
|
||||||
|
|
||||||
# Azpen Onda
|
# Azpen Onda
|
||||||
ATTR{idVendor}=="1f3a", ENV{adb_user}="yes"
|
ATTR{idVendor}=="1f3a", ENV{adb_user}="yes"
|
||||||
|
|
Loading…
Reference in New Issue