Dual+ card reader question.

Susan Macchia susan
Mon May 17 11:47:29 PDT 2004


Bruce - thanks, I will give this a try (and yes, the reader takes MMC & CF at
the same time).  One question though: would this script be put somewhere at
startup, or would I simply run it as root when I want to use the device?

TIA

Bruce Marshall wrote:

> 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.)

=====
_____________________________
Susan Macchia
mailto:susan at smacchia.net
_____________________________

- Running Linux - because life is too short for reboots...


More information about the Linux-users mailing list