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
  •  


FORTINET FortiGate60F+1YR Forticare UTP Unregistered(FG-60F-BDL-950-12)-Open Box picture

FORTINET FortiGate60F+1YR Forticare UTP Unregistered(FG-60F-BDL-950-12)-Open Box

$254.25



Fortinet FortiGate 60F | 10 Gbps Firewall Network Security EXPIRED (FG-60F)- New picture

Fortinet FortiGate 60F | 10 Gbps Firewall Network Security EXPIRED (FG-60F)- New

$251.99



Cisco FPR1010-NGFW-K9 FirePOWER Security Appliance **CISCO EXCESS** picture

Cisco FPR1010-NGFW-K9 FirePOWER Security Appliance **CISCO EXCESS**

$339.00



Palo Alto PA-220 Next-Gen Firewall 750-000128-00A w/ Power adapter  picture

Palo Alto PA-220 Next-Gen Firewall 750-000128-00A w/ Power adapter

$68.00



Netgate SG-3100 pfSense Security Gateway Firewall Appliance w/Power Adapter picture

Netgate SG-3100 pfSense Security Gateway Firewall Appliance w/Power Adapter

$150.00



Dell SonicWALL TZ300 Firewall Appliance Transfer Ready - NO AC picture

Dell SonicWALL TZ300 Firewall Appliance Transfer Ready - NO AC

$24.98



Silver Peak Network Appliance NCA-1010B SV1 Firewall 201106-002 picture

Silver Peak Network Appliance NCA-1010B SV1 Firewall 201106-002

$40.00



Palo Alto PA-220 Next-Gen Firewall picture

Palo Alto PA-220 Next-Gen Firewall

$57.19



Fortinet Fortigate Fg-1000C 1000c Security Appliance FIREWALL Hub - Tested picture

Fortinet Fortigate Fg-1000C 1000c Security Appliance FIREWALL Hub - Tested

$89.99



Fortinet Fortiwifi 60D FG-60D Security Appliance Firewall / VPN w/ AC Adapter picture

Fortinet Fortiwifi 60D FG-60D Security Appliance Firewall / VPN w/ AC Adapter

$34.97