grack.com

I just purchased the Atech Pro-9 9-in-1 flash card reader.  This thing is extremely cool- it has a number of different ports on the front to plug various storage items into.  A bit pricey (CDN$100), but cool nonetheless!

Getting it to work under linux is trivial.  If your kernel has CONFIG_SCSI_MULTI_LUN set, it will work out-of-the-box.  If not (RedHat kernels don’t set this flag by default), just add the following line to your modprobe.conf file for 2.6.x:

options scsi_mod max_luns=512

Or, if you are running 2.4.x, add the following line to modules.conf:

options scsi_mod max_scsi_luns=512

These options force the SCSI layer to scan up to 512 LUNs (sub-devices) on each SCSI device. It’s required because the 9-in-1 has four effective devices inside. Scanning the first device only will give you the first of the four devices only.

You should now see the following in dmesg when plugging the device in:

scsi0 : SCSI emulation for USB Mass Storage devices
  Vendor: AFT PRO   Model: -IX CF            Rev: 0.0>
  Type:   Direct-Access                      ANSI SCSI revision: 02
  Vendor: AFT PRO   Model: -IX SD            Rev: 0.0>
  Type:   Direct-Access                      ANSI SCSI revision: 02
  Vendor: AFT PRO   Model: -IX SM/XD         Rev: 0.0>
  Type:   Direct-Access                      ANSI SCSI revision: 02
  Vendor: AFT PRO   Model: -IX MS            Rev: 0.0>
  Type:   Direct-Access                      ANSI SCSI revision: 02

You can see the Compact Flash, Secure Digital, SmartMedia and Memory Stick interfaces appearing as separate devices. In theory, you can insert one piece of memory of each kind and use them simultaneously! I’ve only tried my SmartMedia card, personally, but it will likely work if you have multiple media types.

Read full post