On Thu, 1 Jun 2006, Bart Whiteley wrote:

> On Wed, 2006-05-31 at 16:17 -0400, Alan Stern wrote:
> > There's no obvious reason why the device should crash like this.  
> > Apparently it just doesn't like 120 KB writes.  You wouldn't think
> > something like that would bother a flash device, but in this case it
> > does.
> > 
> > Perhaps if you set max_sectors to 64 it will help.  (See the
> > explanation 
> > at <http://www.linux-usb.org/FAQ.html#i5>.) 
> 
> I set max_sectors to 128 and the device seems to be working well now.
> Is there a way to configure usb-storage to always set max_sectors to 128
> for this device (like Genesys Logic), or is this hard-coded in the
> module? 

Curiously enough, there is a patch being developed now by Phil Dibowitz 
which will permit you to submit an unusual_devs entry for your device.  In 
the meantime, you ought to be able to write a udev script to accomplish 
the same thing.

Alan Stern



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to