From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by befuddled.reisers.ca (Postfix, from userid 65534) id 10F281F0723; Fri, 21 Apr 2017 15:34:31 -0400 (EDT) Received: from vserver.gregn.net (vserver.gregn.net [IPv6:2607:f2f8:a260::2]) by befuddled.reisers.ca (Postfix) with ESMTPS id 44B8A1F0474 for ; Fri, 21 Apr 2017 15:34:28 -0400 (EDT) Received: from vbox.gregn.net (unknown [IPv6:2001:470:d:6c5:58b1:c33f:4a7d:2ecd]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by vserver.gregn.net (Postfix) with ESMTPSA id CF0673FB7 for ; Fri, 21 Apr 2017 12:34:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gregn.net; s=default; t=1492803266; bh=RY2p9DSCgg/a1Qk4Jybh/UC//8dTLak8Fkl68IcjqhQ=; h=Date:From:To:Subject:References:In-Reply-To:From; b=FaICNtCev5ui8cBKkJZ3DHMolyJEf5msrzu6S0mZa0s8HwOh4xIfs8yFuD5zWbHat AjGtQGNZDGY5mZHTQZNejrdy3oix/7AC9UO4TL9JPMCrr0VxrOFzYQuSYH1e57Qgnv 1IEUxNYTmiJcz44BGbSP7OFwD8Iu4SYD3qgzEDQyj9NgYhSxFQpXEuygvBZpeIdhpS tlVsVOKge44kkwi57nvbhnjlyPC1FPElfvYKwwBsCH0iPHQTBFuz3ENu/2822hkNAB oiYIbg9TRGhbp9ibsf5zZ2pNtr2IrDnZm73ZQAUI0jJb/M2GlT1RaPmbhSyJL/t58B 0bqHE9haSvc2Q== Received: from greg by vbox.gregn.net with local (Exim 4.80) (envelope-from ) id 1d1eJx-00058R-Qn for speakup@linux-speakup.org; Fri, 21 Apr 2017 12:34:21 -0700 Date: Fri, 21 Apr 2017 12:34:21 -0700 From: Gregory Nowak To: "Speakup is a screen review system for Linux." Subject: Re: DecTalk External (decext) testers wanted! Message-ID: <20170421193421.GA9243@gregn.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-PGP-Key: http://www.gregn.net/pubkey.asc User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.99.2 at vserver X-Virus-Status: Clean 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: Fri, 21 Apr 2017 19:34:31 -0000 Okash and list, I have one good news, and two bad news. I'll start with the good news first. Again, I have a bns connected to ttyS0, and it works! I tested only for about five minutes or so, but reading the full screen, screen review, changing volume, pitch, and rate all work as expected. Now for the first bad news. I have a usb to serial converter which uses the belkin_sa module, and shows up as ttyUSB0. The machine I'm testing on has two on board serial ports ttyS0, and ttyS1. It has no other modems, or serial boards. I connected my bns to the usb to serial converter. I first assumed that since the machine has two serial ports, the usb to serial converter would be passed as ser=2. When I did that I got no speech from the bns. I saw in dmesg that the speakup_bns module loaded, and the last line was "synth probe." I then thought that maybe 0-3 was reserved for standard serial ports, and I tried passing ser=4 to the speakup_bns module. I don't know what dmesg shows or doesn't show, because my system locks up about 30 seconds after I load the module, forcing me to do a reset. Doing dmesg >dmesg during that 30 second window results in an empty file called dmesg once I boot back up. This begs two questions. First, does ser=x where x is an integer still hold for usb to serial converters? Second, on a machine with two on board standard serial ports ttyS0 and ttyS1, assuming ser=x still holds true, would a usb to serial converter be ser=3 after the two standard ports, or ser=4 as the first non-standard port, or something else? It's worth noting the results of a couple of tests I think. With the speakup_bns modules *not* loaded, at the shell prompt, I do: echo "hello" >/dev/ttyS0 with the bns connected to ttyS0, and the bns says "hello" as expected. If I connect the bns to the usb to serial converter, and do: echo "hello" >/dev/ttyUSB0 at all possible baud rates on the bns from 150 to 38400, I get garbage from the bns. Unfortunately, setserial doesn't seem to know how to talk to the usb to serial converter uart, so I can't use it to change baud rates on the pc side. If I then use minicom with the bns connected to the usb to serial converter, and type hello in minicom, I do hear the bns speak "h e l l o" as I type it in minicom. I also use this usb to serial converter with brltty to drive an alva340 braille display with no problems. The second bad news is that I also tested with the speakup_dtlk module, and got no speech. The dmesg output is: "[ 15.198916] speakup_dtlk: module is from the staging directory, the quality is unknown, you have been warned. [ 15.201084] synth probe [ 15.201092] Probing for DoubleTalk. [ 15.201098] DoubleTalk PC: not found [ 15.201102] dtlk: device probe failed" My dtlk is on the default 29e-29f i/o ports. The modinfo output is: "filename: /lib/modules/4.10.9/kernel/drivers/staging/speakup/speakup_dtlk.ko version: 2.10 license: GPL description: Speakup support for DoubleTalk PC synthesizers author: David Borowski author: Kirk Reiser srcversion: DAC7EC81AED58DF124C47E0 depends: speakup staging: Y vermagic: 4.10.9 SMP mod_unload modversions 686 parm: port:Set the port for the synthesizer (override probing). (int) parm: start:Start the synthesizer once it is loaded. (short)" Thanks. Greg On Thu, Apr 20, 2017 at 09:46:32AM +0100, Okash Khawaja wrote: > Greg, > > I've updated speakup2.tgz so that it contains bns migration also: > https://github.com/bytefire/speakup-decext/raw/master/speakup2.tgz > > Replace speakup directory under drivers/staging/ with the updated one > and run this from root of kernel source tree: make > M=drivers/staging/speakup clean && make M=drivers/staging/speakup > > I still need to update the patches I sent. > > Okash -- web site: http://www.gregn.net gpg public key: http://www.gregn.net/pubkey.asc skype: gregn1 (authorization required, add me to your contacts list first) If we haven't been in touch before, e-mail me before adding me to your contacts. -- Free domains: http://www.eu.org/ or mail dns-manager@EU.org