[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Parallel portprinting problem



Hi!

You can find the modifcations provided by Kim Lester below.

@@ -204,7 +204,7 @@
        SETF(info->reg_ctrl_data_shadow, R_PAR0_CTRL_DATA, autofd,
             (control & PARPORT_CONTROL_AUTOFD) > 0);
        SETF(info->reg_ctrl_data_shadow, R_PAR0_CTRL_DATA, init,
-            (control & PARPORT_CONTROL_INIT) > 0);
+            (control & PARPORT_CONTROL_INIT) == 0);
        SETF(info->reg_ctrl_data_shadow, R_PAR0_CTRL_DATA, seli,
             (control & PARPORT_CONTROL_SELECT) > 0);

@@ -223,7 +223,7 @@
                ret |= PARPORT_CONTROL_STROBE;
        if (IO_EXTRACT(R_PAR0_CTRL_DATA, autofd, info->reg_ctrl_data_shadow))
                ret |= PARPORT_CONTROL_AUTOFD;
-       if (IO_EXTRACT(R_PAR0_CTRL_DATA, init, info->reg_ctrl_data_shadow))
+       if (!IO_EXTRACT(R_PAR0_CTRL_DATA, init, info->reg_ctrl_data_shadow))
                ret |= PARPORT_CONTROL_INIT;
        if (IO_EXTRACT(R_PAR0_CTRL_DATA, seli, info->reg_ctrl_data_shadow))
                ret |= PARPORT_CONTROL_SELECT;
@@ -258,7 +258,7 @@
                ret |= PARPORT_STATUS_ERROR;
        if (IO_EXTRACT(R_PAR0_STATUS_DATA, sel, *info->reg_status_data))
                ret |= PARPORT_STATUS_SELECT;
-       if (!IO_EXTRACT(R_PAR0_STATUS_DATA, perr, *info->reg_status_data))
+       if (IO_EXTRACT(R_PAR0_STATUS_DATA, perr, *info->reg_status_data))
                ret |= PARPORT_STATUS_PAPEROUT;
        if (IO_EXTRACT(R_PAR0_STATUS_DATA, ack, *info->reg_status_data))
                ret |= PARPORT_STATUS_ACK;

/Mikael
-----Original Message-----
From: owner-dev-etrax@xxxxxxx.com
To: kim@xxxxxxx.au; dev-etrax
Sent: 2002-05-15 15:53
Subject: Re: Parallel portprinting problem

>  Parallel port printing now WORKS on EXTRAX Developer 100LX.
>  I have found the problems with the AXIS drivers and fixed them.
>  My printers no longer hang on boot


I'm very curious about your patch, will eventially need it too. Could 
you please send us some info?

bye
/Ronny