From owner-freebsd-questions Fri Jun 14 6:16:39 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mout1.freenet.de (mout1.freenet.de [194.97.50.132]) by hub.freebsd.org (Postfix) with ESMTP id 19DE337B416 for ; Fri, 14 Jun 2002 06:16:29 -0700 (PDT) Received: from [194.97.50.144] (helo=mx1.freenet.de) by mout1.freenet.de with esmtp (Exim 4.04) id 17IqwF-0002Rk-00 for freebsd-questions@freebsd.org; Fri, 14 Jun 2002 15:16:27 +0200 Received: from fnhh-mex1.freenet-ag.de ([62.104.227.185]) by mx1.freenet.de with esmtp (Exim 4.04 #2) id 17IqwF-0008Qu-00 for freebsd-questions@freebsd.org; Fri, 14 Jun 2002 15:16:27 +0200 Received: from STAFFBOX.Freenet-AG.de ([62.104.227.26]) by fnhh-mex1.Freenet-AG.de with Microsoft SMTPSVC(5.0.2195.2966); Fri, 14 Jun 2002 15:17:45 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Re: USB (umass) Problem Date: Fri, 14 Jun 2002 15:17:45 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Re: USB (umass) Problem Thread-Index: AcITpd8uXnYJnB/lT/uuFYl7fpVUSw== From: "Michael Radzewitz" To: X-OriginalArrivalTime: 14 Jun 2002 13:17:45.0715 (UTC) FILETIME=[DF53FC30:01C213A5] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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