lambdabot

Untitled

Aug 21st, 2015
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VIM 7.43 KB | None | 0 0
  1. # Android Debug Bridge (adb) udev definition file
  2. # #
  3. # # This rules file will add a /dev/android_adb symlink when an Android phone with
  4. # # an identified idVendor:idProduct appears on the USB port. Then it will run the
  5. # # Android adb program (located in specified RUN+ statement below).
  6. # #
  7. # # This file may be out of date, please check Android developer documentation for
  8. # # ##-android.rules udev rules file to support Android Debug Bridge on USB.
  9. # # Some codes have idVendor, and some have an extra {idProduct} code.
  10. # #
  11. # # NOTE: Only uncomment the phone you are debugging since you will not want to
  12. # # uncomment a working phone. You may need to add extra ATTRS{idProduct}=="????"
  13. # # tests if you have more than 1 USB device from the same manufacturer, this way,
  14. # # you identify the right product. For examples, look at # Google or HTC codes
  15. # # shown below which have additional {idProduct} tests.
  16. # #
  17. # # If you find new {idProduct} codes, please send info to www.linux-usb.org, and
  18. # # also to android developer forum. You can test for new values by running the
  19. # # command lsusb to identify any USB devices. Some Android devices have different
  20. # # codes while running in normal or in debug mode. udev is case sensitive so you
  21. # # need to ensure that you use the same (lower) case for hexidecimal values.
  22. # #
  23. # # NOTE: You need to modify the RUN+="" statement to point to your location you
  24. # # use where your adb program is located.
  25. # #
  26. # # NOTE: Debian type distros may need to have GROUP="plugdev" instead of "usb"
  27. # # NOTE: You have to add yourself to the "usb" (or "plugdev") group if you choose
  28. # # to use MODE=0664 instead of MODE=0666. This example rules file uses MODE=0664.
  29. # #
  30. # # Version 1.0, by Jose Da Silva <Digital@JoesCat.com> 2011oct11
  31. # # Version 1.1, by Jose Da Silva <Digital@JoesCat.com> 2012sep30
  32. #
  33. # ACTION!="add", GOTO="android_usb_rules_end"
  34. # SUBSYSTEM!="usb", GOTO="android_usb_rules_end"
  35. #
  36. # LABEL="android_usb_rules_begin"
  37. #
  38. # # (Remove the comment '#' if your device has a comment in front of it)
  39. # # Acer
  40. # # ATTRS{idVendor}=="0502", ENV{adb_matched}="yes"
  41. # # Acer Liquid 3202, 3203=(debug)
  42. # ATTRS{idVendor}=="0502", ATTRS{idProduct}=="3203", ENV{adb_matched}="yes"
  43. # # Archos 5 1350=(storage), 1357=(media), 1360=(network), 1361, 18d1:0002=(debug)
  44. # # ATTRS{idVendor}=="0e79", ATTRS{idProduct}=="1361", ENV{adb_matched}="yes"
  45. # # ASUS
  46. # # ATTRS{idVendor}=="0b05", ENV{adb_matched}="yes"
  47. # # Dell
  48. # # ATTRS{idVendor}=="413c", ENV{adb_matched}="yes"
  49. # # Foxconn
  50. # ATTRS{idVendor}=="0489", ENV{adb_matched}="yes"
  51. # # Fujitsu, Fujitsu Toshiba
  52. # ATTRS{idVendor}=="04c5", ENV{adb_matched}="yes"
  53. # # Garmin-Asus
  54. # # ATTRS{idVendor}=="091e", ENV{adb_matched}="yes"
  55. # # Google, Nexus One 4e11, 4e12=(debug), 4e13=(tether)
  56. # # Google, Nexus S 4e20=(fastboot), 4e21, 4e22=(debug), 4e24=(tether)
  57. # ATTRS{idVendor}=="18d1", ATTRS{idProduct}=="4e?2", ENV{adb_matched}="yes"
  58. # # Haier
  59. # # ATTRS{idVendor}=="201E", ENV{adb_matched}="yes"
  60. # # Hisense
  61. # # ATTRS{idVendor}=="109b", ENV{adb_matched}="yes"
  62. # # HTC Dream / ADP1 / G1 / Magic / Tattoo =0c01, 0c02=(debug)
  63. # ATTRS{idVendor}=="0bb4", ATTRS{idProduct}=="0c02", ENV{adb_matched}="yes"
  64. # # HTC Desire 0c87=(debug)
  65. # ATTRS{idVendor}=="0bb4", ATTRS{idProduct}=="0c87", ENV{adb_matched}="yes"
  66. # # HTC EVO 4G 0c8d=(debug)
  67. # ATTRS{idVendor}=="0bb4", ATTRS{idProduct}=="0c8d", ENV{adb_matched}="yes"
  68. # # HTC Desire 0c99=(debug)
  69. # ATTRS{idVendor}=="0bb4", ATTRS{idProduct}=="0c99", ENV{adb_matched}="yes"
  70. # # HTC Desire HD 0ca2=(debug), 0ff8=(tether)
  71. # ATTRS{idVendor}=="0bb4", ATTRS{idProduct}=="0ca2", ENV{adb_matched}="yes"
  72. # # HTC Android Fastboot Bootloader 0fff, 0ffe=(modem)
  73. # ATTRS{idVendor}=="0bb4", ATTRS{idProduct}=="0fff", ENV{adb_matched}="yes"
  74. # # Huawei
  75. # # ATTRS{idVendor}=="12d1", ENV{adb_matched}="yes"
  76. # # Huawei Ideos 1037, 1038=(debug)
  77. # ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1038", ENV{adb_matched}="yes"
  78. # # K-Touch
  79. # # ATTRS{idVendor}=="24e3", ENV{adb_matched}="yes"
  80. # # KT Tech
  81. # # ATTRS{idVendor}=="2116", ENV{adb_matched}="yes"
  82. # # Kyocera
  83. # # ATTRS{idVendor}=="0482", ENV{adb_matched}="yes"
  84. # # Lenovo
  85. # # ATTRS{idVendor}=="17ef", ENV{adb_matched}="yes"
  86. # # LG
  87.  ATTRS{idVendor}=="1004", ENV{adb_matched}="yes"
  88. # # LG Ally/Optimus One/Vortex/P500 618f, 618e=(debug)
  89.  ATTRS{idVendor}=="1004", ATTRS{idProduct}=="618e", ENV{adb_matched}="yes"
  90. # # LG GT540, 61b4 (disable "as USB storage)
  91.  ATTRS{idVendor}=="1004", ATTRS{idProduct}=="61b4", ENV{adb_matched}="yes"
  92. #LG G2
  93. SUBSYSTEM=="usb", ATTR{idVendor}=="1004", ATTR{idProduct}=="631c", MODE="0666"'
  94. # # Motorola
  95. # # ATTRS{idVendor}=="22b8", ENV{adb_matched}="yes"
  96. # # Motorola Droid/Milestone/Nexus 41d9, 41db=(debug), 41de=(PCmode)
  97. # ATTRS{idVendor}=="22b8", ATTRS{idProduct}=="41db", ENV{adb_matched}="yes"
  98. # # Motorola Cliq/MB200 2d66=(debug)
  99. # ATTRS{idVendor}=="22b8", ATTRS{idProduct}=="2d66", ENV{adb_matched}="yes"
  100. # # Motorola Xoom MZ600 70a8, 70a9=(debug)
  101. # ATTRS{idVendor}=="22b8", ATTRS{idProduct}=="70a9", ENV{adb_matched}="yes"
  102. # # MTK
  103. # # ATTRS{idVendor}=="0e8d", ENV{adb_matched}="yes"
  104. # # NEC
  105. # # ATTRS{idVendor}=="0409", ENV{adb_matched}="yes"
  106. # # Barnes and Noble Nook=0001, NOOKcolor=0002
  107. # # ATTRS{idVendor}=="2080", ENV{adb_matched}="yes"
  108. # # Nvidia
  109. # # ATTRS{idVendor}=="0955", ENV{adb_matched}="yes"
  110. # # Nvidia Notion Ink Adam 7100, ????=(debug)
  111. # ATTRS{idVendor}=="0955", ATTRS{idProduct}=="71??", ENV{adb_matched}="yes"
  112. # # OTGV
  113. # # ATTRS{idVendor}=="2257", ENV{adb_matched}="yes"
  114. # # Pantech
  115. # # ATTRS{idVendor}=="10a9", ENV{adb_matched}="yes"
  116. # # Pegatron
  117. # # ATTRS{idVendor}=="1d4d", ENV{adb_matched}="yes"
  118. # # Philips
  119. # # ATTRS{idVendor}=="0471", ENV{adb_matched}="yes"
  120. # # Panasonic (Matsushita)
  121. # # ATTRS{idVendor}=="04da", ENV{adb_matched}="yes"
  122. # # Qualcomm
  123. # # ATTRS{idVendor}=="05c6", ENV{adb_matched}="yes"
  124. # # SK Telesys
  125. # # ATTRS{idVendor}=="1f53", ENV{adb_matched}="yes"
  126. # # Samsung
  127. # # ATTRS{idVendor}=="04e8", ENV{adb_matched}="yes"
  128. # # Samsung GT19100 Galaxy S II, 6860, 685e=(debug), 685b=(storage)
  129. # ATTRS{idVendor}=="04e8", ATTR:S{idProduct}=="685e", ENV{adb_matched}="yes"
  130. # # Samsung Z100 Mobile Phone 6601=(debug)
  131. # ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="6601", ENV{adb_matched}="yes"
  132. # # Sharp
  133. # # ATTRS{idVendor}=="04dd", ENV{adb_matched}="yes"
  134. # # Sony Ericsson
  135. # # ATTRS{idVendor}=="0fce", ENV{adb_matched}="yes"
  136. # # Sony Ericsson Xperia X10 mini 3137, 2137=(debug)
  137. # ATTRS{idVendor}=="0fce", ATTRS{idProduct}=="2137", ENV{adb_matched}="yes"
  138. # # Sony Ericsson Xperia X10 mini pro 3138, 2138=(debug)
  139. # ATTRS{idVendor}=="0fce", ATTRS{idProduct}=="2138", ENV{adb_matched}="yes"
  140. # # Sony Ericsson Xperia X8 3149, 2149=(debug)
  141. # ATTRS{idVendor}=="0fce", ATTRS{idProduct}=="2149", ENV{adb_matched}="yes"
  142. # # Sony Ericsson Xperia X12 e14f, 614f=(debug)
  143. # ATTRS{idVendor}=="0fce", ATTRS{idProduct}=="614f", ENV{adb_matched}="yes"
  144. # # Teleepoch
  145. # # ATTRS{idVendor}=="2340", ENV{adb_matched}="yes"
  146. # # Toshiba
  147. # # ATTRS{idVendor}=="0930", ENV{adb_matched}="yes"
  148. # # ZTE
  149. # # ATTRS{idVendor}=="19d2", ENV{adb_matched}="yes"
  150. # # ZTE Blade 1353, 1351=(debug), 1354=(recovery) 18d1:d00d=(fastboot)
  151. # ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="1351", ENV{adb_matched}="yes"
  152. #
  153. # # If a match is found, then add the device and run the adb server
  154. # ENV{adb_matched}!="yes", GOTO="android_usb_rules_end"
  155. # SYMLINK+="android_adb", MODE="0664", GROUP="usb"
  156. # RUN+="/opt/android-sdk-linux_x86/platform-tools/adb devices"
  157. #
  158. # LABEL="android_usb_rules_end"
Advertisement
Add Comment
Please, Sign In to add comment