51-android.rules NEXUS ONEの場合
なんとなく接続できたが。
$ lsusb Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 009: ID 0a5c:2110 Broadcom Corp. Bluetooth Controller Bus 003 Device 002: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 016: ID 18d1:4e12 Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub $ adb devices List of devices attached HT9CXXXXXX device
http://developer.android.com/intl/ja/guide/developing/device.html
にも書いてないのだが、N1の場合は、
ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e12"
っぽい。
とりあえず
N1,Magic併用はこれでいけました。
http://forum.xda-developers.com/showthread.php?t=613217&page=4
SUBSYSTEM=="usb|usb_device", SYSFS{idVendor}=="18d1", MODE="0660", GROUP="plugdev" SUBSYSTEM=="usb|usb_device", SYSFS{idVendor}=="0bb4", MODE="0660", GROUP="plugdev" SUBSYSTEM=="usb|usb_device", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e12", SYMLINK+="android_adb" SUBSYSTEM=="usb|usb_device", ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0fff", SYMLINK+="android_fastboot"
なんか気持ち悪いけど。
How to connect your Android phone to Ubuntu to do development, testing, installations or tethering
http://dimitar.me/how-to-connect-your-android-phone-to-ubuntu-to-do-developmenttestinginstallations-or-tethering/
Nexus One ADB on Ubuntu 9.10/Arch Linux
http://3dgo.net/2010/01/26/nexus-one-adb-on-ubuntu-9-10/