Page MenuHomeFreeBSD

usb: Respect NO_INQUIRY quirk during device enumeration
ClosedPublic

Authored by kd on Apr 27 2022, 12:57 PM.
Tags
None
Referenced Files
F167949138: D35075.diff
Tue, Aug 25, 2:13 PM
Unknown Object (File)
Mon, Aug 24, 9:34 PM
Unknown Object (File)
Sat, Aug 22, 8:26 PM
Unknown Object (File)
Sat, Aug 22, 6:41 PM
Unknown Object (File)
Thu, Aug 20, 1:31 PM
Unknown Object (File)
Wed, Aug 19, 7:57 AM
Unknown Object (File)
Sat, Aug 15, 5:00 AM
Unknown Object (File)
Fri, Aug 14, 8:52 AM
Subscribers

Details

Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable