RE: [ patch 4/7] drivers/serial/jsm: new serial device driver
From: Kilau, Scott
Date: Tue Mar 08 2005 - 21:39:28 EST
> > If you were to open up the port with an "stty -a" to get the current
> > settings and signals, you would unintentionally raise RTS and DTR.
> Why not fix the driver to not change the current line settings if it
> not being opened for the first time? That seems like a much simpler
> to solve this, and probably the saner way, as you don't want any user
> be able to mess up your modem...
> greg k-h
Oh, when the port is already open, the driver correctly would not muck
I am talking about when the port is currently not open.
On first port open, DTR (and usually RTS) will always be raised.
The serial device would see this DTR raise, and under some
react to it...
We have customers that use *really* *really* old serial devices on
our products, (we are talking 110 baud and even 50 baud (!!!)),
where an unintentional raise of DTR/RTS will freak the device out.
At any rate, that's the reason I exported the values to sysfs in the
original "dgnc" (outside-the-kernel-sources) driver.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/