usb/146104: Samsung YP-U4 mp3 player USB_ERR_TIMEOUT
Hans Petter Selasky
hselasky at c2i.net
Thu May 6 08:47:14 UTC 2010
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 at gmail.com>
> To: bug-followup at freebsd.org, peter.toth198 at 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
More information about the freebsd-usb
mailing list