umass device support...how generic is it?

Jan L. Peterson jlp at softhome.net
Wed Jun 11 12:16:11 PDT 2003


>>>umass0: Sony Sony PEG Mass Storage, rev 1.10/1.00, addr 2
>>> (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0 
>>> (probe0:umass-sim0:0:0:0): NOT READY asc:3a,0 
>>> (probe0:umass-sim0:0:0:0): Medium not present 
>>> umass0: at uhub0 port 1 (addr 2) disconnected
>>> umass0: detached 

Actually, I think I was the one who wrote that... 

I've gotten past the "Medium not present"... just start MS Import on 
the Clie *before* you plug the USB connector into the FreeBSD machine.

Now I'm getting this:

da0: <Sony CLIE MS 1.00> Removable Direct Access SCSI-0 device 
da0: 150KB/s transfers
da0: Attempt to query device size failed: ILLEGAL REQUEST, Invalid command operation
umass0: CBI reset failed, STALLED
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:20,0
(da0:umass-sim0:0:0:0): Invalid command operation code
umass0: CBI reset failed, STALLED
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:20,0
(da0:umass-sim0:0:0:0): Invalid command operation code
umass0: at uhub0 port 1 (addr 2) disconnected
(da0:umass-sim0:0:0:0): lost device
(da0:umass-sim0:0:0:0): removing device entry
umass0: detached

and I was recently told by Doug White <dwhite at gumbysoft.com>:
> Its attempting to figure out how big the Mass Storage is and it
> returns an error.

> You could try using some of the same Memory Stick quirks currently in
> the code; they usually override the command protocol.  It might be the
> auto-selected protocol doesn't work right.

So I also tried adding something like this:

        {
                /*
                 * Sony Memory Stick adapter for the CLIE series
                 * of PalmOS PDA's
                 */
                {T_DIRECT, SIP_MEDIA_REMOVABLE, "Sony", "Sony PEG*", "*"},
                /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE
        },

to the da_quirk_table... also, no joy.

I've given up for the moment (real world encroaching on my hobby :-), 
but I'm still looking for any clues.

In other USB Clie problems, I can't get my Clie (SJ-30) to sync over 
USB, either:

ucom0: Palm, Inc. Palm Handheld, rev 1.00/1.00, addr 2
ucom0: init failed, STALLED
device_probe_and_attach: ucom0 attach returned 6
ugen0: Palm, Inc. Palm Handheld, rev 1.00/1.00, addr 2
ugen0: at uhub0 port 1 (addr 2) disconnected
ugen0: detached

Very annoying.

	-jan-
-- 
Jan L. Peterson
Unemployed "Computer Facilitator"
http://www.peterson.ath.cx/~jlp/resume.html



More information about the freebsd-stable mailing list