On Sat, 2003-05-31 at 04:46, Anne Wilson wrote: > On Saturday 31 May 2003 4:44 am, Guy Rouillier wrote: > > Anne Wilson wrote: > > > On Friday 30 May 2003 5:54 pm, [EMAIL PROTECTED] wrote: > > >>I'm in the market for a Compact Flash card reader and was hoping > > >>you could tell me a brand and model that works for you. I am > > >>looking at a SanDisk USB CF/Smart Media reader > > >>http://www.amazon.com/exec/obidos/ASIN/B000068UXB/qid=1054312384/ > > >>sr =2-2/ref=sr_2_2/102-0362829-1464909 because it's cheap and I > > >> could also use the Smart Media part. > > >> > > >>Thanks, > > >>Todd > > > > > > I can't answer for that model, Todd. What I can say is that John > > > and I have both been struggling to find one that works, without > > > success. A number of people have Sandisk CF readers that work, > > > and there is one model of Sandisk SM reader that I understand > > > works, but I do not know anyone who has managed to get a dual > > > standard reader working. > > > > > > Anne > > > > I somehow missed the original post, but I have the SanDisk CF/SM > > reader (SDDR-75) and got it to work under Mandrake. Under Mandrake > > 9.0, the darn thing would hang after a short while, but it seems > > better behaved under 9.1. There are some helpful ideas in the FAQ > > at > > http://www.linux-usb.org. The one that worked for me was > > > > echo >/proc/scsi/scsi "scsi add-single-device 0 0 0 1" > > > > I had to do this twice because the SanDisk has two devices in it. I > > think I put this in rc.local (not booted to Mandrake at the > > moment.) Anne, if you have this device and would like more details, > > let me know. > > As I said in my reply to Todd, this was the model I could not buy in > the uk. I've forgotten which chipset is in the model I've got, but > 9.0 recognised it for what it is. However, any attempt to access it > caused a total freeze. I haven't tried it under 9.1 yet, as it's no > longer urgent and I hate the risk. However, if you wouldn't mind > posting a complete how-to I would try to apply it to my device. > > Thanks > > Anne >
Sorry for the delayed response. I don't have time to write a complete howto. However, the site I mentioned has the following Q&A: =================== Q: Why do I only see one device from my multipurpose storage device? A:Some distributions (notably Red Hat) turn off the kernel option CONFIG_SCSI_MULTI_LUN. This prevents usb-storage from automatically detecting all the devices in your removable storage device. You can either recompile your kernel with this option enabled or try; echo >/proc/scsi/scsi "scsi add-single-device 0 0 0 1" Where IIRC, the first zero is the host (so it is zero if this is your first "SCSI" adapter), the second the channel (which for usb-storage should always be zero I believe), the third is the target (which again is always 0 for usb-storage) and the last is the LUN. LUN 0 is the only one probed if this kernel option is off, so you'd need to repeat this command as root for every media type your device accepts. ================ Following this advice, for my CF/SM reader I added the following two lines to /etc/rc.d/rc.local: echo >/proc/scsi/scsi "scsi add-single-device 1 0 0 1" echo >/proc/scsi/scsi "scsi add-single-device 1 0 0 2" I believe that you adjust the number of lines based on the number of formats/slots your reader has. The 6-in-1 devices probably need 6 lines; if your device only supports a single card type, you probably only need one line. Somewhere else in either the User Guide of FAQs on the Linux-USB site discussed changing the SCSI max luns in modules.conf. I can't find the reference at the moment, but I haven't needed to do that for Mandrake 9.1. Note that to try this out, you don't need to update rc.local and reboot. You can just type the command at a terminal prompt and see what happens. You might have to look in /var/log/messages to see the messages. Here is what I see in that file. When the system first boots up (before running rc.local) I see this: scsi1 : SCSI emulation for USB Mass Storage devices Vendor: SanDisk Model: ImageMate CF-SM Rev: 0100 Type: Direct-Access ANSI SCSI r Attached scsi removable disk sdd at scsi1, channel 0, id sdd : READ CAPACITY failed. sdd : status = 1, message = 00, host = 0, driver = 08 Current sd00:00: sense key Not Ready Additional sense indicates Medium not present sdd : block size assumed to be 512 bytes, disk size 1GB. Then when the above statements in rc.local ran, I see this: kernel: scsi singledevice 1 0 0 1 kernel: Vendor: SanDisk Model: ImageMate CF-SM Rev: 0 kernel: Type: Direct-Access ANSI S kernel: Attached scsi removable disk sde at scsi1, channel /etc/hotplug/scsi.agent: sd_mod allready loaded kernel: SCSI device sde: 16000 512-byte hdwr sectors (8 MB) (Sorry, some got cut off, can't find a decent editor that can do column blocks AND copy to the clipboard) Anyway, this is right because I have an 8 MB SmartMedia card in the reader. Good luck. Let us know if you choose to pursue. > > ______________________________________________________________________ > > Want to buy your Pack or Services from MandrakeSoft? > Go to http://www.mandrakestore.com -- Guy Rouillier <[EMAIL PROTECTED]>
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
