Join now - be part of our community!

Unknown USB Device (Device descriptor request failed)

Temelj
Visitor

Unknown USB Device (Device descriptor request failed)

 Phone no longer wants to connect to a PC (Windows 10) via USB.

Windows Device Manager shows the phone as "Unknown USB Device (Device descriptor request failed)" and the phone does not provide an option to select - charging only, usb file transfer or that third option (MTP).

The Phone does appear to charge via PC USB & normal wall socket genuine charger.
Also, as the battery icon changes to charging - a solid orange led is lit while doing so. But I'm not longer receiving the notification on whether I want to connect my device in File Transfer mode.

Phone has the Android 7.0 update - 32.3.A.0.372

Any help/advice?
PS: Xperia Companion does not detect the phone and cannot be used for a software repair.
UPDATE:
Thanks NeoBeum for the proposed patches to my particular issue.
In summary:
  • Disable "USB selective suspend setting" under "Control Panel\Hardware and Sound\Power Options\Edit Plan Settings" in the Advanced Settings.
  • Uncheck "Allow the computer to turn off this device to save power" option in Device Manager for the "Universal Serial Bus controllers".

I can confirm that in my case the Xperia Z5 connects to the PC, charges from it and displays the popup "Use USB to - charge, transfer or MIDI". I can also confirm that I can debug applications from Visual Studio directly on the device.

However, I do not accept this as a solution as the windows related power settings should not affect the performance and connectivity of the Xperia Z5. These problems do not persist on other tested platforms/devices (Google Pixel, Samsung S5, Apple iPhone) connecting to the exact same computer. 

I will try another Xperia Z5 Compact device to try replicate these issues.

55 REPLIES 55
NeoBeum
Enthusiast

If the display sleeps and phone locks, MTP turns off, need to keep phone awake,

Work arounds are: Smart Lock Home Location, and Keep Screen On when Charge in Developer options

Temelj
Visitor

I'm aware of that one too.

I used the device to test cordova/ionic apps - i have a developer background and I'm familiar with a few bits here.

However, Windows is not detecting the phone as a particualr usb device, hence the "Unknown USB Device" appearing in device manager on/off.

Sony support suggested to do a Repair using Xperia PC companion, however the catch is that the device isn't detected.

What I find strange is that this morning it was detecting and I was browsing files on it.  But it stopped working again.

Temelj
Visitor

With developer options disabled and NO clue as to why it connected this time:

I'm able to see the device in Device Manager under Portable Devices.

Here are the details:

Driver Provider M$, 21/06/2006, 10.0.14393.0

Untitled-1.png

as per previous request to take a screenshot of device manager - this time wiht Xperia Z5 being detected:

Untitled-2.png

Lasch
Visitor

Yes, the phone has been recognized until about a week ago, and then this problem started.
The PC doesn't discover the phone when plugging in with USB, unless I clean the USB storage and restarts the phone first. 

I have opened Dev Opt and checked for MTP. When plugging in the phone I still have to choose MTP. And I have tried to disable the question about installation of Xperia Companion, but it changes back and every time I connect the phone, that question pops up. Again!

After removing the devices and restarting PC and connecting the phone these things installed:

Skärmklipp 4.PNG

Temelj
Visitor

Are you running Android 7?  I'm curious if this is introduced with Android 7.

Lasch
Visitor

No, Android 6.0.1 32.2.A.5.11

NeoBeum
Enthusiast

@temelj This should be ok now

Drivers are stored in their own special system folder with other drivers.

Windows retains the inf, and when it matches a device, it starts the install

We will monitor the behavior

NeoBeum
Enthusiast

.@lasch something is right.

It shouldn't revert your setting to disable XCPCC.

Another problem is ADB is appearing, which means the USB configuration is confused.

I'm going to go out on a limb here because Microsoft are tards.. .  Do you have access to Multi Language? English US in particular? I haven't looked at the driver file yet, but I am guessing there is a driver you are missing: wpdmtp US

I'm just taking a guess.. But it's probably something **bleep** like that

NeoBeum
Enthusiast

Can you guys post up your machine specs too? And if any peripherals are USB hubs

Both go to device manager and find your hubs, XHCI and the others. Set the usb ports to always maintain power and not sleep, you can find this in Power settings too.

That error for device descriptor is likely due to this power problem

NeoBeum
Enthusiast

Picture for later

TROUBLESHOOTING.PNG