Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jun 2002 15:17:45 +0200
From:      "Michael Radzewitz" <michael.radzewitz@freenet-ag.de>
To:        <freebsd-questions@freebsd.org>
Subject:   Re: USB (umass) Problem
Message-ID:  <BDC37D9EAC71AE4DB09A7A0D422EEC66CD444F@STAFFBOX.Freenet-AG.de>

next in thread | raw e-mail | index | archive | help
Hello Tom,

thanks for your reply. I have looked all this
morning at: sys/dev/usb/umass.c
As I figured out from your mail this is not the right place
to look at.
The other thing is that I don't understand most of
the code in this files either.

Now I have opened: sys/cam/scsi/scsi_da.c and found
two entries for the Minolta DiaImage in:

static struct da_quirk_entry da_quirk_table[]

but no entry for the DiaImage 5.=20

Am I right that I have to add here something?
And what does " quirk entries " do?

Maybe you can explain this to me, if you got some time=20
left for that.

I have turned usb debuging options on, so if this will=20
help I can post them as well.

Thanks,
michael




> -----Urspr=FCngliche Nachricht-----
> Von: Thomas Wuerfl [mailto:thomaswuerfl@gmx.de]
> Gesendet: Freitag, 14. Juni 2002 14:29
> An: Michael Radzewitz
> Cc: freebsd-question@freebsd.de
> Betreff: Re: USB (umass) Problem
>=20
>=20
> Am Freitag, 14. Juni 2002 10:06 schrieb Michael Radzewitz:
> > Hello everyone,
> >
> > i have a problem with USB and maybe someone is able to work
> > this out with me.
> > I configured USB support into the Kernel like this.
> >
> > # SCSI peripherals
> > device      scbus       # SCSI bus (required)
> > device      da      	# Direct Access (disks)
> >
> > # USB support
> > device		uhci		# UHCI PCI->USB interface
> > device		ohci		# OHCI PCI->USB interface
> > device		usb		# USB Bus (required)
> > device		ugen		# Generic
> > device		uhid		# "Human Interface Devices"
> > device		umass		# Disks/Mass storage -=20
> Requires scbus and da
> >
> > Now, whenever i connect my Camera i get the following=20
> Kernel-Messages:
> >
> > Jun 14 09:50:43 radzewitz /kernel: umass0: MINOLTA  DIMAGE=20
> CAMERA    DIMAGE
> > CAMERA  , rev 1.00/0.01, addr 2 Jun 14 09:50:43 radzewitz=20
> /kernel: umass0:
> > Get Max Lun not supported (SHORT_XFER) Jun 14 09:50:43=20
> radzewitz /kernel:
> > umass0: BBB reset failed, IOERROR Jun 14 09:50:43 radzewitz /kernel:
> > umass0: BBB bulk-in clear stall failed, IOERROR Jun 14=20
> 09:50:43 radzewitz
> > /kernel: umass0: BBB bulk-out clear stall failed, IOERROR=20
> Jun 14 09:50:43
> > radzewitz /kernel: umass0: BBB reset failed, IOERROR Jun 14 09:50:43
> > radzewitz /kernel: umass0: BBB bulk-in clear stall failed,=20
> IOERROR Jun 14
> > 09:50:43 radzewitz /kernel: umass0: BBB bulk-out clear stall failed,
> > IOERROR Jun 14 09:50:43 radzewitz /kernel: umass0: BBB reset failed,
> > IOERROR Jun 14 09:50:43 radzewitz /kernel: umass0: BBB=20
> bulk-in clear stall
> > failed, IOERROR Jun 14 09:50:43 radzewitz /kernel: umass0:=20
> BBB bulk-out
> > clear stall failed, IOERROR Jun 14 09:50:43 radzewitz=20
> /kernel: umass0: BBB
> > reset failed, IOERROR Jun 14 09:50:43 radzewitz /kernel: umass0: BBB
> > bulk-in clear stall failed, IOERROR Jun 14 09:50:43=20
> radzewitz /kernel:
> > umass0: BBB bulk-out clear stall failed, IOERROR Jun 14=20
> 09:50:43 radzewitz
> > /kernel: umass0: BBB reset failed, IOERROR Jun 14 09:50:43 radzewitz
> > /kernel: umass0: BBB bulk-in clear stall failed, IOERROR=20
> Jun 14 09:50:43
> > radzewitz /kernel: umass0: BBB bulk-out clear stall failed,=20
> IOERROR Jun 14
> > 09:50:43 radzewitz /kernel: (da0:umass-sim0:0:0:0): got CAM=20
> status 0x4 Jun
> > 14 09:50:43 radzewitz /kernel: (da0:umass-sim0:0:0:0):=20
> fatal error, failed
> > to attach to device Jun 14 09:50:43 radzewitz /kernel:
> > (da0:umass-sim0:0:0:0): lost device Jun 14 09:50:43=20
> radzewitz /kernel:
> > (da0:umass-sim0:0:0:0): removing device entry Jun 14=20
> 09:50:43 radzewitz
> > /kernel: umass0: at uhub0 port 2 (addr 2) disconnected Jun=20
> 14 09:50:43
> > radzewitz /kernel: umass0: detached
> >
>=20
> Hi Michael,
>=20
> it's obviously  a problem with the quirk entries in=20
> /sys/cam/scsi/scsi_da.c
> because it's a diffrent type of the MINOLTA  DIMAGE CAMERA.
> But if this is the case, it's easy to fix.
>=20
> Tom
>=20
>=20

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BDC37D9EAC71AE4DB09A7A0D422EEC66CD444F>