From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by befuddled.reisers.ca (Postfix, from userid 65534) id EADC91F0B63; Wed, 25 Jan 2017 00:40:25 -0500 (EST) Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) by befuddled.reisers.ca (Postfix) with ESMTPS id E41581F0B55 for ; Wed, 25 Jan 2017 00:40:23 -0500 (EST) Received: by mail-wm0-x242.google.com with SMTP id d140so40103360wmd.2 for ; Tue, 24 Jan 2017 21:40:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=PNCuLDfQ5zXH8BOQwEjiv1qpEAKbgsKrAzsFrNWUeUk=; b=h6YS1hlrQVL1TRpUHLjMD90Lvhv7SpHJ+2I9+kDmSRTtb2TeUCXJqNJbeTraqq5xhA 10qpWiidkxk05iUU6tX5QDTQp5+kKJL1OJqBy1kxQejcnwPan0ljF+Cmrbe6evQoUZbC qWdSPCUF+M/vZ7TSD1rOE2A44it5wsIHGtcG2c7KPzmrGG2XTL6DQd5jg+4tzFoxjJE2 Ofm6CIYpruZNqdToTt/DFSmd6WBej/IZT531XvEL3bIJm3Q+N7NMxRSQJmYqSRXe9zoY Idc9IepL23Khl7ps5QhhxExsEPEDGUBLKQ0Q5xFvlSeP+JLfp0xXdnOXsrSiNxEgrCyz xRiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=PNCuLDfQ5zXH8BOQwEjiv1qpEAKbgsKrAzsFrNWUeUk=; b=OMYWuXL6hlhPrLf0qlE9ReD5nB2kccg4qvEt1MOiYKZNmsnFJZ0YATT2Uj/VeQOF8I 0GIGeKBdMWx/HH5MC30+OBLfZQsRV4LBtsn6gZ7DC03nOVo/eB9n4R63RvhrrbkqpvcN 3FUNI6Xi8kqMjyt62jz8NZ1lTY/NL8jIHJAxBU0opF2nKWSCJCSOWSaWkjTk5JM7XfY+ fcMR42/+TNC1DoSaxNpoJnB/P8WHZ9qjZkcDhHe66PIbZg+VusibSt15Qej6p07v3fQW mlp6O3cvXM4yncoY2+nttUwQhyVC3Ve9cSIikosG7Jv0UnJB5CjwWSrUDmVnTRW5O21x jKEA== X-Gm-Message-State: AIkVDXLUQauz5dW81/uE2sUkoR2JSWf9eZC9T4MNlKXw0If+MUamzjVH8+CDM3y8nMRu/Q== X-Received: by 10.223.136.197 with SMTP id g5mr31264614wrg.56.1485322813009; Tue, 24 Jan 2017 21:40:13 -0800 (PST) Received: from [192.168.1.120] (cpc91372-watf11-2-0-cust614.15-2.cable.virginm.net. [86.14.2.103]) by smtp.gmail.com with ESMTPSA id g40sm23005579wrg.19.2017.01.24.21.40.11 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 24 Jan 2017 21:40:12 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: Line discipline From: Okash Khawaja X-Mailer: iPhone Mail (11A501) In-Reply-To: <20170125005103.GJ5417@var.home> Date: Wed, 25 Jan 2017 05:40:13 +0000 Cc: "Speakup is a screen review system for Linux." Content-Transfer-Encoding: quoted-printable Message-Id: <3138247D-23E4-4D86-B9B1-C78EC7BD3240@gmail.com> References: <20161220010836.GN2895@var.home> <20170125005103.GJ5417@var.home> To: Samuel Thibault 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, 25 Jan 2017 05:40:26 -0000 Hi, > On 25 Jan 2017, at 00:51, Samuel Thibault w= rote: >=20 > Okash Khawaja, on Tue 24 Jan 2017 06:16:46 +0000, wrote: >> Combined the refactor changes with your tty code to test speakup_dummy. I= t >> seems okay except for problem when unloading speakup.ko - it is in use so= can't >> be unloaded. I have just got this so investigating it. >=20 > Just to make sure: it's expected that the speakup module is busy while > speakup_dummy is still loaded, since there is a dependency between the > two, you need to rmmod speakup_dummy before speakup. >=20 > Samuel Yes. So I'm using insmod and rmmod instead of modprobe. Here are the steps: insmod speakup.ko insmod speakup_dummy.ko rmmod speakup_dummy rmmod speakup # this fails with message that speakup is in use Also speakup module, on it own, can be loaded and removed without problem.=