File: troubleshooting.html

package info (click to toggle)
emacspeak 24-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 9,092 kB
  • ctags: 4,597
  • sloc: xml: 54,699; lisp: 42,103; tcl: 1,799; makefile: 810; cpp: 603; sh: 566; ansic: 153; perl: 124
file content (939 lines) | stat: -rw-r--r-- 15,838 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
<HTML
><HEAD
><TITLE
>Frequently Asked Questions (FAQs)</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
REL="HOME"
TITLE="Installing Emacspeak HOWTO"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="Installing Emacspeak"
HREF="installing-emacspeak.html"><LINK
REL="NEXT"
TITLE="Additional resources"
HREF="additional-resources.html"></HEAD
><BODY
CLASS="SECT1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Installing Emacspeak HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="installing-emacspeak.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="additional-resources.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="TROUBLESHOOTING"
>6. Frequently Asked Questions (FAQs)</A
></H1
><P
>	This sections covers some of the more common problems
	encountered when installing Emacspeak. If there is a topic
	that is not covered here, you should review the Emacspeak
	mailing list archives at <A
HREF="http://www.cs.vassar.edu/~priestdo/emacspeak/"
TARGET="_top"
>http://www.cs.vassar.edu/~priestdo/emacspeak/</A
>.
	You can find the answers to many additional questions there.
	</P
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
><B
CLASS="COMMAND"
>The volume on my system is very low -
			how can I increase it?</B
></DT
><DD
><P
>					The easiest way to turn up
					system volume is with a set of
					speakers. However, sometimes
					speakers aren't feasible (for
					example, with a laptop), or
					even with speakers, the
					volume is still not loud
					enough. In this case, you can
					use the application
					<SPAN
CLASS="APPLICATION"
>aumix</SPAN
>
					to increase your system's volume. 
					</P
><P
>					<SPAN
CLASS="APPLICATION"
>Aumix</SPAN
>
					comes with many distributions
					of Linux, but if your distro
					doesn't have
					<SPAN
CLASS="APPLICATION"
>aumix</SPAN
>,
					you can download it from
					<A
HREF="http://prdownloads.sourceforge.net/aumix/aumix-2.7.tar.gz"
TARGET="_top"
>http://prdownloads.sourceforge.net/aumix/aumix-2.7.tar.gz</A
>.
					The latest version is 2.7.
					</P
><P
>					To use
					<SPAN
CLASS="APPLICATION"
>aumix</SPAN
>
					to increase your system's
					volume, type the command
					<B
CLASS="COMMAND"
>aumix -v
					+100</B
> or
					<B
CLASS="COMMAND"
>aumix -w +100</B
>.  The numerical
					value is the percentage
					volume, so in this case 100
					means 100%.  You may want to
					try different settings to find
					the most comfortable one for
					you. 
					</P
><P
>					For more information on using
					<SPAN
CLASS="APPLICATION"
>aumix</SPAN
>, type <B
CLASS="COMMAND"
>aumix
					-h</B
> at the command prompt.
					</P
></DD
><DT
><B
CLASS="COMMAND"
>sndconfig doesn't recognize my
			soundcard.  What should I do?</B
></DT
><DD
><P
>					If sndconfig doesn't recognize
					your soundcard, you should see
					if you can
					download a driver for your
					card.  The Advanced Linux
					Sound Architecture (ALSA) web
					site, located at <A
HREF="http://www.alsa-project.org"
TARGET="_top"
>http://www.alsa-project.org</A
>,
					lists many sound
					cards, along with their
					drivers (if
					available).  Another alternative is
					the Open Sound System (OSS)
					for Linux. OSS is a
					commercial implementation of
					the Linux kernel drivers, and
					a list of supported cards can
					be found at <A
HREF="http://www.4front-tech.com/osshw.html"
TARGET="_top"
>http://www.4front-tech.com/osshw.html</A
>.
					There used to be a free
					version, but apparently it is
					no longer available (if anyone
					knows differently, please let
					me know).
					</P
><DIV
CLASS="NOTE"
><BLOCKQUOTE
CLASS="NOTE"
><P
><B
>Note: </B
>						Some users have
						reported
						compatibility problems with
						ViaVoice and ALSA
						drivers. I have been
						unable to determine
						the exact problem or
						solution from various
						mailing archives, so
						if anyone can provide
						more information on
						this issue,
						please let me know. 
						</P
></BLOCKQUOTE
></DIV
></DD
><DT
><B
CLASS="COMMAND"
>When I try to install the ViaVoice RTK
			rpm file, I get
			the error "libXm.so.1 is missing."  What's wrong?</B
></DT
><DD
><P
>					The file
					<TT
CLASS="FILENAME"
>libXm.so.1</TT
>
					is part of the
					<TT
CLASS="FILENAME"
>lesstif</TT
>
					distribution, and it is also a
					shared library. This error
					message indicates that either
					<TT
CLASS="FILENAME"
>lesstif</TT
>
					is not installed, or that the
					system is unable to locate the
					file. Often shared libraries
					are referenced by a
					symbolic link to the real
					shared library file, which may
					be named something like
					<TT
CLASS="FILENAME"
>libXm.so.1.0.17</TT
>.
					When the name of the symbolic
					link to the shared library and the
					name of the real shared
					library file differ,
					the system may not be able to
					find the shared library, even
					if it exists. If another
					program depends on a shared
					library that cannot be found,
					an error message like the one
					above results. In the case of
					<TT
CLASS="FILENAME"
>libXm.so.1</TT
>,
					lesstif is only needed for
					graphical demonstration
					programs.  Thus, if you do not
					plan to use the graphical
					mode, it is safe to install the
					ViaVoice RTK rpm using the option
					<B
CLASS="COMMAND"
>--nodeps</B
>,
					which tells ViaVoice to ignore any
					missing dependencies. 
					</P
><DIV
CLASS="NOTE"
><BLOCKQUOTE
CLASS="NOTE"
><P
><B
>Note: </B
>					Note that this is only a
					workaround, not a "fix," and
					that it only works for 
					ViaVoice Text-to-speech (TTS). 
					This solution may not work
					if you use any of the
					ViaVoice voice recognition
					software.
					</P
></BLOCKQUOTE
></DIV
></DD
><DT
><B
CLASS="COMMAND"
>When I compile the ViaVoice TTS server for Emacspeak, I get an
			error "tcleci.cpp:43:17: eci.h: No such file
			or directory."  Where is <TT
CLASS="FILENAME"
>eci.h?</TT
></B
></DT
><DD
><P
>					This error message appears
					when you install the ViaVoice
					RTK and SDK in the wrong
					order, or if the SDK is not installed.
					</P
><P
>					The file
					<TT
CLASS="FILENAME"
>eci.h</TT
>
					should be in the
					<TT
CLASS="FILENAME"
>/usr/include</TT
> directory.  If it is not
					there, re-install ViaVoice TTS
					RTK, then install ViaVoice TTS
					SDK. Check to make sure
					<TT
CLASS="FILENAME"
>eci.h</TT
> is
					in the <TT
CLASS="FILENAME"
>/usr/include</TT
> directory,
					then change directories to
					<TT
CLASS="FILENAME"
>/usr/share/emacs/site-lisp/emacspeak/servers/linux-outloud</TT
>,
					and type
					<B
CLASS="COMMAND"
>make</B
> at the
					command prompt. The ViaVoice TTS
					should now make successfully.
					</P
></DD
><DT
><B
CLASS="COMMAND"
>When I start Emacspeak, I keep getting
			the error "process speaker not running."
			What's wrong?</B
></DT
><DD
><P
>					If you are getting this error
					message, there are several
					possible causes. This section
					steps though finding and
					correcting this problem.
					</P
><P
>					The first step is to
					make sure that you have tcl
					correctly installed, as
					explained in the following instructions.
					</P
><P
></P
><OL
TYPE="1"
><LI
><P
>							First, make
							sure you are
							in the
							<TT
CLASS="FILENAME"
>/usr/share/emacs/site-lisp/emacspeak/servers</TT
>
							directory.
							</P
></LI
><LI
><P
>							At the command
							prompt, type
							<B
CLASS="COMMAND"
>tcl
							<TT
CLASS="REPLACEABLE"
><I
>name
							of speech server</I
></TT
></B
>,
						 	The
							most common
							speech servers are
							<B
CLASS="COMMAND"
>dtk-exp</B
>
							and
							<B
CLASS="COMMAND"
>outloud</B
>.
							</P
></LI
></OL
><P
>					If you get an error such as
					<B
CLASS="COMMAND"
>bash: tcl:: command
					not found</B
>, it means
					that 
					tcl/tclx is not
					correctly installed on your
					system. You must get the
					latest version of either tcl
					or tclx and install it before
					Emacspeak will work.
					</P
><P
>					If everything is installed
					correctly, you should hear a
					voice saying "IBM
					ViaVoice. This is Emacspeak"
					or something similar. A
					<B
CLASS="COMMAND"
>%</B
> command
					prompt should also appear.
					At the prompt, type <B
CLASS="COMMAND"
>q "this is
					a test."</B
> Then press
					<B
CLASS="COMMAND"
>Return</B
> and
					type
					<B
CLASS="COMMAND"
>d</B
>. This command
					runs the speech, so you should
					hear "this is a test"
					spoken. If you hear this,
					the server
					script is running
					properly. You can type
					<B
CLASS="COMMAND"
>exit</B
> to
					quit tcl.
					</P
><P
>					You may also get an error like
					<B
CLASS="COMMAND"
>stdiosynth executable
					not found</B
> when you
					type <B
CLASS="COMMAND"
>tcl
					<TT
CLASS="REPLACEABLE"
><I
>name of speech server</I
></TT
></B
>, and then get a
					command prompt. Testing has
					shown that this error can
					appear even when
					<SPAN
CLASS="APPLICATION"
>stdiosynth</SPAN
>
					is correctly installed and
					Emacspeak is working. Even if
					you get this error message,
					you should still get the
					<B
CLASS="COMMAND"
>%</B
> command prompt,
					so you should be able to test
					the script.
					</P
><P
>					If the script test was unsuccessful,
					(if tcl was found and
					you got a <TT
CLASS="PROMPT"
>%</TT
>
					prompt but you did not hear any
					speech), the next step is to
					make sure that you have the
					correct lines in your
					<TT
CLASS="FILENAME"
>profile</TT
>
					file to let Emacspeak know
					where to find the
					speech server. To check this,
					follow these steps:
					</P
><P
></P
><OL
TYPE="1"
><LI
><P
>							Go to your
							<TT
CLASS="FILENAME"
>/etc</TT
>
							directory,
							then use you
							favorite text
							editor to open the
							file named
							<TT
CLASS="FILENAME"
>profile</TT
>.
							</P
></LI
><LI
><P
>							Make sure the
							following
							lines are in
							the file:
							</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="PROGRAMLISTING"
>							export DTK_PROGRAM
							DTK_PROGRAM=<TT
CLASS="REPLACEABLE"
><I
>name
							of speech server</I
></TT
>
							</PRE
></FONT
></TD
></TR
></TABLE
><P
>							The most
							common speech
							servers, are
							<B
CLASS="COMMAND"
>outloud</B
>
							and
							<B
CLASS="COMMAND"
>dtk-exp</B
>.
							</P
></LI
></OL
><P
>					If these lines are not in your
					<TT
CLASS="FILENAME"
>profile</TT
>
					file, add them and then
					re-test tcl. If you are using
					ViaVoice TTS as your
					synthesizer, Emacspeak should
					work correctly at this
					point. If you are using a
					hardware synthesizer and you
					still do not get any sound,
					check to make
					sure that the environment
					variable <TT
CLASS="VARNAME"
>DTK_PORT</TT
> is set
					correctly in your
					<TT
CLASS="FILENAME"
>/etc/profile</TT
> file.
					</P
><P
>					The variable <TT
CLASS="VARNAME"
>DTK_PORT</TT
>
					specifies which port your hardware
					sythesizer is plugged into on
					your computer. Under Linux, if
					your synthesizer is plugged
					into com1, you must set
					<TT
CLASS="VARNAME"
>DTK_PORT</TT
> to
					<TT
CLASS="FILENAME"
>/dev/ttyS0</TT
>,
					and if it is in com2, then
					<TT
CLASS="VARNAME"
>DTK_PORT</TT
> should be set to
					<TT
CLASS="FILENAME"
>/dev/ttyS1</TT
>.
					To set this variable, follow
					these steps:
					</P
><P
></P
><OL
TYPE="1"
><LI
><P
>							Open your
							<TT
CLASS="FILENAME"
>profile</TT
>
							file located
							in the
							<TT
CLASS="FILENAME"
>/etc</TT
>
							directory.
							</P
></LI
><LI
><P
>							Look for the
							variable
							<TT
CLASS="VARNAME"
>DTK_PORT</TT
>.  If
							this variable does not
							exist, scroll
							to the bottom
							of the
							<TT
CLASS="FILENAME"
>profile</TT
>
							file and add
							the following
							line:
							</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="PROGRAMLISTING"
>		export DTK_PORT=/dev/ttySX
		</PRE
></FONT
></TD
></TR
></TABLE
><P
>							In this line,
							the "X" should
							be replaced by
							the correct
							port number,
							as described
							above.
							</P
></LI
><LI
><P
>							When you are
							finished, save
							and close the
							<TT
CLASS="FILENAME"
>profile</TT
>
							file.
							</P
></LI
></OL
><P
>					Finally, retest tcl, and if
					it works, restart Emacspeak.
					Emacspeak should work correctly.
					</P
><P
>					If you have a hardware
					synthesizer and are still not
					getting any speech, you probably do
					not have the necessary
					permissions to use the serial
					port for your
					synthesizer. There are a
					number of solutions to this
					problem, and the best solution
					depends on your operating
					environment. For example, if you
					are in a multi-user
					environment, controlling the
					access permissions to the
					serial device may be a
					concern. The options are as follows: 
					</P
><P
></P
><UL
><LI
STYLE="list-style-type: disc"
><P
>							Change the
							ownership of
							the serail
							device to the
							user running
							Emacspeak. To
							do this, type
							<B
CLASS="COMMAND"
>chown
							<TT
CLASS="REPLACEABLE"
><I
>username</I
></TT
>
							/dev/ttyS0</B
>
							at the command
							prompt,
							then type
							<B
CLASS="COMMAND"
>chmode
							u+rw
							/dev/ttyS0</B
>.
							</P
></LI
><LI
STYLE="list-style-type: disc"
><P
>							Add the user
							to the group
							associated
							with the
							serial
							device. On Red
							Hat systems
							this is
							usually the
							group
							<B
CLASS="COMMAND"
>tty</B
>.
							To do this,
							edit the
							<TT
CLASS="FILENAME"
>/etc/group</TT
>
							file and find
							the line
							starting with
							<B
CLASS="COMMAND"
>tty:</B
>.
							At the end of
							that line, add
							",<TT
CLASS="REPLACEABLE"
><I
>username</I
></TT
>"
							where username
							is your
							username.
							</P
></LI
><LI
STYLE="list-style-type: disc"
><P
>							Give
							read/write
							access to the
							serial device
							for all
							users. This is
							the least
							secure
							solution, but
							if you are the
							only user on
							the system, it
							will not
							matter. To
							give
							read/write
							access, make
							sure you are
							the root user
							and at the
							command prompt
							type
							<B
CLASS="COMMAND"
>chmod
							o+rw
							/dev/ttyS0</B
>.
							</P
></LI
></UL
></DD
></DL
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="installing-emacspeak.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="additional-resources.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Installing Emacspeak</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Additional resources</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>