Re: 2.6.25.3: serial problem (minicom)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: R.L. Horn
Date: Thursday, June 19, 2008 - 1:20 am

On Wed, 18 Jun 2008, Alan Cox wrote:


I vote for nipping it in the bud ASAP.  There are currently eight stable 
kernel versions that exhibit this bug (which I believe is fairly serious, 
in breadth, if not depth), and it already has Adam Lackorzynski and me 
scratching our heads trying to figure out what, if anything, to do with 
minicom to accomodate it.

I would suggest one change to the 26-rc version.  Rather than bypassing 
tty_termios_encode_baud_rate() entirely in the B0 case, why not do 
something like:

     if (tty_termios_baud_rate(termios))
         tty_termios_encode_baud_rate(termios, baud, baud);
     else
         tty_termios_encode_baud_rate(termios, 0, 0);

to ensure that c_ispeed and c_ospeed are set (just for the sake of 
consistency)?
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: 2.6.25.3: serial problem (minicom), R.L. Horn, (Fri Jun 13, 2:36 pm)
Re: 2.6.25.3: serial problem (minicom), Alan Cox, (Sat Jun 14, 2:29 am)
Re: 2.6.25.3: serial problem (minicom), R.L. Horn, (Sun Jun 15, 12:04 am)
Re: 2.6.25.3: serial problem (minicom), Alan Cox, (Mon Jun 16, 3:13 am)
Re: 2.6.25.3: serial problem (minicom), R.L. Horn, (Mon Jun 16, 9:22 pm)
Re: 2.6.25.3: serial problem (minicom), Alan Cox, (Tue Jun 17, 1:58 am)
Re: 2.6.25.3: serial problem (minicom), R.L. Horn, (Tue Jun 17, 3:50 am)
Re: 2.6.25.3: serial problem (minicom), R.L. Horn, (Tue Jun 17, 4:03 am)
Re: 2.6.25.3: serial problem (minicom), Hans-Peter Jansen, (Tue Jun 17, 5:15 pm)
Re: 2.6.25.3: serial problem (minicom), Alan Cox, (Wed Jun 18, 10:55 am)
Re: 2.6.25.3: serial problem (minicom), Olivier Galibert, (Wed Jun 18, 1:07 pm)
Re: 2.6.25.3: serial problem (minicom), R.L. Horn, (Thu Jun 19, 1:20 am)
Re: 2.6.25.3: serial problem (minicom), Hans-Peter Jansen, (Thu Jun 19, 4:46 pm)
Re: 2.6.25.3: serial problem (minicom), R.L. Horn, (Fri Jun 20, 4:22 am)