Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 10 of 31

Threaded View

  1. #1
    Junior Member
    Join Date
    Mar 2015
    Posts
    20

    Squeezelite no output to DAC

    Hi,

    (sorry, I wrote this thread in German first)

    I have installed LMS 8.3.0, Alsa and Squeezelite 1.9.9 on an x86 Ubuntu 22.04 PC. The LMS works an I can stream music to my Android tablet (Squeeze Player). However, connecting Squeezelite to my Teac UD-501 DAC does not work poperly. The DAC, connected via USB, is found as output device, and squeezelite is also found as player in LMS. But when I start music playback, the DAC does not react in any way and nothing can be heard.

    I start squeezelite with the command "squeezelite -o front:CARD=UD501,DEV=0 -a 240:::1 -b 80000:320000 -p 90 -d all=debug", which I found somewhere in the web. Maybe these settings are not correct?

    I had the same hardware running without problems for years, but after installing Ubuntu 22.04 this issue happens. Below you can see the squeezelite log. The last row is suspicious: "alsa_open:533 unable to set hw params: No such device or address". Maybe Alsa is not setup correctly?

    Any ideas what is wrong and what I have to do?
    Thank you!

    Code:
    [09:13:08.205397] stream_init:454 init stream
    [09:13:08.205447] stream_init:455 streambuf size: 81920000
    [09:13:08.243317] output_init_alsa:936 init output
    [09:13:08.243356] output_init_alsa:975 requested alsa_buffer: 240 alsa_period: 4 format: any mmap: 1
    [09:13:08.243370] output_init_common:360 outputbuf size: 327680000
    [09:13:08.243405] output_init_common:384 idle timeout: 0
    [09:13:08.246566] test_open:301 sample rate 1536000 not supported
    [09:13:08.246578] test_open:301 sample rate 1411200 not supported
    [09:13:08.246585] test_open:301 sample rate 768000 not supported
    [09:13:08.246592] test_open:301 sample rate 705600 not supported
    [09:13:08.246621] test_open:301 sample rate 32000 not supported
    [09:13:08.246627] test_open:301 sample rate 24000 not supported
    [09:13:08.246632] test_open:301 sample rate 22500 not supported
    [09:13:08.246637] test_open:301 sample rate 16000 not supported
    [09:13:08.246642] test_open:301 sample rate 12000 not supported
    [09:13:08.246649] test_open:301 sample rate 11025 not supported
    [09:13:08.246656] test_open:301 sample rate 8000 not supported
    [09:13:08.246678] output_init_common:426 supported rates: 384000 352800 192000 176400 96000 88200 48000 44100 
    [09:13:08.362280] output_init_alsa:1002 memory locked
    [09:13:08.362321] output_init_alsa:1008 glibc detected using mallopt
    [09:13:08.364569] output_init_alsa:1028 set output sched fifo rt: 90
    [09:13:08.364586] decode_init:153 init decode
    [09:13:08.364622] register_dsd:908 using dsd to decode dsf,dff
    [09:13:08.364630] register_ff:779 using ffmpeg to decode alc
    [09:13:08.364636] register_ff:763 using ffmpeg to decode wma,wmap
    [09:13:08.364642] register_faad:663 using faad to decode aac
    [09:13:08.364648] register_vorbis:385 using vorbis to decode ogg
    [09:13:08.364653] register_flac:336 using flac to decode ogf,flc
    [09:13:08.364657] output_thread:685 open output device: front:CARD=UD501,DEV=0
    [09:13:08.366463] alsa_open:354 opening device at: 44100
    [09:13:08.364663] register_pcm:483 using pcm to decode aif,pcm
    [09:13:08.366640] register_mad:423 using mad to decode mp3
    [09:13:08.366654] decode_init:194 include codecs:  exclude codecs: 
    [09:13:08.366763] discover_server:795 sending discovery
    [09:13:08.366767] alsa_open:425 opened device front:CARD=UD501,DEV=0 using format: S32_LE sample rate: 44100 mmap: 1
    [09:13:08.366806] alsa_open:516 buffer: 240 period: 4 -> buffer size: 10584 period size: 2646
    [09:13:08.367019] discover_server:806 got response from: 192.168.1.100:3483
    [09:13:08.630300] ALSA snd_pcm_hw_hw_params:386 SNDRV_PCM_IOCTL_HW_PARAMS failed (-6)
    [09:13:08.630350] alsa_open:533 unable to set hw params: No such device or address
    [09:13:08.630512] slimproto:898 connecting to 192.168.1.100:3483
    [09:13:08.630649] slimproto:937 connected
    [09:13:08.630678] slimproto:948 local player
    [09:13:08.630694] sendHELO:148 mac: 90:e6:ba:8c:1d:17
    [09:13:08.630710] sendHELO:150 cap: CanHTTPS=1,Model=squeezelite,AccuratePlayPoints=1,HasDigitalOut=1,HasPolarityInversion=1,Balance=1,Firmware=v1.9.9-1395,ModelName=SqueezeLite,MaxSampleRate=384000,dsf,dff,alc,wma,wmap,aac,ogg,ogf,flc,aif,pcm,mp3,loc
    [09:13:08.631442] process:528 strm
    [09:13:08.631459] process_strm:280 strm command q
    [09:13:08.631473] decode_flush:236 decode flush
    [09:13:08.631483] output_flush:439 flush output buffer
    [09:13:08.631491] sendSTAT:195 STAT: STMf
    [09:13:08.631522] process:528 strm
    [09:13:08.631533] process_strm:280 strm command q
    [09:13:08.631540] decode_flush:236 decode flush
    [09:13:08.631547] output_flush:439 flush output buffer
    [09:13:08.631554] sendSTAT:195 STAT: STMf
    [09:13:08.631587] process:528 setd
    [09:13:08.631648] process:528 setd
    [09:13:08.631761] process:528 aude
    [09:13:08.631779] process_aude:422 enable spdif: 1 dac: 1
    [09:13:08.631873] process:528 audg
    [09:13:08.631888] process_audg:440 audg gainL: 1634 gainR: 1634 adjust: 0
    [09:13:08.631900] set_volume:233 setting internal gain left: 65536 right: 65536
    [09:13:09.000691] process:528 strm
    [09:13:09.000728] process_strm:280 strm command t
    [09:13:09.000747] sendSTAT:195 STAT: STMt
    [09:13:13.004316] process:528 strm
    [09:13:13.004353] process_strm:280 strm command t
    [09:13:13.004373] sendSTAT:195 STAT: STMt
    [09:13:13.630535] output_thread:685 open output device: front:CARD=UD501,DEV=0
    [09:13:13.630603] alsa_open:354 opening device at: 44100
    [09:13:13.630902] alsa_open:425 opened device front:CARD=UD501,DEV=0 using format: S32_LE sample rate: 44100 mmap: 1
    [09:13:13.630929] alsa_open:516 buffer: 240 period: 4 -> buffer size: 10584 period size: 2646
    [09:13:13.894304] ALSA snd_pcm_hw_hw_params:386 SNDRV_PCM_IOCTL_HW_PARAMS failed (-6)
    [09:13:13.894352] alsa_open:533 unable to set hw params: No such device or address
    Last edited by King_Crimson; 2022-06-03 at 11:30.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •