From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by befuddled.reisers.ca (Postfix, from userid 65534) id BB5CD1F0815; Tue, 11 Apr 2017 14:42:03 -0400 (EDT) Received: from mail-io0-x229.google.com (mail-io0-x229.google.com [IPv6:2607:f8b0:4001:c06::229]) by befuddled.reisers.ca (Postfix) with ESMTPS id 3C7EF1F0812 for ; Tue, 11 Apr 2017 14:42:01 -0400 (EDT) Received: by mail-io0-x229.google.com with SMTP id l7so12910788ioe.3 for ; Tue, 11 Apr 2017 11:42:01 -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=leEfSlR8j16r5t7bkshbuEUFdrcxmGay5ivJsCEoa2A=; b=Uzgpt+xQtt8RR9yONKJxE/1dkq6gqPiw2W6YZf07ugFjlFNZq5YbcGhKLocpInc+tQ cosvy8K+LpxUjN/rGJnucIiuJ4N+hb+L4v4TgtgVMgcXhpf/MO5qBeNmpq3lZlCZ0Wae vtaTXr5gIs1Mz5iZTL/hnojJlXypVpHkCJzNcG6t+jQVmR87hvMDCNAhEZP31cAalZBp zQs3WJ51igGBolIJsBvxy4e/Ca6y3OShSSaBLPKlkWRO7/H4Z9+HZPzz8Tw5zDumbq39 TUPrLXL0E0rOv1O/Q+VMY8foJaIxruJ1Jln9H85XzUWJzC7J6bFyM2wpz9f44uJ2F0pw SOXw== 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=leEfSlR8j16r5t7bkshbuEUFdrcxmGay5ivJsCEoa2A=; b=sj0DbRh8jAKpBIBh58ao4a0uD7I051vvwy9XZ64xuHugS+bxzjInlUlWolCwp3ZJS7 QWlNl44NoTk4P38rmKmWpkoyQqDRSkXc3rzEYDazjQKDmG34iWHDWMyiLft+nj7CdU4H VpQftOFK1y6XHm575nIJ4ykPgfQZ1SQoIrbXEcQRCuTGhGCH1NYVzBr0eNWUiSso9yFP iChmKdx8AyQbHI4PixU+gZpYtSlVHsDg+463hMXGqw+BylXdBI0WzpfMjcUIIugwGk9d wrxgUAFScs1xIh5V2IVQpZisHUtQYIPa0Piixo/jxKAEqePOPjymgaGD9gJ8xCEC2pbk WonQ== X-Gm-Message-State: AN3rC/4uWrUS3wRx6qa+s75cBWdTqWHsl0BLzZUgkN6KLJ6KnSpmgtb1wCy0d+goOBBr6Rnrv5mXyaZNtvrJmQ== X-Received: by 10.36.85.194 with SMTP id e185mr18248252itb.39.1491936111815; Tue, 11 Apr 2017 11:41:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.65.88 with HTTP; Tue, 11 Apr 2017 11:41:51 -0700 (PDT) In-Reply-To: <20170411065239.GA446@sanghar> References: <20170411065239.GA446@sanghar> From: Okash Khawaja Date: Tue, 11 Apr 2017 19:41:51 +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: Tue, 11 Apr 2017 18:42:03 -0000 Hi, Here are the steps in detail. Before starting this, please download following two files that I have shared: - speakup.tgz: https://github.com/bytefire/speakup-decext/raw/master/speakup.tgz - tty-export.patch: https://github.com/bytefire/speakup-decext/raw/master/tty-export.patch 1. Download Linux kernel code: a. download stable kernel source from https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.10.9.tar.xz b. extract the archive by running: tar xvfJ linux-4.10.9.tar.xz 2. Apply patches: a. cd into the extracted linux source code: cd linux-4.10.9 b. remove speakup directory: rm -r drivers/staging/speakup c. copy the speakup.tgz file into drivers/staging: cp path/to/speakup.tgz drivers/staging/ d. cd into staging directory: cd drivers/staging e. extractspeakup.tgz: tar xvfz speakup.tgz (now there should be a speakup directory inside drivers/staging) f. cd back to the root of kernel source (i.e. linux-4.10.9) : cd ../.. g. apply the tty patch: patch -p1 < path/to/tty-export.patch (output of above should be following three lines: patching file drivers/tty/tty_io.c patching file drivers/tty/tty_port.c patching file include/linux/tty.h) (if you don't already have 'patch' program then you can download it from http://savannah.gnu.org/projects/patch/) h. now we have the code ready for configuring and compiling! 3. Configure: a. make sure you are inside kernel source root directory, i.e. linux-4.10.9 b. make sure that existing kernel config exists: ls /boot/config-$(uname -r) (this should return just one file named config-) c. copy that file into your kernel source root directory: cp /boot/config-$(uname -r) ./.config d. update the config: make oldconfig (this will ask you many questions. just select the default option for each by pressing enter) e. check to make sure that speakup is configured the way you wanted it: cat .config | grep SPEAKUP e. that's it, kernel configured! 4. Compile and install: (IMPORTANT: for this please check an online guide specific for your distro. following instructions that i think should work on Debian based system. but it may a. still stayin inside linux-4.10.9, compile by simply running: make (this will take a while. depending on the hardware specs, it may take an hour or may be more) b. after make completes, check it succeeded: echo $? (this should return zero) c. now run: sudo make modules_install (again this may take a little while) d. now install kernel which should be quick: sudo make install (NOTE: this means that on next reboot your newly compiled kernel will load) (Depending on your distro, it should back up previous kernel) 5. Reboot and test decext: a. now running reboot should boot the compiled kernel b. if speakup configuration was same as before, then you should be able to test it with decext the same way as before. Thanks! Okash On Tue, Apr 11, 2017 at 7:52 AM, Okash Khawaja wrote: > Hi, > > As part of recent changes, there are some that affect DecTalk External > which uses speakup_decext.ko. If someone can help in making sure those > changes are okay, do give a shout. > > Cheers! > Okash