HomeFreeBSD

usb: Respect NO_INQUIRY quirk during device enumeration

Description

usb: Respect NO_INQUIRY quirk during device enumeration

Both usb_iface_is_cdrom and usb_msc_auto_quirk functions use SCSI INQUIRY
command to probe various properties of usb mass storage devices.
The problem here is that some very broken devices don't like this command.
Check if UQ_MSC_NO_INQUIRY quirk is set and skip cdrom and quirk
autodetection in that case.

Sponsored by: Stormshield
Obtained from: Semihalf
Reviewed by: hps, wma
Differential Revision: https://reviews.freebsd.org/D35075

Details

Provenance
kdAuthored on Apr 26 2022, 12:07 PM
wmaCommitted on Apr 28 2022, 6:42 AM
Reviewer
wma
Differential Revision
D35075: usb: Respect NO_INQUIRY quirk during device enumeration
Parents
rG404f001161b9: CAM: Keep periph_links when restoring CCB in camperiphdone().
Branches
Unknown
Tags
Unknown