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
Can you send output from usbconfig -u X -a Y dump_device_desc dump_curr_config_desc ? --HPS
Sure... ugen4.2: <Nexus One Google, Inc.> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0102 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x18d1 idProduct = 0x4e12 bcdDevice = 0x0100 iManufacturer = 0x0003 <Google, Inc.> iProduct = 0x0002 <Nexus One> iSerialNumber = 0x0001 <xxxxxxxxxxxxxx> bNumConfigurations = 0x0001 Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0037 bNumInterfaces = 0x0002 bConfigurationValue = 0x0001 iConfiguration = 0x0000 <no string> bmAttributes = 0x0080 bMaxPower = 0x0080 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0002 bInterfaceClass = 0x0008 bInterfaceSubClass = 0x0006 bInterfaceProtocol = 0x0050 iInterface = 0x0000 <no string> Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0001 bmAttributes = 0x0002 wMaxPacketSize = 0x0200 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 bmAttributes = 0x0002 wMaxPacketSize = 0x0200 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Interface 1 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0001 bAlternateSetting = 0x0000 bNumEndpoints = 0x0002 bInterfaceClass = 0x00ff bInterfaceSubClass = 0x0042 bInterfaceProtocol = 0x0001 iInterface = 0x0000 <no string> Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0002 bmAttributes = 0x0002 wMaxPacketSize = 0x0200 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0082 bmAttributes = 0x0002 wMaxPacketSize = 0x0200 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000
Is interface 1 the SD-card interface? --HPS
State Changed From-To: open->feedback Note that the submitter has been asked for feedback.
Response and subsequent exchanges sent by email, several days back now. Ball's in HPS' court at the moment.
Hi, Committed to USB P4. The usb_quirk.c part is not needed. http://p4web.freebsd.org/@@181454?ac=10 --HPS
State Changed From-To: feedback->patched Changes are in HEAD. Couldn't find the commit however.
USB ID's are committed and MFC'ed to FreeBSD 8/9 and 10. --HPS