HOWTO: FC2 USB Multicard Reader

Dave Ulrick d-ulrick at niu.edu
Sun Jun 13 04:04:52 UTC 2004


On Sat, 12 Jun 2004, William Hooper wrote:

>
> Robert Dale said:
> >
>
> > This is to help anyone trying to get their USB multicard reader working in
> > Fedora Core 2.
> >
> > First, you must recompile the scsi module with "Probe all LUNs".
>
> No you don't.  It is a module option.
>
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=110653
>
> Also, don't forget to report your info upstream so that device can be whitelisted.
>
> http://www.redhat.com/archives/fedora-test-list/2004-May/msg00387.html

For some reason, I've never been able to get the 'options scsi_mod
max_scsi_luns=8' option to work.  I get this message when I add it to
/etc/modprobe.conf:

scsi_mod: Unknown parameter `max_scsi_luns'

However, I've gotten good results from a three-line script that
coaxes Linux to recognize the additional LUNs on my Y-E media reader:

echo >/proc/scsi/scsi "scsi add-single-device 0 0 0 1"
echo >/proc/scsi/scsi "scsi add-single-device 0 0 0 2"
echo >/proc/scsi/scsi "scsi add-single-device 0 0 0 3"

Here's my /proc/scsi/scsi after running the script:

Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: Y-E DATA Model: CF Card Reader   Rev: 1.03
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 00 Lun: 01
  Vendor: Y-E DATA Model: SM Card Reader   Rev: 1.03
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 00 Lun: 02
  Vendor: Y-E DATA Model: MS Card Reader   Rev: 1.03
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 00 Lun: 03
  Vendor: Y-E DATA Model: SD Card Reader   Rev: 1.03
  Type:   Direct-Access                    ANSI SCSI revision: 02

The '0 0 0' in each of the lines of my script stands for scsi0, channel 0,
ID 0.  The last of the four numbers is the LUN number.  I run my script
from /etc/rc.d/rc.local.

Dave
-- 
Dave Ulrick
Email: d-ulrick at niu.edu
Web:   http://www.niu.edu/~ulrick/





More information about the fedora-list mailing list