For some reason I lost the sound as user for at and cron jobs and I seem unable
to get it back.
Like in cron 'saytime' will not say time and in 'at' a command 'aplay file.wav' will
not play, however, it does when I put it in as sudo.
Any suggestions?
Thanks & regards
I posted this in Distro Development and pick it up ones more here hoping more
might read it and find an answer.
I have made VL-6-A014-Light my working Linux box fully running to my needs,
except one problem 'at' and 'cron' jobs will not play sound when commanded
by user.
This problem is present as well in slackware-12.1/2 from where I guess it was
inherited originally.
Now in the Beta version of light 'at' and 'cron' jobs do play sound when commanded
by user.
After having moved house I do not feel inclined to do it again just because of this problem.
I am therefore asking if a solution can be found for my present VL-6-Light box.
The error I get when trying to play sound with 'at' or cron is:
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:3513:(_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:3513:(_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:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM default
sox: Failed writing default: cannot open audio device
Would I just have to copy some files from Beta over to my box and which one?
Help much appreciated.