Re: [PARPORT] ppdev hangs on read

From: Ryan Harkin (
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

    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:

    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


    Ryan Harkin

    -- To unsubscribe, send mail to: -- -- 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