From owner-freebsd-usb@FreeBSD.ORG Thu May 6 08:47:14 2010 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 65D83106564A for ; Thu, 6 May 2010 08:47:14 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe06.swip.net [212.247.154.161]) by mx1.freebsd.org (Postfix) with ESMTP id C11368FC1D for ; Thu, 6 May 2010 08:47:13 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=ysSFl0pJ4e4A:10 a=Q9fys5e9bTEA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=pGLkceISAAAA:8 a=6I5d2MoRAAAA:8 a=Q1EMwQHjsQlmkN8j9vwA:9 a=E5xyvgdN0qHTF6dO8ioA:7 a=7vVp0Y0pwMS-Rvasl36_N1_EWv4A:4 a=PUjeQqilurYA:10 a=MSl-tDqOz04A:10 a=SV7veod9ZcQA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe06.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 1360176974; Thu, 06 May 2010 10:47:11 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, Peter Toth Date: Thu, 6 May 2010 10:44:25 +0200 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <201005060750.o467o3gs038211@freefall.freebsd.org> In-Reply-To: <201005060750.o467o3gs038211@freefall.freebsd.org> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201005061044.25321.hselasky@c2i.net> Cc: Subject: Re: usb/146104: Samsung YP-U4 mp3 player USB_ERR_TIMEOUT X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 May 2010 08:47:14 -0000 On Thursday 06 May 2010 09:50:03 Peter Toth wrote: > The following reply was made to PR usb/146104; it has been noted by GNATS. > > From: "Peter Toth" > To: bug-followup@freebsd.org, peter.toth198@gmail.com > Cc: > Subject: Re: usb/146104: Samsung YP-U4 mp3 player USB_ERR_TIMEOUT > Date: Thu, 06 May 2010 19:44:36 +1200 > > Just managed to try it on FreeBSD 8.0-STABLE/i386. > > Works fine, although it shows some errors, see bellow. > > > ugen4.2: at usbus4 > umass0: 0/0, rev 2.00/2.29, addr 2> on usbus4 > umass0: SCSI over Bulk-Only; quirks = 0x0000 > umass0:0:0:-1: Attached to scbus0 > da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 > da0: Removable Direct Access SCSI-2 device > da0: 40.000MB/s transfers > da0: 3816MB (7816992 512 byte sectors: 255H 63S/T 486C) > (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE(10). CDB: 35 0 0 0 0 0 0 0 0 0 > (da0:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:c,2 (Write error - > auto reallocation failed) > (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE(10). CDB: 35 0 0 0 0 0 0 0 0 0 > (da0:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:c,2 (Write error - > auto reallocation failed) > (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE(10). CDB: 35 0 0 0 0 0 0 0 0 0 > (da0:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:c,2 (Write error - > auto reallocation failed) Hi, This error can be fixed by adding a quirk to: sys/dev/usb/quirk/usb_quirk.c Please see already existing examples for the XXX_NO_SYNC_CACHE_XXX flag for mass storage devices. Information about vid+pid can be obtained from "usbconfig". --HPS