« sub terrain, north fitzroy | Main | taxi »

minor things

misc/2002-01-17-cf-card-reader-1 misc/2002-01-17-cf-card-reader-2

Got a "CR-V7-UC" USB CompactFlash card reader ? Just to prove I'm not completely useless (merely "almost useless"), here's how you make one of these particular card readers work under Linux with the USB Mass-Storage driver. I picked the thing up in Singapore after buying the new camera, I've got an old 8MB card I figure I could use for portable storage or something (it's certainly not much use for pictures anymore, unfortunately). A few months later I finally sat down and decided I was going to make the damn thing work.

It's got a model number of "CR-V7-UC" on it, and it shows up as a "Genesys Logic, Inc." (vendor id 0x05e3) "USB TO IDE" (product id 0x0700) device (except Linux drives it through the USB-SCSI layer instead. Confused ? Good).

So here it is, in case it's useful to somebody. Apply this in the drivers/usb/storage directory. It's from a 2.4.17 kernel.

--- unusual_devs.h.dist	Wed Jan 16 09:36:09 2002
+++ unusual_devs.h	Thu Jan 17 11:11:30 2002
@@ -251,6 +251,12 @@
 		US_FL_MODE_XLATE | US_FL_START_STOP ),
 #endif
 
+UNUSUAL_DEV(  0x05e3, 0x0700, 0x0000, 0x9999,
+              "Genesys Logic, Inc.",
+              "USB TO IDE",
+              US_SC_SCSI, US_PR_BULK, NULL,
+              US_FL_FIX_INQUIRY | US_FL_MODE_XLATE),
+
 UNUSUAL_DEV(  0x0644, 0x0000, 0x0100, 0x0100, 
 		"TEAC",
 		"Floppy Drive",

Now, when you plug in your card reader, you'll get a heap of kernel messages (especially if you've enabled "USB verbose debugging messages", which, if you're trying to make a USB device work, is a particularly good idea).

If you do, say, a dmesg | grep -v usb-storage: just after plugging in the reader, you should see something like this near the end of all the output :

scsi0 : SCSI emulation for USB Mass Storage devices
  Vendor: Genesys   Model: USB TO IDE        Rev: 0100
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 125185 512-byte hdwr sectors (64 MB)
sda: Write Protect is off
 sda1

...which will tell you that your card reader (in this case, with a 64MB card plugged into it) is available as /dev/sda1. Of course, if you have other SCSI (or emulated SCSI) hardware attached and running, you might get given a different device name - don't panic.

* 13:17 * geek

Comments have been closed for this post. If you've got something to say, please contact me by other means. Thanks!

Comments (37)

Daniel:

This patch was JUST what I was looking for , great !!!

RE CR-V7-UC : I applied the patch last night and found your page today while searching for clues as the device insertion seems goes well, but then I cant mount a scsi device I am lost…. My 128mb + CF works under 2000 but not Linux, and the only reason I need it under Linux in the first place is to put Linux ext2 the card for my Casio E-115 handheld. My other USB enabled 32mb cf card works well with the jumpshot but the 128mb is non USB. Ill keep trying, any help is most welcome

Regards and nice site

:) Andy.
UIN : 10869042

Jeff Hine:

Thank you for writting this, but what does "Apply this in the drivers/usb/ storage directory" mean? I'm only a day old Linux guy. -Jeff

cos:

Have a read of the Kernel HOWTO at http://tldp.org/HOWTO/Kernel-HOWTO.html

In particular, Chapter 6 explains patching the kernel source.

[tab]:

Thank you, I've got my cardreader working now :)

Beton:

Hello,
I am running Slackware 8.1 here with 2.4.18 kernel.
I'm not an expert in hacking kernels. Could someone tell me if the patch released by Andrew could be persuaded to work with 2.4.18 ?

Thanks a lot.

cos:

Yeah, it works fine. The patch might not apply cleanly, but you can always put those 5 lines in by hand - in terms of just making it work, it doesn't actully matter whereabouts it goes inside drivers/usb/storage/unusual_devs.h (eg. you can just put it at the end, if you're not sure) - the maintainers just preferred that it was sorted in order of those two magic numbers (0x05e3, 0x0700), and the patch reflects their wishes.

Stride:

Hi Andrew,
You have by accident also a driver for the "CR-V7-UC" USB CompactFlash card reader?

Many thanks!

cos:

The (generic) driver's already in the Linux kernel. The patch I provided makes it work with this kind of USB CF reader.

Desi:

Gentlemen,
Does anyone have the Windows 98 Driver for the
CR-V7-UC CompactFlash CARD READER?
Yes i did buy it in Singapore and yes it never came with the proper drivers.
I did find one once and of course i can't find it to install it in my old notebook.

Thanks...
Desi

Desi:

Found one....
http://www.pccrisis.com/prdsupic.htm

Good luck lads!

Gray:

I applied the patch on my rh7.1 (kernel 2.4.2) laptop but got an error "US_FL_FIX_INQUIRY undeclared".

should I upgrade my kernel first?

many thanks,

Gray

cos:

yes, probably. i can't remember how much of this stuff was in 2.4.2. the patch is for 2.4.17...

Gray:

alright - I loaded and patched 2.4.20. It works now! thanks,

Gray

bob story:

anyone have any luck with the binocam cameras usb mass storage device

vendor id Sunplus Technology
0x04fc 0x80c2

Ben:

Does anyone have a windows XP driver for the
CR-V7-UC CompactFlash CARD READER?

The PCcrisis web site listed previously seems to have closed down.

cos:

You don't need one, it works "out of the box"(tm) on Windows 2000 and XP.

svnt:

just the thing - card reader now functions under debian woody. thanks!

beno:

here are the drivers for windows 98

http://www.a-tec.com.tw/

have a nice day

Rinoa:

this page (http://www.a-tec.com.tw/) doesn't work.
does someone have the drivers for win98?
Or,You know where to download.Please tell me.
Thanks!

Stefan:

Hi
you will found the WIN98 Driver on this page:
http://www.a-tecsubsystem.com/download.asp
select CR-01
greedings
Stefan Germany

AT:

i can't get the same device to work on win 2000 Pro. can someone please help?

cos:

Under Win2k, it worked "out of the box" for me, 'cause USB Mass Storage support is already there.

hector ortiz:

MY CARD READER DOESNT WORK USING THE CR-01 SOFTWARE THAT I DOWNLOADED FROM; http://www.a-tecsubsystem.com/download.asp ITS NOT EVEN DETECT THE USB DEVICE AS NEW HARDWARE ANYMORE.

Peter:

Hi, I've just bought the CR-V7-UC but it doesn't work with 128mb compact flash card on the iMac 500, even though it says there are Mac drivers.

I've installed it but nothing happens.

Any clues?
Thanks.

cos:

Sorry, no idea. It works "out of the box" on my Powerbook running OS X 10.2 (and 10.3).

Sharth:

Hey. Thanks a bundle. This should work out of the box in Win2k. And why hasn't this made its way into kernel proper yet?

Amanda:

Does anyone have a URL to get a driver for the CompactFlash Card Reader for Mac 9.0? Thanks for the help, Amanda

Oliver:

Hi Amanda. I have a CD with some drivers. It's written that there should be an Mac OS 9.0 driver on it. I don't have my own URL, and actually I don't want to post my mail adress right here. Do you have your own URL or use ICQ?

The Decibel:

http://www.chronos.com.tw/drivers/CardReader/Cardreder.htm


drivers for the compactflsh vrv7uc card reader

Andy:

hi..i am trying to use this card reader..but it just can't seem to run..XP keeps telling me that this thing cannot be installed..anyone can enlighten me?

lanky:

I need the simplest of way to upload or download a driver on my win98 computer for the compactflash cr-v7-uc reader. I've tried everything above this and nothing works or I don't understand it...pretend for a moment that your telling a first grader......I need this made simple....thanx

John:

My CR-V7-UC works great with all my CF cards running Windows 98SE on my desktop, but on my Laptop with Windows XP, it won't work with my 256CF card, does work with my 16CF card, won't work with my 64CF card, and works with my 8CF card.

Merv:

I tried and tried all the suggestions to load the driver for my CR-V7-UC flashcard but nothing works for 98II, I have a program for it but it is packed away sailing across the seas somewhere. I am now off to buy another card with a program. When I eventually get my shipment back I will post the driver from the OEM CD on this site for others to prevent the same frustrations.

Cheers,

Merv

Thanks Oliver re.cr-v7-uc card reader. the link to chronos you posted on the 15th Jan 2004 works great ,John you need to open system folder in control panel and remove any drivers you may have tried to install prev then go to the add new hardware with the card reader already plugged in (with flashcard)
select the storage device from the menu and select have disk, then using the browse point the wizard towards the folder downloaded from chronos link you should see 2 .inf files select the genestor.inf (this one worked for me) the rest I hope is in the bag, if all went well on reboot win98se should find the device and locate the driver etc. Then presto using explorer you will see "removable disk(?)" . Best of luck!!!!and throw a shrimp on the barby mate.

THIS COMPACT READER STINKS NO DRIVER I HAVE WINDOWS XP THERE IS NO GENESTOR OR 2 INF FILES HATE THIS THING HEELLLLLLLLLPPPP

I could not understand a word these people were saying! But I have found a solution to the problem and mine is now working.
While I had the driver on CD it didn't work, but here is where you can get the driver from anyhow. Then follow the link to microsoft and it should work! then i have also put in the address for the manual, in case it is of any use to you. ( but it wasn't to me)
DRIVER
http://www.chronos.com.tw/drivers/CardReader/Cardreder.htm

GET THE DAMN THING TO WORK AT:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q240075

PDF Manual
http://www.emagictech.com.tw/manual/cr-3100.pdf