On Thu, Nov 15, 2007 at 01:10:16PM -0800, Lucy McCoy wrote: Hi Lucy, > I'm not familiar with the termios stuff on Linux so can you take a look > at the following modified code to see if this solves your NULL ptr problem? will test the patch tomorrow and get back to you with results. > Does cflag need to be set to anything other than CS8? i'm not that familiar with serial port settings either, but IIRC the cflag is used to set the requested byte size of the transferred chars (cf http://en.wikipedia.org/wiki/Serial_port#Data_Bits). Thus, according to the above CS8 is used for setting up transfer of any kind of data over the serial connection.
> Is keyspan_open_port() always followed by a keyspan_set_termios()? err, you mean keyspan_open() ... ..and yes, almost all of the usb to serial converter drivers call their own *_set_termios-routine so that they could "synchronize" the line discipline user settings with those of the converter. -- Regards/Gruß, Boris. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/