From owner-freebsd-bugs Tue Mar 25 2: 0:31 2003 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C49E637B404 for ; Tue, 25 Mar 2003 02:00:28 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13E1E43FD7 for ; Tue, 25 Mar 2003 02:00:27 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h2PA0QNS037640 for ; Tue, 25 Mar 2003 02:00:26 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h2PA0QMZ037639; Tue, 25 Mar 2003 02:00:26 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E7E0B37B401 for ; Tue, 25 Mar 2003 01:51:24 -0800 (PST) Received: from obh.snafu.de (obh.snafu.de [213.73.92.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6088E43F85 for ; Tue, 25 Mar 2003 01:51:24 -0800 (PST) (envelope-from ob@gruft.de) Received: from ob by obh.snafu.de with local (Exim 3.36 #1) id 18xl5X-000KPV-00 for FreeBSD-gnats-submit@freebsd.org; Tue, 25 Mar 2003 10:51:23 +0100 Message-Id: Date: Tue, 25 Mar 2003 10:51:23 +0100 From: Oliver Brandmueller Reply-To: Oliver Brandmueller To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/50271: Add USB ID/quirks for Optio 230GS Digital Camera X-Spam-Status: No, hits=-0.5 required=5.0 tests=MSG_ID_ADDED_BY_MTA_3,RESENT_TO version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 50271 >Category: kern >Synopsis: Add USB ID/quirks for Optio 230GS Digital Camera >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Mar 25 02:00:26 PST 2003 >Closed-Date: >Last-Modified: >Originator: Oliver Brandmueller >Release: FreeBSD 4.8-PRERELEASE i386 >Organization: obh private network >Environment: System: FreeBSD gruft.de 4.8-PRERELEASE FreeBSD 4.8-PRERELEASE #27: Sat Feb 22 18:24:39 CET 2003 root@gruft.de:/usr/obj/usr/src/sys/EXPRESS i386 >Description: I've successfully connected a Pentax Optio 230GS camera with the same options/quirks as the Optio 230 camera which is already mentioned in the sources. >How-To-Repeat: connect Optio 230GS camera to USB port >Fix: In /usr/src/sys/dev/usb/usbdevs add: product ASAHIOPTICAL OPTIO230GS 0x0006 Digital camera In /usr/src/sys/dev/usb/umass.c add: if (UGETW(dd->idVendor) == USB_VENDOR_ASAHIOPTICAL && UGETW(dd->idProduct) == USB_PRODUCT_ASAHIOPTICAL_OPTIO230GS) { sc->quirks |= RS_NO_CLEAR_UA; } After rebuilding usbdevs.h and building/installing the new kernel the camera works just fine as a umass device. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message