Received: by 2002:ac0:950e:0:0:0:0:0 with SMTP id f14csp163042imc; Fri, 15 Mar 2019 20:27:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqx9MyfqgrGeVj9881mAT6lqkYFHiWkWsf90TV1UzN3/wR/Zccrtoxva3aKq5zHmGF4XW3bB X-Received: by 2002:a17:902:1aa:: with SMTP id b39mr7799921plb.317.1552706860872; Fri, 15 Mar 2019 20:27:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552706860; cv=none; d=google.com; s=arc-20160816; b=cN+A9gvPU8K56AacNNSuhXYL9FyvoUn+pP5tGjrYKKjiy4Ppc7IjWxYHiogliWX86S achectPFdI3WfxpB2jntSkJxtjGKJ4TQhmz2kG4ue8rmc4jOGqh/14uUwAdIE2tWfoAs 7He9ED4WbEzSeLWbZJGePvpkPm6ywdxhy1tVsbmSe1I7mRIZyattd4sqOKczMdXR8uMl 4M2Au99BKaGR6IVaSw+LNSGlwJWgLwJP/2I2ijkoi+JErWa10oIBH6kACIph7bg9/Xc7 t9CxMabgirY7zrnLLbBn0v5xNs+LENYZqxRqf2SjXKMvQgJDp92n+738m0ohN287v3yd +fFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=RHDkIgQfiRR7EJCgOTH+RZ2aZAJRdQGi8MeGZiN/Fig=; b=B5m5Xm7Azz35q4M3h94CGclEN4QZX0fxgImcAIpTn+Qw101Ees017fV7AVQIXpHr3O 0Z+Cu+XoYtfhAI9yEyW+JLy3ZaXP4otZ1lgbE/EAXNAurSzpxqGsBDtLkl6A1CTsoAfO I8agRI3OR7JyjCynMwg1ejh7SdD4H9ty+h7iK8J1f0fyw3APIWsFSsHkFGqjSeTG5rQL FWctDBp+O8YEIXG6tP6EXyLzJH0CovSDPMpJo+JDXEhpv/sqQDuy+7A30+TGzMlCVwW3 KANPDo5WIMtKPd4MFD74MnQqaY8e3dd5VADcphyK1Q/ctcT8O6Qlluy6/lBlvK4+NB5o hPyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=PdMUkM4q; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p5si3304667plo.36.2019.03.15.20.27.25; Fri, 15 Mar 2019 20:27:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=PdMUkM4q; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726620AbfCPD0l (ORCPT + 99 others); Fri, 15 Mar 2019 23:26:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:35190 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726479AbfCPD0l (ORCPT ); Fri, 15 Mar 2019 23:26:41 -0400 Received: from localhost (unknown [104.153.224.167]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id F3B2221872; Sat, 16 Mar 2019 03:26:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1552706800; bh=vcPbxEEyBQ+XwDpCFMpuUDkKFHHj0dFnmtzNBgEksKI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PdMUkM4qi3tR/Oa/oKAmyhq86vFXnCl99BhmoZZ8eY9gfKvFinEpn7Dy7ou6D9z0d IW+0kEMTshBf2ZkvXzvfIbWrmj1J1H4ZLsyU29EgoCK/x+dqGcGJpNWDsOR0ZqOKEj mqzxRdYoJvNauYjdWrM+9UjFTWzkGauvmjK5Jwss= Date: Fri, 15 Mar 2019 20:18:31 -0700 From: Greg Kroah-Hartman To: Okash Khawaja Cc: speakup@linux-speakup.org, devel@driverdev.osuosl.org, Samuel Thibault , William Hubbs , Christopher Brannon , Kirk Reiser , linux-kernel@vger.kernel.org Subject: Re: Staging status of speakup Message-ID: <20190316031831.GA2499@kroah.com> References: <20190315130035.6a8f16e9@narunkot> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190315130035.6a8f16e9@narunkot> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 15, 2019 at 01:01:27PM +0000, Okash Khawaja wrote: > Hi, > > We have made progress on the items in TODO file of speakup driver in > staging directory and wanted to get some clarity on the remaining > items. Below is a summary of status of each item along with the quotes > from TODO file. > > 1. "The first issue has to do with the way speakup communicates > with serial ports. Currently, we communicate directly with the hardware > ports. This however conflicts with the standard serial port drivers, > which poses various problems. This is also not working for modern > hardware such as PCI-based serial ports. Also, there is not a way we > can communicate with USB devices. The current serial port handling > code is in serialio.c in this directory." > > Drivers for all external synths now use TTY to communcate with the > devices. Only ones still using direct communication with hardware ports > are internal synths: acntpc, decpc, dtlk and keypc. These are typically > ISA cards and generally hardware which is difficult to make work. We > can leave these in staging. Ok, that's fine. > 2. "Some places are currently using in_atomic() because speakup > functions are called in various contexts, and a couple of things can't > happen in these cases. Pushing work to some worker thread would > probably help, as was already done for the serial port driving part." > > There aren't any uses of in_atomic anymore. Commit d7500135802c > "Staging: speakup: Move pasting into a work item" was the last one that > removed such uses. Great, let's remove that todo item then. > 3. "There is a duplication of the selection functions in selections.c. > These functions should get exported from drivers/char/selection.c > (clear_selection notably) and used from there instead." > > This is yet to be done. I guess drivers/char/selection.c is now under > drivers/tty/vt/selection.c. Yes, someone should update the todo item :) > 4. "The kobjects may have to move to a more proper place in /sys.The > discussion on lkml resulted to putting speech synthesizers in the > "speech" class, and the speakup screen reader itself > into /sys/class/vtconsole/vtcon0/speakup, the nasty path being handled > by userland tools." > > Although this makes logical sense, the change will mean changing > interface with userspace and hence the user space tools. I tried to > search the lkml discussion but couldn't find it. It will be good to > know your thoughts on this. I don't remember, sorry. I can review the kobject/sysfs usage if you think it is "good enough" now and see if I find anything objectionable. > Finally there is an issue where text in output buffer sometimes gets > garbled on SMP systems, but we can continue working on it after the > driver is moved out of staging, if that's okay. Basically we need a > reproducer of this issue. > > In addition to above, there are likely code style issues which will > need to be fixed. > > We are very keen to get speakup out of staging both, for settling the > driver but also for getting included in distros which build only the > mainline drivers. That's great, I am glad to see this happen. How about work on the selection thing and then I can review the kobject stuff in a few weeks, and then we can start moving things for 5.2? thanks, greg k-h