From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by befuddled.reisers.ca (Postfix, from userid 65534) id B447E1F0812; Tue, 11 Apr 2017 14:49:34 -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 5C55D1F0316 for ; Tue, 11 Apr 2017 14:49:32 -0400 (EDT) Received: by mail-io0-x22a.google.com with SMTP id l7so13177468ioe.3 for ; Tue, 11 Apr 2017 11:49:32 -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=Lmqsg1kNXKJ7hAYRJ0BVV/lXpXvS40+mvJoUCH21WrA=; b=lvScOrKJKyznFtbO1f3FKqhnKuF6G6wNmfClZfYRsCpXEyT3K1sunUKLDqs3D5mbbq 2V7WB0arpBpjdbSevZdphCQmmzt+YgMoQW3wEla54KgqQhlp0tMRSiq4V/3L8gcwQWJn rCNc3H56z080i1CHrECAeWwcdeysCTVS5pYc1BU609s7Ilq4zbia/TLJhHwUk90VUaS3 E+jGNvq9+tCoCTM9tvcy0YcNq4RAgiXTvvqVZLzJp34tZgcxLu6+lFRN14MoL/6WCRl8 KNi27yM817Fzo21jXOB8VTK6eVwEApZF+AUibLqDfOkfah7R/UZ/D87K6x8q/G0iwusm kw3g== 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=Lmqsg1kNXKJ7hAYRJ0BVV/lXpXvS40+mvJoUCH21WrA=; b=HcYYwovCwp9t2W4N6myVBBUrDECnvwEVZ58YENnVJajPsW45n7OYmmTQlWPNZawWkb uvtqq2JZyfb8CCp7DnYUCLhcJxodbzvt6ACZqhYcwFBYCLzwA7csRp+AHEK8AXMlDuS/ CsI09UtfdIhdyH1DJrZQ7ah41Ekt7BSNSR/HWnT7pYFWMnerPLh9+pOfPMGlTjn+5m0q zhhaMHOqv3K/tnKwJ5z2qgyF2OySaOUTfsq2Pw356RLiHpxS9QKg+IGs622xakUhB8Bh FkQifW9XzRtymohlctC5U4wqfPi/otwTEZ8cM+VUcofR56BXcUIiTYFme7JRphdEG0ad HiFg== X-Gm-Message-State: AN3rC/6QC+c/kQrFwM2CgVa6lkLdS2DREI5qmA6RIFfcmXNJm+TlX9BuuHb9Z0iKBShEc1eB/L5ycPnUkv1T8Q== X-Received: by 10.36.253.73 with SMTP id m70mr18287277ith.19.1491936568993; Tue, 11 Apr 2017 11:49:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.65.88 with HTTP; Tue, 11 Apr 2017 11:49:28 -0700 (PDT) In-Reply-To: References: <20170411065239.GA446@sanghar> From: Okash Khawaja Date: Tue, 11 Apr 2017 19:49:28 +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:49:34 -0000 Please be careful at step 4 as it may break your system. Even on Debian based system, the steps I have mentioned are no guarantee that they will not break your system. Also, you can also access the instructions from here: https://raw.githubusercontent.com/bytefire/speakup-decext/master/decext-instructions.txt Cheers! Okash On Tue, Apr 11, 2017 at 7:41 PM, Okash Khawaja wrote: > 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