[PARPORT] Re: amiga printing problems

From: Roman Zippel (zippel@linux-m68k.org)
Date: Fri Aug 31 2001 - 09:23:00 EDT

  • Next message: Ken Tyler: "[PARPORT] Re: amiga printing problems"

    Hi,

    Ken Tyler wrote:

    > No good at all, nothing prints. A bit of debug added shows it to be stuck
    > in the
    >
    > do { ... } while (time_before (jiffies, expire));
    >
    > loop.

    damn.

    > I can't see / understand how parport_ieee1284_write_compat and the
    > wait/poll functions it calls wait for the ACK interrupt to comeback before
    > sending the next byte out.

    It should wait in parport_wait_event. Could you add some prints there?
    Interesting would be the timeout values. If everything goes ok,
    parport_wait_event should continue with down_interrutible, after
    parport_ieee1284_wakeup was called. The question is now whether we get
    to down_interruptable at all or if something else interrupts it before
    up() is called in parport_ieee1284_wakeup (e.g. a timeout).

    bye, Roman

    -- 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 Aug 31 2001 - 12:47:44 EDT