speechd-discuss
[Top][All Lists]
Advanced

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

dtusb module


From: Klarich , Terry J .
Subject: dtusb module
Date: Thu, 5 Mar 2015 21:06:56 +0000

My plan is to provide both driver and libusb support.  The module will check to 
see if the dtusb kernel module is loaded.  If not, libusb will be used.

My long-term plan is to see if I can get speekup to use the kernel driver so 
boot up and shutdown are accessible.  I would like the dtusb module to work 
with speakup to both release and take over the kernel driver as 
speech-dispatcher is started.  We'll see how it goes.

I have been doing some debugging.  But, have not resolved my problem as yet.  
Speech dispatcher is starting my module just fine.  SD sends dtusb a "init\n".  
dtusb receives it.  Dtusb then sends a "299-dtusb: Initialized\n".  SD never 
receives it or acknowledges it (not sure).

Here's the log info:

Speech-dispatcher.log:
[Wed Mar  4 17:26:03 2015 : 239741] speechd:  Initializing output module dtusb 
with binary /usr/lib64/speech-dispatcher-modules/sd_dtusb and configuration 
/etc/speech-dispatcher/modules/dtusb.conf
[Wed Mar  4 17:26:03 2015 : 239753] speechd:   Output module is logging to file 
/var/log/speech-dispatcher/dtusb.log
[Wed Mar  4 17:26:03 2015 : 240073] speechd:  Module dtusb loaded.
[Wed Mar  4 17:26:03 2015 : 240092] speechd:    Trying to initialize dtusb.
[Wed Mar  4 17:26:03 2015 : 240107] speechd:     Command sent to output module: 
|INIT
| (0)

I know SD is waiting  because if I configure speech.conf to load something 
after sd_dtusb, nothing happens.

Dtusb.log:
[root at oke11528 speech-dispatcher]# cat dtusb.log
starting up
Waiting for INIT
recieved: INIT
send: 299-STUSB: Initialized successfully
Reading configuration file
send: 299 dtusb version 0.1, ready

At this point, dtusb is waiting for a command.  SD has not acknowledged the 299 
statements.

Is there something I need to do to the pipe as a module for stdout?  Got any 
ideas where to look?  I used sd_dummy as a template to make sure I understood 
the documentation.  When running dtusb from the commandline, it works as 
expected.

Many THANKS!
Terry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.freebsoft.org/pipermail/speechd/attachments/20150305/df48ef69/attachment.html>


reply via email to

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