九鼎创展论坛

标题: 在ubuntu系统中,如何添加android设备的udev规则 [打印本页]

作者: jjj    时间: 2013-2-27 11:53
标题: 在ubuntu系统中,如何添加android设备的udev规则
以root用户编辑如下文件
  1. sudo gedit /etc/udev/rules.d/51-android.rules
复制代码
键入如下内容,并保存
  1. # adb protocol on passion (Nexus One)
  2. SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e12", MODE="0666", OWNER="root"
  3. # fastboot protocol on passion (Nexus One)
  4. SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0fff", MODE="0666", OWNER="root"
  5. # adb protocol on crespo/crespo4g (Nexus S)
  6. SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e22", MODE="0666", OWNER="root"
  7. # fastboot protocol on crespo/crespo4g (Nexus S)
  8. SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e20", MODE="0666", OWNER="root"
  9. # adb protocol on stingray/wingray (Xoom)
  10. SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", ATTR{idProduct}=="70a9", MODE="0666", OWNER="root"
  11. # fastboot protocol on stingray/wingray (Xoom)
  12. SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="708c", MODE="0666", OWNER="root"
  13. # adb protocol on maguro/toro (Galaxy Nexus)
  14. SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="6860", MODE="0666", OWNER="root"
  15. # fastboot protocol on maguro/toro (Galaxy Nexus)
  16. SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e30", MODE="0666", OWNER="root"
  17. # adb protocol on panda (PandaBoard)
  18. SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="d101", MODE="0666", OWNER="root"
  19. # fastboot protocol on panda (PandaBoard)
  20. SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="d022", MODE="0666", OWNER="root"
  21. # usbboot protocol on panda (PandaBoard)
  22. SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="d00f", MODE="0666", OWNER="root"
  23. # usbboot protocol on panda (PandaBoard ES)
  24. SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="d010", MODE="0666", OWNER="root"
  25. # adb protocol on grouper/tilapia (Nexus 7)
  26. SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e42", MODE="0666", OWNER="root"
  27. # fastboot protocol on grouper/tilapia (Nexus 7)
  28. SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e40", MODE="0666", OWNER="root"
  29. # adb protocol on manta (Nexus 10)
  30. SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee2", MODE="0666", OWNER="root"
  31. # fastboot protocol on manta (Nexus 10)
  32. SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee0", MODE="0666", OWNER="root"
复制代码





欢迎光临 九鼎创展论坛 (http://bbs.9tripod.com/) Powered by Discuz! X3.2