Tim_LHUILLIER wrote:
> Hi,
>
> Thanks for help, i solved my problem,
>
> The problem was that the driver wasn't isntalled, so I installed the
> generic usb, and it working, my DAC is detected.
> But now, i have a bug with the port :
>
> >
Code:
--------------------
> > /usr/bin/squeezelite-i386 -o front:CARD=Device,DEV=0 -n squeezetest -m
fc:c2:de:35:0e:9b
> [14:17:54.374217] alsa_open:332 unable to set hw params: Input/output error
>
--------------------
> >
>
> With the debug
>
> >
Code:
--------------------
> >
> /usr/bin/squeezelite-i386 -o front:CARD=Device,DEV=0 -n squeezeTest -m
fc:c2:de:35:0e:9b -d all=debug
> [14:33:21.247577] stream_init:290 init stream
> [14:33:21.248577] stream_init:291 streambuf size: 2097152
> [14:33:21.255284] output_init_alsa:643 init output
> [14:33:21.255577] output_init_alsa:666 requested alsa_buffer: 40
alsa_period: 4 format: any mmap: 1
> [14:33:21.255817] output_init_common:342 outputbuf size: 3528000
> [14:33:21.283626] output_init_common:402 supported rates: 48000 44100
> [14:33:21.296848] output_init_alsa:678 memory locked
> [14:33:21.297944] output_init_alsa:701 set output sched fifo rt: 45
> [14:33:21.298005] output_thread:467 open output device:
front:CARD=Device,DEV=0
> [14:33:21.298309] decode_init:129 init decode, include codecs: exclude
codecs:
> [14:33:21.298444] alsa_open:185 opening device at: 44100
> [14:33:21.299441] register_dsd:624 using dsd to decode dsf,dff
> [14:33:21.300986] load_faad:610 loaded libfaad.so.2
> [14:33:21.301194] register_faad:640 using faad to decode aac
> [14:33:21.304702] load_vorbis:284 dlerror: libvorbisidec.so.1: cannot open
shared object file: No such file or directory
> [14:33:21.306063] alsa_open:236 opened device front:CARD=Device,DEV=0 using
format: S16_LE sample rate: 44100 mmap: 1
> [14:33:21.306305] alsa_open:315 buffer: 40 period: 4 -> buffer size: 1764
period size: 441
> [14:33:21.306698] ALSA snd_pcm_hw_hw_params:326 SNDRV_PCM_IOCTL_HW_PARAMS
failed (-5)
> [14:33:21.306871] alsa_open:332 unable to set hw params: Input/output error
> [14:33:21.307212] load_flac:258 loaded libFLAC.so.8
> [14:33:21.307308] register_flac:286 using flac to decode flc
> [14:33:21.307391] register_pcm:384 using pcm to decode aif,pcm
> [14:33:21.307852] load_mad:364 dlerror: libmad.so.0: cannot open shared
object file: No such file or directory
> [14:33:21.309088] load_mpg:221 dlerror: libmpg123.so.0: cannot open shared
object file: No such file or directory
> [14:33:21.309698] discover_server:702 sending discovery
> [14:33:26.307358] output_thread:467 open output device:
front:CARD=Device,DEV=0
> [14:33:26.307679] alsa_open:185 opening device at: 44100
> [14:33:26.310870] alsa_open:236 opened device front:CARD=Device,DEV=0 using
format: S16_LE sample rate: 44100 mmap: 1
> [14:33:26.311065] alsa_open:315 buffer: 40 period: 4 -> buffer size: 1764
period size: 441
> [14:33:26.311446] ALSA snd_pcm_hw_hw_params:326 SNDRV_PCM_IOCTL_HW_PARAMS
failed (-5)
> [14:33:26.311594] alsa_open:332 unable to set hw params: Input/output error
> [14:33:26.312373] discover_server:702 sending discovery
> [14:33:27.084464] slimproto_stop:865 slimproto stop
> [14:33:27.084928] decode_close:175 close decode
> [14:33:27.132223] stream_close:322 close stream
> [14:33:27.181258] output_close_alsa:706 close output
>
--------------------
> >
>
> I don't understand why it don't work
>
> Thanks
It may be that your user needs to be added to the audio group so as to
have access rights to alsa.
On my ubuntu system I would do
Code:
--------------------
gpasswd -a -user- audio
--------------------
where -user- is your user name.
LMS 7.9 on VortexBox Midi, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps. LMS & Squeeze2upnp to MF M1 CLiC (to MF amp & ESLs) &
Marantz CR603 UPnP renderers. Minimserver (server) & upplay (control
point) to same renderers & to upmpdcli/mpd PC renderers. Squeezelite to
Meridian USB Explorer DAC to speakers/phones. Wireless Xubuntu 14.04
laptop with firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver. Have a Touch
with EDO, and a spare, but don't use.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=97046
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix