Re: [PARPORT] ppdev hangs on read

From: Ryan Harkin (linux@harkin.org)
Date: Mon Oct 21 2002 - 17:42:40 EDT

  • Next message: Tim Waugh: "Re: [PARPORT] ppdev hangs on read"

    Hi Tim,

    I have just been following your thread with Stef about the ppdev hanging on
    read.

    I too am experiencing similar problems to Stef's with my parallel port
    scanner. I don't know if any of this is going to help, but here goes....!

    I find that if I use SuSE 7.2 (Kernel 2.4.4) I can use EPP mode with directio
    or ppdev to drive my Umax 1220P, but ECP/EPP mode does not work at all with
    either directio or ppdev.

    Using SuSE 8.0 (2.4.19?), Mandrake 9.0 (also 2.4.19?) or RedHat 8.0
    (2.4.18-14) I can only use directio in EPP mode. ppdev will not work with
    any BIOS setting and directio only works in EPP mode.

    Here is my dmesg output on my RedHat 8.0 with default kernel (2.4.18-14) in
    EPP mode:
            parport0: PC-style at 0x378 [PCSPP,TRISTATE,EPP]

    As above but with ECP/EPP mode:
            parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
            parport0: irq 7 detected

    With the BIOS set to EPP onlu, I can use ppdev or directio with my own kernel
    built on pure 2.4.18 sources with the following .config options:
            CONFIG_PARPORT=m
            CONFIG_PARPORT_PC=m
            CONFIG_PARPORT_PC_CML1=m
            CONFIG_PARPORT_SERIAL=m
            CONFIG_PARPORT_PC_FIFO=y
            CONFIG_PARPORT_PC_SUPERIO=y
            CONFIG_PARPORT_PC_PCMCIA=m
            CONFIG_PARPORT_1284=y

    The results of dmesg don't change...
    In EPP mode:
            parport0: PC-style at 0x378 [PCSPP,TRISTATE,EPP]

    As above but in ECP/EPP mode
            parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
            parport0: irq 7 detected

    I notice that my machine has a lot less in the dmesg output that Stef's,
    notably, the EPP and ECP entries are missing!

    If you would like any more info, I am willing to experiment. I may not have
    much time Tuesday, but I have loads of time Wednesday night. (I am doing
    this from home, not work and I am not "allowed" to send personal emails from
    work).

    Cheers,
    Ryan.

    -- 
    Ryan Harkin
    http://harkin.org/linux
    

    -- 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 Oct 21 2002 - 17:51:30 EDT