Subject: Re: New umass(4) driver
To: Erik Bertelsen <erik@mediator.uni-c.dk>
From: Lennart Augustsson <lennart@augustsson.net>
List: current-users
Date: 04/03/2000 23:51:06
Erik Bertelsen wrote:

> On Mon, Apr 03, 2000 at 01:56:11AM +0200, Lennart Augustsson wrote:
> > I've tried the driver with a Zip 100 and an Imation Superdisk.  If you try it
> > with something else please tell me what happens.
> >
>
> With my Ricoh RDC-5300 digital camera, I get:
>
> umass0 at uhub0 port 1 configuration 1 interface 0
> umass0: RICOH RDC-5000, rev 1.00/1.21, addr 3
> umass0: using UFI over CBI
> scsibus2 at umass0: 2 targets, 1 luns per target
> scsibus2: waiting 2 seconds for devices to settle...
> sd1 at scsibus2 target 1 lun 0: <RICOH, USB CAMERA DRIVE, 1.21> SCSI0 0/direct removable
> sd1: could not mode sense (4/5); using fictitious geometry
> sd1: 720 KB, 0 cyl, 64 head, 32 sec, 512 bytes/sect x 1441 sectors
> sd1: could not mode sense (4/5); using fictitious geometry
> sd1(umass0:1:0): illegal request, data = 00 00 00 00 24 00 00 00 00 00
> sd1: I/O error reading block zero

The attachment looks right (scsibus), but I guess it doesn't haver mode sense.
I would guess the device need some quirks in the SCSI quirk table.
If you want to debug this, you can turn on SCSIDEBUG and USB_DEBUG
and then set umassdebug to 0xffffffff before attaching the device.

--

        -- Lennart