On Fri, 24 Jul 2015, Giulio Bernardi wrote:

> This is the trace I got after I used this option:
> options usb-storage quirks=152d:1567:u

This trace is pretty clear; the system does not scan for logical units
beyond LUN 0, even though the device contains two logical units.

In older kernels this was controlled by CONFIG_SCSI_MULTI_LUN, but that
setting was removed in the 3.17 kernel.  In more recent kernels, LUN
scanning is controlled by a bunch of software rules, but I don't see
any reason why they would prevent LUN 1 from being scanned on your
device.

If you want to see what's going on, read through the
scsi_sequential_lun_scan() routine in drivers/scsi/scsi_scan.c.  The
most important thing to check is the value of max_dev_lun for your
device.  Also, the BLIST_FORCELUN bit should be set in bflags.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to