[PARPORT] CompactFlash (parallel port) card reader..

From: Fabien Tassin (fta+parport@sofaraway.org)
Date: Mon May 22 2000 - 07:34:31 EDT

  • Next message: Kenneth Murphy: "[PARPORT] strange emails _ read online at parport archive if posted"

            Hi,

    I'm trying to use my CompactFlash card reader (parallel port version)
    under Linux (both 2.2.15 and/or 2.3.99-preX-Y).

    The drive is described there : http://www.scmmicro.com/dm/cf.html
    According to the shipped win$8 driver, the parameters are
    IO 0x378, IRQ 7, R/W mode EPP Fast, Parallel port chipset W83967AF,
    adapter type EP1284.

    Each card contains a FAT16 fs. Here are my attempts to use paride (1.04)
    under 2.2.15...

    Boot trace :

    parport0: PC-style at 0x378 (0x778) [SPP,ECP,ECPPS2]
    parport0: detected irq 7; use procfs to enable interrupt-driven operation.

    # insmod parport_probe
    parport_probe: failed
    parport0: no IEEE-1284 device present.

    # cat /proc/parport/0/autoprobe
    MODEL:Unknown device;
    MANUFACTURER:Unknown vendor;

    # cat /proc/parport/0/hardware
    base: 0x378
    irq: none
    dma: none
    modes: SPP,ECP,ECPPS2

    As this drive comes from ShuttleTech, I've tried the EPAT module..

    # insmod epat
    paride: epat registered as protocol 0

    # insmod pd verbose=1
    /lib/modules/2.2.15/misc/pd.o: init_module: Device or resource busy
    Hint: this error can be caused by incorrect module parameters, including invalid IO or IRQ parameters

    pd: pd version 1.05, major 45, cluster 64, nice 0
    pda: epat: port 0x3bc, mode 0, ccr ff, test=(255,255,510)
    pda: epat: port 0x3bc, mode 1, ccr ff, test=(255,255,510)
    pda: epat: port 0x3bc, mode 2, ccr ff, test=(255,255,510)
    pda: 0x378 is parport0
    pda: epat: port 0x378, mode 0, ccr 0, test=(255,255,0)
    pda: epat: port 0x378, mode 1, ccr 40, test=(255,255,448)
    pda: epat: port 0x378, mode 2, ccr 2d, test=(255,255,510)
    pda: epat: port 0x378, mode 3, ccr ff, test=(255,255,510)
    pda: epat: port 0x378, mode 4, ccr ff, test=(255,255,510)
    pda: epat: port 0x378, mode 5, ccr ff, test=(255,255,510)
    pda: Autoprobe failed
    pd: no valid drive found

    same result if I force IRQ 7 in /proc/parport/0/irq. (The EPIA module
    is not working either).

    did I make something wrong or is this device unsupported ?
    Any hints appreciated.

    -- 
    Fabien Tassin -+- fta@sofaraway.org
    

    -- To unsubscribe, send mail to: linux-parport-request@torque.net -- -- with the single word "unsubscribe" in the body of the message. --



    This archive was generated by hypermail 2b29 : Mon May 22 2000 - 07:35:47 EDT