Hi
I am running Arch linux on a Raspberry pi.
mpg123 run without any issues from keyboard over usb (tty1)
after a restart, if I try to start mpg123 (or alsamixer) over a ssh login I get
the following:
[dw@alarmpi ~]$ mpg123 Music/*
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4248:(_snd_config_evaluate) function
snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4248:(_snd_config_evaluate) function snd_func_concat
returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4248:(_snd_config_evaluate) function snd_func_refer
returned error: No such file or directory
ALSA lib conf.c:4727:(snd_config_expand) Evaluate error: No such file
or directory
ALSA lib pcm.c:2227:(snd_pcm_open_noupdate) Unknown PCM default
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
version 1.15.3; written and copyright by Michael Hipp and others
free software (LGPL/GPL) without any warranty but with best wishes
Directory: Music/
Playing MPEG stream 1 of 165: 07_waiting_in_vain.mp3 ...
MPEG 1.0 layer III, 128 kbit/s, 44100 Hz stereo
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4248:(_snd_config_evaluate) function
snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4248:(_snd_config_evaluate) function snd_func_concat
returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4248:(_snd_config_evaluate) function snd_func_refer
returned error: No such file or directory
ALSA lib conf.c:4727:(snd_config_expand) Evaluate error: No such file
or directory
ALSA lib pcm.c:2227:(snd_pcm_open_noupdate) Unknown PCM default
[sdl.c:78] error: Couldn't open SDL audio: No available audio device
[audio.c:630] error: failed to open audio device
[mpg123.c:546] error: failed to reset audio device: No such file or directory
[dw@alarmpi ~]$ alsamixer
cannot open mixer: No such file or directory
If I start mpg123 (or alsamixer) directly with a keyboard connected to
the Raspberry Pi music starts playing Bob Marley!
And now ("Curioser and curioser" as Alice (in Wonderland) said to the
caterpillar) I can run mpg123 over ssh as well...
... until next reboot.
Any ideas? (I want to run the RPi headless as a sound machine;-)