[PARPORT] schedule_timeout?

From: jjore@imation.com
Date: Tue May 23 2000 - 11:10:03 EDT

  • Next message: Norbert Preining: "[PARPORT] how to stop imm probing printer port"

    I've been playing with epat.c in order to support the c7/8 chips in
    addition to the c2-6 that it currently supports. At present I'm able to get
    the 2x SuperDisk drive to turn over but it's still not completely
    initialized. I'm curious about one thing. With a few combinations of CPP
    packets I'm getting an error on insmod pf verbose=2.

    schedule_timeout: wrong timeout value c4d58000 from c682f850

    Any ideas?

    Josh
    Standard disclaimer: I don't speak for my employer

    using the code:

    #define CPP(x) w2(4);\
                    w0(0xaa);w0(0xaa);w0(0x55);w0(0x55);\
                    w0(0);w0(0);w0(0xff);w0(0xff);\
                    w0(0x87);w0(0x87);\
                    w0(0x78);w0(0x78);\
                    w0(x);w2(4);w2(5);w2(4);\
                    w0(0xff);

    static void epat_connect ( PIA *pi )

    { pi->saved_r0 = r0();
            pi->saved_r2 = r2();
            CPP(0x30);CPP(0x40);CPP(0);CPP(0xe0);
           w0(0); w2(1); w2(4);
            w0(3); w2(1); w2(4);
            w0(0); w2(1); w2(4);

    .....

    -- 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 : Tue May 23 2000 - 12:55:14 EDT