Re: DecTalk External (decext) testers wanted!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi John,

Thanks for this. I'll look into the issues once I get home. I'm assuming these are all new problems specific to the speakup2.tgz

Okash

> On 30 Apr 2017, at 09:18, John Covici <covici@xxxxxxxxxxxxxx> wrote:
> 
> OK, so I use gentoo, so I built a 4.9.24 kernel, put in your
> speakup2.tgz, the ttyexport.patch, and compiled with no problems.  I
> rebooted and got speech, using spkout which I have built into the
> kernel.  That is the good news.
> 
> There are some major problems, however.  If there is a lot of output,
> it takes a very long time -- 30 seconds or more to shut up when I hit
> the enter key on the numpad.  Now speakup uses rts-cts handshake, so I
> wonder if things are working.  The other major problem is that
> speakup-r is not working properly, it just reads along and when I
> stop, the cursor is many lines down from where speech stops -- I
> wonder if the input functions are working.
> 
> All in all, this is great for a first test, keep up the good work.
> 
> On Tue, 11 Apr 2017 14:41:51 -0400,
> 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-<your-kernel-version>)
>> 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 <okash.khawaja@xxxxxxxxx> 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
>> _______________________________________________
>> Speakup mailing list
>> Speakup@xxxxxxxxxxxxxxxxx
>> http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
> 
> -- 
> Your life is like a penny.  You're going to lose it.  The question is:
> How do
> you spend it?
> 
>         John Covici
>         covici@xxxxxxxxxxxxxx
> _______________________________________________
> Speakup mailing list
> Speakup@xxxxxxxxxxxxxxxxx
> http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
_______________________________________________
Speakup mailing list
Speakup@xxxxxxxxxxxxxxxxx
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux