Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: How to access USB CFII Reader

  1. #1
    Junior Member
    Join Date
    May 2003
    Posts
    4

    How to access USB CFII Reader

    Hi,

    First some bitter critique, after having fought for a couple of hours:
    In a distribution like this, one would expect that accessing a USB Compact Flash Card Reader is a trivial task. But I couldn't, even after having read 'all' about it in the web.

    I have USB 2.0. And below is some information about the machine. Could anyone help me, please?

    knoppix@ttyp1[nvnet]$ cat /proc/bus/usb/devices
    T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 3
    B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
    D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
    P: Vendor=0000 ProdID=0000 Rev= 0.00
    S: Product=USB OHCI Root Hub
    S: SerialNumber=d483c000
    C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
    I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
    E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
    T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
    D: Ver= 0.01 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=16 #Cfgs= 1
    P: Vendor=0781 ProdID=0005 Rev= 0.05
    S: Manufacturer=SanDisk
    S: Product=USB CFII
    C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
    I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=01 Prot=ff Driver=(none)
    E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=5ms
    E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
    E: Ad=03(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
    T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 3
    B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
    D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
    P: Vendor=0000 ProdID=0000 Rev= 0.00
    S: Product=USB OHCI Root Hub
    S: SerialNumber=d483a000
    C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
    I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
    E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms


    knoppix@ttyp1[nvnet]$ cat /proc/scsi/scsi
    Attached devices:
    Host: scsi0 Channel: 00 Id: 00 Lun: 00
    Vendor: HL-DT-ST Model: CD-RW GCE-8480B Rev: 1.03
    Type: CD-ROM ANSI SCSI revision: 0


    knoppix@ttyp1[nvnet]$ lsmod
    Module Size Used by Tainted: P
    af_packet 13448 0 (autoclean)
    nvnet 26208 2
    radeon 108164 0
    autofs4 8724 1 (autoclean)
    nls_iso8859-1 2876 1 (autoclean)
    ntfs 50784 1 (autoclean)
    i810_audio 23112 0
    ac97_codec 9992 0 [i810_audio]
    soundcore 3364 2 [i810_audio]
    serial 51876 0 (autoclean)
    usb-ohci 18120 0 (unused)
    usbcore 57088 1 [usb-ohci]
    apm 9612 1
    rtc 6908 0 (autoclean)
    cloop 5168 1

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    298

    Re: How to access USB CFII Reader

    Quote Originally Posted by Ilkka
    knoppix@ttyp1[nvnet]$ cat /proc/bus/usb/devices
    [snip]
    T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
    D: Ver= 0.01 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=16 #Cfgs= 1
    P: Vendor=0781 ProdID=0005 Rev= 0.05
    S: Manufacturer=SanDisk
    S: Product=USB CFII

    C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
    I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=01 Prot=ff Driver=(none)
    E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=5ms
    E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
    E: Ad=03(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
    It 'knows' it's there. So one thing I would ask. What filesystem does it contain FAT16? I don't know what mountpoint the device is given, so I can't help you with that.

    Try looking in /dev ???

  3. #3
    Junior Member
    Join Date
    May 2003
    Posts
    4
    Hi,

    Thanks for the reply. The filesystem should be FAT16 ... maybe. Hmm.

    I think the problem was that it doesn't have any mountpoint.

    Well mount says that
    "usb is mounted as /proc/bus/usb" but I don't think it's that?

    I tried to load the module usb-storage.o but that didn't do anything good for me...

    Ilkka

  4. #4
    Senior Member registered user
    Join Date
    Nov 2002
    Posts
    1,353
    If you plug in the drive before you boot, is there not an icon for it on your desktop? Knoppix always autodetects my drive this way and automatically puts an icon on the desktop which makes access quite easy. This may not have worked for you at all, but I just thought I'd ask.

  5. #5
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    Quote Originally Posted by aay
    If you plug in the drive before you boot, is there not an icon for it on your desktop? Knoppix always autodetects my drive this way and automatically puts an icon on the desktop which makes access quite easy. This may not have worked for you at all, but I just thought I'd ask.
    The icon on the desktop was created based on fstab which was based on /proc/partitions. In this case, not even the proper driver is loaded(usb-storage) so there will not be such an entry in /proc/partitions, thus no entry in fstab and nothing on desktop.

  6. #6
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933
    Quote Originally Posted by Ilkka
    Well mount says that
    "usb is mounted as /proc/bus/usb" but I don't think it's that?
    You can mount any mountable device to any mount point listed in /mnt. Devices don't know or care about the different mount points. They are just names that are easier for users to remember. Proc is just a virtual file system.

    To get USB 2.0 speeds you'll need to
    #modprobe usb-ehci
    But everything should still work @ USB 1.1 speeds at least.

    I tried to load the module usb-storage.o but that didn't do anything good for me...

    Ilkka
    $ lsmod
    Module Size Used by Not tainted
    sg 25980 0 (autoclean)
    autofs4 8724 0 (unused)
    af_packet 13448 0
    nls_iso8859-1 2844 0
    ntfs 50784 0 (unused)
    agpgart 34720 0 (unused)
    esssolo1 27464 1
    gameport 1276 0 [esssolo1]
    soundcore 3364 4 [esssolo1]
    hp100 15012 1
    serial 51844 0
    mousedev 3800 1
    hid 19172 0 (unused)
    usbmouse 1788 0 (unused)
    input 3168 0 [mousedev hid usbmouse]
    usb-ohci 18088 0 (unused)
    usbcore 57088 0 [hid usbmouse usb-ohci]
    apm 9612 1
    rtc 6876 0
    ext3 62688 1
    jbd 45300 1 [ext3]

    ***notice there is no mention of usb-storage***

    You must be root to insert a module:
    #modprobe usb-storage
    #lsmod
    # lsmod
    Module Size Used by Not tainted
    usb-storage 54460 0 (unused)
    sg 25980 0 (autoclean)
    autofs4 8724 0 (unused)
    af_packet 13448 0
    nls_iso8859-1 2844 0
    ntfs 50784 0 (unused)
    agpgart 34720 0 (unused)
    esssolo1 27464 1
    gameport 1276 0 [esssolo1]
    soundcore 3364 4 [esssolo1]
    hp100 15012 1
    serial 51844 0
    mousedev 3800 1
    hid 19172 0 (unused)
    usbmouse 1788 0 (unused)
    input 3168 0 [mousedev hid usbmouse]
    usb-ohci 18088 0 (unused)
    usbcore 57088 0 [usb-storage hid usbmouse usb-ohci]
    apm 9612 1
    rtc 6876 0
    ext3 62688 1
    jbd 45300 1 [ext3]

    So now usb-storage is listed. Good-
    cat /proc/scsi/scsi

    Is your device there? If so try this:

    #mount -t auto /dev/sda1 /mnt/?

    Since I don't know your mount points I can't say where you should mount it.

    #cd /mnt
    #ls
    #cdrom dvd hda1 hda4 hda5 hda6
    #mkdir reader
    #ls
    #cdrom dvd hda1 hda4 hda5 hda6 reader

    So try it like this:
    #mount -t auto /dev/sda1 /mnt/reader
    #cd /mnt/reader
    #ls

    Hopefully you see what ever is on your card.

  7. #7
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    to find out recognized partitions, do a "cat /proc/partitions", this does not include floppy and cdrom though but usb storage device will have an entry there, if it can be seen by linux.

  8. #8
    Junior Member
    Join Date
    May 2003
    Posts
    4
    Quote Originally Posted by rickenbacherus
    You must be root to insert a module:
    #modprobe usb-storage

    So now usb-storage is listed. Good-
    cat /proc/scsi/scsi

    Is your device there? If so try this:
    Yes I did those, but it's not in /proc/scsi/scsi.

    It can be seen and accessed by Windows though. It's SDDR-05b.

    I think I'll try some other Knoppix...

    Ilkka

  9. #9
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    I have said multiple times that the USB support on linux is IMO crappy. The problem(in general for CF reader) is that many of these devices implement some 'pseudo' SCSI or ATA interface that the kernel core have problem communicate with(not critical, just some query things) but the kernel core just refuse to work under this situation. However, some patch up is put into the kernel driver which would lookup a list of 'known' bad device and bypass this restriction.

    The problem is, CF readers spawn out everyday from some Mainland China manufacturer and they don't dare about 'correct' implementation and so long the device works under Window, they don't care.

    This create a problem for linux. If someone buy such a thing and dare to verify that it can be indeed in the 'bad but not a problem' list and kind enough to forward that device id to kernel.org, it would be supported in some later version.

    Try to get 2.4.21 which has many of these device id added. However, it would be better to tell the kernel guys to change the driver to make life easier. A user friendlier solution would be asking them to accept addition list through /proc/usb/storage/badlist(just a made up name) and we can just add a bootup script or something like that to update it.

  10. #10
    Junior Member
    Join Date
    May 2003
    Posts
    4
    Quote Originally Posted by garyng
    I have said multiple times that the USB support on linux is IMO crappy.
    I cannot but to agree..

    Here's what I found
    http://www.geocrawler.com/archives/3...10/0/10044046/
    http://usbat2.sourceforge.net/

    Ilkka

Page 1 of 2 12 LastLast

Similar Threads

  1. Acrobat Reader 7.0
    By robman in forum Ideas
    Replies: 5
    Last Post: 08-21-2005, 04:16 AM
  2. USB Card reader
    By lotech in forum General Support
    Replies: 0
    Last Post: 05-23-2005, 03:27 AM
  3. Acrobat Reader 7
    By jjbergdolt in forum Klik
    Replies: 0
    Last Post: 05-10-2005, 07:12 PM
  4. Acrobat Reader 7
    By jjbergdolt in forum General Support
    Replies: 0
    Last Post: 05-09-2005, 04:01 PM
  5. USB CF Reader, how to access it ?
    By garyng in forum Hardware & Booting
    Replies: 9
    Last Post: 04-03-2003, 05:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray picture

Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray

$39.99



Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5

Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A

$64.00



20TB 7200 RPM SATA III Internal 3.5

20TB 7200 RPM SATA III Internal 3.5" White Label Hard drive

$349.99



HGST Ultrastar HUS726040AL5210 4TB 7200RPM SAS 12Gb/s Enterprise HDD picture

HGST Ultrastar HUS726040AL5210 4TB 7200RPM SAS 12Gb/s Enterprise HDD

$41.00



Western Digital WD Red 4TB NAS Hard Drive WD40EFRX SATA 64MB 3.5

Western Digital WD Red 4TB NAS Hard Drive WD40EFRX SATA 64MB 3.5" HDD

$70.00



Seagate Barracuda ST1000DM003 1 TB SATA III 3.5 in Desktop Hard Drive picture

Seagate Barracuda ST1000DM003 1 TB SATA III 3.5 in Desktop Hard Drive

$23.99



Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE picture

Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE

$68.99



Lot of 2 HP 4TB / 128MB SATA 7.2K RPM 3.5

Lot of 2 HP 4TB / 128MB SATA 7.2K RPM 3.5" Hard Drive MB4000GCWDC /ST4000NM0033

$125.00



Toshiba DT01ACA100 1 TB 3.5

Toshiba DT01ACA100 1 TB 3.5" SATA III 3.5 in Desktop Hard Drive

$24.99



DELL 2TB Enterprise HDD (7200RPM, 3.5

DELL 2TB Enterprise HDD (7200RPM, 3.5", SATA III, 128MB Cache) HUS722T2TALA600

$49.95