Date: Thu, 6 May 2010 10:44:25 +0200 From: Hans Petter Selasky <hselasky@c2i.net> To: freebsd-usb@freebsd.org, Peter Toth <peter.toth198@gmail.com> Subject: Re: usb/146104: Samsung YP-U4 mp3 player USB_ERR_TIMEOUT Message-ID: <201005061044.25321.hselasky@c2i.net> In-Reply-To: <201005060750.o467o3gs038211@freefall.freebsd.org> References: <201005060750.o467o3gs038211@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <peter.toth198@gmail.com> > 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: <Linux 2.4.20-stmp36xx with stmp36xx_udc> at usbus4 > umass0: <Linux 2.4.20-stmp36xx with stmp36xx_udc USB Mass Storage, class > 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: <Samsung YP-U4 0229> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005061044.25321.hselasky>