From owner-freebsd-current@FreeBSD.ORG Wed May 7 06:23:15 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D5BBA37B401; Wed, 7 May 2003 06:23:15 -0700 (PDT) Received: from neumann.dyndns.org (dsl-213-023-052-041.arcor-ip.net [213.23.52.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E41D43F75; Wed, 7 May 2003 06:23:14 -0700 (PDT) (envelope-from jneumann@ix.urz.uni-heidelberg.de) Received: by neumann.dyndns.org (8.12.6p2/8.11.6) with ESMTP id h47DNB5M000808; Wed, 7 May 2003 15:23:12 +0200 (CEST) (envelope-from jneumann@ix.urz.uni-heidelberg.de) Message-ID: <3EB908D6.1040409@ix.urz.uni-heidelberg.de> Date: Wed, 07 May 2003 15:23:34 +0200 From: Jan-Oliver Neumann User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: multipart/mixed; boundary="------------020800050609000703030304" cc: n_hibma@freebsd.org Subject: [PATCH] umass(4) USB support for PENTAX Optio 330GS digital camera X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 May 2003 13:23:16 -0000 This is a multi-part message in MIME format. --------------020800050609000703030304 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi folks, the patch attached extends digital camera support by the umass(4) USB driver to the PENTAX Optio 330GS. Maybe someone wants to commit this to -CURRENT. Jan-Oliver Neumann neumannj@arcor.de --------------020800050609000703030304 Content-Type: text/plain; name="optio_patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="optio_patch" *** ./src/sys/dev/usb/usbdevs Mon May 5 10:18:53 2003 --- ./src/sys/dev/usb/usbdevs.new Wed May 7 15:02:31 2003 *************** *** 455,460 **** --- 455,461 ---- /* Asahi Optical products */ product ASAHIOPTICAL OPTIO230 0x0004 Digital camera + product ASAHIOPTICAL OPTIO330 0x0006 Digital camera /* ASIX Electronics products */ product ASIX AX88172 0x1720 USB 2.0 10/100 ethernet controller *** ./src/sys/dev/usb/umass.c Mon Apr 14 16:28:17 2003 --- ./src/sys/dev/usb/umass.c.new Wed May 7 14:53:49 2003 *************** *** 313,318 **** --- 313,323 ---- UMASS_PROTO_ATAPI | UMASS_PROTO_CBI_I, RS_NO_CLEAR_UA }, + { USB_VENDOR_ASAHIOPTICAL, USB_PRODUCT_ASAHIOPTICAL_OPTIO330, + RID_WILDCARD, + UMASS_PROTO_ATAPI | UMASS_PROTO_CBI_I, + RS_NO_CLEAR_UA + }, { USB_VENDOR_FUJIPHOTO, USB_PRODUCT_FUJIPHOTO_MASS0100, RID_WILDCARD, UMASS_PROTO_ATAPI | UMASS_PROTO_CBI_I, RS_NO_CLEAR_UA *** ./src/share/man/man4/umass.4 Wed May 7 14:59:45 2003 --- ./src/share/man/man4/umass.4.new Wed May 7 15:04:58 2003 *************** *** 69,74 **** --- 69,81 ---- Sitecom CN-300 MultiFlash (MMC/SD, SmartMedia, CF, MemoryStick) .El .Pp + Among supported digital cameras are: + .Pp + .Bl -item -compact + .It + Asahi Optical (PENTAX) Optio 230 & 330 + .El + .Pp .Nm usb and one of .Nm uhci --------------020800050609000703030304--