HomeFreeBSD

Reduce timeout for reading the USB HUB port status to 1000ms and try to filter

Description

Reduce timeout for reading the USB HUB port status to 1000ms and try to filter
out dead USB HUB devices by implementing an error counter, so that the USB
enumeration thread does not spend all its time reading from non-responding
devices, blocking user-space access in the end.

Tested by: Matthias Apitz <guru@unixarea.de>
MFC after: 1 week
Sponsored by: Mellanox Technologies

Details

Provenance
hselaskyAuthored on Jan 4 2019, 9:09 PM
Parents
rG0fadd6731f1d: Disable savecore(8)'s libcasper support when WITHOUT_DYNAMICROOT=yes.
Branches
Unknown
Tags
Unknown

Event Timeline