From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by befuddled.reisers.ca (Postfix, from userid 65534) id B2A771F0529; Mon, 24 Apr 2017 03:48:39 -0400 (EDT) Received: from mail-io0-x22a.google.com (mail-io0-x22a.google.com [IPv6:2607:f8b0:4001:c06::22a]) by befuddled.reisers.ca (Postfix) with ESMTPS id 799E11F050F for ; Mon, 24 Apr 2017 03:48:37 -0400 (EDT) Received: by mail-io0-x22a.google.com with SMTP id k87so183851265ioi.0 for ; Mon, 24 Apr 2017 00:48:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=ZEkERb3S/WocfufyFQcUWxBZFhWf1CsxlgDiHuopldI=; b=k6eDGgX2CJ+vlL71ob+QCTeVLGCkC9hB2gwSLhlknAHFiGHbfNLWauTCz4DRa/1PR3 JVlko1iOONgyvyXd+Oh8v/tQbMWCdqszv9s/r8aV//l0oXCKnTV8pOEz3DjuXmJePnSn vGJ8QLnXLM7vdtmskcjBDKain95A2sUpt5KBb6zbompJynaeGhSJsJ1kjw7wfAwpJmEA xb80u/qdWh36N5GdKKtvyiMWNP2jEAYIZ6igX12JXcHnHYP/a7xVuZd6qNNAG1NtDFya jsq8UwiIGIjoQP8e1hYBBq0pbnQN//C3TjF0Cq+ezwaDHbj/toBsUiQTObMgCJzcd220 n3Ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=ZEkERb3S/WocfufyFQcUWxBZFhWf1CsxlgDiHuopldI=; b=XGRZJr4FsnQogL5gyFSZYL5DQrakXCoyOETEmAqCGx4He1fDoJerIaxsonC9lkicL1 ZX530gcc8GbeoNgnnlYOFCZuOy3syl0ANzQjgKZofPS29JFIZ8ghDtMpfoY4jvlNHMJX HH++wYlhCJxV9JhsAhhn0vScelkgZodYJVNeU3oxbyJcKk4MxNoBfJDvHLTtamUyxBNq 2FFdKO5CU+HCcQiBI3GC+o7FPZkf/sIMivYrDyKZb72t2mWpTTA2Zph9BcNnsV5caihM uxHU2Ja77Q+RjJ/HGSgr47D4J/r11lncMwGAAcvT+ICWU6dn/amCy2yZVtstqNK3yJWd 6h2w== X-Gm-Message-State: AN3rC/4I2RnWJ1xpZyTCBlAqY+aPgbrtufIVjeQV7SrJZEUwGAJroHhK BTlMdK5ykmrNUfLHYk23jE5Y5FSt2w== X-Received: by 10.107.9.73 with SMTP id j70mr6156007ioi.211.1493020102497; Mon, 24 Apr 2017 00:48:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.65.130 with HTTP; Mon, 24 Apr 2017 00:48:21 -0700 (PDT) In-Reply-To: <20170424034857.GA12972@gregn.net> References: <20170421193421.GA9243@gregn.net> <20170422073828.GB1023@sanghar> <20170424034857.GA12972@gregn.net> From: Okash Khawaja Date: Mon, 24 Apr 2017 08:48:21 +0100 Message-ID: Subject: Re: DecTalk External (decext) testers wanted! To: "Speakup is a screen review system for Linux." Content-Type: text/plain; charset=UTF-8 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, 24 Apr 2017 07:48:39 -0000 Hi all and Greg, That's good news! Regarding ttyS0 and ttyUSB0 lockup, they are held by speakup.ko. Synth specific modules only use them. So unloading speakup.ko should free those. Like I mentioned in another thread, I tested Apollo that Keith sent me, and that works fine. DoubleTalk was also looking good. So overall this change taking good shape :) We _do_ need to test DECEXT though, in order to upstream the changes. That and serdev are the only two things outstanding now. Okash On Mon, Apr 24, 2017 at 4:48 AM, Gregory Nowak wrote: > Hi Okash and list, > I again have good news, and bad news. The good news is that after > making the changes Okash described in spk_ttyio.c and recompiling the > speakup modules, the bns driver works over ttyUSB0! Very awesome! I > remember wanting this when I got my first machine without an on board > serial port in 2000. I also used the driver a lot more extensively > over ttyS0 and over ttyUSB0, and still didn't notice issues. > > Now, for the bad news. The speakup_bns driver isn't releasing the > serial port. This is true for both ttyS0 and ttyUSB0. When I unload > speakup_bns, and attempt to use minicom over either port, I see this > in dmesg: > > "[ 109.515946] ttyS ttyS0: tty_open: tty->count(2) != #fd's(1) > [ 110.517304] ttyS ttyS0: tty_release: tty->count(2) != #fd's(1) > [ 110.517400] ttyS ttyS0: tty_open: tty->count(2) != #fd's(1) > [ 111.518555] ttyS ttyS0: tty_release: tty->count(2) != #fd's(1) > [ 111.518663] ttyS ttyS0: tty_open: tty->count(2) != #fd's(1) > [ 113.436335] ttyS ttyS0: tty_release: tty->count(2) != #fd's(1)" > > "[ 807.947758] ttyUSB ttyUSB0: tty_open: tty->count(3) != #fd's(1) > [ 808.152816] ttyUSB ttyUSB0: tty_release: tty->count(3) != #fd's(1) > [ 808.155764] ttyUSB ttyUSB0: tty_open: tty->count(3) != #fd's(1) > [ 808.520824] ttyUSB ttyUSB0: tty_release: tty->count(3) != #fd's(1) > [ 808.523768] ttyUSB ttyUSB0: tty_open: tty->count(3) != #fd's(1) > [ 810.947111] ttyUSB ttyUSB0: tty_release: tty->count(3) != #fd's(1)" > > If I modprobe speakup_bns again, I can use it just fine, unload, and > reload again without problems. I also found that after using > speakup_bns over the usb to serial converter and unloading the > speakup_bns module, I then can't unload the belkin_sa module, even > though I see no other modules using it from lsmod. I assume the same > holds true for the standard port modules, but didn't try unloading > them as well. When I unplug the usb to serial converter after using it > with speakup_bns, and unloading speakup_bns, and plug it back in, it > gets assigned /dev/ttyUSB1 instead of being assigned /dev/ttyUSB0 as > normally happens. > > Thanks again for your work. > > Greg > > > On Sat, Apr 22, 2017 at 08:38:28AM +0100, Okash Khawaja wrote: >> Hi Greg, >> >> Thanks for the tests, very helpful. Okay so it doesn't look too bad. >> > > > -- > 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 > _______________________________________________ > Speakup mailing list > Speakup@linux-speakup.org > http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup