[PARPORT] Bug in parport_cs (kernel 2.4.x)?

From: Marcel Wijlaars (marcelw@wfw.wtb.tue.nl)
Date: Fri Oct 05 2001 - 11:41:53 EDT

  • Next message: Diego Muñoz Pérez \(Trevenque Sistemas de Información S.L.\): "[PARPORT] Problem with 2 parallel ports"

    Hello,

    Kernel 2.4.x (x=>9) should support a pcmcia parallel port. I have a
    Qautech spp-100 pcmcia parallel port and I can not get it to work with
    linux.
    I have added a few lines to the parport_pc.c code and enabled the
    #define DEBUG stuff to check what goes wrong. It appears that the
    check_region() function fails the second time it is executed (see
    attachment).

    Can anyone tell me if the parport_cs code in the 2.4 kernel series is
    known to work (and if so who uses it).
    Or is it something I do when the pcmcia parallel port is initiated?

    Thanks in advance

     
    * Marcel Wijlaars *
    Eindhoven University of Technology
    Mechanical Engineering
    Materials Technology
    PO Box 513 ,WH 4.111
    5600 MB Eindhoven, The Netherlands

    Tel: +31 40 247 4813
    Fax: +31 40 244 7355
    Email: marcelw@wfw.wtb.tue.nl
    <mailto:marcelw@wfw.wtb.tue.nl>

    cs: IO port probe 0x0c00-0x0cff: clean.
    cs: IO port probe 0x0800-0x08ff: clean.
    cs: IO port probe 0x0100-0x04ff: excluding 0x170-0x177 0x370-0x377 0x3c0-0x3df 0x4d0-0x4d7
    cs: IO port probe 0x0a00-0x0aff: clean.
    cs: memory probe 0xa0000000-0xa0ffffff: clean.
    eth0: NE2000 Compatible: io 0x300, irq 5, mem 0xc8017000, auto xcvr, hw_addr 08:00:5A:39:CA:F8

    cs: IO port probe 0x0c00-0x0cff: clean.
    cs: IO port probe 0x0800-0x08ff: clean.
    cs: IO port probe 0x0100-0x04ff: excluding 0x170-0x177 0x370-0x377 0x3c0-0x3df 0x4d0-0x4d7
    cs: IO port probe 0x0a00-0x0aff: clean.
    Before check_region
    After check_region
    parport 0x378 (WARNING): CTR: wrote 0x0c, read 0xff
    parport 0x378 (WARNING): DATA: wrote 0xaa, read 0xff
    parport 0x378: You gave this address, but there is probably no parallel port there!
    parport0: PC-style at 0x378 [PCSPP]
    parport_cs.c 1.20 2000/11/02 23:15:05 (David Hinds)
    parport_attach()
    parport_event(0x000004)
    parport_config(0xc3e1e880)
    Before check_region
    parport_cs: parport_pc_probe_port() at 0x100, irq 7 failed
    parport_release(0xc3e1e880)
    parport_detach(0xc3e1e880)

    -- 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 : Fri Oct 05 2001 - 11:40:59 EDT