Date: Thu, 8 Oct 2009 14:45:21 +0200 From: Hans Petter Selasky <hselasky@c2i.net> To: freebsd-usb@freebsd.org, pg@2lazy.ru Subject: Re: Old USB1 umass device (OLYMPUS C-2 camera) does not work. Message-ID: <200910081445.22620.hselasky@c2i.net> In-Reply-To: <4ACDCA2E.6000601@2lazy.ru> References: <4ACDCA2E.6000601@2lazy.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 08 October 2009 13:17:02 Pavel Gubin wrote: > Hello, > > I've got a problem attaching device in subject: > > ------ piece from dmesg ------ > ugen2.3: <OLYMPUS> at usbus2 > umass0: <OLYMPUS C-2/D-230, class 0/0, rev 1.10/1.00, addr 3> on usbus2 > umass0: SCSI over (unknown 0x00); quirks = 0x0100 > umass0: could not setup required transfers, USB_ERR_INVAL > device_attach: umass0 attach returned 6 > ------ > > Tried on two different M/B -- ohci and uhci. > > When I'm attaching this camera to 7.x, it panics; 6.x works OK. > > What can I do to fix this? Hi, There seems to be a bug in the quirks table. Can you first try edit: /usr/src/sys/dev/usb/storage/umass.c And change the proto and bbb lines into only: UMASS_PROTO_DEFAULT, ? {USB_VENDOR_OLYMPUS, USB_PRODUCT_OLYMPUS_C1, RID_WILDCARD, UMASS_PROTO_SCSI | UMASS_PROTO_BBB, WRONG_CSWSIG }, {USB_VENDOR_OLYMPUS, USB_PRODUCT_OLYMPUS_C700, RID_WILDCARD, UMASS_PROTO_SCSI, NO_GETMAXLUN }, --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910081445.22620.hselasky>