Krisbee wrote: 
> Tim,
> 
> Did you sort out your problem?  Have you looked through dmesg for any
> error messages or other clues? If "lusb" shows your DAC but it's not
> listed as a audio device by either squeezelite or alsa, have a look at
> what sound modules are being loaded when you boot your Intel Debian
> system, e.g.
> 
> > 
Code:
--------------------
  >   > 
  > lsmod | grep snd
  > 
--------------------
> > 
> 
> If the module "snd_usb_audio" is missing it might explain your
> problem, you can try to load it as root with "modprobe 
> snd_sub_audio".
> 
> As your appear to have installed ALSA on your debian system and have
> multiple sound devices, you may need to adjust a config file to fix
> the order of audio devices.  Look for this file:
> 
> > 
Code:
--------------------
  >   > 
  > /etc/modprobe.d/sound.conf
  > 
--------------------
> > 
> 
> This is my system:
> 
> > 
Code:
--------------------
  >   > 
  > options snd-ice1724 index=1 model=prodigy71
  > options snd-usb-audio index=2
  > 
--------------------
> > 
> 
> On your's, I'd suggest using an index of 0 for snd-usb-audio.
> 
> Also, you could try booting your system without the USB DAC attached. 
> Then plug in your USB DAC while looking at system messages in a
> terminal using as root 
> 
> > 
Code:
--------------------
  >   > 
  > tail -f /var/log/syslog
  > 
--------------------
> > 

simoh wrote: 
> Long shot...try 
> 
> sudo ./squeezelite-armv6hf -l

PasTim wrote: 
> From the last item it looks as if linux alsa is not fully seeing your
> DAC, which would explain why squeezelite can't see it.  I would expect
> to see something like:  
> > 
Code:
--------------------
  >   > 
  > card 2: DAC [Meridian Explorer USB DAC], device 0: USB Audio [USB Audio]
  > Subdevices: 0/1
  > Subdevice #0: subdevice #0
  > 
--------------------
> > 
> So you may need to investigate linux alsa and your usb device.

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_LHUILLIER's Profile: http://forums.slimdevices.com/member.php?userid=63474
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