Date: Sun, 9 Mar 2003 13:04:23 -0500 (EST) From: Dan Pelleg <daniel+gnats@pelleg.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/49054: QUIRK: SanDisk USB compact flash reader Message-ID: <20030309180423.C16AA804@lank.auton.cs.cmu.edu>
next in thread | raw e-mail | index | archive | help
>Number: 49054 >Category: kern >Synopsis: QUIRK: SanDisk USB compact flash reader >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Mar 09 10:10:13 PST 2003 >Closed-Date: >Last-Modified: >Originator: Dan Pelleg >Release: FreeBSD 4.8-PRERELEASE i386 >Organization: >Environment: System: FreeBSD l 4.8-PRERELEASE FreeBSD 4.8-PRERELEASE #7: Sun Mar 9 12:34:22 EST 2003 d@l:/usr/scratch/obj/usr/src/sys/L i386 >Description: Quirks for a SanDisk ImageMate CF/SM card reader (only compact flash slot tested), model SDDR-75. This model is reported to be supported by umass(4), but isn't really. dmesg output: da0 at umass-sim0 bus 0 target 0 lun 0 da0: <SanDisk ImageMate CF-SM 0100> Removable Direct Access SCSI-0 device da0: 650KB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present Trying to mount it results in: 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 is still the same (including the NOT READY line - note the CF media was inserted at the time the reader was attached). However, now I can mount it, and do file copies, so I assume it's harmless. # camcontrol inquiry 0:0 pass0: <SanDisk ImageMate CF-SM 0100> Removable Direct Access SCSI-0 device pass0: Serial Number ~ pass0: 650KB/s transfers # usbdevs -v Controller /dev/usb0: addr 1: self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 powered port 2 powered Controller /dev/usb1: addr 1: self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 addr 2: power 100 mA, config 1, ImageMate SDDR-75(0x0810), SanDisk Corp(0x0781), rev 1.00 port 2 powered (Note: this is after adding the usbdevs changes as in kern/49053 ) The email address daniel+gnats@pelleg.org is valid. >How-To-Repeat: >Fix: --- sys/cam/scsi/scsi_da.c.orig Sun Mar 9 08:31:16 2003 +++ sys/cam/scsi/scsi_da.c Sun Mar 9 12:47:09 2003 @@ -283,6 +283,13 @@ }, { /* + * SanDisk USB ImageMate + */ + {T_DIRECT, SIP_MEDIA_REMOVABLE, "SanDisk", "ImageMate CF-*", "*"}, + /*quirks*/ DA_Q_NO_6_BYTE + }, + { + /* * The vendor, product and version strings coming from the * controller are null terminated instead of being padded with * spaces. The trailing wildcard character '*' is required. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030309180423.C16AA804>