Zones won't startup

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • tnagpal.
    Smart Home'r
    • 11.05.2019
    • 90

    Zones won't startup

    I recently had to reboot my server and now the zones won't start. No idea what is going on, it was working fine before.

    Anyone have any ideas what is going on?

    Angehängte Dateien
  • hismastersvoice
    Supermoderator
    • 25.08.2015
    • 7225

    #2
    Your sound cards, like most cheap cards, do not have a serial number.
    So therefore I can't give a fix assignment from device number to a serial number.

    Sometime it happend that the assign device number changes after a system update and a reboot after that.

    So what you can do is to reset in WebUI -> Setup -> Sound Cards the device numbers 0>1 1>0 and reboot after saving.

    That is the most common fix with your description.
    Kein Support per PN!

    Kommentar

    • tnagpal.
      Smart Home'r
      • 11.05.2019
      • 90

      #3
      Is there a sound card that does have serial numbers that you could recommend? Does the CSL-Computer 27730USB have them? I would prefer to make this more robust....

      Kommentar

      • hismastersvoice
        Supermoderator
        • 25.08.2015
        • 7225

        #4
        Did the suggestion fix the error?

        I can't recommend a sound card with iSerial number, because I don't found a USB-card that use this.
        I have ordert an expensive on that should have it but don't get it until now.

        For myself I can say that I never had the change it, I'm also not sure why this happens sometimes.

        Kein Support per PN!

        Kommentar

        • Labmaster
          Lox Guru
          • 20.01.2017
          • 2528

          #5
          Normaly a USB reasignment only happens if the device configuration has changed since last startup, like adding or removing a USB device.
          And btw. In in the past i already tried to find a USB soundcard with uniqe serial number but until now i did not find even a single one.

          From what i have seen so far, i think each of the cheap USB soundcards (Logilink, CSL ..) could be upgraded with a serial SPI EEPROM chip (SO8)
          The place on the PCB is already there.
          In the Datasheet (depending on the version check something betweenpage 20 to page 22) the EEPROM Memory Layout is shown.

          As i have already written a program to write to the chip Soundchip registers (my personal solution for AMP switching) it should be possible to write a small piece of software that can fill up the EEPROM.
          Not sure what to use as serial number, i would guess the String might do the trick ?

          I will check if i can get my hands on a suitable EEPROM (maybe start with a 93LC46, on this device the pinout seems to be fully matching the traces on the Soundcard PCB, When checking the CM6206 datasheet all pins are on the right place )
          But dont expect this to happen very soon, there are a lot other projects to be finished before.

          CM6206 Datasheet:
          http://www.steila.com/usb4io/CMedia/...asheet_1.7.pdf
          93LC46 Datasheet:
          https://ww1.microchip.com/downloads/...Doc/21712C.pdf

          Klicke auf die Grafik für eine vergrößerte Ansicht  Name: SCB1.jpg Ansichten: 0 Größe: 388,2 KB ID: 335995

          Klicke auf die Grafik für eine vergrößerte Ansicht  Name: SCB2.jpg Ansichten: 0 Größe: 407,5 KB ID: 335996
          Zuletzt geändert von Labmaster; 31.01.2022, 00:16.

          Kommentar

          • tnagpal.
            Smart Home'r
            • 11.05.2019
            • 90

            #6
            I think it might be simpler to just make the USB ports static

            You never know when you might need to assign static USB port name to a device in Linux. In this short post I describe what I've found to be a neat way of using static port

            Kommentar

            • hismastersvoice
              Supermoderator
              • 25.08.2015
              • 7225

              #7
              Zitat von tnagpal.
              I think it might be simpler to just make the USB ports static
              https://msadowski.github.io/linux-static-port/
              Yes it's a solution, but it isn't as easy as it looks.
              you, me and maybe a hand full of other users know how to do it's by hand.
              For the other ones I have to bring that to the WebUI, and that makes it more difficult.
              The is no connection from device nr that we use actual to the USBPort to make it static.
              Even more, it has to work for already installed systems.

              ​​​​​​I had last night an idea, but have to check it these days if it could work.

              We will see
              Kein Support per PN!

              Kommentar

              • tnagpal.
                Smart Home'r
                • 11.05.2019
                • 90

                #8
                Regardless, my issue was a bad USB cable - once replaced it all worked.

                Kommentar

                • hismastersvoice
                  Supermoderator
                  • 25.08.2015
                  • 7225

                  #9
                  Will work in further version on a solution to static connection.

                  Even if it not happened that often sometimes it happens.
                  Kein Support per PN!

                  Kommentar

                  • hismastersvoice
                    Supermoderator
                    • 25.08.2015
                    • 7225

                    #10
                    I have created a script that statically assigns the USB port to the sound card.
                    This way it can no longer happen that the cards are swapped after a reboot.

                    Will come with the next beta version.
                    Also I can do now a auto-mount of USB-Sticks, that was for a long time on my dev.list.
                    Kein Support per PN!

                    Kommentar

                    • hismastersvoice
                      Supermoderator
                      • 25.08.2015
                      • 7225

                      #11
                      After all tests it look like that it works perfect, a lot of changes of the USB settings with a lot of different USB-Devices was not able to change any thing.
                      I have done more that 50 reboots and always the sound cards was set to the mapped ports.

                      The device ID is now mapped to USB-PORT
                      Device 0 -> SOUND_CARD_0....
                      Klicke auf die Grafik für eine vergrößerte Ansicht

Name: 03-02-_2022_22-08-14.jpg
Ansichten: 155
Größe: 24,5 KB
ID: 336617
                      So that problem is solved I believe.
                      Kein Support per PN!

                      Kommentar

                      Lädt...