UltraPort Compact Flash Adapter
- Marketing PN: 19K4510 (withdrawn)
- FRU PN: 19K4510
The Compact Flash Card Reader is accessable via the USB Mass Storage driver, just like a usual USB memory stick.
Since the USB Mass Storage driver is SCSI based you'll need SCSI support in your kernel. Enable the following options:
- Device Drivers → SCSI device support → [M]SCSI device support (CONFIG_SCSI)
- Device Drivers → SCSI device support → [M]SCSI disk support (CONFIG_BLK_DEV_SD)
- Device Drivers → SCSI device support → [M]SCSI generic support (CONFIG_CHR_DEV_SG)
Furthermore, enable USB support:
- Device Drivers → USB support → <M>Support for Host-side USB (CONFIG_USB)
- Device Drivers → USB support → [*]USB device file system (CONFIG_USB_DEVICEFS)
Choose an appropriate USB host driver, one of:
- Device Drivers → USB support → <M>ECHI HCD (USB 2.0) support (CONFIG_USB_EHCI_HCD)
- Device Drivers → USB support → <M>UHCI HCD support (CONFIG_USB_UHCI)
- Device Drivers → USB support → <M>OHCI HCD support (CONFIG_USB_OHCI)
Finally, enable the USB Mass Storage driver:
- Device Drivers → USB support → <M>USB Mass Storage support (CONFIG_USB_STORAGE)
Compile your kernel with these options (don't forget
# depmod -ae) and reboot or just load the relevant modules (scsi, sd_mod, sg, usb, usb-ehci/usb-uhci/usb-ohci, usb-storage). If you didn't already, plug in the card reader and insert a CF card.
# cat /proc/bus/usb/devices to asure yourself that your card reader is recognized by the USB subsystem.
Now also check if the USB Mass Storage driver is working properly by doing a
# cat /proc/scsi/scsi.
Usually, your card reader will be associated with /dev/sda and hence it's first (and mostly only partition) will be /dev/sda1. You can check that using the sg3_utils.
You may want to put an entry in your /etc/fstab, i.e. with the above assumtions:
/dev/sda1 /media/cf auto noauto,users 0 0
That's it. Your card reader should be working now.