HH501 Usb Smartmedia Reader for Linux

When i bought my digital camera (a Olympus C990Z), an USB card reader was
given with this camera. Linux has no support for this USB reader, and it’s not
recognized as a UMS (USB Mass Storage). After a long time, i finished to wrote
my own driver for Linux 2.4 after contacting all manufacturers (Foxconn, …)
with no luck.

This driver patch the Linux Kernel (a patch for the 2.6 exists) and add read
support. You needs an external device (like camera) to delete or format the
card. Write support can be add, but when i play with unknown writing command, I
format all sectors of the card. And now it is unusable, so write support is not
enable in this driver (but the some userland tools can write to the card).

I've test this USB smartmedia reader with the following card:
8Mo32Mo64Mo

Then do a chmod 755
/etc/hotplug/usb/hh501. This little shell script load the firmware
using fxload.
That comes with hotplug (or packages fxload on
Debian GNU/Linuw). The firmware will be loaded into the reader when plugged in
your computer. The reader reboots and will be recognized by the
usb_storage module.

Now, you need to patch your kernel with the appropriate patch.
Choose these options in the kernel config.