public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Linux 2.6.x - Serial port signalling not maintained when closing device
@ 2009-03-26  7:42 Paul Rolland
  2009-03-26  8:14 ` Alan Cox
  2009-03-26 15:57 ` Paul Fulghum
  0 siblings, 2 replies; 3+ messages in thread
From: Paul Rolland @ 2009-03-26  7:42 UTC (permalink / raw)
  To: linux-kernel; +Cc: rol

Hello,

I'm using small devices that are connected on the serial port, and powered
using RTS and DTR.
When using kernel 2.4.x (at least 2.4.31), I could easily control the
powering of the device using :
 stty -F /dev/ttyS0 ospeed 9600 (this would put RTS and DTR to 1 / power)
and
 stty -F /dev/ttyS0 ospeed 0 (this would turn it off).

I've recently updated one of the machine to a new 2.6.29 kernel, and this
is not working anymore.
As far as I can see, I need to have an application that keeps /dev/ttyS0
open for this to work. As soon as no application is using the port,
everything goes down again.

This is a significant change between 2.4.x and 2.6.x. Is there a way to
change 2.6.x behavior to go back to the 2.4.x ? When was this change
introduce ?

This serial port controler is a 16550A, the machine is an x86 platform, so
nothing unusual.

Best regards,
Paul

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-03-26 15:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-26  7:42 Linux 2.6.x - Serial port signalling not maintained when closing device Paul Rolland
2009-03-26  8:14 ` Alan Cox
2009-03-26 15:57 ` Paul Fulghum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox