Skip to content

Commit

Permalink
adding adb universal rule (thanks to ktnr74 #147)
Browse files Browse the repository at this point in the history
  • Loading branch information
M0Rf30 committed Jul 19, 2018
1 parent 4a01f79 commit 704f83d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions 51-android.rules
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
# 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="0666", GROUP="plugdev", SYMLINK+="android/$env{ID_SERIAL_SHORT}"

LABEL="android_usb_rules_begin"
# Devices listed here in android_usb_rules_{begin...end} are connected by USB
# Acer
Expand Down

0 comments on commit 704f83d

Please sign in to comment.