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

Re: Problem with eflite, emacspeak, and Debian



   I set my sources.list file to point to "testing", and then ran the =
   following:
    ...

   I set DTK_PORT=3D/dev/audio, and ensured that permissions were set to =
   allow access to the sound device.

   after starting emacspeak, I get the familiar "Precess Speaker Not =
   Running" error.

It looks like you ran apt-get OK, although I am told all you need to
install are the two packagtes:

    apt-get install eflite
    apt-get install emacspeak

Your error message says:

    I810_audio: drain_dac, dma timeout?
    I810_audio: dma overrun on write
    I810_audio: CIV 12, LVI 10, hwptr c00, count -240

I don't know anything about sound.  However, from the message
references to `dma timeout', the error message suggests a problem
about the relationship between the core of your system and the sound
card.  But I have not the foggiest idea what.

A sound card problem suggests that my following notes are irrelevant.
But maybe they will be helpful.  This is what I did to enable my
system to work using apt-get in a Debian testing distribution,
including removal of a link to emacspeak.mp3 that prevented my process
speaker from running:

    2002 Aug 31

    I commented out all of the default  /etc/emacspeak.conf
    and added the following to it:

        ## for eflite
        export EMACS_UNIBYTE=1
        export DTK_TCL=/usr/bin/eflite

    Define the /usr/bin/emacspeak shell script like this:

    #!/bin/sh
    # emacspeak - execute emacs with speech enhancements
    #$Id: emacspeak.sh.def,v 15.0 2001/11/20 20:05:30 raman Exp $
        if [ -f /etc/emacspeak.conf ]
        then
        . /etc/emacspeak.conf
    fi

    if [ -f ~/.emacs ]
    then
            INITSTR="-l ~/.emacs"
    fi

    CL_ALL=""
    for CL in $* ; do
            if [ "$CL" = "-o" ]; then
                    DTK_PROGRAM=outloud
                    export DTK_PROGRAM
            elif [ "$CL" = "-q" ]; then
                    INITSTR=""
            else
                    CL_ALL="$CL_ALL $CL"
            fi
    done

    export EMACS_UNIBYTE=1

    exec emacs -q  --no-site-file \
      --eval '(setq load-path (cons "/usr/share/emacs/site-lisp" load-path))'\
      --eval '(setq load-path \
               (cons "/usr/share/emacs/site-lisp/emacspeak" load-path))'\
      --eval '(setq load-path \
               (cons "/usr/share/emacs/site-lisp/emacspeak/lisp" load-path))'\
      -l /usr/share/emacs/site-lisp/emacspeak/lisp/emacspeak-setup.el \
      -fn 10x20 -bg darkblue -fg white -geometry 80x48                \
      -name 'Emacspeak' -T 'Emacspeak'                                \
      $INITSTR $CL_ALL

      #### end /usr/bin/emacspeak ####

[I don't know why I `export EMACS_UNIBYTE=1' twice; that act is
probably a harmless mistake.]

    When I have an

        /usr/share/emacs/site-lisp/emacspeak/sounds/

    directory with a link to emacspeak.mp3 in it, no process speaker
    starts.

    I removed

        /usr/share/emacs/site-lisp/emacspeak/sounds/emacspeak.mp3

    which was installed by Debian and most things work.  (I have
    trouble with the help functions.)

--
    Robert J. Chassell                         Rattlesnake Enterprises
    http://www.rattlesnake.com                  GnuPG Key ID: 004B4AC8
    http://www.teak.cc                             bob@xxxxxxxxxxx

-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help"


Emacspeak Files | Subscribe | Unsubscribe | Search