On Fri, 23 Nov 2007, RTE wrote:
> On Wed, 21 Nov 2007 00:26:26 +0300, Alan Stern wrote:
> > Okay, here's a version of the patch for 2.6.23 and without the
> > debugging information.
>
> Many thanks to you for the help! :)
> In 2.6.23 patch works perfectly. Errors are not present.
>
> > My guess is that if you decrease max_sectors to 184 (to make it a
> > multiple of 8) then the device will work without errors, even when the
> > patch isn't present.
>
> Yes, you are right.
> max_sectors<=184 is safe for my device even without the patch.
> With the patch errors are not present at any max_sectors.
Okay, I'll submit the patch.
You might also want to test this patch. It should automatically set
max_sectors to 64 -- that's lower than you need but it should work
without errors. (The patch is against 2.6.24-rc3, so you may have to
merge it by hand into the source for an earlier kernel.)
Alan Stern
Index: usb-2.6/drivers/usb/storage/unusual_devs.h
===================================================================
--- usb-2.6.orig/drivers/usb/storage/unusual_devs.h
+++ usb-2.6/drivers/usb/storage/unusual_devs.h
@@ -731,6 +731,13 @@ UNUSUAL_DEV( 0x0584, 0x0008, 0x0102, 0x
US_SC_SCSI, US_PR_ALAUDA, init_alauda, 0 ),
#endif
+/* Reported by RTE <[EMAIL PROTECTED]> */
+UNUSUAL_DEV( 0x058f, 0x6387, 0x0141, 0x0141,
+ "JetFlash",
+ "TS1GJF2A/120",
+ US_SC_DEVICE, US_PR_DEVICE, NULL,
+ US_FL_MAX_SECTORS_64 ),
+
/* Fabrizio Fellini <[EMAIL PROTECTED]> */
UNUSUAL_DEV( 0x0595, 0x4343, 0x0000, 0x2210,
"Fujifilm",
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users