Created
February 5, 2014 17:34
-
-
Save medvid/8829103 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Skip this section below if this device is not connected by USB | |
SUBSYSTEM!="usb", GOTO="android_usb_rules_end" | |
LABEL="android_usb_rules_begin" | |
# Devices listed here in android_usb_rules_{begin...end} are connected by USB | |
# HTC | |
ATTR{idVendor}=="0bb4", ENV{adb_user}="yes" MODE="0660", GROUP="plugdev" | |
# ZP900S : Auto-start USB tethering | |
ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0005", RUN="/usr/local/bin/tether.sh" | |
# Enable device as a user device if found | |
ENV{adb_user}=="yes", MODE="0660", GROUP="adbusers", TAG+="uaccess" | |
# Devices listed here {begin...end} are connected by USB | |
LABEL="android_usb_rules_end" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment