From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by befuddled.reisers.ca (Postfix, from userid 65534) id 1CB441F06B4; Sat, 10 Jun 2017 07:33:05 -0400 (EDT) Received: from mail-wr0-x244.google.com (mail-wr0-x244.google.com [IPv6:2a00:1450:400c:c0c::244]) by befuddled.reisers.ca (Postfix) with ESMTPS id 976D31F0859 for ; Sat, 10 Jun 2017 07:29:33 -0400 (EDT) Received: by mail-wr0-x244.google.com with SMTP id v104so11814944wrb.0 for ; Sat, 10 Jun 2017 04:29:33 -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=6Usg1tjRY2gwL8+f2DJJTMCZmuXkWJvmt9S5pD9Fer4=; b=hQkOYG6h4itVFayN0Y9MmM6WjKsNm+wVqKay8Xt46NIfVD4CArQdF/oARqWdeRn0H0 BgXPX9UbTJfeSusqGMZ4Mzrcs6iM+JtHB3e62FBfWdSRWV4cst3WYvDGdYTYlhyUQRwi 4Jp6saEa+XdR09YBX1XM2Sfp+PEUGBJqwke3wyvs9kgJsalV8Cu/pJlubNRQnF9hgPFQ eV5iVAg/xCIb4WkO85MLGgTUtB6pfveoNeJtus6cJUxVXonhz1aRYenW6gOPlR1/hP+j lJIEL1Qm3f1n0peyb7+sF49tY5exBSIDjYckxrnCfEWnFXd7wVkD9d9Xi+7bJ8lTnH/G 9wjQ== 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=6Usg1tjRY2gwL8+f2DJJTMCZmuXkWJvmt9S5pD9Fer4=; b=ZjJcTh3jHOyVq6bW5AwmtWHKxr+yYk5yYwvOIgSCHOvH52fAkC0gli76yUUJq1hYbA F2fwjSLHQLfLhjb5EbNxxf18uGV1BiQ02PPhiAbZD+cSb8G0TO2cIR8wXggaIqvtUf6R 2DXV0lRfuUX4RR8WnBTUxQ3uoKaeaPgzOJwYfALNQrsUtFu6vXkIwh2CDQgyxa0Ypdq9 nJhDwzXtpqU8Hd6DaUNgikZcAUH9/ylJA4YMffcrPxhGpv8nzEhgi8UJ7PeBvvl2fZWB NsJwMCoWGgdbYlYrX3wCTCLhAe9xI9Cw1D8pXsv51xPO8+BKEezcg8GPe1W9ovQJjzH1 5ndA== X-Gm-Message-State: AKS2vOxoJ1qmWnGPZf5/ppXgIqGGWBB0gg79Z3kAIzcFe63BbdHHgZB1 mntWIk6g7tmkrUp9 X-Received: by 10.28.194.68 with SMTP id s65mr2664121wmf.121.1497094172459; Sat, 10 Jun 2017 04:29:32 -0700 (PDT) Received: from sanghar ([2a00:23c4:7320:5900:224:d6ff:fe76:7136]) by smtp.gmail.com with ESMTPSA id y17sm5305704wrb.39.2017.06.10.04.29.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 10 Jun 2017 04:29:31 -0700 (PDT) Date: Sat, 10 Jun 2017 12:29:29 +0100 From: Okash Khawaja To: speakup@linux-speakup.org Subject: Re: [patch 0/2] staging: speakup: support more than ttyS* Message-ID: <20170610112929.GA6104@sanghar> References: <20170610112410.419950247@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170610112410.419950247@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: Sat, 10 Jun 2017 11:33:05 -0000 On Sat, Jun 10, 2017 at 12:24:10PM +0100, Okash Khawaja wrote: > Hi, > > These patches extend speakup support to ttyS* and lp*. They introduce a > new module param dev whose purpose is similar to ser but instead of > taking serial port number as argument, it takes strings like ttyS0 or > ttyUSB0. First patch just adds functionality to convert such strings > into dev_t. Second patch makes use of that functionlity. I have updated the speakup-decext repo [1] to latest, including bns migration and support for more than ttyS*. Please do test with 'dev' module param. One thing I noticed in my testing is that when loading with incorrect 'dev' value several times in a row, it eventually succeeds in loading. That seems like an existing issue with synths[] array which caches already loaded synths. I am investigating it now. [1] https://github.com/bytefire/speakup-decext Cheers! Okash