Re: USB and PCMCIA card readers
Fantastic thanks so very much for your help Bret and Roberto - much helpful!
Have recompiled the kernel with SCSI support, SCSI disk support, USB
mass storage support (when I checked my .config file, I noted an entry
for "Jumpshot" in the USB drivers list, but can't find that in make
menuconfig. Weird) and now I get the following mesasges when I boot up
the laptop with the USB reader inserted:
hub.c: new USB device 00:01.2-2, assigned address 2
usb.c: USB devcie 2 (vend/prod 0x5dc/0x1) is not claimed by any active
SCSI subsystem driver Revision: 1.00
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered
Have added "/dev/sda1 /home/smartmedia auto rw,user,noauto 0 0" to the
When the laptop has booted, and I try "mount /home/smartmedia" I get an
"mount: /dev/sda1 is not a valid block device"
Trying "mount -t vfat /dev/sda1 /home/smartmedia" gets the same results.
Cheers - Piers
Roberto Sanchez wrote:
> --- Piers Kittel <email@example.com> escribió:
>>I have 2 card readers - an Sandisk PCMCIA compactflash card reader, and
>>an Lexar USB Smartmedia card reader, and well, the question is how to
>>get those to work on my linux laptop? I'm not fairly sure what is there
>>to need to know to solve the problem, the laptop's a fairly ancient one,
>>P233mmo, 128mb RAM, USB (has to be version 1 I guess), and has PCMCIA.
>>Running Debian woody version 3 with kernel version 2.4.21-rc5. I get
>>the following messages when I insert the card readers:
>>PCMCIA Compact Flash reader:
>>"cardmgr: unsupported card in socket 1
>>cardmgr: product info: "Micron", "MTCF "
>>cardmgr: manfid: 0x002c, 0x0000 function: 4 (fixed disk)"
>>USB Smartmedia reader:
>>hub.c: new USB device 00:01.2-2, assigned address 2
>>usb.c: USB device 2 (vend/prod 0x5dc/0x1) is not claimed by any active
>>I'm guessing that I just need the drivers to get them, but I've searched
>>for them, can't find them.
>>Thanks very much for your help in advance
>>Cheers - Piers
> The SmartMedia card reader should just work. Using a stock 2.4.18-bf2.4
> all I needed to do was add this line to my /etc/fstab
> # <file system> <mount point> <type> <options>
> /dev/sda1 /smartmedia auto rw,user,noauto 0 0
> Then it was just a matter of plug in reader, insert card, and mount.
> finished, unmount, remove card, and (optionally) unplug reader.
> In the event that you are using a home rolled kernel, you need to enable
> support for SCSI block devices. This is the SCSI part of my .config file
> (2.4.20 kernel) that works with the SmartMedia reader:
> # SCSI support
> # SCSI support type (disk, tape, CD-ROM)
> # CONFIG_CHR_DEV_ST is not set
> # CONFIG_CHR_DEV_OSST is not set
> # CONFIG_BLK_DEV_SR_VENDOR is not set
> # CONFIG_CHR_DEV_SCH is not set
> Everything works just great.
> -Roberto Sanchez
> Yahoo! Sorteos - http://loteria.yahoo.es
> Juega a la Lotería Primitiva sin salir de casa