Broken Pipe

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • Gast

    Broken Pipe

    Hi,

    I had MS4L working fine with 1 soundcard (CSL usb) on a HP microserver Gen 7.

    I've tried to add 2 more cards and I seem to get stuck, I've tried a reinstall and get the same error:

    Squeezelite | START ALL V0.5.9
    ================================================== ==============================
    Squeezelite Zone1 wird gestartet...
    [23:20:38.518636] test_open:281 playback open error: Broken pipe
    [23:20:38.518807] output_init_common:391 unable to open output device: zone_01_eq
    Squeezelite Zone1 wurde nicht gestartet...
    Squeezelite Zone2 wird gestartet...
    [23:20:39.066702] test_open:281 playback open error: Broken pipe
    [23:20:39.066916] output_init_common:391 unable to open output device: zone_02_eq
    Squeezelite Zone2 wurde nicht gestartet...
    Squeezelite Zone3 wird gestartet...
    [23:20:39.634592] test_open:281 playback open error: Broken pipe
    [23:20:39.634753] output_init_common:391 unable to open output device: zone_03_eq
    Squeezelite Zone3 wurde nicht gestartet...
    Squeezelite Zone4 wird gestartet...
    [23:20:40.202745] test_open:281 playback open error: Broken pipe
    [23:20:40.202934] output_init_common:391 unable to open output device: zone_04_eq
    Squeezelite Zone4 wurde nicht gestartet...
    Squeezelite Zone5 wird gestartet...
    [23:20:40.766846] test_open:281 playback open error: Broken pipe
    [23:20:40.767086] output_init_common:391 unable to open output device: zone_05_eq
    Squeezelite Zone5 wurde nicht gestartet...
    Squeezelite Zone6 wird gestartet...
    [23:20:41.346561] test_open:281 playback open error: Broken pipe
    [23:20:41.346723] output_init_common:391 unable to open output device: zone_06_eq
    Squeezelite Zone6 wurde nicht gestartet...
    Squeezelite Zone7 wird gestartet...
    [23:20:41.918628] test_open:281 playback open error: Broken pipe
    [23:20:41.918822] output_init_common:391 unable to open output device: zone_07_eq
    Squeezelite Zone7 wurde nicht gestartet...
    Squeezelite Zone8 wird gestartet...
    [23:20:42.474544] test_open:281 playback open error: Broken pipe
    [23:20:42.474705] output_init_common:391 unable to open output device: zone_08_eq
    Squeezelite Zone8 wurde nicht gestartet...
    Squeezelite Zone9 wird gestartet...
    [23:20:43.054597] test_open:281 playback open error: Broken pipe
    [23:20:43.054978] output_init_common:391 unable to open output device: zone_09_eq
    Squeezelite Zone9 wurde nicht gestartet...
    Squeezelite Zone10 wird gestartet...
    [23:20:43.598646] test_open:281 playback open error: Broken pipe
    [23:20:43.598818] output_init_common:391 unable to open output device: zone_10_eq
    Squeezelite Zone10 wurde nicht gestartet...
    Squeezelite Zone11 wird gestartet...
    [23:20:44.158536] test_open:281 playback open error: Broken pipe
    [23:20:44.158704] output_init_common:391 unable to open output device: zone_11_eq
    Squeezelite Zone11 wurde nicht gestartet...
    Squeezelite Zone12 wird gestartet...
    [23:20:44.714531] test_open:281 playback open error: Broken pipe
    [23:20:44.714700] output_init_common:391 unable to open output device: zone_12_eq
    Squeezelite Zone12 wurde nicht gestartet...
    root@musicserver:/home/davidw#

    root@musicserver:/home/davidw# aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: Device_1 [USB Sound Device], device 0: USB Audio [USB Audio]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: Device [USB Sound Device], device 0: USB Audio [USB Audio]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 2: Device_2 [USB Sound Device], device 0: USB Audio [USB Audio]
    Subdevices: 1/1
    Subdevice #0: subdevice #0

    root@musicserver:/home/davidw# cat /proc/asound/cards
    0 [Device_1 ]: USB-Audio - USB Sound Device
    USB Sound Device at usb-0000:00:12.0-2, full speed
    1 [Device ]: USB-Audio - USB Sound Device
    USB Sound Device at usb-0000:00:12.0-1, full speed
    2 [Device_2 ]: USB-Audio - USB Sound Device
    USB Sound Device at usb-0000:00:12.0-5, full speed


    Any suggestions?

    I've already tried a re-install from scratch..

    Thanks

    David


  • Gast

    #2
    edited sc to echo the command used when starting each zone player:

    squeezelite -n Zone1 -m 01:d9:2b:0c:1d:9e -o zone_01_eq -a 80:4:: -M MusicServer4Lox-Player
    Squeezelite Zone1 wird gestartet...
    [22:52:33.726115] test_open:281 playback open error: Broken pipe
    [22:52:33.726300] output_init_common:391 unable to open output device: zone_01_eq
    Squeezelite Zone1 wurde nicht gestartet...
    squeezelite -n Zone2 -m 02:d9:2b:0c:1d:9e -o zone_02_eq -a 80:4:: -M MusicServer4Lox-Player
    Squeezelite Zone2 wird gestartet...
    [22:52:34.297973] test_open:281 playback open error: Broken pipe
    [22:52:34.298160] output_init_common:391 unable to open output device: zone_02_eq
    Squeezelite Zone2 wurde nicht gestartet...
    squeezelite -n Zone3 -m 03:d9:2b:0c:1d:9e -o zone_03_eq -a 80:4:: -M MusicServer4Lox-Player
    Squeezelite Zone3 wird gestartet...
    [22:52:34.854104] test_open:281 playback open error: Broken pipe
    [22:52:34.854286] output_init_common:391 unable to open output device: zone_03_eq
    Squeezelite Zone3 wurde nicht gestartet...
    squeezelite -n Zone4 -m 04:d9:2b:0c:1d:9e -o zone_04_eq -a 80:4:: -M MusicServer4Lox-Player
    Squeezelite Zone4 wird gestartet...
    [22:52:35.413967] test_open:281 playback open error: Broken pipe
    [22:52:35.414129] output_init_common:391 unable to open output device: zone_04_eq
    Squeezelite Zone4 wurde nicht gestartet...
    squeezelite -n Zone5 -m 05:d9:2b:0c:1d:9e -o zone_05_eq -a 80:4:: -M MusicServer4Lox-Player
    Squeezelite Zone5 wird gestartet...
    [22:52:35.970006] test_open:281 playback open error: Broken pipe
    [22:52:35.970191] output_init_common:391 unable to open output device: zone_05_eq
    Squeezelite Zone5 wurde nicht gestartet...
    squeezelite -n Zone6 -m 06:d9:2b:0c:1d:9e -o zone_06_eq -a 80:4:: -M MusicServer4Lox-Player
    Squeezelite Zone6 wird gestartet...
    [22:52:36.521983] test_open:281 playback open error: Broken pipe
    [22:52:36.522179] output_init_common:391 unable to open output device: zone_06_eq
    Squeezelite Zone6 wurde nicht gestartet...
    squeezelite -n Zone7 -m 07:d9:2b:0c:1d:9e -o zone_07_eq -a 80:4:: -M MusicServer4Lox-Player
    Squeezelite Zone7 wird gestartet...
    [22:52:37.081944] test_open:281 playback open error: Broken pipe
    [22:52:37.082127] output_init_common:391 unable to open output device: zone_07_eq
    Squeezelite Zone7 wurde nicht gestartet...
    squeezelite -n Zone8 -m 08:d9:2b:0c:1d:9e -o zone_08_eq -a 80:4:: -M MusicServer4Lox-Player
    Squeezelite Zone8 wird gestartet...
    [22:52:37.639036] test_open:281 playback open error: Broken pipe
    [22:52:37.639219] output_init_common:391 unable to open output device: zone_08_eq
    Squeezelite Zone8 wurde nicht gestartet...
    squeezelite -n Zone9 -m 09:d9:2b:0c:1d:9e -o zone_09_eq -a 80:4:: -M MusicServer4Lox-Player
    Squeezelite Zone9 wird gestartet...
    [22:52:38.190990] test_open:281 playback open error: Broken pipe
    [22:52:38.191184] output_init_common:391 unable to open output device: zone_09_eq
    Squeezelite Zone9 wurde nicht gestartet...
    squeezelite -n Zone10 -m 10:d9:2b:0c:1d:9e -o zone_10_eq -a 80:4:: -M MusicServer4Lox-Player
    Squeezelite Zone10 wird gestartet...
    [22:52:38.750832] test_open:281 playback open error: Broken pipe
    [22:52:38.750987] output_init_common:391 unable to open output device: zone_10_eq
    Squeezelite Zone10 wurde nicht gestartet...
    squeezelite -n Zone11 -m 11:d9:2b:0c:1d:9e -o zone_11_eq -a 80:4:: -M MusicServer4Lox-Player
    Squeezelite Zone11 wird gestartet...
    [22:52:39.306637] test_open:281 playback open error: Broken pipe
    [22:52:39.306916] output_init_common:391 unable to open output device: zone_11_eq
    Squeezelite Zone11 wurde nicht gestartet...
    squeezelite -n Zone12 -m 12:d9:2b:0c:1d:9e -o zone_12_eq -a 80:4:: -M MusicServer4Lox-Player
    Squeezelite Zone12 wird gestartet...
    [22:52:39.858917] test_open:281 playback open error: Broken pipe
    [22:52:39.859107] output_init_common:391 unable to open output device: zone_12_eq
    Squeezelite Zone12 wurde nicht gestartet...
    root@musicserver:/opt/music_server#

    root@musicserver:/opt/music_server# cat /opt/music_server/soundcard_cfg/multicard/multi.cfg
    ################################################## ####
    ## MULTICARD CREATED BY MUSICSERVER4LOX

    pcm.card_0 {
    type dmix
    ipc_key 2047
    slave {
    pcm "hw:1"
    rate 48000
    period_time 0
    period_size 1024
    buffer_size 8192
    #channels 8th
    channels 8
    }
    bindings {
    0 0
    1 1
    2 2
    3 3
    4 4
    5 5
    6 6
    7 7
    }
    }

    pcm.card_1 {
    type dmix
    ipc_key 2048
    slave {
    pcm "hw:2"
    rate 48000
    period_time 0
    period_size 1024
    buffer_size 8192
    #channels 8th
    channels 8

    }
    bindings {
    0 0
    1 1
    2 2
    3 3
    4 4
    5 5
    6 6
    7 7
    }
    }

    pcm.card_2 {
    type dmix
    ipc_key 2049
    slave {
    pcm "hw:3"
    rate 48000
    period_time 0
    period_size 1024
    buffer_size 8192
    #channels 8th
    channels 8
    }
    bindings {
    0 0
    1 1
    2 2
    3 3
    4 4
    5 5
    6 6
    7 7
    }
    }

    pcm.multi {
    type multi
    slaves.a {
    pcm "card_0"
    #channels 8th
    channels 8
    }

    slaves.b {
    pcm "card_1"
    #channels 8th
    channels 8
    }

    slaves.c {
    pcm "card_2"
    #channels 8th
    channels 8
    }

    bindings.0.slave a
    bindings.0.channel 0
    bindings.1.slave a
    bindings.1.channel 1
    bindings.2.slave a
    bindings.2.channel 2
    bindings.3.slave a
    bindings.3.channel 3
    bindings.4.slave a
    bindings.4.channel 4
    bindings.5.slave a
    bindings.5.channel 5
    bindings.6.slave a
    bindings.6.channel 6
    bindings.7.slave a
    bindings.7.channel 7
    bindings.8.slave b
    bindings.8.channel 0
    bindings.9.slave b
    bindings.9.channel 1
    bindings.10.slave b
    bindings.10.channel 2
    bindings.11.slave b
    bindings.11.channel 3
    bindings.12.slave b
    bindings.12.channel 4
    bindings.13.slave b
    bindings.13.channel 5
    bindings.14.slave b
    bindings.14.channel 6
    bindings.15.slave b
    bindings.15.channel 7
    bindings.16.slave c
    bindings.16.channel 0
    bindings.17.slave c
    bindings.17.channel 1
    bindings.18.slave c
    bindings.18.channel 2
    bindings.19.slave c
    bindings.19.channel 3
    bindings.20.slave c
    bindings.20.channel 4
    bindings.21.slave c
    bindings.21.channel 5
    bindings.22.slave c
    bindings.22.channel 6
    bindings.23.slave c
    bindings.23.channel 7
    }


    cat /opt/music_server/soundcard_cfg/defaultcard/default.cfg
    ################################################## ####
    ## DEFAULTCARD CREATED BY MUSICSERVER4LOX

    pcm.!default {
    type plug
    slave {
    pcm "allchannel"
    }
    }

    ################################################## ####
    ## ALLCHANALLCARD CREATED BY MUSICSERVER4LOX
    ## Um z.B. Klingel usw. auf allen Zonen auszugeben

    pcm.allchannel {
    type plug
    slave {
    pcm "multi"
    channels 24
    }
    ttable.0.0 1
    ttable.1.1 1
    ttable.0.2 1
    ttable.1.3 1
    ttable.0.4 1
    ttable.1.5 1
    ttable.0.6 1
    ttable.1.7 1
    ttable.0.8 1
    ttable.1.9 1
    ttable.0.10 1
    ttable.1.11 1
    ttable.0.12 1
    ttable.1.13 1
    ttable.0.14 1
    ttable.1.15 1
    ttable.0.16 1
    ttable.1.17 1
    ttable.0.18 1
    ttable.1.19 1
    ttable.0.20 1
    ttable.1.21 1
    ttable.0.22 1
    ttable.1.23 1
    }

    cat /opt/music_server/soundcard_cfg/soundcard.cfg
    1
    8
    48000
    2
    8
    48000
    3
    8
    48000
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    3


    Hope this helps - I'm struggling with this ALSA isnt my thing!




    Kommentar

    • Gast

      #3
      sudo squeezelite -l
      Output devices:
      null - Discard all samples (playback) or generate zero samples (capture)
      pulse - PulseAudio Sound Server
      equal
      card_0
      card_1
      card_2
      multi
      default
      allchannel
      zone_01
      zone_01_eq
      zone_02
      zone_02_eq
      zone_03
      zone_03_eq
      zone_04
      zone_04_eq
      zone_05
      zone_05_eq
      zone_06
      zone_06_eq
      zone_07
      zone_07_eq
      zone_08
      zone_08_eq
      zone_09
      zone_09_eq
      zone_10
      zone_10_eq
      zone_11
      zone_11_eq
      zone_12
      zone_12_eq
      sysdefault:CARD=Device_1 - USB Sound Device, USB Audio - Default Audio Device
      front:CARD=Device_1,DEV=0 - USB Sound Device, USB Audio - Front speakers
      surround21:CARD=Device_1,DEV=0 - USB Sound Device, USB Audio - 2.1 Surround output to Front and Subwoofer speakers
      surround40:CARD=Device_1,DEV=0 - USB Sound Device, USB Audio - 4.0 Surround output to Front and Rear speakers
      surround41:CARD=Device_1,DEV=0 - USB Sound Device, USB Audio - 4.1 Surround output to Front, Rear and Subwoofer speakers
      surround50:CARD=Device_1,DEV=0 - USB Sound Device, USB Audio - 5.0 Surround output to Front, Center and Rear speakers
      surround51:CARD=Device_1,DEV=0 - USB Sound Device, USB Audio - 5.1 Surround output to Front, Center, Rear and Subwoofer speakers
      surround71:CARD=Device_1,DEV=0 - USB Sound Device, USB Audio - 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
      iec958:CARD=Device_1,DEV=0 - USB Sound Device, USB Audio - IEC958 (S/PDIF) Digital Audio Output
      dmix:CARD=Device_1,DEV=0 - USB Sound Device, USB Audio - Direct sample mixing device
      dsnoop:CARD=Device_1,DEV=0 - USB Sound Device, USB Audio - Direct sample snooping device
      hw:CARD=Device_1,DEV=0 - USB Sound Device, USB Audio - Direct hardware device without any conversions
      plughw:CARD=Device_1,DEV=0 - USB Sound Device, USB Audio - Hardware device with all software conversions
      sysdefault:CARD=Device - USB Sound Device, USB Audio - Default Audio Device
      front:CARD=Device,DEV=0 - USB Sound Device, USB Audio - Front speakers
      surround21:CARD=Device,DEV=0 - USB Sound Device, USB Audio - 2.1 Surround output to Front and Subwoofer speakers
      surround40:CARD=Device,DEV=0 - USB Sound Device, USB Audio - 4.0 Surround output to Front and Rear speakers
      surround41:CARD=Device,DEV=0 - USB Sound Device, USB Audio - 4.1 Surround output to Front, Rear and Subwoofer speakers
      surround50:CARD=Device,DEV=0 - USB Sound Device, USB Audio - 5.0 Surround output to Front, Center and Rear speakers
      surround51:CARD=Device,DEV=0 - USB Sound Device, USB Audio - 5.1 Surround output to Front, Center, Rear and Subwoofer speakers
      surround71:CARD=Device,DEV=0 - USB Sound Device, USB Audio - 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
      iec958:CARD=Device,DEV=0 - USB Sound Device, USB Audio - IEC958 (S/PDIF) Digital Audio Output
      dmix:CARD=Device,DEV=0 - USB Sound Device, USB Audio - Direct sample mixing device
      dsnoop:CARD=Device,DEV=0 - USB Sound Device, USB Audio - Direct sample snooping device
      hw:CARD=Device,DEV=0 - USB Sound Device, USB Audio - Direct hardware device without any conversions
      plughw:CARD=Device,DEV=0 - USB Sound Device, USB Audio - Hardware device with all software conversions
      sysdefault:CARD=Device_2 - USB Sound Device, USB Audio - Default Audio Device
      front:CARD=Device_2,DEV=0 - USB Sound Device, USB Audio - Front speakers
      surround21:CARD=Device_2,DEV=0 - USB Sound Device, USB Audio - 2.1 Surround output to Front and Subwoofer speakers
      surround40:CARD=Device_2,DEV=0 - USB Sound Device, USB Audio - 4.0 Surround output to Front and Rear speakers
      surround41:CARD=Device_2,DEV=0 - USB Sound Device, USB Audio - 4.1 Surround output to Front, Rear and Subwoofer speakers
      surround50:CARD=Device_2,DEV=0 - USB Sound Device, USB Audio - 5.0 Surround output to Front, Center and Rear speakers
      surround51:CARD=Device_2,DEV=0 - USB Sound Device, USB Audio - 5.1 Surround output to Front, Center, Rear and Subwoofer speakers
      surround71:CARD=Device_2,DEV=0 - USB Sound Device, USB Audio - 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
      iec958:CARD=Device_2,DEV=0 - USB Sound Device, USB Audio - IEC958 (S/PDIF) Digital Audio Output
      dmix:CARD=Device_2,DEV=0 - USB Sound Device, USB Audio - Direct sample mixing device
      dsnoop:CARD=Device_2,DEV=0 - USB Sound Device, USB Audio - Direct sample snooping device
      hw:CARD=Device_2,DEV=0 - USB Sound Device, USB Audio - Direct hardware device without any conversions
      plughw:CARD=Device_2,DEV=0 - USB Sound Device, USB Audio - Hardware device with all software conversions

      Kommentar

      • Gast

        #4
        cat ./soundcard_cfg/zones/zone_01.cfg
        ################################################## ####
        ## Zone 01

        pcm.zone_01 {
        type plug
        slave {
        pcm "multi"
        channels 24
        }
        ttable.0.0 1
        ttable.1.1 1
        ##
        ##
        ##
        ##
        ##
        ##
        }

        pcm.zone_01_eq {
        type plug
        slave.pcm {
        type equal
        slave.pcm "zone_01"
        controls "/opt/music_server/sq_cfg/eq/zone_01_mbeq.bin"
        library "/usr/lib/ladspa/mbeq_1197.so"
        module "mbeq"
        }
        }

        ctl.zone_01_eq {
        type equal
        controls "/opt/music_server/sq_cfg/eq/zone_01_mbeq.bin"
        library "/usr/lib/ladspa/mbeq_1197.so"
        module "mbeq"

        Kommentar

        • Gast

          #5
          hmm, tired now, but changing to -O rather than -o and using -o - for stdout.. might have started them.. will test tomorrow.

          Kommentar

          • Gast

            #6
            getting somewhere with it, but now getting not enough bandwidth errors - Now looking to grab something with some actual cpu power too - Will update in a week or so when I get back to this, but for reference I did manage to get the players loading by changing the options above. Unfortunately I haven't found a way to download older versions or found a repo on github or anywhere to see if the sc file changed between revisions.

            David

            Kommentar

          • hismastersvoice
            Supermoderator
            • 25.08.2015
            • 7224

            #7
            The code works for many installations, so search the issue at your system, not at the code.

            ​​​​​​You problem...
            every of you 3 cards needs an independent USB port (no hub etc.)
            The system you use don't have independent ports.

            Also the CPU is to old/slow to handle 12 zones.
            As I have written in many other posts, you an Intel nuc and you don't have any of these issues.

            The MS4L is created to build up a cheap multiroom system with actual hardware, but not for 10 year old hardware.
            Kein Support per PN!

            Kommentar

            Lädt...