Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2002 16:05:29 -0800 (PST)
From:      "Bruce R. Montague" <brucem@mail.cruzio.com>
To:        freebsd-hackers@freebsd.org
Subject:   SanDisk/SunDisk Compact Flash CIS
Message-ID:  <200211140005.gAE05Tx00523@mail.cruzio.com>

next in thread | raw e-mail | index | archive | help


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




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