Dual+ card reader question.
Bruce Marshall
bmarsh
Mon May 17 11:47:24 PDT 2004
On Thursday 15 May 2003 23:39, Susan Macchia wrote:
> Hi Everyone,
>
> I have been using a San Disk dual card reader to read the compact flash
> that my camera uses. I simply mount /dev/sda1 to /mnt/flash. Now I have
> another device which takes MMC. When I put the MMC in 2nd slot, I am
> unable to mount it as /dev/sda1, /dev/sda2 or any other device. I have
> searched the SxS site and found a page on the web regarding these types of
> readers. Since I boot with the device installed, It sees the reader, but
> only one of them. I am running RH 8.0, kernel version 2.4.18-27.8.0.
>
> The portion of dmesg which shows the device being seen (but not both):
>
> Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
> SCSI device sda: 125440 512-byte hdwr sectors (64 MB)
> sda: Write Protect is off
> sda: sda1
>
>
> Can anyone help me figure out what more I need to do?
>
Is this a reader that will take more than one type of media?
I have an Addonics reader that takes 4 different types of media and in order
to get them all working I run the following script:
#!/bin/sh
echo "scsi add-single-device 2 0 0 0" > /proc/scsi/scsi
echo "scsi add-single-device 2 0 0 1" > /proc/scsi/scsi
echo "scsi add-single-device 2 0 0 2" > /proc/scsi/scsi
echo "scsi add-single-device 2 0 0 3" > /proc/scsi/scsi
cat /proc/scsi/scsi
You would have to change it to match your situation but essentially it is
adding devices at LUNs 0,1,2, and 3. I believe all you would have to
change is the '2' to be a '0' since yours is on SCSI ctlr 0 and mine is on a
machine that already has SCSI ctlr 0 and 1 for real and 2 as the virtual
scsi.
The last line of the script should show you all 4 (or whatever you have)
devices with their media types (CF, MMC, etc.)
> TIA
>
> =====
> _____________________________
> Susan Macchia
> mailto:susan at smacchia.net
> _____________________________
>
> - Running Linux - because life is too short for reboots...
> _______________________________________________
> Linux-users mailing list
> Linux-users at linux-sxs.org
> Unsubscribe/Suspend/Etc ->
> http://www.linux-sxs.org/mailman/listinfo/linux-users
More information about the Linux-users
mailing list