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
F150472208: D35075.diff
Wed, Apr 1, 12:34 PM
F150387926: D35075.id105453.diff
Tue, Mar 31, 7:13 PM
Unknown Object (File)
Tue, Mar 17, 1:40 PM
Unknown Object (File)
Mar 2 2026, 5:58 AM
Unknown Object (File)
Mar 2 2026, 5:31 AM
Unknown Object (File)
Feb 28 2026, 4:01 AM
Unknown Object (File)
Feb 11 2026, 8:05 PM
Unknown Object (File)
Feb 11 2026, 1:11 PM
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