Problem with serial.c introduced in 2.4.15

From: Christian Asam (Christian.Asam@chasam.de)
Date: Sun Mar 24 2002 - 12:21:38 EST


After having found out that a too old kernel caused my problem with
writing to slow devices I had the problem that my serial digitizer
(Genius using gpm/genitizer) didn't work with 2.4.18. I tracked it down
to a change made in 1.4.15:
drivers/char/serial.c:
#if 0 /*
         * !!! ignore all characters if CREAD is not set
         */
        if ((cflag & CREAD) == 0)
                info->ignore_status_mask |= UART_LSR_DR;
#endif

In 2.4.15 the #if 0 and #endif was removed and somehow that manages to
break gpm/genitizer. I then added the #if 0/#endif to "remove" that
statement in 2.4.18 and the tablet works with 2.4.18 too.

cu
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Mar 31 2002 - 22:00:08 EST