Date: Wed, 10 Oct 2007 16:58:45 GMT From: "Vladimir A. Zolotarev" <fidocrawler@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/117075: QUIRK: USB Samsung YP-U3 MP3 Message-ID: <200710101658.l9AGwjQZ029411@www.freebsd.org> Resent-Message-ID: <200710101700.l9AH05hs005987@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 117075 >Category: kern >Synopsis: QUIRK: USB Samsung YP-U3 MP3 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 10 17:00:05 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Vladimir A. Zolotarev >Release: 5.5-STABLE >Organization: >Environment: FreeBSD ncastle.tven.pp.ru 5.5-STABLE FreeBSD 5.5-STABLE #7: Tue Oct 9 21:55:14 MSD 2007 root@ncastle.tven.pp.ru:/usr/obj/usr/src/sys/NCASTLE i386 >Description: Quirk for Samsung YP-U3 MP3 player. dmesg output: umass0: Samsung Electronics YP-U3, rev 2.00/2.20, addr 4 da0 at umass-sim0 bus 0 target 0 lun 0 da0: <Samsung YP-U3 1.00> Removable Direct Access SCSI-2 device da0: 1.000MB/s transfers da0: 939MB (1924352 512 byte sectors: 64H 32S/T 939C) (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 Trying to mount: umass0: BBB reset failed, TIMEOUT umass0: BBB bulk-in clear stall failed, TIMEOUT umass0: BBB bulk-out clear stall failed, TIMEOUT umass0: BBB reset failed, TIMEOUT umass0: BBB bulk-in clear stall failed, TIMEOUT umass0: BBB bulk-out clear stall failed, TIMEOUT After adding the quirk, the dmesg output: umass0: Samsung Electronics YP-U3, rev 2.00/2.20, addr 4 da0 at umass-sim0 bus 0 target 0 lun 0 da0: <Samsung YP-U3 1.00> Removable Direct Access SCSI-2 device da0: 1.000MB/s transfers da0: 939MB (1924352 512 byte sectors: 64H 32S/T 939C) #camcontrol inquiry da0 pass2: <Samsung YP-U3 1.00> Removable Direct Access SCSI-2 device pass2: Serial Number 33FAFF567EF00000 pass2: 1.000MB/s transfers #usbdevs -v Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev 1.00 port 1 powered port 2 powered Controller /dev/usb1: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev 1.00 port 1 powered port 2 addr 2: full speed, self powered, config 1, TUSB2046 hub(0x2046), Texas Instruments(0x0451), rev 1.25 port 1 addr 4: full speed, power 500 mA, config 1, YP-U3(0x507c), Samsung Electronics(0x04e8), rev 2.20 port 2 powered port 3 addr 3: low speed, power 30 mA, config 1, Back-UPS 500 FW: 6.2.I USB FW: c1(0x0002), American Power Conversion(0x051d), rev 1.00 port 4 powered >How-To-Repeat: >Fix: --- scsi_da.c.old Tue Oct 9 22:16:44 2007 +++ scsi_da.c Tue Oct 9 21:20:13 2007 @@ -438,6 +438,14 @@ {T_DIRECT, SIP_MEDIA_REMOVABLE, "Generic*", "STORAGE DEVICE*", "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE }, + { + /* + * Samsung YP-U3 MP3 Player + * + */ + {T_DIRECT, SIP_MEDIA_REMOVABLE, "Samsung*", "YP-U3*", + "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE + }, }; static disk_strategy_t dastrategy; >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710101658.l9AGwjQZ029411>