Bug 1321704 - Fedora should alert the user when a USB device can't work
Summary: Fedora should alert the user when a USB device can't work
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-desktop3
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-29 01:12 UTC by Adam Goode
Modified: 2019-11-27 19:05 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-27 19:05:05 UTC
Type: Bug


Attachments (Terms of Use)

Description Adam Goode 2016-03-29 01:12:17 UTC
Description of problem:
There are several reasons why a plugged USB device may fail to enumerate:
- Exhaustion of xHCI resources (see http://plugable.com/2015/09/08/not-enough-usb-controller-resources)
- Not enough power on the bus
- Not enough bandwidth of the bus
- Broken/buggy device

Right now, the device will silently fail, leaving the user confused. An advanced user will know to look at journalctl or dmesg, and browse the text logs for clues.

The kernel should have a notification mechanism for USB and other device failures, and this should broadcast in a structured way to interested user clients. It is possible that udev could emit events for dead devices plugged into a port.

Once the kernel has such a mechanism and drivers are modified to support it, the desktop environments should be extended to notify the user when a device is malfunctioning.

I've assigned to gnome-desktop3 but this is a more general problem and should be handled in all desktop environments. Probably a bug for each environment should be made. There are also kernel and driver changes needed as well.


Version-Release number of selected component (if applicable):
gnome-desktop3-3.18.2-1.fc23.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. Plug in a broken USB device, or a device that uses too many power or other resources.

Actual results:
Silent failure.

Expected results:
A user notification with a recommended course of action.

Additional info:

Comment 1 Adam Goode 2016-03-29 01:39:43 UTC
Note that USB-IF has an explicit policy around this kind of thing:
http://compliance.usb.org/index.asp?UpdateFile=Embedded%20Host&Format=Standard#10

"No Silent Failure"

Comment 2 Fedora End Of Life 2016-11-24 16:16:28 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 3 Fedora End Of Life 2017-02-28 09:56:36 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 4 Fedora End Of Life 2018-05-03 08:42:39 UTC
This message is a reminder that Fedora 26 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 26. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '26'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 26 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 5 Adam Goode 2018-05-03 14:17:07 UTC
According to https://bugs.chromium.org/p/chromium/issues/detail?id=430497#c13 there is kernel support now!

Comment 6 Jan Kurik 2018-08-14 10:22:44 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle.
Changing version to '29'.

Comment 7 Ben Cotton 2019-10-31 20:51:38 UTC
This message is a reminder that Fedora 29 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 29 on 2019-11-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '29'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 29 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 8 Ben Cotton 2019-11-27 19:05:05 UTC
Fedora 29 changed to end-of-life (EOL) status on 2019-11-26. Fedora 29 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.