MTP and USB debugging

henryhu

Member
Jul 21, 2010
38
10
0
New York
If I disable USB debugging, Xoom would be recongnized as MTP device. If I enable USB debugging, it is not recongnized.... (Windows XP SP2)

I just found that I can modify c:\windows\inf\wpdmtp.inf to solve the problem. Just add
Code:
%GenericMTP.DeviceDesc%=MTP, USB\VID_22B8&PID_70A9&MI_00
after the lines
Code:
[Generic.NTx86]
%GenericMTP.DeviceDesc%=MTP, USB\MS_COMP_MTP
and
Code:
[Generic.NTamd64]
%GenericMTP.DeviceDesc%=MTP, USB\MS_COMP_MTP
and try to let windows to install the driver.

The reason seems like that if USB debugging is disabled, Xoom reports it as class MS_COMP_MTP. But if it is enabled, it does not report this, so the driver fails to match...

So the problem is, why Xoom doesn't report itself as MTP device while USB debugging is enabled? It still works as MTP devices in the USB debugging mode, so it may just let the driver to attach to it.... Maybe it's caused by the composite device?
 

b_jammin666

Member
Aug 27, 2009
6
2
0
Nexus 4

If I disable USB debugging, Xoom would be recongnized as MTP device. If I enable USB debugging, it is not recongnized.... (Windows XP SP2)

I just found that I can modify c:\windows\inf\wpdmtp.inf to solve the problem. Just add
Code:
%GenericMTP.DeviceDesc%=MTP, USB\VID_22B8&PID_70A9&MI_00
after the lines
Code:
[Generic.NTx86]
%GenericMTP.DeviceDesc%=MTP, USB\MS_COMP_MTP
and
Code:
[Generic.NTamd64]
%GenericMTP.DeviceDesc%=MTP, USB\MS_COMP_MTP
and try to let windows to install the driver.

The reason seems like that if USB debugging is disabled, Xoom reports it as class MS_COMP_MTP. But if it is enabled, it does not report this, so the driver fails to match...

So the problem is, why Xoom doesn't report itself as MTP device while USB debugging is enabled? It still works as MTP devices in the USB debugging mode, so it may just let the driver to attach to it.... Maybe it's caused by the composite device?
The same thing worked for my Nexus 4, add:
%GenericMTP.DeviceDesc%=MTP, USB\VID_18D1&PID_4EE2&MI_00