From owner-freebsd-usb@FreeBSD.ORG Sun Jan 24 21:30:06 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE5E310656A3 for ; Sun, 24 Jan 2010 21:30:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 675048FC1E for ; Sun, 24 Jan 2010 21:30:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0OLU6IQ091869 for ; Sun, 24 Jan 2010 21:30:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0OLU6Op091865; Sun, 24 Jan 2010 21:30:06 GMT (envelope-from gnats) Resent-Date: Sun, 24 Jan 2010 21:30:06 GMT Resent-Message-Id: <201001242130.o0OLU6Op091865@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "J.R. Oldroyd" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56B0F106566C for ; Sun, 24 Jan 2010 21:21:47 +0000 (UTC) (envelope-from jr@opal.com) Received: from smtp.vzavenue.net (smtp.vzavenue.net [66.171.59.140]) by mx1.freebsd.org (Postfix) with ESMTP id 0E1BB8FC14 for ; Sun, 24 Jan 2010 21:21:46 +0000 (UTC) Received: from 153.78.171.66.subscriber.vzavenue.net (HELO homobox.opal.com) ([66.171.78.153]) by smtp.vzavenue.net with ESMTP; 24 Jan 2010 16:21:45 -0500 Received: from opal.com (localhost [IPv6:::1]) (authenticated bits=0) by homobox.opal.com (8.14.3/8.14.3) with ESMTP id o0OLLjq6038537 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 24 Jan 2010 16:21:45 -0500 (EST) (envelope-from jr@opal.com) Received: from shibato.opal.com ([2001:5c0:1100:f103:221:63ff:fe5a:c9a7] helo=shibato.opal.com) with IPv6:587 by opal.com; 24 Jan 2010 16:21:45 -0500 Received: from shibato.opal.com (localhost [127.0.0.1]) by shibato.opal.com (8.14.3/8.14.3) with ESMTP id o0OLLimr001512 for ; Sun, 24 Jan 2010 16:21:44 -0500 (EST) (envelope-from jr@opal.com) Received: (from root@localhost) by shibato.opal.com (8.14.3/8.14.3/Submit) id o0OLLiK8001511; Sun, 24 Jan 2010 16:21:44 -0500 (EST) (envelope-from jr) Message-Id: <201001242121.o0OLLiK8001511@shibato.opal.com> Date: Sun, 24 Jan 2010 16:21:44 -0500 (EST) From: "J.R. Oldroyd" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: usb/143186: add USB device IDs for Google Nexus One and for RealTek Card Reader X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "J.R. Oldroyd" List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jan 2010 21:30:06 -0000 >Number: 143186 >Category: usb >Synopsis: add USB device IDs for Google Nexus One and for RealTek Card Reader >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jan 24 21:30:06 UTC 2010 >Closed-Date: >Last-Modified: >Originator: J.R. Oldroyd >Release: FreeBSD 8.0-RELEASE-p1 amd64 >Organization: >Environment: System: FreeBSD xx.opal.com 8.0-RELEASE-p1 FreeBSD 8.0-RELEASE-p1 #3: Sun Jan 24 12:28:02 EST 2010 xx@xx.opal.com:/usr/src/sys/amd64/compile/XX amd64 >Description: Adds USB device IDs for Google Nexus One and for RealTek Card Reader Note: The initial USB probe will fail (NOT READY) when attaching an Android device. This is because attaching an Android device does not automatically make the SD card available to the computer. The SD card must be unmounted from the phone in order to make it available to the computer - an operation that requires manual intervention on the phone (you must "mount" the card). Once that is done, the phone's SD card can be mounted using a mount command. HAL, however, does not see the device once it is available, so HAL does not auto-mount it. I've not found a quirk or other work-around for this. Feel free to add one if you know of something. Note: The RealTek Card Reader has nothing to do with the Nexus One. I'm just adding its ID at the same time. It is a PCCARD/ExpressCard reader on my laptop. >How-To-Repeat: n/a >Fix: --- dev/usb/storage/umass.c.orig 2009-10-24 21:10:29.000000000 -0400 +++ dev/usb/storage/umass.c 2010-01-24 15:29:29.000000000 -0500 @@ -497,6 +497,10 @@ UMASS_PROTO_SCSI | UMASS_PROTO_BBB, WRONG_CSWSIG }, + {USB_VENDOR_GOOGLE, USB_PRODUCT_GOOGLE_NEXUSONE, RID_WILDCARD, + UMASS_PROTO_DEFAULT, + NO_QUIRKS + }, {USB_VENDOR_HAGIWARA, USB_PRODUCT_HAGIWARA_FG, RID_WILDCARD, UMASS_PROTO_SCSI | UMASS_PROTO_BBB, NO_QUIRKS @@ -741,6 +745,10 @@ UMASS_PROTO_SCSI | UMASS_PROTO_BBB, IGNORE_RESIDUE | NO_START_STOP }, + {USB_VENDOR_REALTEK, USB_PRODUCT_REALTEK_USB20CRW, RID_WILDCARD, + UMASS_PROTO_DEFAULT, + NO_QUIRKS + }, {USB_VENDOR_SAMSUNG, USB_PRODUCT_SAMSUNG_YP_U2, RID_WILDCARD, UMASS_PROTO_SCSI | UMASS_PROTO_BBB, SHUTTLE_INIT | NO_GETMAXLUN --- dev/usb/usbdevs.orig 2009-10-24 21:10:29.000000000 -0400 +++ dev/usb/usbdevs 2010-01-24 15:27:55.000000000 -0500 @@ -621,6 +621,7 @@ vendor SENAO 0x1740 Senao vendor METAGEEK 0x1781 MetaGeek vendor AMIT 0x18c5 AMIT +vendor GOOGLE 0x18d1 Google vendor QCOM 0x18e8 Qcom vendor LINKSYS3 0x1915 Linksys vendor QUALCOMMINC 0x19d2 Qualcomm, Incorporated @@ -1383,6 +1384,9 @@ product GOODWAY GWUSB2E 0x6200 GWUSB2E product GOODWAY RT2573 0xc019 RT2573 +/* Google products */ +product GOOGLE NEXUSONE 0x4e11 Nexus One + /* Gravis products */ product GRAVIS GAMEPADPRO 0x4001 GamePad Pro @@ -2078,6 +2082,7 @@ product RALINK RT2573_2 0x9021 RT2501USB Wireless Adapter /* ReakTek products */ +product REALTEK USB20CRW 0x0158 USB20CRW Card Reader /* Green House and CompUSA OEM this part */ product REALTEK USBKR100 0x8150 USBKR100 USB Ethernet product REALTEK RTL8187 0x8187 RTL8187 Wireless Adapter >Release-Note: >Audit-Trail: >Unformatted: