Home > Archive > alt.os.linux > August 2002 > USB Multi-Card Reader





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author USB Multi-Card Reader
Gary Walton

2002-08-28, 4:29 pm

I need some help setting up a usb caed reader under Red Hat 7.3.. I know
a little so I will begin , the device shows up on hard ware as device
sda as a removable hd.
when I do > Attached devices:
> Host: scsi0 Channel: 00 Id: 00 Lun: 00
> Vendor: HL-DT-ST Model: CD-RW GCE-8240B Rev: 1.06
> Type: CD-ROM ANSI SCSI revision: 02
> Host: scsi1 Channel: 00 Id: 00 Lun: 00
> Vendor: Kodak Model: CF/SD/MMC/SM Rev: 0105
> Type: Direct-Access ANSI SCSI revision: 02


as you see the device is present, i have tried to mount the device using
all sorts of commands (etc) mount /dev/sda etc etc I get error
results ranging from device not found or wrong file type I have had many
try this trey that but no luck .Can some one give me a simple straight
forward how to..I have read the usb help files I can find ???not much there.
Thanks to someone who can help.
email is
gary.walton@verizon.net

DanH

2002-08-28, 4:29 pm

Gary Walton wrote:

> I need some help setting up a usb caed reader under Red Hat 7.3.. I know
> a little so I will begin , the device shows up on hard ware as device
> sda as a removable hd.
> when I do > Attached devices:
>
>> Host: scsi0 Channel: 00 Id: 00 Lun: 00
>> Vendor: HL-DT-ST Model: CD-RW GCE-8240B Rev: 1.06
>> Type: CD-ROM ANSI SCSI revision: 02
>> Host: scsi1 Channel: 00 Id: 00 Lun: 00
>> Vendor: Kodak Model: CF/SD/MMC/SM Rev: 0105
>> Type: Direct-Access ANSI SCSI revision: 02

>
>
> as you see the device is present, i have tried to mount the device using
> all sorts of commands (etc) mount /dev/sda etc etc I get error results
> ranging from device not found or wrong file type I have had many try
> this trey that but no luck .Can some one give me a simple straight
> forward how to..I have read the usb help files I can find ???not much
> there.



I have a usb smartcard reader for my camera and had the same problem.
The problem is that this is actually an easy one and almost not worth
its own How-To.

in an xterm, as root, type 'tail -f /var/log/messages'
Plug your card into the device and plug it into the usb port.
wait about 10-20 seconds
look at /mnt directory and see if there is a new entry there (mine shows
/mnt/camera)
look at what the /var/log/messages shows when you plug your device in
(the xterm with the tail in it)
in the messages file there should be something akin to

Aug 21 00:07:49 camerabox kernel: Attached scsi removable disk sda at
scsi1, channel 0, id 0, lun 0
Aug 21 00:07:49 camerabox kernel: SCSI device sda: 128000 512-byte hdwr
sectors (66 MB)
Aug 21 00:07:49 camerabox kernel: sda: Write Protect is off
Aug 21 00:07:49 camerabox kernel: sda: sda1

That's from mine. Then it's a matter of 'mount /dev/sda1 /mnt/camera'
and then ls -lR /mnt/camera and it'll show you where all the data is.

DanH

DanH

2002-08-28, 5:28 pm

Gary Walton wrote:

> I need some help setting up a usb caed reader under Red Hat 7.3.. I know
> a little so I will begin , the device shows up on hard ware as device
> sda as a removable hd.
> when I do > Attached devices:
>
>> Host: scsi0 Channel: 00 Id: 00 Lun: 00
>> Vendor: HL-DT-ST Model: CD-RW GCE-8240B Rev: 1.06
>> Type: CD-ROM ANSI SCSI revision: 02
>> Host: scsi1 Channel: 00 Id: 00 Lun: 00
>> Vendor: Kodak Model: CF/SD/MMC/SM Rev: 0105
>> Type: Direct-Access ANSI SCSI revision: 02

>
>
> as you see the device is present, i have tried to mount the device using
> all sorts of commands (etc) mount /dev/sda etc etc I get error results
> ranging from device not found or wrong file type I have had many try
> this trey that but no luck .Can some one give me a simple straight
> forward how to..I have read the usb help files I can find ???not much
> there.



I have a usb smartcard reader for my camera and had the same problem.
The problem is that this is actually an easy one and almost not worth
its own How-To.

in an xterm, as root, type 'tail -f /var/log/messages'
Plug your card into the device and plug it into the usb port.
wait about 10-20 seconds
look at /mnt directory and see if there is a new entry there (mine shows
/mnt/camera)
look at what the /var/log/messages shows when you plug your device in
(the xterm with the tail in it)
in the messages file there should be something akin to

Aug 21 00:07:49 camerabox kernel: Attached scsi removable disk sda at
scsi1, channel 0, id 0, lun 0
Aug 21 00:07:49 camerabox kernel: SCSI device sda: 128000 512-byte hdwr
sectors (66 MB)
Aug 21 00:07:49 camerabox kernel: sda: Write Protect is off
Aug 21 00:07:49 camerabox kernel: sda: sda1

That's from mine. Then it's a matter of 'mount /dev/sda1 /mnt/camera'
and then ls -lR /mnt/camera and it'll show you where all the data is.

DanH

terry

2002-08-28, 5:29 pm

Gary Walton wrote:
>
> I need some help setting up a usb caed reader under Red Hat 7.3.. I know
> a little so I will begin , the device shows up on hard ware as device
> sda as a removable hd.
> when I do > Attached devices:
> > Host: scsi0 Channel: 00 Id: 00 Lun: 00
> > Vendor: HL-DT-ST Model: CD-RW GCE-8240B Rev: 1.06
> > Type: CD-ROM ANSI SCSI revision: 02
> > Host: scsi1 Channel: 00 Id: 00 Lun: 00
> > Vendor: Kodak Model: CF/SD/MMC/SM Rev: 0105
> > Type: Direct-Access ANSI SCSI revision: 02

>
> as you see the device is present, i have tried to mount the device using
> all sorts of commands (etc) mount /dev/sda etc etc I get error
> results ranging from device not found or wrong file type I have had many
> try this trey that but no luck .Can some one give me a simple straight
> forward how to..I have read the usb help files I can find ???not much there.
> Thanks to someone who can help.
> email is
> gary.walton@verizon.net


Here's how I did mine:
First, see that it is dected by looking at
cat /proc/scsi/scsi

Here's the output I get:
$ cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: IDE Model: DVD-ROM 16X Rev: 2.0
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: LITE-ON Model: LTR-12101B Rev: LS38
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: OEI-USB Model: SmartMedia Rev: 1.00
Type: Direct-Access ANSI SCSI revision: 02

Notice SmartMedia listed after the CDROMs? That's my card reader.
Yours will show a simular listing, it may not say SmartMedai but you'll
recognize it.

Create a directory to mount it in, something like:

/mnt/memstick (and give proper permission)

Add the device to /etc/fstab something like this:
/dev/sda1 /mnt/memstick auto noauto,user 0 0

That's about it.
You'll mount your flash media at:
/mnt/memstick/

I put an icon on the desktop for it and you might wanna do the same.

--
Registered Linux User #188099
5:45pm up 15 days, 11:12, 5 users, load average: 0.20, 0.18, 0.11
<><
terry

2002-08-28, 6:29 pm

Gary Walton wrote:
>
> I need some help setting up a usb caed reader under Red Hat 7.3.. I know
> a little so I will begin , the device shows up on hard ware as device
> sda as a removable hd.
> when I do > Attached devices:
> > Host: scsi0 Channel: 00 Id: 00 Lun: 00
> > Vendor: HL-DT-ST Model: CD-RW GCE-8240B Rev: 1.06
> > Type: CD-ROM ANSI SCSI revision: 02
> > Host: scsi1 Channel: 00 Id: 00 Lun: 00
> > Vendor: Kodak Model: CF/SD/MMC/SM Rev: 0105
> > Type: Direct-Access ANSI SCSI revision: 02

>
> as you see the device is present, i have tried to mount the device using
> all sorts of commands (etc) mount /dev/sda etc etc I get error
> results ranging from device not found or wrong file type I have had many
> try this trey that but no luck .Can some one give me a simple straight
> forward how to..I have read the usb help files I can find ???not much there.
> Thanks to someone who can help.
> email is
> gary.walton@verizon.net


Here's how I did mine:
First, see that it is dected by looking at
cat /proc/scsi/scsi

Here's the output I get:
$ cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: IDE Model: DVD-ROM 16X Rev: 2.0
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: LITE-ON Model: LTR-12101B Rev: LS38
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: OEI-USB Model: SmartMedia Rev: 1.00
Type: Direct-Access ANSI SCSI revision: 02

Notice SmartMedia listed after the CDROMs? That's my card reader.
Yours will show a simular listing, it may not say SmartMedai but you'll
recognize it.

Create a directory to mount it in, something like:

/mnt/memstick (and give proper permission)

Add the device to /etc/fstab something like this:
/dev/sda1 /mnt/memstick auto noauto,user 0 0

That's about it.
You'll mount your flash media at:
/mnt/memstick/

I put an icon on the desktop for it and you might wanna do the same.

--
Registered Linux User #188099
5:45pm up 15 days, 11:12, 5 users, load average: 0.20, 0.18, 0.11
<><
Sponsored Links





Free Braindumps | MCSE braindumps software forum

Copyright 2003 - 2008 examnotes.net