sandisk cruzer mini quirks [failure] on RELENG_4

Peter C. Lai sirmoo at cowbert.2y.net
Sat Feb 26 03:25:05 GMT 2005


I have a 512mb version of the SanDisk Cruzer Mini keychain drive.
ProductId = 0x5150 (VendorID=0x0781). I am unable to correctly get it to
stop crashing the system when using cp(1) to copy large files to it.
I patched /usr/src/sys/dev/usb/umass.c as:

if (UGETW(dd->idVendor) == USB_VENDOR_SANDISK &&
		(UGETW(dd->idProduct) == 0x5150) {
	sc->proto = UMASS_PROTO_SCSI | UMASS_PROTO_BBB;
	sc->quirks |= IGNORE_RESIDUE;
}

which is the same quirks patch that USB_PRODUCT_SANDISK_SDCZ2_256 (the
cruzer mini 256mb) uses. However, this fails to rectify the problem.
Notably dd(1) transfers files fine. This is on a RELENG_4 system, cvsup
yesterday. Any ideas?

thanks,
pete
 
-- 
Peter C. Lai
University of Connecticut
Dept. of Molecular and Cell Biology
Yale University School of Medicine
SenseLab | Research Assistant
http://cowbert.2y.net/



More information about the freebsd-usb mailing list