The following information may have errors; It is not permissible to be read by anyone who has ever met a lawyer. Use is confined to Engineers with more than 370 course hours of electronic engineering for theoretical studies.
All content entered becomes and is (C)2007 Transtronics, Inc. the property of Transtronics, Inc. Rest assured that your contributions won't be sold and will be publicly available.
ph +1(785) 841 3089 Email inform@xtronics
Sg3-utils
From Transwiki
The following is a bit obsolete with udev and etch - I'm leaving it here for debugging reference.
For internal USB card readers. You will want to install sg3-utils. The devices show up as scsi drives
After booting your machine, try a lsmod and make sure you see the following (mixed in with others of course).:
# lsmod usb-storage usbcore uhci-hcd scsi_mod
Next try a scan and you should see something like below - sg2 - sg5 is the card reader.
# sg_scan -i /dev/sg0: scsi0 channel=0 id=0 lun=0 [em] [rmb=0 cmdq=0 pqual=0 pdev=0x0] /dev/sg1: scsi1 channel=0 id=0 lun=0 [em] [rmb=0 cmdq=0 pqual=0 pdev=0x0] /dev/sg2: scsi4 channel=0 id=0 lun=0 [em] Generic STORAGE DEVICE 9144 [rmb=1 cmdq=0 pqual=0 pdev=0x0] /dev/sg3: scsi4 channel=0 id=0 lun=1 [em] Generic STORAGE DEVICE 9144 [rmb=1 cmdq=0 pqual=0 pdev=0x0] /dev/sg4: scsi4 channel=0 id=0 lun=2 [em] Generic STORAGE DEVICE 9144 [rmb=1 cmdq=0 pqual=0 pdev=0x0] /dev/sg5: scsi4 channel=0 id=0 lun=3 [em] Generic STORAGE DEVICE 9144 [rmb=1 cmdq=0 pqual=0 pdev=0x0] /dev/sg6: scsi5 channel=0 id=0 lun=0 [em] EPSON GT-9700 1.04 [rmb=0 cmdq=0 pqual=0 pdev=0x3]
Now a map will give you your real devices - below sdc - sd5 are the drive slots
# sg_map
/dev/sg0 /dev/sda /dev/sg1 /dev/sdb /dev/sg2 /dev/sdc /dev/sg3 /dev/sdd /dev/sg4 /dev/sde /dev/sg5 /dev/sdf /dev/sg6<
Just put entries in fstab like :
/dev/sdc1 /media/cflash vfat noauto,owner,users,rw 0 0 /dev/sde1 /media/mmcard vfat noauto,owner,users,rw 0 0 /dev/sdf1 /media/mstick vfat noauto,owner,users,rw 0 0 /dev/sdg1 /media/thumb vfat noauto,owner,users,rw 0 0
