From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by befuddled.reisers.ca (Postfix, from userid 65534) id 7844B1F039D; Mon, 13 Mar 2017 18:09:29 -0400 (EDT) Received: from mail-wm0-x243.google.com (mail-wm0-x243.google.com [IPv6:2a00:1450:400c:c09::243]) by befuddled.reisers.ca (Postfix) with ESMTPS id 58CFF1F0357 for ; Mon, 13 Mar 2017 18:09:27 -0400 (EDT) Received: by mail-wm0-x243.google.com with SMTP id n11so12102424wma.0 for ; Mon, 13 Mar 2017 15:09:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:user-agent:date:from:to:cc:subject; bh=fmmV921ntJFgtpT4uFfFIm5rt5Pes/W6mpbeElIeGDY=; b=Wi8JzBEJAAbLhDTB50bpfogEoCikQXldm5atrnTVDdSSMws/5EUzk89Lol3+rIeK7u UL14VcPrbRyjIY45EuhcCuLllNLAQVdfbasbuvov4E+pyOpVlfWQwhXd95r2+K1CV0mE OXiJuDbL8uTVoa3aoyqguycu+WpfLPRabvCaRXurcehRRMelSFypqGCYuPmPoDjpcmj8 TxHmoO/iKapJQsdKAHs/OoRMTdHutz5OXBDHzkpzVRhk32S0A8ZC2qmz4iswFt28uPyi SaIGof6rNiL/b9wVBC5gU6/6n/aweShRri05kTl/dd7Xvi5d6vMC7wm/k+vMul4ClnPW fIHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:user-agent:date:from:to:cc:subject; bh=fmmV921ntJFgtpT4uFfFIm5rt5Pes/W6mpbeElIeGDY=; b=PWogYIAiWJOnDs/ZXByrpjQhy7qsGr4UE8MvTvBz1Fgu3d6RIJZUNadrCUDuW+0zul rXSOs3Qzt+yINCYcFZUWQte+VZDEK1oAyaLK424oYD3/NAudRUGaQcE6/AJCHqwPS8S6 couu0KqW9/2wxLq31lSsD/4OrLfzjKDlt5BV+AaZjO95gdctullHuLXaJBkCKfnhE1Ap Tf5zssffH46lTTxAchy9nMCrW/9nH40frXb8Fo3FH5COmrK7f7oe2Utxw9g0KJ5GWoWK PkkT3QpkfrlKbb5otNbDMzYJttw3qtTL+9ISYkrtbZO35i+bXxWDdsTGQJZXQhtvXK8K 5nrQ== X-Gm-Message-State: AFeK/H2G7lAWwaQYlSMvSFZQFPLiz6XVsBV2yasbquql5sOwoxR1PoVnM3p/jT5WOs+1xg== X-Received: by 10.28.20.70 with SMTP id 67mr12751687wmu.86.1489442966325; Mon, 13 Mar 2017 15:09:26 -0700 (PDT) Received: from sanghar ([2a02:8011:4009:2:6e2f:2cff:fe3b:a5ff]) by smtp.gmail.com with ESMTPSA id b58sm26671626wra.47.2017.03.13.15.09.25 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 13 Mar 2017 15:09:25 -0700 (PDT) Message-Id: <20170313220551.312820470@gmail.com> User-Agent: quilt/0.63-1 Date: Mon, 13 Mar 2017 22:05:51 +0000 From: okash.khawaja@gmail.com To: Greg Kroah-Hartman , Jiri Slaby , Samuel Thibault , linux-kernel@vger.kernel.org Cc: William Hubbs , Chris Brannon , Kirk Reiser , speakup@linux-speakup.org, devel@driverdev.osuosl.org Subject: [patch 0/7] staging: speakup: introduce tty-based comms 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: Mon, 13 Mar 2017 22:09:29 -0000 Hi, This patchset introduces a TTY-based way for the synths to communicate with devices as an alternate for direct serial comms used by the synths at the moment. It then migrates some of the synths to the TTY-based comms. Synths migrated in this patchset are dummy, acntsa, bns and txprt. As such, this series is meant to start a discussion on the changes in the first patch: "tty_port: allow a port to be opened with a tty that has no file handle". This allows speakup to access tty port early on during boot, making it possible to start emiting messages as early as possible. This is demonstrated in patch 6, where it calls tty_open_by_driver, passing in NULL for inode and filp params. To wrap up, here is a summary of the patches that follow. Patch 1 enables kernel access to TTY device. Patches 2 - 5 prepare the code to accomodate TTY-based comms as an alternate to raw serial I/O for outputting data to external device. Patch 6 builds upon the changes made in patch 1 and utilises TTY-subsystem to communicate with external device - currently just over ttyS* but with plans to expand it to other TTY devices soon. Finally, patch 7 does actual migration of some of the simple synths from raw serial comms to TTY. Okash