On Fri, 14 Nov 2003, Alex Bennee wrote:

> On Thu, 2003-11-13 at 21:34, Alan Stern wrote:
> > On Thu, 13 Nov 2003, Alex Bennee wrote:
> > > 1. Could this a transport problem? I'm using a hacked up version of the
> > > ISP116x driver which seems to work in all other respects. Do the
> > > WRITE_CMD's and READ_CMD's use the same low level USB transport?
> > 
> > It might be a kind of transport problem.  Some devices don't like it when
> > commands arrive too quickly.  WRITEs and READs do use the same low-level
> > transport.
> 
> Is there some way to pace/slow down the commands at the usb level or
> should I tweak my transport driver to do that?

Not at the level of usb-storage.  Your HCD would have to handle it.

> > Nothing springs out of this immediately.  The -110 (-ETIMEDOUT) error 
> > means that the device didn't reply when it was supposed -- from your log 
> > it looks like the firmware crashed.
> 
> When you say firmware I assume you mean on the USB device itself?

Yes.

> It makes sense, after an attempt to write sectors the device goes dead
> and cannot be read again without unmounting, unplugging and starting
> again. However according to the linux-usb compatibility chart most
> people don't have a problem with this device so I'm wondering where the
> subtle difference is?
> 
> > What happens if you try using Linux 2.6.0?  Its USB stack is more robust
> > than the one in 2.4.
> 
> Unfortunately not an option. I'm getting this working for a production
> embedded system for which 2.6 is just too new to be an option yet. Once
> we start shipping version 1 I fully intend to have a go at trying out
> 2.6.0, it just doesn't currently line up with our release schedules :-)

You could try plugging the device into a standard PC using one of the
regular HC drivers.  If that works okay, it would definitely point to a
problem with your modified driver.

Alan Stern



-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to