From owner-freebsd-usb@FreeBSD.ORG Tue Nov 27 04:25:32 2012 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9F30A15B for ; Tue, 27 Nov 2012 04:25:32 +0000 (UTC) (envelope-from jwdevel@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2A3AC8FC08 for ; Tue, 27 Nov 2012 04:25:31 +0000 (UTC) Received: by mail-ee0-f54.google.com with SMTP id c13so8278147eek.13 for ; Mon, 26 Nov 2012 20:25:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=wHWk3si/gKX8ck9Xdk3+fkxB2peHDerua6sQkjVC8EA=; b=CR6QoMgLrWU3SG4QjQBA0xAoGC/xyZpJm4LCzHHAcYWbXs/YBIbrO8hzeShA0URaJD ZpXlaccRqJNhIxMv+r2g1oVi03xezGuDThyM/ZXaoJHO1vVQnSf4JjQiWVUDC67hPKvW Vx9zfIGSm8c3brIbagUPRiKx5sUCRWH4JEp2FQR7UrF1OQ2AdzJIsDH6PqxRx1ta4lyr AwfIyazIySBb44GAHF64T9dMrJCe/FB9uH+5D3fHZ81kNOKx3gLQe66QMFteE6G+RO6l BUVc16xFSOkrthI83xlFldz/04wqGW7zlFp9V65nFpbBBlSiRgf3IiYggC7EedUWmXoe D6Fg== MIME-Version: 1.0 Received: by 10.14.198.67 with SMTP id u43mr53599070een.7.1353990331029; Mon, 26 Nov 2012 20:25:31 -0800 (PST) Received: by 10.14.140.208 with HTTP; Mon, 26 Nov 2012 20:25:30 -0800 (PST) Date: Mon, 26 Nov 2012 20:25:30 -0800 Message-ID: Subject: USB Quirks - how do I know what are applied? From: John W To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Nov 2012 04:25:32 -0000 Hi, I recently upgraded from FreeBSD 7.4 to 9.0, and my camera does not seem to be recognized when I plug it in over USB. I made a thread here, with some details: http://forums.freebsd.org/showthread.php?t=35997 I noticed some PRs relating to Sony CyberShot devices (linked in that thread), and there is a patch, adding some quirks. However, I have the patch (checked /usr/src), but I am not sure if they are being applied to my device. How do I know if quirks are being applied? Here's the usbconfig output for the device: # usbconfig -d 3.2 dump_device_desc dump_curr_config_desc ugen3.2: at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x054c idProduct = 0x0010 bcdDevice = 0x0500 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0000 bNumConfigurations = 0x0001 Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0027 bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0000 bmAttributes = 0x00c0 bMaxPower = 0x0001 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0003 bInterfaceClass = 0x0008 bInterfaceSubClass = 0x00ff bInterfaceProtocol = 0x0001 iInterface = 0x0000 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 = 0x0082 bmAttributes = 0x0002 wMaxPacketSize = 0x0200 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 2 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0083 bmAttributes = 0x0003 wMaxPacketSize = 0x0008 bInterval = 0x0010 bRefresh = 0x0000 bSynchAddress = 0x0000 I don't see any mention of quirks there. But I don't know exactly what to look for. Thanks -John