[Pianod] Build issues
Jimmy Pop
jimmypopali96 at gmail.com
Fri May 31 22:57:35 PDT 2013
F it.
SET AUDIO OUTPUT DEVICE "stereo3", but setting the ao_options static
works....
did a static compile for each device, and called it done.
Thanks SOOO much for your help, without it I would still be lost.
James
On Fri, May 31, 2013 at 10:18 PM, Jimmy Pop <jimmypopali96 at gmail.com> wrote:
> aplay as nobody works, as I already added nobody to the audio group
>
> the result of running with -n root is this
> root at debian:~/pianod-144# ./src/pianod -n root -i ~/startscript
> 2013-06-01 04:58:20: No user data found. Creating admin user.
> fb_setup_ip6_socket: bind: Address already in use
> 2013-06-01 04:58:24: alsa audioOutDriver = (null),
>
> 2013-06-01 04:58:24: ao_default_driver_id audioOutDriver (null),
>
> ao_alsa debug: Trying to open ALSA device 'front'
> ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition
> 'cards.sun4i-CODEC.pcm.front.0:CARD=0'
> 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:2239:(snd_pcm_open_noupdate) Unknown PCM front
> ao_alsa debug: Unable to open ALSA device 'front'
> ao_alsa WARNING: Unable to open surround playback. Trying default
> device...
> ao_alsa debug: Trying to open ALSA device 'default'
> ao_alsa debug: Using ALSA device 'default'
>
> but now I am unable to finish my last step, sending
>
> SET AUDIO OUTPUT DRIVER alsa
> SET AUDIO OUTPUT DEVICE "stereo3"
>
> results in it still playing off the default card defined in
> /etc/asound.conf
>
> After all these hurdles I feel I am almost there!
>
>
> On Fri, May 31, 2013 at 9:30 PM, Peter Li <chinasaurli at gmail.com> wrote:
>
>> I can say that I get "Unknown PCM cards.pcm.front" when my setup is
>> working, so that shouldn't be a big concern until you are really trying to
>> get surround sound working. I don't know why you're getting the "invalid
>> value for card".
>>
>> But you said aplay works when you run it as root? What if you run pianod
>> with -nroot? What if you run aplay as nobody? The method I use for that,
>> which may not be optimal, is "sudo su nobody".
>>
>>
>> P
>> ______________________________**_________________
>> Pianod mailing list
>> Pianod at lists.deviousfish.com
>> http://lists.deviousfish.com/**listinfo.cgi/pianod-**deviousfish.com<http://lists.deviousfish.com/listinfo.cgi/pianod-deviousfish.com>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deviousfish.com/pipermail/pianod-deviousfish.com/attachments/20130531/137a0f85/attachment-0003.htm>
More information about the Pianod
mailing list