Skip to contentSkip to conversation

Acomdata MF1SM / Sitecom CN-301 USB SmartMedia support using SanDisk SDDR55 driver

PATCH New Martin Ling 1 participant 1 message Jul 26, 2003

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Acomdata MF1SM / Sitecom CN-301 USB SmartMedia support using SanDisk SDDR55 driver

The following patch to 2.4.21 (should apply cleanly to others) allows the SDDR55 driver to recognise and use the Acomdata MF1SM (also badged as Sitecom CN-301) USB SmartMedia reader. I've also updated the config & help to reflect this.

Info at http://the.earth.li/~martin/usb-smartmedia/

Martin

Documentation/Configure.help +4 -2
diff -ur linux-2.4.21/Documentation/Configure.help linux/Documentation/Configure.help
@@ -14785,10 +14785,12 @@
   Say Y here to include additional code to support the Sandisk SDDR-09
   SmartMedia reader in the USB Mass Storage driver.
 
-SanDisk SDDR-55 SmartMedia support
+SanDisk SDDR-55 (and compatible) SmartMedia support
 CONFIG_USB_STORAGE_SDDR55
   Say Y here to include additional code to support the Sandisk SDDR-55
-  SmartMedia reader in the USB Mass Storage driver.
+  SmartMedia reader in the USB Mass Storage driver. This code also
+  supports the Acomdata MF1SM reader (also badged as the Sitecom
+  CN-301).
 
 USB Diamond Rio500 support
 CONFIG_USB_RIO500
drivers/usb/Config.in +1 -1
diff -ur linux-2.4.21/drivers/usb/Config.in linux/drivers/usb/Config.in
@@ -40,7 +40,7 @@
       dep_mbool '    Microtech CompactFlash/SmartMedia support' CONFIG_USB_STORAGE_DPCM $CONFIG_USB_STORAGE
       dep_mbool '    HP CD-Writer 82xx support' CONFIG_USB_STORAGE_HP8200e $CONFIG_USB_STORAGE $CONFIG_EXPERIMENTAL
       dep_mbool '    SanDisk SDDR-09 (and other SmartMedia) support' CONFIG_USB_STORAGE_SDDR09 $CONFIG_USB_STORAGE $CONFIG_EXPERIMENTAL
-      dep_mbool '    SanDisk SDDR-55 SmartMedia support' CONFIG_USB_STORAGE_SDDR55 $CONFIG_USB_STORAGE $CONFIG_EXPERIMENTAL
+      dep_mbool '    SanDisk SDDR-55 (and compatible) SmartMedia support' CONFIG_USB_STORAGE_SDDR55 $CONFIG_USB_STORAGE $CONFIG_EXPERIMENTAL
       dep_mbool '    Lexar Jumpshot Compact Flash Reader' CONFIG_USB_STORAGE_JUMPSHOT $CONFIG_USB_STORAGE $CONFIG_EXPERIMENTAL
    dep_tristate '  USB Modem (CDC ACM) support' CONFIG_USB_ACM $CONFIG_USB
    dep_tristate '  USB Printer support' CONFIG_USB_PRINTER $CONFIG_USB
drivers/usb/storage/unusual_devs.h +5 -0
diff -ur linux-2.4.21/drivers/usb/storage/unusual_devs.h linux/drivers/usb/storage/unusual_devs.h
@@ -593,4 +593,9 @@
 		"ImageMate SDDR55",
 		US_SC_SCSI, US_PR_SDDR55, NULL,
 		US_FL_SINGLE_LUN),
+UNUSUAL_DEV(  0x0c0b, 0xa103, 0x0000, 0x9999, 
+		"Acomdata",
+		"MF1SM",
+		US_SC_SCSI, US_PR_SDDR55, NULL,
+		US_FL_SINGLE_LUN),
 #endif