Difference between revisions of "UltraPort Compact Flash Adapter"

From ThinkWiki
Jump to: navigation, search
(User's guide link (FTP))
(changed category)
 
(3 intermediate revisions by 2 users not shown)
Line 15: Line 15:
 
|}
 
|}
 
=== IBM Partnumbers ===
 
=== IBM Partnumbers ===
IBM FRU PN: 19K4510
+
* Marketing PN: 19K4510 (withdrawn)
 +
* FRU PN: 19K4510
  
 
=== Linux driver ===
 
=== Linux driver ===
Line 21: Line 22:
  
 
Since the USB Mass Storage driver is SCSI based you'll need SCSI support in your kernel. Enable the following options:
 
Since the USB Mass Storage driver is SCSI based you'll need SCSI support in your kernel. Enable the following options:
:{{kernelconf|||Device Drivers|SCSI device support|SCSI device support|[M]|CONFIG_SCSI}}
+
:{{kernelconf|CONFIG_SCSI|[M]|SCSI device support|SCSI device support|Device Drivers||}}
:{{kernelconf|||Device Drivers|SCSI device support|SCSI disk support|[M]|CONFIG_BLK_DEV_SD}}
+
:{{kernelconf|CONFIG_BLK_DEV_SD|[M]|SCSI disk support|SCSI device support|Device Drivers||}}
:{{kernelconf|||Device Drivers|SCSI device support|SCSI generic support|[M]|CONFIG_CHR_DEV_SG}}
+
:{{kernelconf|CONFIG_CHR_DEV_SG|[M]|SCSI generic support|SCSI device support|Device Drivers||}}
  
 
Furthermore, enable USB support:
 
Furthermore, enable USB support:
:{{kernelconf|||Device Drivers|USB support|Support for Host-side USB|<M>|CONFIG_USB}}
+
:{{kernelconf|CONFIG_USB|<M>|Support for Host-side USB|USB support|Device Drivers||}}
:{{kernelconf|||Device Drivers|USB support|USB device file system|[*]|CONFIG_USB_DEVICEFS}}
+
:{{kernelconf|CONFIG_USB_DEVICEFS|[*]|USB device file system|USB support|Device Drivers||}}
  
 
Choose an appropriate USB host driver, one of:  
 
Choose an appropriate USB host driver, one of:  
:{{kernelconf|||Device Drivers|USB support|ECHI HCD (USB 2.0) support|<M>|CONFIG_USB_EHCI_HCD}}
+
:{{kernelconf|CONFIG_USB_EHCI_HCD|<M>|ECHI HCD (USB 2.0) support|USB support|Device Drivers||}}
:{{kernelconf|||Device Drivers|USB support|UHCI HCD support|<M>|CONFIG_USB_UHCI}}
+
:{{kernelconf|CONFIG_USB_UHCI|<M>|UHCI HCD support|USB support|Device Drivers||}}
:{{kernelconf|||Device Drivers|USB support|OHCI HCD support|<M>|CONFIG_USB_OHCI}}
+
:{{kernelconf|CONFIG_USB_OHCI|<M>|OHCI HCD support|USB support|Device Drivers||}}
  
 
Finally, enable the USB Mass Storage driver:
 
Finally, enable the USB Mass Storage driver:
:{{kernelconf|||Device Drivers|USB support|USB Mass Storage support|<M>|CONFIG_USB_STORAGE}}
+
:{{kernelconf|CONFIG_USB_STORAGE|<M>|USB Mass Storage support|USB support|Device Drivers||}}
  
 
{{NOTE|Make sure that the <tt>Low Performance USB Block Driver (BLK_DEV_UB)</tt> is disabled. It would prevent the whole thing from working correctly.}}
 
{{NOTE|Make sure that the <tt>Low Performance USB Block Driver (BLK_DEV_UB)</tt> is disabled. It would prevent the whole thing from working correctly.}}
Line 57: Line 58:
 
* {{X20}}, {{X21}}, {{X22}}, {{X23}}, {{X24}}
 
* {{X20}}, {{X21}}, {{X22}}, {{X23}}, {{X24}}
  
[[Category:Components]]
+
[[Category:UltraPort Devices]]

Latest revision as of 15:38, 22 January 2021

IBM UltraPort Compact Flash Adapter

IBM UltraPort Compact Flash Adapter

This is a Compact Flash Card Reader for the IBM UltraPort. It can also be connected to any USB port by using the included cable.

Features

  • Compatible with CF I, CF II and MicroDrive cards (3.3V and 5V)
  • Transfer rates up to 900KB/s reading and up to 470KB/s writing
  • UltraPort and USB interfaces

IBM Partnumbers

  • Marketing PN: 19K4510 (withdrawn)
  • FRU PN: 19K4510

Linux driver

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)
NOTE!
Make sure that the Low Performance USB Block Driver (BLK_DEV_UB) is disabled. It would prevent the whole thing from working correctly.

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.

Do a # 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.

ThinkPads this addon is suitable for