Skip to contentSkip to conversation

Apacer SM/CF combo reader driver

DISCUSSION [email protected] 1 participant 1 message Aug 11, 2003

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

From: Fabien Grumelard <[email protected]>
Subject: Re: Apacer SM/CF combo reader driver

> If you need the SM half, ask me again.

yes, this is what I want to use.

About the 07c4:a109 CF+SM Apacer LC1 reader:

I just checked status in 2.4.21.

The CF half words if you select CONFIG_USB_STORAGE_DATAFAB. The SM hals works is you select CONFIG_USB_STORAGE_SDDR55 and apply a tiny patch to unusual devices:

drivers/usb/storage/unusual_devs.h Mon Aug 11 12:50:26 2003 renamed from drivers/usb/storage/unusual_devs.h Sun Jul 6 14:22:55 2003 +8 -0
diff -u --recursive --new-file -X /linux/dontdiff a/drivers/usb/storage/unusual_devs.h b/drivers/usb/storage/unusual_devs.h
@@ -462,6 +462,14 @@
                US_FL_START_STOP ),
 #endif
 
+#ifdef CONFIG_USB_STORAGE_SDDR55
+UNUSUAL_DEV(  0x07c4, 0xa109, 0x0000, 0xffff,
+               "Datafab Systems, Inc.",
+               "USB to CF + SM Combo (LC1)",
+               US_SC_SCSI, US_PR_SDDR55, NULL,
+               US_FL_SINGLE_LUN),
+#endif
+
 #ifdef CONFIG_USB_STORAGE_DATAFAB
 UNUSUAL_DEV(  0x07c4, 0xa000, 0x0000, 0x0015,
                "Datafab",

Andries

[Note: the vanilla kernel setup still does not handle composite devices like these - you need the twoluns setup from the URL I gave if you want to use both CF and SM. But if you are satisfied with having one, then you have it.]

[Note: if you select both CONFIG_USB_STORAGE_DATAFAB and CONFIG_USB_STORAGE_SDDR55 then the order of the items in unusual_devs.h will determine which is found first, so whether you get CF or SM. That is why I put the entry "too early" in the above.]