[TriLUG] multicard reader under Mandrake

Andrew Perrin clists at perrin.socsci.unc.edu
Thu Mar 4 09:54:32 EST 2004


Yes, I've got one working great. You need the following:

usbcore
usb-{o|u}hci
usb-storage
scsi (either as module or in kernel)
sg
sd_mod
sr_mod

In addition, the SCSI module needs to be compiled with the "Probe all
LUN's" option in the kernel config.

The sg utilities can be helpful (sg3-utils is the debian package).

On my machine, I get the following:

joehill:~# sg_scan
/dev/sg0: scsi0 channel=0 id=0 lun=0  type=0
/dev/sg1: scsi0 channel=0 id=1 lun=0  type=0
/dev/sg2: scsi0 channel=0 id=3 lun=0  type=5
/dev/sg3: scsi0 channel=0 id=5 lun=0  type=5
/dev/sg4: scsi1 channel=0 id=0 lun=0 [em]  type=0
/dev/sg5: scsi1 channel=0 id=0 lun=1 [em]  type=0
/dev/sg6: scsi1 channel=0 id=0 lun=2 [em]  type=0
/dev/sg7: scsi1 channel=0 id=0 lun=3 [em]  type=0


scsi0 is a real SCSI card with two hard drives and two cd-rom's on it.

scsi1 is the usb bus.  Note that the reader shows up as channel 0, id 0,
with four distinct lun's (0-3).  On my reader, the two formats I use are
xd and sd cards, so I linked them:

joehill:/dev# ls -l *card
lrwxrwxrwx    1 root     root            4 Jan  6 22:32 sdcard -> sdc1
lrwxrwxrwx    1 root     root            4 Feb 27 20:58 xdcard -> sdd1

Hope this helps.

----------------------------------------------------------------------
Andrew J Perrin - http://www.unc.edu/~aperrin
Assistant Professor of Sociology, U of North Carolina, Chapel Hill
clists at perrin.socsci.unc.edu * andrew_perrin (at) unc.edu


On Thu, 4 Mar 2004, Dan wrote:

> I just picked up a Lexar multicard reader... it reads compact flash, memory
> sticks, smart media, etc. via USB.  Anyone out there use such a beast under
> linux?  What or where do I mount it?  I have a normal memory stick that
> ends up mounting as /mnt/memory_card but I can't figure out where this card
> reader mounts.
>
>
> --
> Dan
> --
> TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ  : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc
>



More information about the TriLUG mailing list