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
Unknown Object (File)
Sun, May 12, 11:54 AM
Unknown Object (File)
Sat, May 11, 8:23 PM
Unknown Object (File)
Fri, May 10, 8:01 AM
Unknown Object (File)
Apr 26 2024, 8:43 AM
Unknown Object (File)
Apr 24 2024, 9:52 AM
Unknown Object (File)
Apr 20 2024, 2:31 AM
Unknown Object (File)
Apr 7 2024, 6:11 AM
Unknown Object (File)
Mar 28 2024, 10:12 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

Lint
Lint Skipped
Unit
Tests Skipped