Monday, June 21, 2010

Connecting Nexus One to Ubuntu 10.04

This is my guide:  http://ubuntuforums.org/showthread.php?t=1441466

Trying a straight connect with no modification first.

The Nexus One see the connection.

Turned on the debug option on the phone.

Created the USB rules file with the following rules.

SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", SYSFS{idVendor}=="04e8", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666", GROUP="plugdev"

Verify the my user is a member of the 'plugdev' group.

Restart the 'udev' process.

$ sudo restart udev

The 'lsusb' command showes the device as present.

$ lsusb

Bus 003 Device 002: ID 18d1:4e12 
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 1241:1166 Belkin MI-2150 Trust Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Having the same problem that I had before:

$ ./adb devices
List of devices attached
????????????    no permissions

Trying to reboot the PC with the device connected.

The reboot did the trick!

$ ./adb devices
* daemon not running. starting it now *
* daemon started successfully *
List of devices attached
HT9CYP804076    device


I am so close to loading a test program on to my phone, but I am out of time for now.



No comments:

Post a Comment