From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by befuddled.reisers.ca (Postfix, from userid 65534) id 5C0A11F0A9F; Wed, 7 Jun 2017 09:40:20 -0400 (EDT) Received: from mail-wm0-x244.google.com (mail-wm0-x244.google.com [IPv6:2a00:1450:400c:c09::244]) by befuddled.reisers.ca (Postfix) with ESMTPS id 145AC1F0A7C for ; Wed, 7 Jun 2017 09:40:18 -0400 (EDT) Received: by mail-wm0-x244.google.com with SMTP id k15so2641296wmh.3 for ; Wed, 07 Jun 2017 06:40:18 -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:references:mime-version :content-disposition:in-reply-to:user-agent; bh=1CQKva9FhXWT1FG5vjgqoNBciRfcL+lBF8KsIGEUPxw=; b=Fllkq09MO/xPKykVXNXsKiIaheRGh+Q4QtbMDEDlebVe0oXYC3jOrardjhI7jhse0w VLlorZofxjqL1+8wOZRUXbdznt5Lhu793qsnPr+LqzNYYyK5r/vf3TsKsMcpkjZcrKXC pdTGZKPJJiVEj78ees8pAvLG+88AVNORFJ36DwE+rpSKKDtRwhFNhAUkX7lLQDrVQpfx WCjXU0e1ZV3DJnSpacd9j+9yC60fqKLahiJdcg58PvcEo6yaxP3lSQ3f1pN5zG3w4Q/z KH2Xsl/tXmG+BuZuP1AySfD3ArNv6fTIkm0drNixFj8h5dXoKXpo5gXpDa/S5npOtHpC c5Jg== 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:references :mime-version:content-disposition:in-reply-to:user-agent; bh=1CQKva9FhXWT1FG5vjgqoNBciRfcL+lBF8KsIGEUPxw=; b=A3TiLDncnxl6HhG3C9fPOLEbZEYD4Ym1gwmANqh/caLzrjqAwz9uv2zWd8P5QAvmOF 9CSiwuwsiIrWUWKY3l6LSbGVvOT4tlj0xJ7IeSPhAUwyUgb+TNF/aNrbSZ6g189u9cO9 P1SeZ3dDNxp2zZi+fAqUNpiUKB96SqH+OwLUSl21oUR5F1klvScfNqfJGfUYsIOlnzQ8 nzR6dQf/JB5lhocPogWTTrKeZ6V2avVsWkcPE6sPBhzgkhZvObICoZdSqvaoe4TnoLRE YksX0iZdp7wmUcjpfHl9zkbC6gETFlB/xG0EdRxOtl/GqKuNwhgWoNJFu1XQhZA9or/M LQUA== X-Gm-Message-State: AODbwcCw0dN/bG1+DJrzdLXZdqMgmUTIGTAbQwsx7k0ftNztat1bRnDX cU4tB8NVzhFB/LCwDmc= X-Received: by 10.28.26.18 with SMTP id a18mr2256112wma.34.1496842816543; Wed, 07 Jun 2017 06:40:16 -0700 (PDT) Received: from sanghar (94.197.120.35.threembb.co.uk. [94.197.120.35]) by smtp.gmail.com with ESMTPSA id y41sm1710239wrd.59.2017.06.07.06.40.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 07 Jun 2017 06:40:15 -0700 (PDT) Date: Wed, 7 Jun 2017 14:40:12 +0100 From: Okash Khawaja To: "Speakup is a screen review system for Linux." Cc: Gregory Nowak , Samuel Thibault Subject: Re: supporting more than ttyS* Message-ID: <20170607134012.GA2444@sanghar> References: <20170602233159.GA13309@gregn.net> <20170602235657.hp5ta2g6jvrsijle@var.youpi.perso.aquilenet.fr> <20170603004451.GA24509@gregn.net> <20170603123241.dvmmhbdq2cwz7nnl@var.youpi.perso.aquilenet.fr> <20170604062241.GD4605@qlf.suddenlink.net> <20170604083717.nrmaztqgzym2rxos@var.youpi.perso.aquilenet.fr> <20170604224730.GA22575@gregn.net> <45AB8D04-640E-418B-B002-4B232F118A4D@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45AB8D04-640E-418B-B002-4B232F118A4D@gmail.com> User-Agent: Mutt/1.8.2 (2017-04-18) 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, 07 Jun 2017 13:40:20 -0000 On Mon, Jun 05, 2017 at 06:11:13AM +0100, Okash Khawaja wrote: > > > > On 4 Jun 2017, at 23:47, Gregory Nowak wrote: > > > >> On Sun, Jun 04, 2017 at 10:37:17AM +0200, Samuel Thibault wrote: > >> Tom Fowle, on sam. 03 juin 2017 23:22:41 -0700, wrote: > >>> Since many parallel ports are not bidirectional, it might be hard or > >>> impossible to support indexing on a parallel port. > >> > >> Yes. > > > > That did occur to me as well. The blazer manual doesn't mention > > anywhere that a ieee1284 cable is required. I have in fact used it > > under a windows screen reader using a standard non-bidirectional cable > > without issues. If a synthesizer supports indexing, would speakup > > enable it when using a serial port, and disable it when using a > > parallel port, > Yes, that should be possible. Haven't looked at code but can't see why we can't disable it on parallel port. > > On a general note, I don't know much about parallel port programming yet, so there still might be issues unaddressed in the first pass. Of course we can come back to them in subsequent patches. Indexing on /dev/lp* can be disabled by returning 0 from synth_supports_indexing function in synth.c, whenever the device is lp*. However, there are other places where input is also used. Ideally we would disable all such functionality for lp*. Some synths also toggle serial control lines which I am not sure will be possible or supported by default in lp. Will have to look into this. So I suggest, for the first pass we limit lp support to bns, acntsa, dummy and txprt. Then we expand it to other synths based on their functionality, e.g. on ltlk we disable indexing and interrogating to print ROM version. Let me know if that's okay. Thanks, Okash