[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4D2EC528.1020704@gmail.com>
Date: Thu, 13 Jan 2011 10:26:00 +0100
From: Jiri Slaby <jirislaby@...il.com>
To: deepak.kodihalli@...ia.com
CC: linux-kernel@...r.kernel.org
Subject: Re: Question about tty layer
On 01/13/2011 07:16 AM, deepak.kodihalli@...ia.com wrote:
> Does the tty layer buffer requests from the host if the tty has not been opened?
>
> Supposing I'm working with an interface on /dev/ttyGS1. If the user space has not opened this yet, but USB is connected, would this allow the host to send data packets to this interface? If yes, and if user space opens ttyGS1 at a later stage and say adds a GIO watch on it for POLLIN, would user space receive that pollin?
It depends on the driver and the device. Most of devices are off until
open is called in their driver. So no buffers are filling neither in
device, nor in the kernel.
regards,
--
js
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists