Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Feb 2005 22:25:01 -0500
From:      "Peter C. Lai" <sirmoo@cowbert.2y.net>
To:        freebsd-usb@freebsd.org, freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org
Subject:   sandisk cruzer mini quirks [failure] on RELENG_4
Message-ID:  <20050226032500.GA265@cowbert.2y.net>

next in thread | raw e-mail | index | archive | help
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050226032500.GA265>