Reverting android universal rule. We prefer a punctual device detection (commented as reminder)
This commit is contained in:
parent
97c93409be
commit
0d2c63fee9
|
@ -18,9 +18,12 @@
|
|||
# Skip this section below if this device is not connected by USB
|
||||
SUBSYSTEM!="usb", GOTO="android_usb_rules_end"
|
||||
|
||||
LABEL="android_universal_rule"
|
||||
ENV{ID_USB_INTERFACES}!="*:ff420?:*", GOTO="android_usb_rules_begin"
|
||||
ACTION=="add", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:ff420?:*", MODE="0660", GROUP="adbusers", SYMLINK+="android/$env{ID_SERIAL_SHORT}"
|
||||
# This is the universal rule suggested here:
|
||||
# http://ktnr74.blogspot.com/2013/04/universal-udev-rule-for-all-android.html
|
||||
# Commented as a reminder (we prefer a punctual device detection)
|
||||
# LABEL="android_universal_rule"
|
||||
# ENV{ID_USB_INTERFACES}!="*:ff420?:*", GOTO="android_usb_rules_begin"
|
||||
# ACTION=="add", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:ff420?:*", MODE="0660", GROUP="adbusers", SYMLINK+="android/$env{ID_SERIAL_SHORT}"
|
||||
|
||||
LABEL="android_usb_rules_begin"
|
||||
# Devices listed here in android_usb_rules_{begin...end} are connected by USB
|
||||
|
|
Loading…
Reference in New Issue