Want more features on Pastebin? Sign Up, it's FREE!
Guest

android-udev rules archlinux

By: a guest on Dec 6th, 2011  |  syntax: Bash  |  size: 2.56 KB  |  views: 455  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # rules for HTC HD2
  2. SUBSYSTEM=="usb",ATTR{idVendor}=="0bb4", MODE="0666"
  3. SUBSYSTEM=="usb",ATTR{idVendor}=="0bb4",ATTR{idProduct}=="0c02",SYMLINK+="android_adb"
  4. SUBSYSTEM=="usb",ATTR{idVendor}=="0bb4",ATTR{idProduct}=="0c02",SYMLINK+="android_fastboot"
  5.  
  6. # rules for google nexus one
  7. SUBSYSTEM=="usb",ATTR{idVendor}=="18d1",MODE="0666"
  8. SUBSYSTEM=="usb",ATTR{idVendor}=="18d1",ATTR{idProduct}=="4e12",SYMLINK+="android_adb"
  9. SUBSYSTEM=="usb",ATTR{idVendor}=="18d1",ATTR{idProduct}=="4e12",SYMLINK+="android_fastboot"
  10.  
  11. # rules for HTC Wildfire
  12. SUBSYSTEM=="usb",ATTR{idVendor}=="0bb4", MODE="0666"
  13. SUBSYSTEM=="usb",ATTR{idVendor}=="0bb4",ATTR{idProduct}=="0c8b",SYMLINK+="android_adb"
  14. SUBSYSTEM=="usb",ATTR{idVendor}=="0bb4",ATTR{idProduct}=="0c8b",SYMLINK+="android_fastboot"
  15.  
  16. # rules for Samsung Galaxy Tab
  17. SUBSYSTEM=="usb",ATTR{idVendor}=="04e8", MODE="0666"
  18. SUBSYSTEM=="usb",ATTR{idVendor}=="04e8",ATTR{idProduct}=="6877",SYMLINK+="android_adb"
  19. SUBSYSTEM=="usb",ATTR{idVendor}=="04e8",ATTR{idProduct}=="6877",SYMLINK+="android_fastboot"
  20.  
  21. # rules for Samsung Galaxy S
  22. SUBSYSTEM=="usb",ATTR{idVendor}=="04e8", MODE="0666"
  23. SUBSYSTEM=="usb",ATTR{idVendor}=="04e8",ATTR{idProduct}=="6877",SYMLINK+="android_adb"
  24. SUBSYSTEM=="usb",ATTR{idVendor}=="04e8",ATTR{idProduct}=="6877",SYMLINK+="android_fastboot"
  25.  
  26. # rules for HTC Tatoo
  27. SUBSYSTEM=="usb",ATTR{idVendor}=="0bb4", MODE="0666"
  28. SUBSYSTEM=="usb",ATTR{idVendor}=="0bb4",ATTR{idProduct}=="0c02",SYMLINK+="android_adb"
  29. SUBSYSTEM=="usb",ATTR{idVendor}=="0bb4",ATTR{idProduct}=="0c02",SYMLINK+="android_fastboot"
  30.  
  31. # rules for Huawei
  32. SUBSYSTEM=="usb",ATTR{idVendor}=="12d1", MODE="0666"
  33. SUBSYSTEM=="usb",ATTR{idVendor}=="12d1",ATTR{idProduct}=="1038",SYMLINK+="android_adb"
  34. SUBSYSTEM=="usb",ATTR{idVendor}=="12d1",ATTR{idProduct}=="1038",SYMLINK+="android_fastboot"
  35.  
  36. # rules for Nexus S
  37. SUBSYSTEM=="usb",ATTR{idVendor}=="18d1", MODE="0666"
  38. SUBSYSTEM=="usb",ATTR{idVendor}=="18d1",ATTR{idProduct}=="4e22",SYMLINK+="android_adb"
  39. SUBSYSTEM=="usb",ATTR{idVendor}=="18d1",ATTR{idProduct}=="4e22",SYMLINK+="android_fastboot"
  40.  
  41. # rules for HTC ChaCha
  42. SUBSYSTEM=="usb",ATTR{idVendor}=="0bb4", MODE="0666"
  43. SUBSYSTEM=="usb",ATTR{idVendor}=="0bb4",ATTR{idProduct}=="0cb2",SYMLINK+="android_adb"
  44. SUBSYSTEM=="usb",ATTR{idVendor}=="0bb4",ATTR{idProduct}=="0cb2",SYMLINK+="android_fastboot"
  45.  
  46. # rules for HTC Desire Z
  47. SUBSYSTEM=="usb",ATTR{idVendor}=="0bb4", MODE="0666"
  48. SUBSYSTEM=="usb",ATTR{idVendor}=="0bb4",ATTR{idProduct}=="0c91",SYMLINK+="android_adb"
  49. SUBSYSTEM=="usb",ATTR{idVendor}=="0bb4",ATTR{idProduct}=="0c91",SYMLINK+="android_fastboot"
  50.  
  51.  
clone this paste RAW Paste Data