USB2DBG driver installation failure issue

If you want to hook up two Windows PCs with USB 2 debug dongle for kernel debugging but it keeps failing to install the driver(even though you already checked the correct bitness and others), then you might need to edit the usb2dbg.inf.

First you need to check a setupapi.dev.log.

ndv: {Update Driver Software Wizard for USB\VID_0525&PID_127A\AJAYS001}
dvi:      Set selected driver complete.
dvi:      {DIF_SELECTDEVICE} 16:53:27.799
dvi:           No class installer for ‘Ajays USB 2.0 Debug Cable’
dvi:           No CoInstallers found
dvi:      {DIF_SELECTDEVICE – exit(0xe000020e)} 16:53:27.815
ui :      Prompting user for disk…
ui :      DPROMPT result = 0
dvi:      {DIF_SELECTDEVICE} 16:53:34.783
dvi:           No class installer for ‘Ajays USB 2.0 Debug Cable’
dvi:      {DIF_SELECTDEVICE – exit(0xe000020e)} 16:53:34.799
ui :      Prompting user for disk…
ui :      DPROMPT result = 1

In case you found such error messages, try adding the ‘ClassGuid’ for USB class line into version section like,

[Version]

ClassGuid = {36fc9e60-c465-11cf-8056-444553540000}  <– add this line

This posting is provided “AS IS” with no warranties, and confers no rights.

Advertisements

2 thoughts on “USB2DBG driver installation failure issue

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s