[linux] Re: HAMA cardreader onder Linux
Johan Wevers
johanw op vulcan.xs4all.nl
Wo Sep 21 14:35:56 CEST 2005
Roeland Th. Jansen wrote:
OK, ik heb een nieuwe gehaald. De hardware werkt nu in elk geval, onder
win2000 doet hij het. Onder Linux nog niet, sda t/m sdn getest.
vulcan:~# mount -t vfat /dev/sda /mnt
mount: wrong fs type, bad option, bad superblock on /dev/sda,
or too many mounted file systems
-t vfat weglaten gefet geen verandering.
Als ik /dev/sda zonder nummer test krijg ik deze melding:
vulcan:~# mount -t vfat /dev/sdn1 /mnt
mount: special device /dev/sdn1 does not exist
Hij ziet hem wel:
vulcan:~# cat /proc/scsi/scsi
Attached devices:
Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: Generic Model: CF Rev: 1.6E
Type: Direct-Access ANSI SCSI revision: 02
vulcan:~# cat /proc/scsi/usb-storage-0/2
Host scsi2: usb-storage
Vendor: Generic
Product: USB2.0 Card Reader
Serial Number: 0000001
Protocol: Transparent SCSI
Transport: Bulk
GUID: 0dda20270000000000000001
Attached: Yes
Er stond op de driver CD zelfs een pdf met deze inhoud. Ik heb
/etc/modules.conf aangepast en gereboot.
ICSI USB flash card reader Linux installation guide
* Enable USB mass storage multiple LUN supporting in Linux
Method 1: Append one line into /etc/modules.conf, then reboot Linux
options scsi_mod max_scsi_luns=8
Method 2: Type the following lines at console mode
echo "scsi add-single-device 0 0 0 1" > /proc/scsi/scsi
echo "scsi add-single-device 0 0 0 2" > /proc/scsi/scsi
echo "scsi add-single-device 0 0 0 3" > /proc/scsi/scsi
Method 3: Recompile Linux kernel with the necessary modules as follows are
included:
Loadable module support
SCSI support
SCSI disk support
Probe all LUNs on each SCSI device
DOS FAT fs support
VFAT fs support
support for USB and the controller
USB mass storage support (as a module)
* To check if all flash card has been attached, type the following at console
mode
cat /proc/scsi/scsi
Linux will response as follows if the flash cards are attached successfully
[root op localhost root]# cat /proc/scsi
Attached devices:
Host: scsi 0 Channel: 00 Id: 00 Lun: 00
Vendor: ICSI Model: IC1100 Rev: 2.9F
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi 0 Channel: 00 Id: 00 Lun: 01
Vendor: ICSI Model: IC1100 Rev: 2.9F
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi 0 Channel: 00 Id: 00 Lun: 02
Vendor: ICSI Model: IC1100 Rev: 2.9F
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi 0 Channel: 00 Id: 00 Lun: 03
Vendor: ICSI Model: IC1100 Rev: 2.9F
Type: Direct-Access ANSI SCSI revision: 02
[root op localhost root]#
* Mount the detected flash card to a directory, please type the following
lines, then you can access the content of flash cards from the mapping
directory:
mount /dev/sda1 /mnt/cf
mount /dev/sdb1 /mnt/ms
mount /dev/sdc1 /mnt/sd
mount /dev/sdd1 /mnt/sm
--
ir. J.C.A. Wevers // Physics and science fiction site:
johanw op vulcan.xs4all.nl // http://www.xs4all.nl/~johanw/index.html
PGP/GPG public keys at http://www.xs4all.nl/~johanw/pgpkeys.html
More information about the Linux
mailing list