soundcheck wrote:
> Hi folks.
>
> Gotta a weired problem:
>
> When rebooting my RPi, my USB DAC won't seem to be initialized properly.
>
>
> >
Code:
--------------------
> >
> [09:15:15.516988] ALSA _snd_pcm_hw_open:1667 Invalid value for card
> [09:15:15.517155] test_open:124 playback open error: No such device
> [09:15:15.517272] output_init_common:373 unable to open output device
>
--------------------
> >
>
> That causes squeezelite (1.6.5) to fail. (It does it with/without
> alsa-utils installed ;) )
>
>
> When doing a coldstart after shutdown everything works fine.
>
> Any ideas ?
>
> THX
Are the devices getting renumbered by alsa? I always prefer to use -o
hw:CARD=<string> for this reason as the fixing of device numbers has
been buggy for me in the past.
All it is doing at this point is:
if ((err = snd_pcm_open(&pcm, device, SND_PCM_STREAM_PLAYBACK, 0)) < 0)
{
LOG_ERROR("playback open error: %s", snd_strerror(err));
return false;
}
So it means the device string is not recognized by alsa at this point?
------------------------------------------------------------------------
Triode's Profile: http://forums.slimdevices.com/member.php?userid=17
View this thread: http://forums.slimdevices.com/showthread.php?t=101624
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix