On Thu, 27 May 2004, Stephen Hemminger wrote:

> On Thu, 27 May 2004 12:25:47 +0200
> Alexandre Aractingi <[EMAIL PROTECTED]> wrote:
> 
> > Hi all, I searched the archives and saw that the problem has been raised
> > before: I was able to mount my Clie's MS under the 2.4 kernel but can't
> > do it anymore since I upgraded to 2.6.
> > 
> > I saw a patch
> > (http://kreucher.net/pipermail/clie-linux/2003q4/000474.html) but it got
> > integrated in the kernel I use (2.6.3 that came with Mandrake 10.0), and
> > I'm still unable to mount the device. Here is what /var/log/syslog says:
> 
> That's probably my patch, it made my Clie work with 2.6, but some recent
> changes to USB storage seems to have broken this.

Not entirely accurate.  There has been another patch for the Clie accepted 
recently:

http://marc.theaimsgroup.com/?l=linux-usb-devel&m=108268025906481&q=raw

Maybe that will help.  The two patches do not concern the same sorts of
device: Stephen's patch is for ProductID = 0x0099 and this patch is for
ProductID = 0x016a.

The problem Alexandre is seeing is not due to usb-storage; it's the fault
of the Clie.  The Clie is responding to an INQUIRY command with an error
saying that the medium is not present.  However, the SCSI specification
states:

        To minimize delays after a reset or power-up condition, the
        standard INQUIRY data should be available without incurring any
        media access delays. If the target does store some of the INQUIRY
        data on the device, it may return zeros or ASCII spaces (20h) in 
        those fields until the data is available from the device.

So the Clie's response, while technically legal, is against the
recommendation of the spec.  Essentially it's saying that it can't respond
to the INQUIRY, so the Linux SCSI driver assumes that means the device
isn't working.  Without the proper INQUIRY data available, that's the only
possibility.

Maybe things would work better if the Clie had more time to initialize
after you plug it in.  For instance, you could turn off hotplug support,
attach the Clie, and then about 30 seconds later manually modprobe
usb-storage.  It's worth a try just to see what happens.

Alan Stern



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to