From owner-freebsd-questions Mon Mar 25 5:33:50 2002 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f47.law11.hotmail.com [64.4.17.47]) by hub.freebsd.org (Postfix) with ESMTP id 6AF8037B41B for ; Mon, 25 Mar 2002 05:33:45 -0800 (PST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 25 Mar 2002 05:33:45 -0800 Received: from 208.151.119.232 by lw11fd.law11.hotmail.msn.com with HTTP; Mon, 25 Mar 2002 13:33:45 GMT X-Originating-IP: [208.151.119.232] From: "Chad Kline" To: iedowse@maths.tcd.ie Cc: questions@freebsd.org Subject: Re: olympus c-1 (d-150) Date: Mon, 25 Mar 2002 13:33:45 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 25 Mar 2002 13:33:45.0285 (UTC) FILETIME=[AFD0FF50:01C1D401] 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 > >i see in /usr/src/sys/dev/usb/umass.c > >that support for the Olympus C-1 has been added. > >usbdevs detects my Olympus D-150 (US model #) > >as an Olympus C-1 (Japanese model #). > > >Mar 23 23:24:29 en26 /kernel: umass0: OLYMPUS C-1Z,D-150Z, rev >1.10/10.15, > > >Mar 23 23:24:30 en26 /kernel: umass0: BBB reset failed, TIMEOUT > >Could you post the output of `usbdevs -v' when the camera is plugged >in? The "BBB reset failed" error message is exactly what I saw >before C1 support was added to umass.c, so I suspect your camera >has a different product ID, but needs the same workaround. sure: $ usbdevs -v Controller /dev/usb0: addr 1: self powered, config 1, OHCI root hub(0x0000), OPTi(0x0000), rev 0x0100 port 1 addr 2: self powered, config 1, C-1 Digital Camera(0x0102), Olympus(0x07b4), rev 0x1015 port 2 powered >For a quick solution, try editing umass.c, and find the lines: > > if (UGETW(dd->idVendor) == USB_VENDOR_OLYMPUS && > UGETW(dd->idProduct) == USB_PRODUCT_OLYMPUS_C1) { > /* > * The Olympus C-1 camera uses a different command-status > * signature. > */ > sc->quirks |= WRONG_CSWSIG; > } > >Then change the condition so that all Olympus cameras can use the >workaround: > > if (UGETW(dd->idVendor) == USB_VENDOR_OLYMPUS) { > /* > * The Olympus C-1 camera uses a different command-status > * signature. > */ > sc->quirks |= WRONG_CSWSIG; > } > >If that fixes the errors, the `usbdevs -v' output will be enough >to get the driver updated to work properly with this camera in >future. > >Ian _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message