That patch hasn't been merged yet, BTW. It's on hold for two reasons: One, the wait for 2.6.0-final. Two, Pat LaVarre thinks he may _finally_ have a MODE_SENSE variant that will work for these devices -- it's request for 0x0C bytes (which, IIRC, we haven't tried before) that he transcribed from a bus analyizer attached to a windows machine; it works on the Sony unit which kicked-off that thread.
Matt On Sat, Nov 29, 2003 at 10:54:51AM -0800, Patrick Mansfield wrote: > On Sat, Nov 29, 2003 at 10:55:49AM -0500, Alan Stern wrote: > > > I didn't notice where this patch appeared. Patrick, can you send us a > > reference for it? It's the one you wrote that removes all the MODE-SENSE > > commands from sd for USB mass storage devices. > > Here's the long version: > > http://marc.theaimsgroup.com/?l=linux-scsi&m=106883086700696&w=2 > > And the patch: > > diff -uprN -X /home/patman/dontdiff bl-25/drivers/usb/storage/scsiglue.c > usb-ms-flags/drivers/usb/storage/scsiglue.c > --- bl-25/drivers/usb/storage/scsiglue.c Mon Oct 27 14:28:18 2003 > +++ usb-ms-flags/drivers/usb/storage/scsiglue.c Fri Nov 14 09:15:20 2003 > @@ -322,7 +322,8 @@ struct scsi_host_template usb_stor_host_ > .emulated = TRUE, > > /* modify scsi_device bits on probe */ > - .flags = (BLIST_MS_SKIP_PAGE_08 | BLIST_USE_10_BYTE_MS), > + .flags = (BLIST_MS_SKIP_PAGE_08 | BLIST_MS_SKIP_PAGE_3F | > + BLIST_USE_10_BYTE_MS), > > /* module management */ > .module = THIS_MODULE > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > [EMAIL PROTECTED] > To unsubscribe, use the last form field at: > https://lists.sourceforge.net/lists/listinfo/linux-usb-devel -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Linux USB Mass Storage Driver We can customize our colonels. -- Tux User Friendly, 12/1/1998
pgp00000.pgp
Description: PGP signature
