On Sat, Apr 07, 2001 at 09:55:29PM +0200, Sancho Dauskardt wrote:
> I'm currently writing a driver for some Carry USB
> CompactFlash/SmartMedia/MemoryStick Card readers (www.carry.com.tw,
> USB-Vendor 0x7CC). I have some doc's under NDA and the CompactFlash part is
> already working quite nicely under 2.4.2.
>
I've a smartmedia reader (HH501 (0x502 and 0x503)/Foxconn Hai (0x489)) but
without any support. From the windows drivers, i've extract the firmware. The
command is send directly to the ezusb external bus, so i can't know the exact
list of commands. I've build some tools to send command, and try to guess it
from the windows drivers. I can detect if a card is inserted, read the memory,
read the mapping table (with some problem). All theses operations were made
wihout any documentation except for the ezusb chip, so i think it's buggy.
My tools works in userland. I dump the all memory into a file, then i mount the
file with the loopback interface. It's not perfect but it work for my 8Mb
memory (not with the 64Mb :( ).
Each command is 8 bytes lenght, and is pretty close to the protocol use in the
file sddr09.c. If i want to write a kernel driver, i need to hack it, or to
create a new file with many same portion code.
I think a common API can be pretty useful.
Luc
--
,-----------------------------------------------------------------------------.
> Saillard Luc | Free Software Engineer <
> [EMAIL PROTECTED] | Alcôve, liberating software <
> (www.alcove.com) | <
`-----------------------------------------------------------------------------'
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel