Received: by 2002:ac0:a874:0:0:0:0:0 with SMTP id c49csp423599ima; Fri, 15 Mar 2019 06:02:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqxM9+YXVmXwQGRDh7pChpFVRAiGShS/8OQ1h+QXOVtEzO1HuD6xyYHzaDXxYKHyIuwRqzpc X-Received: by 2002:a65:5281:: with SMTP id y1mr3405642pgp.59.1552654946794; Fri, 15 Mar 2019 06:02:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552654946; cv=none; d=google.com; s=arc-20160816; b=NUrsHWNdmr/378ca78hbUQ/A0zqSC3mX1/9sEccTdoakakX3AXodWbFJtFLCbVlYBg bhPjuIguR6XVBVXWBjdjo1pL1St+xagnOS321ki7ceWf1lHgTK68HNV5T8vFlU/e3T8+ qcw2Rji3VqpM0tW6t5STgG4Rgy/GA/T3sv2xY3Bwt0irKEoTgwyDr6NSZuopP9Sgdf/1 mxFLH0UuwpGzspHHivoDQPvMWzUfDXPkEXjAsoIGmHuDRFCIyXAw7xPfRJAD9NUkzJu/ 1Su2Ouhuvrb0QVHV2w3MO7zfEIz0ClYxCL6OvP38K9bUSUyK9tYoERq+SIwfqWupsE9H bS1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=kVWux8sJUWjRuF5YPrNItUBODrbpzPljVS14p+7m8no=; b=y24c36ILkn09TOwR4/IO1s8p3wKq7B+C664ch5+Lx3Pda3IpMSLdchaTQ/EXJDr9ai wGrwolqYjPw3PKIYE0OCwZz+UphUMqzVFJSOIOxBggA6G0YQiDva2SO8yWhvBbvKv3Wq 4NOVr5B/6zHSZgIHrqFsxPrlXLwSzZqXwKAeUVUmV9fz82KvBIdvATV3DrE/yNVe5PKg 9e9ygYnBOgH3/UmOVlRbtYNL6KBdExqT/gS0cypw3Ma15k5K65ffo+GBYOH9zWlNIOYB P3U5b2PXMRfQhuOO+xJWqBvzhklJEoLsuW8Sie0cTbXZHjcBME6kyeo+4AvWrQcaWRBp aOIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=D6Ez6aOF; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v9si1803262plg.187.2019.03.15.06.02.10; Fri, 15 Mar 2019 06:02:26 -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=@gmail.com header.s=20161025 header.b=D6Ez6aOF; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729017AbfCONBc (ORCPT + 99 others); Fri, 15 Mar 2019 09:01:32 -0400 Received: from mail-wm1-f49.google.com ([209.85.128.49]:50611 "EHLO mail-wm1-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726974AbfCONBc (ORCPT ); Fri, 15 Mar 2019 09:01:32 -0400 Received: by mail-wm1-f49.google.com with SMTP id x7so6436088wmj.0 for ; Fri, 15 Mar 2019 06:01:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version :content-transfer-encoding; bh=kVWux8sJUWjRuF5YPrNItUBODrbpzPljVS14p+7m8no=; b=D6Ez6aOFN2Hd6fSRdkgprENoeF98Gd6Bux6MrUrYjsQ7oeW1jSAHEkWo42f9mbJW2W EUTBoyR+iI/2poef59P5FU8uP5E14OBByf/fR6+wBxpt91fUYvC9isCD/wRsTO49ek5G s9uTWogqzS3KxQngM84twGE4lcK0Bgd6wdndeYU4jTQR5beSh3MfJYNBqaGa8jGy8rwC 5fp4gGqqpHnwgUwnE3BtQFSBaOj2FHh5NMGYjGx+gi3ONLYKpRksrX5Rrg83kvHnZ9+s Gv8Khau8pExgOi/AAvgbqEW19V4MTWzyMwGMUJk+yMo4IZDnI7zE6xlN1+MK2A1/YDM8 QLUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-transfer-encoding; bh=kVWux8sJUWjRuF5YPrNItUBODrbpzPljVS14p+7m8no=; b=bW+yliMwOmvVy3WQh0AaCNJKXnAjOrt5BkosR++oAHQjD6NnMS65hJAB4aqdTq+7b+ H12NtoI6C9f3rEMDWTbbKNpqrKQ0qLzrg0VALJAnaopr/G75mTYMcgqRQGcard3vnzst 6FJPr7nUXbumcPF9qTefK5SkwwcMj+6XAWyWv+dyvmzsM9nNkJtX9XPfnN9W0DwKvZaO r6Y2pq973aR7GwBwUhELcUfPwINkRx3ZySJQr4bBoVJiE4DBwyJptSktHtz9e6Wg/Cna eSFPaJP3JpzDx6/BWaxAxdt9RyqLrsAFLO4sxcHB9wU+ZWSbRi4riBlqO55GqCkTmMfr fl3Q== X-Gm-Message-State: APjAAAWysXS4fPL2vlOerTma4bFqO3O47qTG8KQnwP7iHKv4Lle0z7w2 JzrewrExj5zlw6lKkEtWVYA= X-Received: by 2002:a05:600c:246:: with SMTP id 6mr2148556wmj.150.1552654889818; Fri, 15 Mar 2019 06:01:29 -0700 (PDT) Received: from narunkot ([94.11.212.65]) by smtp.gmail.com with ESMTPSA id 132sm2780716wmd.30.2019.03.15.06.01.28 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 15 Mar 2019 06:01:29 -0700 (PDT) Date: Fri, 15 Mar 2019 13:01:27 +0000 From: Okash Khawaja To: "Greg Kroah-Hartman" , speakup@linux-speakup.org, devel@driverdev.osuosl.org Cc: "Samuel Thibault" , "William Hubbs" , "Christopher Brannon" , "Kirk Reiser" , linux-kernel@vger.kernel.org Subject: Staging status of speakup Message-ID: <20190315130035.6a8f16e9@narunkot> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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. 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. 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. 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. Thank you, Okash