From owner-freebsd-current@FreeBSD.ORG Sun Aug 23 15:36:10 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B876C106564A for ; Sun, 23 Aug 2009 15:36:10 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward12.yandex.ru (forward12.yandex.ru [95.108.130.94]) by mx1.freebsd.org (Postfix) with ESMTP id 2F3FA8FC14 for ; Sun, 23 Aug 2009 15:36:09 +0000 (UTC) Received: from smtp12.yandex.ru (smtp12.yandex.ru [95.108.131.191]) by forward12.yandex.ru (Yandex) with ESMTP id 5EF5A15D029A; Sun, 23 Aug 2009 19:36:08 +0400 (MSD) Received: from btr.properlan.net (vpn.heavennet.ru [77.72.136.194]) by smtp12.yandex.ru (Yandex) with ESMTPSA id B22114CC0142; Sun, 23 Aug 2009 19:36:07 +0400 (MSD) Message-ID: <4A9161E2.5070402@yandex.ru> Date: Sun, 23 Aug 2009 19:36:02 +0400 From: "Andrey V. Elsukov" User-Agent: Thunderbird 2.0.0.22 (X11/20090821) MIME-Version: 1.0 To: Henri Hennebert References: <4A8EE90F.4030201@yandex.ru> <6101e8c40908211929o14691537w9f874980eb12e535@mail.gmail.com> <200908220916.35836.hselasky@c2i.net> <4A90E918.3010704@yandex.ru> <4A910D88.4000909@restart.be> In-Reply-To: <4A910D88.4000909@restart.be> Content-Type: multipart/mixed; boundary="------------020402070002010907020600" X-Yandex-TimeMark: 1251041768 X-Yandex-Spam: 1 X-Yandex-Front: smtp12.yandex.ru Cc: freebsd-current@freebsd.org, Hans Petter Selasky Subject: Re: SONY DSC doesn't work via usb [regression] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 23 Aug 2009 15:36:10 -0000 This is a multi-part message in MIME format. --------------020402070002010907020600 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Henri Hennebert wrote: > I encounter something similar with Sony cyber-shot DSC-P72 > have a look at http://www.freebsd.org/cgi/query-pr.cgi?pr=usb/137035 Thank you, it works for me. I applied attached patch and now i can mount and copy my photos from camera. -- WBR, Andrey V. Elsukov --------------020402070002010907020600 Content-Type: text/plain; name="scsi_da.diff.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="scsi_da.diff.txt" Index: sys/cam/scsi/scsi_da.c =================================================================== --- sys/cam/scsi/scsi_da.c (revision 196458) +++ sys/cam/scsi/scsi_da.c (working copy) @@ -554,6 +554,14 @@ { {T_DIRECT, SIP_MEDIA_REMOVABLE, "Netac", "OnlyDisk*", "2000"}, /*quirks*/ DA_Q_NO_SYNC_CACHE + }, + { + /* + * Sony Cyber-Shot DSC xxx + * PR: 137035 + */ + {T_DIRECT, SIP_MEDIA_REMOVABLE, "Sony", "Sony DSC", + "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE | DA_Q_NO_PREVENT } }; --------------020402070002010907020600 Content-Type: text/plain; name="usbconfig.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="usbconfig.txt" 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 = 0x0600 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 --------------020402070002010907020600--