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
Temelj
Visitor

Untitled-1.png

@NeoBeum, I was finally able to debug an app from visual studio on the phone. The USB connectivity seems to be stable for now.

However, this USB related issue isn't just happening on the PC spec that i've pasted above, it happened on a Vaio Z laptop and my home PC which is better/newer spec than above.

NeoBeum
Enthusiast

You need to make sure all your computers never let windows change power settings gor the USB. Yes, you will use more battery/power, but your devices will thank you. Especially if it's a hub with a HDD attached.

I probaby should've just asked how many usb ports, and if desktop or laptop, theres a better one for summary of overall specs, when I get on my laptop I'll post where to find it, it's in System info somewhere
NeoBeum
Enthusiast

Found it... it's literally called.... System Information... DERPDERPDERPDERP

Been a while since I've had to do this since I rained down abuse on Microsoft last year

I use other hardware monitoring stuff as well, it was just easier to absolutely pwn microsoft by using their own crap to show that their crap is crap because it actually has whether something is on/off/crap/missing

You'll find it in Windows Administrative Tools Folder in the task bar

http://i.imgur.com/6q4L6U3.png

TS00.PNG

NeoBeum
Enthusiast

On that note, if anyone is reading this on Windows 10, after each major update, check your hardware settings to make sure MS aren't ******** with you...

because things like this happen

http://i.imgur.com/gS34wOF.jpg

DISK00.jpg

Temelj
Visitor

I should have thought about what you actually asked for too Slightly_smiling_Face

Untitled-1.png

But I'm still reserved on having to adjust the USB power setting on all machines just to satisfy the connectivity to the phone.

Even if that may be the "recommended" thing to do in order to power/connect USB devices, then if it is an issue introduced by windows and you'd think they would have set the power setting correctly by default.

We're adjusting computers to fit the need of connecting a Xperia Z5 here, yetI've got NO issues connecting other types/brand of phones to my machines, whether that be Nokia, Samsung, Google, Apple and so on.

NeoBeum
Enthusiast

I didn't do it for my phone, I was having issues with hard drives, which would probably be why I haven't had as many issues.

If Windows powers down a port and then forgets to power it up again or something else goes wrong during that process, then not enough power is left to drive the device.

I would rather have excessive power usage on something connected to AC, than have a hard drive with assignments fail and become corrupted, because it's been idle for 20 minutes.


When fault finding, it's more efficient to remove variables if possible. That USB setting is a variable.
The device names are "variables", just a string that I renamed... You can see the difference in my device manager and your screen shots. When you start having 5+ drives all called USB Mass Storage, and you're arguing witha Tech Giant, it's easier to threaten Class Action with screen shots that don't have generic names to identify problem devices.

I did it so I knew what was connecting, and what isn't
NeoBeum
Enthusiast

Also, the power settings are probably like that so OEM marketing can say... Hey consumer.. Buy this laptop

12 hour battery*..

Waterproof*



terms and conditions apply

Spoiler

*results may vary. Not intended for daily use. Batteries not included. Connectivity subject to laboratory conditions. Water damage voids warranty. Download speeds are theoretical limits. All sales are final. Refunds not accepted.
Temelj
Visitor

I'm not defending the stance of Microsoft or Windows for that matter,

but I am a bit concerned when I have to do manual configuration for one device, the Xperia Z5 vs any other device that I plug into my PC. And if you hop between computers, you need to remember to make the same configuration changes.

As for USB connected HDDS, I agree with you there. How many times did the transfer fail or data get corrupted due to the USB suddenly losing power. 

But I am not convinced that these workarounds are needed to make the phone play nice with windows.

My issue is technically only "patched" and is still present with connecting my particular device to any PC.

NeoBeum
Enthusiast

This is why apples **bleep** just works.

Apples ares apples and screw yo oranges..

So many vendors so many configurations so many bugs

NeoBeum
Enthusiast


@Temelj wrote:
I will try another Xperia Z5 Compact device to try replicate these issues.

You'll have to remove the driver files from Windows to replicate exactly...

edit: i dont recommend doin it. but partly the problem is how the new driver signing works on W10 - contributes to the original problem.