Monday, January 28, 2013

Connect an Android HP Touchpad to Windows XP via USB

I had some problems getting my Eclipse development environment on Windows XP to recognize an HP Touchpad tablet installed with CyanogenMod 7 (an independent Android OS distribution). I searched the net for a while but could not find a single solution that could fix my problem. In the end, I went on a hunch and resolved the issue. The following steps were what I did.

Reinstall the Mass Storage Device Driver
This section is optional. In my case, I had a previous tablet driver which recognizes the HP Touchpad as a mass storage device only (but not the Eclipse Android SDK). If you don't see the Android Device node in the Device Manager when the tablet is plugged in, then you should do this. Otherwise, skip to the next section.

  1. Select the Start button. Right click on My Computer and choose Manage.

    The Computer Management console appears.
  2. Expand the Universal Serial Bus Controllers node.


  3. Right click on USB Mass Storage Device.
  4. Choose Uninstall.
  5. Select Action | Scan for hardware changes. Reinstall the driver. 


Get the Hardware Ids of the tablet

  1. Physically connect the HP Touchpad to the Windows PC with the USB cable.

    The Found New Hardware Wizard pops up
  2. Select the Start button. Right click on My Computer and choose Manage.

    The Computer Management console appears.

  3. Click Device Manager. Expand the Android Device node. Right click on Android Tablet.

    The Android Tablet Properties appear.
  4. Choose Hardware Ids.


  5. Note down the hardware ids (2 lines that appear in the text) box e.g. USB\Vid_0bb4&Pid_0c02&Rev_0227&MI_01USB\Vid_0bb4&Pid_0c02&MI_01.
  6. Close the dialog box.

Insert the tablet hardware ids into the Android SDK's usb driver android_winusb.inf file

  1. Use a text editor to open up the android_winusb.inf file.

    Note: This is located underneath where you installed the Android SDK e.g. C:\Program files\android\android-sdk\extras\google\usb_driver\.
  2. Underneath the section [Google.NTx86], add in the hardware ids you noted down previously as shown below.



    Note: lines that begin with ';' are comment lines.
  3. Also add in the same lines underneath the section [Google.NTamd64].
  4.  Save the file. Close the text editor.
Install the Android tablet driver
  1. If the Found New Hardware Wizard is closed, then you can unplug the tablet. Then plug it again to the USB port.

    The Found New Hardware Wizard appears.
  2. Choose Not this time. Click Next.


  3. Choose Install from a list or specified location (Advanced). Click Next.


  4. Toggle on Search for the best driver in these locations.Toggle on Include this location in the search. Click Browse. Specify the folder location of the file winusb.inf e.g. C:\Program files\android\android-sdk\extras\usb_driver\. Click Next.



    The wizard installs the driver.

  5. Click Finish to complete.


  6. If necessary, you may need to reboot.
If the driver installation is successful, the Device Manager will list the Android ADB Interface underneath the Android Device node when the tablet is plugged in, as shown below. You should be able to connect to the HP Touchpad through the Eclipse IDE

3 comments:

AAREN said...

Excellent and very informative. Its really very useful of all of users. I found a lot of informative stuff in your article. Keep it up.

CMSD said...

This looks like a very good article. But, my PC running XP with SP3 does not have a "Manage" or "Computer Management" function.
So I am still in the dark how to install drivers that will let my Touchpad with CM9 installed connect to my computer via USB.

:(

CMSD said...

This looks like a great article.

Unfortunately, my Lenovo PC running XP SP3 does not have a "Manage" or "Computer Management" function, so I am still totally in the dark how to get drivers that will let my HP Touchpad with CM9 connect to the PC via USB.

:(

Related Posts with Thumbnails