opnsense-src/sys/dev/usb
Kornel Duleba 3ee943868c 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
2022-04-28 08:42:26 +02:00
..
controller xhci(4): Ensure the so-called data toggle gets properly reset. 2022-04-21 17:01:13 +02:00
gadget usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
input uhid_snes: Remove USB_ST_TRANSFERRED handling for the status request. 2022-04-18 12:27:48 -07:00
misc usb: Use __diagused for variables only used in KASSERT(). 2022-04-13 16:08:20 -07:00
net usb: Add a __usbdebug_used for variables only used under #ifdef USB_DEBUG. 2022-04-13 16:08:20 -07:00
quirk Add devices and quirks for some Olympus cameras. 2022-03-23 12:40:28 +11:00
serial usb: Remove some double words in source code comments 2022-04-09 10:34:48 +02:00
storage ustorage_fs_verify: eliminate write only variables file_offset and file_offset 2022-04-04 22:30:40 -06:00
template usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
video usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
wlan if_urtw: Remove unused variables. 2022-04-07 17:01:29 -07:00
ufm_ioctl.h
uftdiio.h
uled_ioctl.h
usb.h Narrow down the probe range for if_ure(4) compatible devices 2021-06-04 15:51:01 +02:00
usb_bus.h
usb_busdma.c Fix busdma resource leak on usb device detach. 2021-09-28 13:29:10 -06:00
usb_busdma.h Fix busdma resource leak on usb device detach. 2021-09-28 13:29:10 -06:00
usb_cdc.h
usb_controller.h usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
usb_core.c
usb_core.h Use more standard types for manipulating pointers. 2020-12-16 00:27:28 +00:00
usb_debug.c Update usb_timings_sysctl_handler() to accept any value for timings between 2021-05-18 15:52:41 +02:00
usb_debug.h usb: Add a __usbdebug_used for variables only used under #ifdef USB_DEBUG. 2022-04-13 16:08:20 -07:00
usb_dev.c usb: real freebsd32 support for most ioctls 2021-12-17 21:28:13 +00:00
usb_dev.h usb: add 32-bit compat for FIFOs 2021-12-17 21:28:14 +00:00
usb_device.c usb: Respect NO_INQUIRY quirk during device enumeration 2022-04-28 08:42:26 +02:00
usb_device.h
usb_dynamic.c
usb_dynamic.h
usb_endian.h
usb_error.c
usb_fdt_support.c
usb_fdt_support.h
usb_freebsd.h
usb_freebsd_loader.h
usb_generic.c usb(4): Factor out the usb_check_request() function. 2022-03-03 10:24:24 +01:00
usb_generic.h Implement the USB_GET_DEVICEINFO ioctl(2) for uhid(4). 2020-10-31 21:53:23 +00:00
usb_handle_request.c usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
usb_hid.c Factor-out hardware-independent part of USB HID support to new module 2021-01-08 02:18:42 +03:00
usb_hub.c usb(4): Check return value from bus_generic_get_device_path(). 2022-03-17 15:27:50 +01:00
usb_hub.h
usb_hub_acpi.c usb(4): Use the global BUS topology lock where appropriate. 2022-03-17 15:27:45 +01:00
usb_hub_private.h Add USB UEFI locator support 2022-03-01 08:06:42 -07:00
usb_if.m
usb_ioctl.h usb: remove COMPAT_32BIT ifdefs 2021-12-17 21:28:39 +00:00
usb_lookup.c usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
usb_mbuf.c usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
usb_mbuf.h
usb_msctest.c usb: Add a __usbdebug_used for variables only used under #ifdef USB_DEBUG. 2022-04-13 16:08:20 -07:00
usb_msctest.h usb(4): Automagically apply all quirks for USB mass storage devices. 2022-02-24 10:28:55 +01:00
usb_parse.c Improve handling of alternate settings in the USB stack. 2020-12-15 11:51:17 +00:00
usb_pci.h
usb_pf.c usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
usb_pf.h Fix build of USB bootloader code by adding checks for _STANDALONE being defined. 2020-11-18 13:22:22 +00:00
usb_process.c usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
usb_process.h
usb_request.c Improve handling of alternate settings in the USB stack. 2020-12-15 12:05:07 +00:00
usb_request.h
usb_transfer.c usb(3): Fix a few typos in source code comments 2022-04-02 10:14:32 +02:00
usb_transfer.h Cleanup unused USB enums. 2021-07-15 12:38:42 +02:00
usb_util.c usb(4): Factor out the usb_check_request() function. 2022-03-03 10:24:24 +01:00
usb_util.h usb(4): Factor out the usb_check_request() function. 2022-03-03 10:24:24 +01:00
usbdevs ulpt(4): Add support for Epson TM-U220B. 2022-04-02 02:29:05 +02:00
usbdi.h Send a zero-length-packet first when opening a BULK endpoint for USB serial 2021-07-15 12:11:53 +02:00
usbdi_util.h
usbhid.h hid: Chase for HID function name changes in existing USB HID drivers 2021-01-08 02:18:42 +03:00