Wednesday, May 18, 2011

[android-developers] a wacky workaround to get Nexus One usb driver installed on windows 7

I have wasted almost a day trying to get my nexus one connected to my
Acer laptop running windows 7 professional 64bit. The basic symptom is
that even if I point windows driver update to where the driver
software is (SDK/extras/google/usb_driver), windows still says there
is no driver found.

I finally looked at the properties of "Nexus One" device and saw its
hardware id's are

USB\VID_18D1&PID_4E12&REV_0227
USB\VID_18D1&PID_4E12

So I add the following line to SDK/extras/google/usb_driver/
android_winusb.inf file (the one ends with <<<<<)

;Google NexusOne
%SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_0D02
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_0D02&MI_01
%SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_4E11
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_4E12&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_4E12
<<<<<<<<<<<<<<<<<<<<<
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_4E22&MI_01

[USB_Install]
Include = winusb.inf
Needs = WINUSB.NT

That does the trick! I think somehow window's usb driver is not
working properly on my laptop (probably due to VMWare) and did not get
the device id correctly. Or google's usb inf has a bug. I just want to
post it so that someone else may save time in the future.

Cheers.

Jun

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate