Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ALSA Lib Error #42

Open
MaxHunt opened this issue Aug 1, 2018 · 0 comments
Open

ALSA Lib Error #42

MaxHunt opened this issue Aug 1, 2018 · 0 comments

Comments

@MaxHunt
Copy link

MaxHunt commented Aug 1, 2018

Hiya,

I have followed your guide to install for the pi. I am getting this error when running?

ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa
ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
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
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock

I have run the pyaudio check to see if the drivers are set up correctly but don't really understand the output. I have this:

[{
'defaultSampleRate': 44100.0,
 'defaultLowOutputLatency': -1.0, 
 'defaultLowInputLatency': 0.008684807256235827,
  'maxInputChannels': 1L,
   'structVersion': 2L, 
   'hostApi': 0L, 
   'index': 0, 
   'defaultHighOutputLatency': -1.0, 
   'maxOutputChannels': 0L, 
   'name': u'USB Audio Device: - (hw:1,0)', 
   'defaultHighInputLate ncy': 0.034829931972789115
}, 

{'defaultSampleRate': 48000.0, 
'defaultLowOutputLatency': -1.0, 
'defaultLowInputLatency': 0.021333333333333333, 
'maxInputChannels': 128L, 
'structVersion': 2L, 
'hostApi': 0L, 
'index': 1, 
'defaultHighOutputLatency': -1.0, 
'maxOutputChannels': 0L, 
'name': u'sysdefault', 
'defaultHighInputLatency': 0.021333333333333333
},
 {
 'defaultSampleRate': 44100.0, 
 'defaultLowOutputLatency': -1.0, 
 'defaultLowInputLatency': 0.008684807256235827,
 'maxInputChannels': 1L, 
 'structVersion': 2L, 
 'hostApi': 0L, 
 'index': 2, 
 'defaultHighOutputLatency': -1.0, 
 'maxOutputChannels': 0L, 
 'name': u'spdif', 
 'defaultHighInputLatency': 0.034829931972789115
 }, 
 {
 'defaultSampleRate': 44100.0, 
 'defaultLowOutputLatency': 0.008707482993197279, 
 'defaultLowInputLatency': 0 .008707482993197279, 
 'maxInputChannels': 32L, 
 'structVersion': 2L, 
 'hostApi': 0L, 
 'index': 3, 
 'defaultHighOutputLatency': 0.034829931972789115, 
 'maxOutputChannels': 32L, 
 'name': u'default', 
 'defaultHighInputLatency': 0.034829931972789115
 }]

Additional Information:

I am running a strip of 300 leds which go from white to orange the further you go along the strip as well as constant audio buffer overflows. (I am using a spottily client on the pi to output the sound (which I can here) . I then have a mic plugged in on the pi to input.

Any help would be fantastic!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant