Package: android-tools-adb
Version: 4.1.1+git20120801-1
Followup-For: Bug #690453

Hi!

Here is a generic udev rule for this purpose :

✂-------------------------------------------------------------
# Set ACLs for console users on ADB compatible devices
# ADB_CLASS    == 0xff
# ADB_SUBCLASS == 0x42
# ADB_PROTOCOL == 0x1

ENV{ACL_MANAGE}=="0", GOTO="adb_android_end"
ACTION!="add|change", GOTO="adb_android_end"
SUBSYSTEM=="usb", ENV{ID_USB_INTERFACES}=="*:ff4201:*", TAG+="udev-acl"
LABEL="adb_android_end"
✂-------------------------------------------------------------

Otherwise, we could also use ATTRS{bInterfaceClass}==255,
ATTRS{bInterfaceSubClass}==66, ATTRS{bInterfaceProtocol}==1 instead of
ENV{ID_USB_INTERFACES}.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.6-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages android-tools-adb depends on:
ii  libc6   2.13-37
ii  zlib1g  1:1.2.7.dfsg-13

android-tools-adb recommends no packages.

android-tools-adb suggests no packages.

-- no debconf information


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to