[raspberry-vi] Re: Getting error while setting up speakup

  • From: Mike Ray <mike@xxxxxxxxxxxxxxx>
  • To: raspberry-vi@xxxxxxxxxxxxx
  • Date: Thu, 29 Dec 2016 17:00:09 +0000


Pranav.  You probably need to add yourself to the 'audio' group and then
log out and in again:

        sudo usermod -a -G audio pi

Or your user name.

I have a script somewhere which gets rid of all those ALSA errors.  I
will find it.

Mike




On 29/12/2016 14:54, Pranav Lal wrote:

Hi Mike and all,

The plot thickens. I had speakup speaing boot messages. However, I then set 
the
quiet switch in the /boot/cmdline.txt file. When I rebooted, I could hear the
speakers engage. However, I tried
Espeak "hello"
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned
error: No such file or directory

ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or
directory

ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM iec958

ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition
'cards.bcm2835.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'

ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned
error: No such file or directory

ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or
directory

ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM spdif

ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition
'cards.bcm2835.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'

ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned
error: No such file or directory

ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or
directory

ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM spdif

ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi

ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi

ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem

ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem

ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline

ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline

Cannot connect to server socket err = No such file or directory

Cannot connect to server request channel

jack server is not running or cannot be started

pi@raspberrypi:~ $


I then tried following Mike's procedure that he had mentioned in this thread.
However, in the p folder, I do not have a ./build.sh file.

Pranav
-----Original Message-----
From: raspberry-vi-bounce@xxxxxxxxxxxxx
[mailto:raspberry-vi-bounce@xxxxxxxxxxxxx] On Behalf Of Mike Ray
Sent: Wednesday, December 28, 2016 10:39 PM
To: raspberry-vi@xxxxxxxxxxxxx
Subject: [raspberry-vi] Re: Getting error while setting up speakup

Hello Pranav

I don't know what this error is caused by.

I have just written a card with the latest Raspbian Lite and it worked for me.

But...

I am in the middle of changing the way the libilctts library is built so the
current method on the Web site is out of date at the moment.

After getting it from git like this:

git clone http://github.com/cromarty/ttsprojects

Now:

cd ttsprojects/raspberry-pi/libilctts
./configure
./fix-timestamps.sh
make
sudo make install

Should work and make and install the library.

Follow the tutorial for piespeakup because I have not finished the new build
method yet, very nearly there but not quite.

So in ttsprojects/raspberry-pi/piespeakup, run:

sudo ./build.sh

When you reboot it should speak.

Please be patient while I finish the change to the build process and update 
the
tutorial.  Probably later today.

Mike



On 28/12/2016 15:15, Pranav Lal wrote:
Hi all,

I am following the tutorial at
http://www.raspberryvi.org/stories/raspbian-lite-mate.html
I have added the speakup_softentry to the modules file and have saved the
file.
However, when I run
sudo modprobe speakup_soft
I get
pi@raspberrypi:~ $ sudo modprobe speakup_soft

modprobe: ERROR: ../libkmod/libkmod.c:557 kmod_search_moddep() could not open
mo
ddep file '/lib/modules/4.4.34-v7+/modules.dep.bin'

p

I am using the latest version of the raspbian lite OS.
Pranav

===========================================================
The raspberry-vi mailing list
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and
attitudes expressed by the subscribers to this list do not reflect those of 
the
Foundation.

Mike Ray, list creator, January 2013



--
Michael A. Ray
Analyst/Programmer
Witley, Surrey, South-east UK

Eyes-free Linux:
http://eyesfreelinux.ninja/

Raspberry VI:
http://www.raspberryvi.org/

===========================================================
The raspberry-vi mailing list
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and
attitudes expressed by the subscribers to this list do not reflect those of 
the
Foundation.

Mike Ray, list creator, January 2013

=========================================================== 
The raspberry-vi mailing list 
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi 
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and 
attitudes expressed by the subscribers to this list do not reflect those of 
the Foundation.

Mike Ray, list creator, January 2013



-- 
Michael A. Ray
Analyst/Programmer
Witley, Surrey, South-east UK

Eyes-free Linux:
http://eyesfreelinux.ninja/

Raspberry VI:
http://www.raspberryvi.org/

=========================================================== 
The raspberry-vi mailing list 
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi 
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and 
attitudes expressed by the subscribers to this list do not reflect those of the 
Foundation.

Mike Ray, list creator, January 2013

Other related posts: