Old USB1 umass device (OLYMPUS C-2 camera) does not work.
Hans Petter Selasky
hselasky at c2i.net
Thu Oct 8 12:44:32 UTC 2009
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
More information about the freebsd-usb
mailing list