From owner-freebsd-hackers Wed Nov 13 15:33:27 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F404C37B401 for ; Wed, 13 Nov 2002 15:33:24 -0800 (PST) Received: from mail.cruzio.com (dsl3-63-249-66-221.cruzio.com [63.249.66.221]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CF2E43E6E for ; Wed, 13 Nov 2002 15:33:24 -0800 (PST) (envelope-from brucem@mail.cruzio.com) Received: (from brucem@localhost) by mail.cruzio.com (8.11.3/8.11.3) id gAE05Tx00523 for freebsd-hackers@freebsd.org; Wed, 13 Nov 2002 16:05:29 -0800 (PST) (envelope-from brucem) Date: Wed, 13 Nov 2002 16:05:29 -0800 (PST) From: "Bruce R. Montague" Message-Id: <200211140005.gAE05Tx00523@mail.cruzio.com> To: freebsd-hackers@freebsd.org Subject: SanDisk/SunDisk Compact Flash CIS Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This note might be common knowledge in some quarters (?), but I thought I'd post... I have 2 SanDisk 128M Compact Flash cards, superficially identical. The CIS info for one (purchased 3/4 months ago?) claims it is a "SunDisk" "SDP" and the other a "SanDisk" "SDP" (recently purchased). The "/etc/defaults/pccard.conf" file used to have a CIS entry for "SunDisk" "SDP", but doesn't anymore (for either -stable or -current). To get both of these CFs to work with the same FreeBSD 4.6-stable system, I added the CIS info below. Can anyone elaborate ont this little story? --- /usr/src/etc/defaults/pccard.conf Wed May 15 23:18:21 2002 +++ /etc/defaults/pccard.conf Wed Nov 13 15:06:18 2002 @@ -267,9 +267,23 @@ iosize 16 # SunDisk Flash ATA -# (OEM: Epson Flash Packer) -card "SunDisk" "/.*/" +# (SanDisk) +card "SanDisk" "SDP" + config 0x1 "ata" ? + insert echo SanDisk Insert + remove echo SanDisk Remove + +# SunDisk Flash ATA +# (SanDisk) +card "SunDisk" "SDP" config 0x1 "ata" ? + insert echo SanDisk Insert + remove echo SanDisk Remove + +# SunDisk Flash ATA +# (OEM: Epson Flash Packer) +#card "SunDisk" "/.*/" +# config 0x1 "ata" ? # T-POWER Flash ATA card "/T-POWER */" "/.*/" The output of "pccardc dumpcis" for both CF devices, compared: --- bad_dumpcis.txt Wed Nov 13 14:50:20 2002 +++ good_dumpcis.txt Wed Nov 13 15:02:57 2002 @@ -16,9 +16,9 @@ 000: 45 00 01 04 PCMCIA ID = 0x45, OEM ID = 0x401 Tuple #5, code = 0x15 (Version 1 info), length = 23 - 000: 04 01 53 61 6e 44 69 73 6b 00 53 44 50 00 35 2f + 000: 04 01 53 75 6e 44 69 73 6b 00 53 44 50 00 35 2f 010: 33 20 30 2e 36 00 ff - Version = 4.1, Manuf = [SanDisk], card vers = [SDP] + Version = 4.1, Manuf = [SunDisk], card vers = [SDP] Addit. info = [5/3 0.6] Tuple #6, code = 0x0 (Null tuple), length = 3 000: 14 08 00 - bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message