speechd-discuss
[Top][All Lists]
Advanced

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

DEC-TALK USB and speech dispatcher


From: Klarich , Terry J .
Subject: DEC-TALK USB and speech dispatcher
Date: Fri, 27 Feb 2015 22:07:35 +0000

Hello all:

Obviously, I am new to this list.  My name is Terry Klarich.  I work as a 
systems analyst for a natural gas company in Oklahoma U.S.

I am presently experimenting with the DEC-Talk USB under Linux.  I contacted 
the manufacture and did receive the info to build a driver.  I can send speech 
and commands to the DEC-Talk.  I can talk to the DEC-Talk either using the 
libusb libraries or directly using a kernel driver.  I am still trying to get 
index marks working.  I hope to work more with the manufacturer to get index 
marks working.

I have written the beginnings of a speech dispatcher module.  I didn't use the 
sample module code discussed in the speech dispatcher documentation.  Rather, I 
wrote it from scratch.

I am running into a problem.  I'm hoping someone can assist.  When starting 
speech dispatcher, it hangs when sending the "INIT\n" command to the sd_dtusb 
module.  Here is the log:

[root at oke11528 speech-dispatcher]# cat speech*log
[Fri Feb 27 15:42:24 2015 : 898178] speechd:   Speech Dispatcher Logging to 
file /var/log/speech-dispatcher/speech-dispatcher.log
[Fri Feb 27 15:42:24 2015 : 898224] speechd:     Module name=dtusb being 
inserted into requested_modules list
[Fri Feb 27 15:42:24 2015 : 898274] speechd:    Reading configuration for 
pattern emacs:*
[Fri Feb 27 15:42:24 2015 : 898311] speechd:    Reading configuration for 
pattern *:gnomespeech:*
[Fri Feb 27 15:42:24 2015 : 898333] speechd:  Configuration has been read from 
"/etc/speech-dispatcher/speechd.conf"
[Fri Feb 27 15:42:24 2015 : 898353] speechd:     Module name=dummy being 
inserted into detected_modules list
[Fri Feb 27 15:42:24 2015 : 898361] speechd:     Module name=espeak being 
inserted into detected_modules list
[Fri Feb 27 15:42:24 2015 : 898367] speechd:     Module name=generic being 
inserted into detected_modules list
[Fri Feb 27 15:42:24 2015 : 898374] speechd:     Module name=dtusb being 
inserted into detected_modules list
[Fri Feb 27 15:42:24 2015 : 898381] speechd:     Module name=flite being 
inserted into detected_modules list
[Fri Feb 27 15:42:24 2015 : 898388] speechd:     Module name=cicero being 
inserted into detected_modules list
[Fri Feb 27 15:42:24 2015 : 898395] speechd:     Module name=festival being 
inserted into detected_modules list
[Fri Feb 27 15:42:24 2015 : 898403] speechd:     Module name=dummy being 
inserted into requested_modules list
[Fri Feb 27 15:42:24 2015 : 898408] speechd:     Module name=espeak being 
inserted into requested_modules list
[Fri Feb 27 15:42:24 2015 : 898414] speechd:     Module name=generic being 
inserted into requested_modules list
[Fri Feb 27 15:42:24 2015 : 898419] speechd: Load request for module dtusb with 
command sd_dtusb and configuration file dtusb.conf was previously received; 
ignoring the second one.
[Fri Feb 27 15:42:24 2015 : 898424] speechd:     Module name=flite being 
inserted into requested_modules list
[Fri Feb 27 15:42:24 2015 : 898429] speechd:     Module name=cicero being 
inserted into requested_modules list
[Fri Feb 27 15:42:24 2015 : 898434] speechd:     Module name=festival being 
inserted into requested_modules list
[Fri Feb 27 15:42:24 2015 : 898454] speechd:  Initializing output module dtusb 
with binary /usr/lib64/speech-dispatcher-modules/sd_dtusb and configuration 
/etc/speech-dispatcher/modules/dtusb.conf
[Fri Feb 27 15:42:24 2015 : 898460] speechd:   Output module is logging to file 
/var/log/speech-dispatcher/dtusb.log
[Fri Feb 27 15:42:24 2015 : 898790] speechd:  Module dtusb loaded.
[Fri Feb 27 15:42:24 2015 : 898816] speechd:    Trying to initialize dtusb.
[Fri Feb 27 15:42:24 2015 : 898835] speechd:     Command sent to output module: 
|INIT
| (0)
[root at oke11528 speech-dispatcher]#

My sd_dtusb module is also hanging.  I don't get any log information.  Here is 
what it looks like when I run the module by hand:

[root at oke11528 tmp]# /usr/lib64/speech*mod*/sd_dtusb /dev/null
INIT
299-DTUSB INITIALIZED
200 dtusb version 0.1, ready
AUDIO
205 SEND SETTINGS
.
208 SYNTHESIZER INITIALIZED
QUIT\
300 SYNTAX ERROR
QUIT
202 TERMINATING
[root at oke11528 tmp]#

And the log from the above commands:
[root at oke11528 tmp]# cat /tmp/dtusb.log
starting up
starting up
Waiting for INIT
Initialized
200 dtusb version 0.1, ready
205 SEND SETTINGS
208 SYNTHESIZER INITIALIZED
init thread (output)
state = 1
300 SYNTAX ERROR
202 TERMINATING
[root at oke11528 tmp]#

Again, I think sd_dtusb is hanging because nothing is printed in the log.  The 
first debug message is printed as the first line in main().  I didn't do 
anything special with stdin or stdout.  Looking in the source for 
speech-dispatcher, it looks like a popen is used to start sd_dtusb.

Any help would be much appreciated.  I hope I can get this working.  I signed 
up for the list; but, don't think my access has been granted.  And, I don't 
know how busy this list is.

Many THANKS!
Terry

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.freebsoft.org/pipermail/speechd/attachments/20150227/36c9a21f/attachment.html>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]