a wacky workaround to get Nexus One usb driver installed on windows 7

by monkey.jsun » Thu, 19 May 2011 12:18:20 GMT


Sponsored Links
 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

-- 



Re: a wacky workaround to get Nexus One usb driver installed on windows 7

by Eamonn Dunne » Thu, 19 May 2011 21:32:53 GMT


 I'm pretty sure thats an issue with the VM, as I installed the drivers 
without issue on the same setup.

-- 


Sponsored Links


Other Threads

1. Accessing the sqlite3 database via shell ?

Hi,
 
I've been using the "SQLiteOpenHelper" class to create/open a database for my 
application. During the initialization process, I've been adding two tables to 
it and fill one of them with some data. Everything seems to be working fine and 
I'm getting no errors or whatsoever when I run my code.
 
Then I try to access the same database via shell using the
 
"adb -s emulator-XXXX shell"
 
command followed by
 
"sqlite3 /data/data/com.android.myapplication/databases/mydatabase.db"
 
and I am able to see that the database is created. However, when I want to see 
the contents; say the tables using ".tables", there seems to be nothing in the 
database.
 
I debug my code to make sure that my code executes the lines where I created 
these tables so I am wondering what the problem might be.  I haven't seen 
anything with respect to that in the references, but do we have to commit after 
using the "execSQL" method ? Or am I missing something else ?
 
Thanks for your help in advance,
 
Emre
 
 

_________________________________________________________________
Attention all humans. We are your photos. Free us.
http://go.microsoft.com/?linkid=9666047
--~--~---------~--~----~------------~-------~--~----~

2. setSoftInputMode() and addFlags()

Hello!

I've noticed some incompatibility between these two functions.
public void onCreate(Bundle savedInstanceState) {
     super.onCreate(savedInstanceState);
     this.getWindow().addFlags
(WindowManager.LayoutParams.FLAG_FULLSCREEN);
     this.getWindow().setSoftInputMode
(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE);
     .....
}

Enabling the fullscreen flag seems to disable the soft input adjust
mode. I looked through the source code of the two functions but I
coulnd't find anything that might cause this.

Any suggestions?
Thanks!
--~--~---------~--~----~------------~-------~--~----~

3. Wifi (wpa_supplicant) connect issue (CSR Unifi)

4. Can I Hide native phone app GUI when incoming call comes

5. SMS Notification

6. DefaultHTTPClient execute method hangs(3 to 4 mins) when end call button is pressed

7. View Files on a remove server/PC