Re: [PATCH] usb: usb-storage doesn't support dynamic id currently, the patch disables the feature to fix an oops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 5 Jan 2012, Huajun Li wrote:

> > I'll take this patch now, but fixing the feature really would be nice to
> > have, right?
> >
> Yes. I thought about the feature before I submitted the patch, but it
> need a nice solution.
> 
> Just as Alan said in the other email, if storage_probe() finds the id
> is a dynamic one,  "pass usb_stor_probe1() a fixed usb_device_id entry
> that describes a device using the Bulk-Only transport with the
> Transparent SCSI protocol."
> However, maybe this still hard to make the device work if it is not a
> device of Bulk-Only transport with SCSI protocol, for example, it
> needs "Control/Bulk" transport.

Don't bother about that case.  These days essentially every new device
uses the Bulk-Only transport with Transparent SCSI protocol, because
the other transports are much slower.  (And besides, there's no way to
pass that information using the new_id interface.)  This default will
work more than 99% of the time.

If somebody really needs to use a strange device, they can always add
an entry to unusual_devs.h.

Alan Stern

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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux