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

Tim,


1. I would check if your user is already in the “audio” group before
making any changes to the user account. Simply type the word “groups” at
the user's terminal, e.g:


Code:
--------------------
    
  chris@mybox:~$ groups
  chris lp dialout cdrom floppy audio dip video plugdev users systemd-journal 
netdev scanner vboxusers
  
--------------------


2.  This error message -  -“unable to set hw params: Input/output
error-”  - is typically  associated with a program trying to open an
audio device with hardware parameters it cannot support.  In your debug
output you have several lines which show you have missing libraries,
e.g:


Code:
--------------------
    
  [14:33:21.304702] load_vorbis:284 dlerror: libvorbisidec.so.1: cannot open 
shared object file: No such file or directory
  
--------------------


3. You need to fix this by installing the correct libraries, and then
try again:

Install these:

libvorbisfiles
libmad
libmpg123

This info is stated here :  https://code.google.com/p/squeezelite/

4. To ensure your are using the squeezelite command correctly, I would
still like to see the output of both the “/usr/bin/squeezelite-i386 -l”
and the “aplay -l” commands on your system now you say your USB Cmedia
audio device is detected.


------------------------------------------------------------------------
Krisbee's Profile: http://forums.slimdevices.com/member.php?userid=59080
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to