From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by befuddled.reisers.ca (Postfix, from userid 65534) id 554A61EFEC6; Wed, 16 Nov 2016 00:32:14 -0500 (EST) Received: from mail-wm0-x235.google.com (mail-wm0-x235.google.com [IPv6:2a00:1450:400c:c09::235]) by befuddled.reisers.ca (Postfix) with ESMTPS id E61321EFEBF for ; Wed, 16 Nov 2016 00:32:11 -0500 (EST) Received: by mail-wm0-x235.google.com with SMTP id t79so47352196wmt.0 for ; Tue, 15 Nov 2016 21:32:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Wtz/oxvxDXA0JiJLAoDzyyC7RftdfQ9mSO8qZfCqbtU=; b=OdtCUodIRjvnPfr28OIgofYDCT30EKLYuFoUnFHQ1XTI91wzQjvZNHkKa3rkzrMZlz XPabGkVTmPINUoIxKMewab9zH5hjcgK08le7V/iqa+prj121XQO2iP7liSRAELQNYjIv Zt5vbCj/CDLZWmCpbpU0Q3SKnanAx9lbHsVgvBjUfxj9b2dfGzwJ/PzfWn9B4MzOBzS+ yvvqwCOtwBcKzcHv3Quc6WmomtXbVKRVM7a5Mczf6YWQ5KFNOO4uqONagkZEW3XsrhZc P6UbjkEnyKoTOPOqJvWAGt4kwr2LNdpBpZ5Nk/XhUiTrj/aZcip89s7OV+7jw1TOSMLR n+0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Wtz/oxvxDXA0JiJLAoDzyyC7RftdfQ9mSO8qZfCqbtU=; b=cHNW82cbN6V0WjiLKkPKWMuz3QasxI9ykThHYFmOTvnMzMztNK3oljNw6RuyWrasfS Qga6uuLcjG6urOWBf77IFSrD57ji+YeB4DiwFi5OM2NdkN0Dv9Qks4hvIJFUjXuK1lRg GB47f+pJQyPxaQwZ2vI30/4W3ni75OnOsKGAnjazvMYTg9DUKUKMVwVmuAF1xEVWv8hm jBjysuh4pv14etzw5kbdCJa4mQBoqA/AT3vjIUr1140LdJWS8qCPma28KtLE2ci6It+q wbxleDly2ogtTLRAur6cvGpsWtCKq90j2gWggTTBaj9aHljAEz1ej4RDUwa3LUJgycHk Iabw== X-Gm-Message-State: ABUngvfkwUuH1PAj6wL6zWKNplwhn916m/HFVyOrA6gdivzf9GMeJomgMYxym6Wkd9YGGg== X-Received: by 10.28.131.72 with SMTP id f69mr6954988wmd.135.1479274330918; Tue, 15 Nov 2016 21:32:10 -0800 (PST) Received: from [192.168.0.3] (cpc91372-watf11-2-0-cust614.15-2.cable.virginm.net. [86.14.2.103]) by smtp.gmail.com with ESMTPSA id dj5sm5717504wjb.34.2016.11.15.21.32.09 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 15 Nov 2016 21:32:09 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: Status of kernel From: Okash Khawaja X-Mailer: iPhone Mail (11A501) In-Reply-To: <20161115184710.GI2448@var.home> Date: Wed, 16 Nov 2016 05:32:09 +0000 Cc: John Covici , David Borowski , "Speakup is a screen review system for Linux." Content-Transfer-Encoding: quoted-printable Message-Id: <00FE2825-787C-4C43-B416-7C1EDD77EF1D@gmail.com> References: <20161115184710.GI2448@var.home> To: Samuel Thibault X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 X-BeenThere: speakup@linux-speakup.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Nov 2016 05:32:14 -0000 Thanks Samuel. That email thread is helpful too. Appreciate your patience.=20= > On 15 Nov 2016, at 18:47, Samuel Thibault w= rote: >=20 > Okash Khawaja, on Tue 15 Nov 2016 06:58:24 +0000, wrote: >> On Tue, Nov 15, 2016 at 6:36 AM, Samuel Thibault <[2] >> samuel.thibault@ens-lyon.org> wrote: >>> And how will /dev/ttyx be used? >>=20 >> It won't be used. As a line discipline speakup will plug higher in= the >> stack. >>=20 >> Could you explain this more? May be a concrete example? >> I mean is this something that a user space application will read from? >=20 > Normally what happens, for instance when running a serial mouse driver, > is that a userland program opens /dev/ttyS0, calls an ioctl to set the > N_MOUSE line discipline, and then leaves /dev/ttyS0 alone. All the work > is done by the line discipline, userland doesn't do any read/write on > the device. I.e. the line discipline catches the data before it reaches > userland. >=20 >> If so, what is the specific advantage of speakup being line >> discipline? >=20 > It's simply because that's the way things work for all other drivers > "over serial lines", like mice, joysticks ppp, gsm, etc. There is then > no risk for speakup to break at all, these have been working for decades > without a fuss. And they will work with anything that looks more or less > like a serial port, be it ISA, PCI, USB, bluetooth, irda, whatever. >=20 >> Please add any links/documentation that will help >> understand this. Thanks >=20 > Unfortunately line disciplines are a rather obscure area not many people > work on. >=20 > There is linux/Documentation/serial/tty.txt >=20 >>> Also is there a link to where you pasted your idea from? >>=20 >> I wrote it. >>=20 >> Of course. I mean a link to full discussion to get more context. >=20 > There is a thread starting here: >=20 > http://www.spinics.net/lists/linux-serial/msg21752.html >=20 > Samuel