Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. Test Adapter rpi2 2.x

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.1k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.8k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.1k

Test Adapter rpi2 2.x

Scheduled Pinned Locked Moved Tester
519 Posts 29 Posters 148.2k Views 20 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • GarfonsoG Garfonso
    Aktuelle Test Version 2.1.1
    Veröffentlichungsdatum 13.10.2024
    Github Link https://github.com/iobroker-community-adapters/ioBroker.rpi2

    Hi.
    Der RPI2 Adapter macht aktuell an zwei Stellen Probleme:

    1. nach Aktualisierung von Raspian auf das Release "Bookworm" gehen GPIOs nicht mehr, weil die Methode, die der Adapter genutzt hat veraltet ist und in Bookworm entfernt wurde.
    2. Raspberry 5 geht nicht (?)
    3. der Adapter muss an JS-Controller 6.x angepasst werden.
    4. Ein paar der Informationen wurden nicht vernünftig abgerufen und wie die implementiert waren, war auch eher fragwürdig...

    Dem Parsen der Informationen hat sich dankenswerterweise @Thomas-Braun angenommen. Guckt mal, ob da jetzt alles so kommt, wie es soll.
    Ich habe mich der Aktualisierung und Anpassung an JS-Controller 6.x und neuer GPIO Bibliothek angenommen. Das ist leider alles noch etwas wackelig in node.js... ich musste drei Bibliotheken durchprobieren. Alle haben ziemlich unterschiedliche Features und es fehlt überall etwas, leider. 😕
    Aber zumindest GPIO Input und Output müsste jetzt gehen.

    Was aktuelle (noch) nicht geht:

    • Konfiguration der Pins als Buttons... die werden einfach als input behandelt. Das wird ohne großen Aufwand auch nicht zurückkommen. Da müssten sich die Leute, die das verwenden, mal melden mit ihren User-cases... da muss alles von Hand neu programmiert werden, das mache ich nur, wenn da ausreichend Leute zusammen kommen. 😉
    • Konfiguration der Ausgänge - also High/Low. Es dürfte immer High sein. Da bitte Aufpassen beim testen!
    • Pullup/PullDown geht auch grundsätzlich nicht, aber das scheint im alten Adapter auch schon so gewesen zu sein. Daran wird aber gearbeitet.

    Sonst "sollte" erst einmal alles gehen.
    Bitte auch mutige vor, die mit "alten" Raspian Versionen testen können und gucken, ob alles so geht, wie vorher. 🙂

    Installieren entweder über admin oder z.B. mit iob upgrade rpi2@2.1.1

    Alpha.11:

    • Weiterer Versuch gpio Input hinzubekommen.

    Alpha.12:

    • Debounce Timer neuimplementiert, damit GPIO Inputs vernünftig ankommen.

    Alpha.13:

    • OutHigh wird im code unterstützt (indem einfach der Wert rumgedreht wird)
    • states für buttons werden gelöscht und ein "state" Zustand erstellt.

    2.0.0:

    • debounce-Verhalten wie in alter Version (hab übersehen, dass sie doch in Settings einstellbar war und verstanden, dass "undefiniert" 0 bedeutet -> hoffe damit kommen jetzt alle Inputs)

    2.1.1:

    • gpio sollte wieder grundsätzlich gehen
    • Rasspberry Zero Unterstützung
    • gpio Bibliothek ist jetzt zwingend eine dependency. Die Systembibliothek wird per preinstall Script mit installiert.

    2.1.2:

    • Theoretisch konnten noch Änderungen verloren gehen, weil der state nur geschrieben wurde, wenn sich der Wert verändert hat (Race-Condition bei sehr schnellen Pulsen). Sollte jetzt auch nicht mehr passieren.
    GarfonsoG Offline
    GarfonsoG Offline
    Garfonso
    Developer
    wrote on last edited by
    #179

    @garfonso

    Gute Neuigkeiten für alle mutigen Tester, gibt was neues zu tun... hust Ich hatte gestern und heute was Zeit und hab die Konfigurationsseite auf das neue jsonConfig System umgearbeitet. Dafür musste ich auch relativ tief in den Adapter eingreifen und die alte Konfiguration bei bedarf übersetzen.

    Der Adapter startet nach dem Update noch einmal mit der neuen Konfig neu. Bei meinen Tests hier ging das alles sauber. Es gibt jetzt auf der GPIO Seite keine lange Liste mehr, sondern eine Tabelle, die nur anzeigt, was auch konfiguriert ist. Auch das wurde bei mir korrekt übernommen.

    Bitte mal die 2.2.0 testen. 🙂 (wer sicher gehen will, dass nichts kaputt geht, vorher die Konfiguration mit dem Admin exportieren, das sind die zwei Knöpfe rechts oben)

    Ultimativer Lovelace Leitfaden: https://forum.iobroker.net/topic/35937/der-ultimative-iobroker-lovelace-leitfaden-dokumentation

    Lovelace UI Beispiele: https://forum.iobroker.net/topic/35950/zeigt-her-eure-lovelace-visualisierung

    L 1 Reply Last reply
    0
    • GarfonsoG Garfonso

      @garfonso

      Gute Neuigkeiten für alle mutigen Tester, gibt was neues zu tun... hust Ich hatte gestern und heute was Zeit und hab die Konfigurationsseite auf das neue jsonConfig System umgearbeitet. Dafür musste ich auch relativ tief in den Adapter eingreifen und die alte Konfiguration bei bedarf übersetzen.

      Der Adapter startet nach dem Update noch einmal mit der neuen Konfig neu. Bei meinen Tests hier ging das alles sauber. Es gibt jetzt auf der GPIO Seite keine lange Liste mehr, sondern eine Tabelle, die nur anzeigt, was auch konfiguriert ist. Auch das wurde bei mir korrekt übernommen.

      Bitte mal die 2.2.0 testen. 🙂 (wer sicher gehen will, dass nichts kaputt geht, vorher die Konfiguration mit dem Admin exportieren, das sind die zwei Knöpfe rechts oben)

      L Offline
      L Offline
      Laser
      wrote on last edited by Laser
      #180

      @garfonso Installieren kann ich (Version 2.2.0 manuell eingegeben), Ansicht wird die Neue, aber der Adapter startet nicht (linkes eigentlich grün werdendes Feld bleibt rotes Rad).
      Werde den Adapter löschen und nochmal neu installieren.
      EDIT: geht nicht? Bzw. bleibt in der Instanzübersicht rot (Rad).
      RAM Nutzung wird auch mit 0 MB angezeigt.
      2.1.2 hat funktioniert.

      
      otto@neuheizung:~ $ cat /etc/os-release
      PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
      NAME="Debian GNU/Linux"
      VERSION_ID="12"
      VERSION="12 (bookworm)"
      VERSION_CODENAME=bookworm
      ID=debian
      HOME_URL="https://www.debian.org/"
      SUPPORT_URL="https://www.debian.org/support"
      BU
      

      GPIO's Entprellen: 100mSec

      GarfonsoG 2 Replies Last reply
      0
      • GarfonsoG Garfonso

        @searcher57 said in Test Adapter rpi2 2.x:

        @garfonso said in Test Adapter rpi2 2.x:

        @searcher57

        Wenn die GPIOs im Adapter nicht konfiguriert sind "sollte" der Adapter sich da auch nicht einmischen. Oder geht das über den Adapter irgendwie?

        Ging das denn vorher auf Bookworm?
        Es gibt system-tools um mit den gpios zu reden. Vielleicht kommst du damit irgendwie weiter... ehrlich gesagt hab ich da nicht wirklich viel Ahnung. 😉

        Ja, bis heute Mittag ging das. Ich komme wahrscheinlich nicht umhin den Vorschlag von @janga anzunehmen.

        Ok, dann musst du mir erklären, das du genau tust und was nun nicht mehr geht. Also, z.B.

        1. Welche Adapter Version war "heute Mittag" noch im Einsatz?
        2. Welches Betriebssystem (z.B. Raspain Bookworm)? (z.B. rausfinden über die Kommandozeile mit cat /etc/os-release)
        3. Was sind die Einstellungen für die GPIOs? Eingang? Spielt entprellen da eine Rolle?
        4. Was heißt "funktioniert nicht mehr"?

        Wenn es vorher ging und jetzt nicht mehr, wird da bestimmt was mit zu tun haben. Da stellt sich dann die frage, ob es wieder funktionieren kann, oder nicht. 😉 Insbesondere, wenn das vorher mit der 1.x war und du nicht auf Bookworm bist, kann das damit zusammenhängen.

        @searcher57 said in Test Adapter rpi2 2.x:

        @garfonso said in Test Adapter rpi2 2.x:

        @searcher57

        Wenn die GPIOs im Adapter nicht konfiguriert sind "sollte" der Adapter sich da auch nicht einmischen. Oder geht das über den Adapter irgendwie?

        Ging das denn vorher auf Bookworm?
        Es gibt system-tools um mit den gpios zu reden. Vielleicht kommst du damit irgendwie weiter... ehrlich gesagt hab ich da nicht wirklich viel Ahnung. 😉

        Was bedeuten denn eigentlich die unteren beiden Auswahlmöglichkeiten?
        e4f6eb5e-d9fa-4d6f-8ea3-0277a09430ed-grafik.png

        DHT11 bzw. DHT22 kenne ich als Temperatur- und Feuchtigkeitssensoren. Im Grunde werden die GPIOs an diese Library weiter gereicht und die Werte regelmäßig ausgelesen (vermute ich). Ob das noch funktioniert, oder nicht, weiß ich nicht. Da geht es mir etwas wie mit dem Support für "Button" (gab es früher als Einstellung), da wäre für mich erstmal interessant, wie viele das wirklich nutzen und was damit gemacht wird, um zu sehen, wie viel Energie ich da rein stecken soll oder ob es nicht anders einfacher geht.

        S Offline
        S Offline
        searcher57
        wrote on last edited by
        #181

        @garfonso said in Test Adapter rpi2 2.x:

        @searcher57 said in Test Adapter rpi2 2.x:

        @garfonso said in Test Adapter rpi2 2.x:

        @searcher57

        Wenn die GPIOs im Adapter nicht konfiguriert sind "sollte" der Adapter sich da auch nicht einmischen. Oder geht das über den Adapter irgendwie?

        Ging das denn vorher auf Bookworm?
        Es gibt system-tools um mit den gpios zu reden. Vielleicht kommst du damit irgendwie weiter... ehrlich gesagt hab ich da nicht wirklich viel Ahnung. 😉

        Ja, bis heute Mittag ging das. Ich komme wahrscheinlich nicht umhin den Vorschlag von @janga anzunehmen.

        Ok, dann musst du mir erklären, das du genau tust und was nun nicht mehr geht. Also, z.B.

        1. Welche Adapter Version war "heute Mittag" noch im Einsatz?
        2. Welches Betriebssystem (z.B. Raspain Bookworm)? (z.B. rausfinden über die Kommandozeile mit cat /etc/os-release)
        3. Was sind die Einstellungen für die GPIOs? Eingang? Spielt entprellen da eine Rolle?
        4. Was heißt "funktioniert nicht mehr"?

        Wenn es vorher ging und jetzt nicht mehr, wird da bestimmt was mit zu tun haben. Da stellt sich dann die frage, ob es wieder funktionieren kann, oder nicht. 😉 Insbesondere, wenn das vorher mit der 1.x war und du nicht auf Bookworm bist, kann das damit zusammenhängen.

        @searcher57 said in Test Adapter rpi2 2.x:

        @garfonso said in Test Adapter rpi2 2.x:

        @searcher57

        Wenn die GPIOs im Adapter nicht konfiguriert sind "sollte" der Adapter sich da auch nicht einmischen. Oder geht das über den Adapter irgendwie?

        Ging das denn vorher auf Bookworm?
        Es gibt system-tools um mit den gpios zu reden. Vielleicht kommst du damit irgendwie weiter... ehrlich gesagt hab ich da nicht wirklich viel Ahnung. 😉

        Was bedeuten denn eigentlich die unteren beiden Auswahlmöglichkeiten?
        e4f6eb5e-d9fa-4d6f-8ea3-0277a09430ed-grafik.png

        DHT11 bzw. DHT22 kenne ich als Temperatur- und Feuchtigkeitssensoren. Im Grunde werden die GPIOs an diese Library weiter gereicht und die Werte regelmäßig ausgelesen (vermute ich). Ob das noch funktioniert, oder nicht, weiß ich nicht. Da geht es mir etwas wie mit dem Support für "Button" (gab es früher als Einstellung), da wäre für mich erstmal interessant, wie viele das wirklich nutzen und was damit gemacht wird, um zu sehen, wie viel Energie ich da rein stecken soll oder ob es nicht anders einfacher geht.

        1. Bis gestern Mittag hatte ich die Version 2.0.0 .Danach Update auf 2.1.1 .
        pi@Raspi58GB:~ $ cat /etc/os-release
        PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
        NAME="Debian GNU/Linux"
        VERSION_ID="12"
        VERSION="12 (bookworm)"
        VERSION_CODENAME=bookworm
        ID=debian
        HOME_URL="https://www.debian.org/"
        SUPPORT_URL="https://www.debian.org/support"
        BUG_REPORT_URL="https://bugs.debian.org/"
        
        
        1. Ja, an allen benutzten GPIO habe ich "Eingang" ausgewählt. Entprellen spielt keine Rolle.
        2. Der "Smartmeter" Adapter zeigt bei "Serielles Gerät: Name" nicht mehr "/dev/ttyS0" an, nur noch "/dev/ttyAMA0 und /dev/ttyAMA10". Somit startet der Adapter nicht mehr und liest über GPIO 14 und 15 (TXD0 und RXD0) die Stromdaten nicht mehr aus. In der Config des Raspi5 habe ich die serielle Schnittstelle aktiviert.

        Das ist leider nicht das einzige Problem. Den Zigbee 3.0 USB Dongle bekomme ich auch nicht mehr gestartet.

        HomoranH GarfonsoG 2 Replies Last reply
        0
        • S searcher57

          @garfonso said in Test Adapter rpi2 2.x:

          @searcher57 said in Test Adapter rpi2 2.x:

          @garfonso said in Test Adapter rpi2 2.x:

          @searcher57

          Wenn die GPIOs im Adapter nicht konfiguriert sind "sollte" der Adapter sich da auch nicht einmischen. Oder geht das über den Adapter irgendwie?

          Ging das denn vorher auf Bookworm?
          Es gibt system-tools um mit den gpios zu reden. Vielleicht kommst du damit irgendwie weiter... ehrlich gesagt hab ich da nicht wirklich viel Ahnung. 😉

          Ja, bis heute Mittag ging das. Ich komme wahrscheinlich nicht umhin den Vorschlag von @janga anzunehmen.

          Ok, dann musst du mir erklären, das du genau tust und was nun nicht mehr geht. Also, z.B.

          1. Welche Adapter Version war "heute Mittag" noch im Einsatz?
          2. Welches Betriebssystem (z.B. Raspain Bookworm)? (z.B. rausfinden über die Kommandozeile mit cat /etc/os-release)
          3. Was sind die Einstellungen für die GPIOs? Eingang? Spielt entprellen da eine Rolle?
          4. Was heißt "funktioniert nicht mehr"?

          Wenn es vorher ging und jetzt nicht mehr, wird da bestimmt was mit zu tun haben. Da stellt sich dann die frage, ob es wieder funktionieren kann, oder nicht. 😉 Insbesondere, wenn das vorher mit der 1.x war und du nicht auf Bookworm bist, kann das damit zusammenhängen.

          @searcher57 said in Test Adapter rpi2 2.x:

          @garfonso said in Test Adapter rpi2 2.x:

          @searcher57

          Wenn die GPIOs im Adapter nicht konfiguriert sind "sollte" der Adapter sich da auch nicht einmischen. Oder geht das über den Adapter irgendwie?

          Ging das denn vorher auf Bookworm?
          Es gibt system-tools um mit den gpios zu reden. Vielleicht kommst du damit irgendwie weiter... ehrlich gesagt hab ich da nicht wirklich viel Ahnung. 😉

          Was bedeuten denn eigentlich die unteren beiden Auswahlmöglichkeiten?
          e4f6eb5e-d9fa-4d6f-8ea3-0277a09430ed-grafik.png

          DHT11 bzw. DHT22 kenne ich als Temperatur- und Feuchtigkeitssensoren. Im Grunde werden die GPIOs an diese Library weiter gereicht und die Werte regelmäßig ausgelesen (vermute ich). Ob das noch funktioniert, oder nicht, weiß ich nicht. Da geht es mir etwas wie mit dem Support für "Button" (gab es früher als Einstellung), da wäre für mich erstmal interessant, wie viele das wirklich nutzen und was damit gemacht wird, um zu sehen, wie viel Energie ich da rein stecken soll oder ob es nicht anders einfacher geht.

          1. Bis gestern Mittag hatte ich die Version 2.0.0 .Danach Update auf 2.1.1 .
          pi@Raspi58GB:~ $ cat /etc/os-release
          PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
          NAME="Debian GNU/Linux"
          VERSION_ID="12"
          VERSION="12 (bookworm)"
          VERSION_CODENAME=bookworm
          ID=debian
          HOME_URL="https://www.debian.org/"
          SUPPORT_URL="https://www.debian.org/support"
          BUG_REPORT_URL="https://bugs.debian.org/"
          
          
          1. Ja, an allen benutzten GPIO habe ich "Eingang" ausgewählt. Entprellen spielt keine Rolle.
          2. Der "Smartmeter" Adapter zeigt bei "Serielles Gerät: Name" nicht mehr "/dev/ttyS0" an, nur noch "/dev/ttyAMA0 und /dev/ttyAMA10". Somit startet der Adapter nicht mehr und liest über GPIO 14 und 15 (TXD0 und RXD0) die Stromdaten nicht mehr aus. In der Config des Raspi5 habe ich die serielle Schnittstelle aktiviert.

          Das ist leider nicht das einzige Problem. Den Zigbee 3.0 USB Dongle bekomme ich auch nicht mehr gestartet.

          HomoranH Do not disturb
          HomoranH Do not disturb
          Homoran
          Global Moderator Administrators
          wrote on last edited by
          #182

          @searcher57 sagte in Test Adapter rpi2 2.x:

          Adapter zeigt bei "Serielles Gerät: Name" nicht mehr "/dev/ttyS0" an, nur noch "/dev/ttyAMA0 und /dev/ttyAMA10".

          Bin mir nicht ganz sicher, aber da gsb es eine Umbenennung ab einer bestimmten OS-Version
          AMA0 und AMA10 sind verschiedene PINs der GPIO Leiste

          kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

          der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

          S 1 Reply Last reply
          0
          • HomoranH Homoran

            @searcher57 sagte in Test Adapter rpi2 2.x:

            Adapter zeigt bei "Serielles Gerät: Name" nicht mehr "/dev/ttyS0" an, nur noch "/dev/ttyAMA0 und /dev/ttyAMA10".

            Bin mir nicht ganz sicher, aber da gsb es eine Umbenennung ab einer bestimmten OS-Version
            AMA0 und AMA10 sind verschiedene PINs der GPIO Leiste

            S Offline
            S Offline
            searcher57
            wrote on last edited by
            #183

            @homoran said in Test Adapter rpi2 2.x:

            @searcher57 sagte in Test Adapter rpi2 2.x:

            Adapter zeigt bei "Serielles Gerät: Name" nicht mehr "/dev/ttyS0" an, nur noch "/dev/ttyAMA0 und /dev/ttyAMA10".

            Bin mir nicht ganz sicher, aber da gsb es eine Umbenennung ab einer bestimmten OS-Version
            AMA0 und AMA10 sind verschiedene PINs der GPIO Leiste

            Tut mir leid, aber das verstehe ich nicht. Das wurde doch vor dem Adapter-Update des RPI2 noch in der Auswahl angezeigt. Mit den beiden o.g. funktioniert der Smartmeter nicht, bzw startet nicht.

            HomoranH 1 Reply Last reply
            0
            • S searcher57

              @homoran said in Test Adapter rpi2 2.x:

              @searcher57 sagte in Test Adapter rpi2 2.x:

              Adapter zeigt bei "Serielles Gerät: Name" nicht mehr "/dev/ttyS0" an, nur noch "/dev/ttyAMA0 und /dev/ttyAMA10".

              Bin mir nicht ganz sicher, aber da gsb es eine Umbenennung ab einer bestimmten OS-Version
              AMA0 und AMA10 sind verschiedene PINs der GPIO Leiste

              Tut mir leid, aber das verstehe ich nicht. Das wurde doch vor dem Adapter-Update des RPI2 noch in der Auswahl angezeigt. Mit den beiden o.g. funktioniert der Smartmeter nicht, bzw startet nicht.

              HomoranH Do not disturb
              HomoranH Do not disturb
              Homoran
              Global Moderator Administrators
              wrote on last edited by
              #184

              @searcher57 sagte in Test Adapter rpi2 2.x:

              Das wurde doch vor dem Adapter-Update des RPI2 noch in der Auswahl angezeigt.

              oder vor dem Update auf Bookworm?

              kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

              Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

              der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

              S 1 Reply Last reply
              0
              • HomoranH Homoran

                @searcher57 sagte in Test Adapter rpi2 2.x:

                Das wurde doch vor dem Adapter-Update des RPI2 noch in der Auswahl angezeigt.

                oder vor dem Update auf Bookworm?

                S Offline
                S Offline
                searcher57
                wrote on last edited by
                #185

                @homoran said in Test Adapter rpi2 2.x:

                @searcher57 sagte in Test Adapter rpi2 2.x:

                Das wurde doch vor dem Adapter-Update des RPI2 noch in der Auswahl angezeigt.

                oder vor dem Update auf Bookworm?

                Nein, Bookworm habe ich schon seit der Einführung drauf!

                L 1 Reply Last reply
                0
                • S searcher57

                  @homoran said in Test Adapter rpi2 2.x:

                  @searcher57 sagte in Test Adapter rpi2 2.x:

                  Das wurde doch vor dem Adapter-Update des RPI2 noch in der Auswahl angezeigt.

                  oder vor dem Update auf Bookworm?

                  Nein, Bookworm habe ich schon seit der Einführung drauf!

                  L Offline
                  L Offline
                  Laser
                  wrote on last edited by
                  #186

                  @searcher57 ,@Homoran
                  bei mir taucht auch kein ttyAMA auf. Nur TTYACM0.

                  S 1 Reply Last reply
                  0
                  • L Laser

                    @searcher57 ,@Homoran
                    bei mir taucht auch kein ttyAMA auf. Nur TTYACM0.

                    S Offline
                    S Offline
                    searcher57
                    wrote on last edited by
                    #187

                    @laser said in Test Adapter rpi2 2.x:

                    @searcher57 ,@Homoran
                    bei mir taucht auch kein ttyAMA auf. Nur TTYACM0.

                    Ich benötige den Punkt /dev/ttyS0, sonst werden die Stromdaten nicht gelesen.

                    1 Reply Last reply
                    0
                    • S searcher57

                      @garfonso said in Test Adapter rpi2 2.x:

                      @searcher57 said in Test Adapter rpi2 2.x:

                      @garfonso said in Test Adapter rpi2 2.x:

                      @searcher57

                      Wenn die GPIOs im Adapter nicht konfiguriert sind "sollte" der Adapter sich da auch nicht einmischen. Oder geht das über den Adapter irgendwie?

                      Ging das denn vorher auf Bookworm?
                      Es gibt system-tools um mit den gpios zu reden. Vielleicht kommst du damit irgendwie weiter... ehrlich gesagt hab ich da nicht wirklich viel Ahnung. 😉

                      Ja, bis heute Mittag ging das. Ich komme wahrscheinlich nicht umhin den Vorschlag von @janga anzunehmen.

                      Ok, dann musst du mir erklären, das du genau tust und was nun nicht mehr geht. Also, z.B.

                      1. Welche Adapter Version war "heute Mittag" noch im Einsatz?
                      2. Welches Betriebssystem (z.B. Raspain Bookworm)? (z.B. rausfinden über die Kommandozeile mit cat /etc/os-release)
                      3. Was sind die Einstellungen für die GPIOs? Eingang? Spielt entprellen da eine Rolle?
                      4. Was heißt "funktioniert nicht mehr"?

                      Wenn es vorher ging und jetzt nicht mehr, wird da bestimmt was mit zu tun haben. Da stellt sich dann die frage, ob es wieder funktionieren kann, oder nicht. 😉 Insbesondere, wenn das vorher mit der 1.x war und du nicht auf Bookworm bist, kann das damit zusammenhängen.

                      @searcher57 said in Test Adapter rpi2 2.x:

                      @garfonso said in Test Adapter rpi2 2.x:

                      @searcher57

                      Wenn die GPIOs im Adapter nicht konfiguriert sind "sollte" der Adapter sich da auch nicht einmischen. Oder geht das über den Adapter irgendwie?

                      Ging das denn vorher auf Bookworm?
                      Es gibt system-tools um mit den gpios zu reden. Vielleicht kommst du damit irgendwie weiter... ehrlich gesagt hab ich da nicht wirklich viel Ahnung. 😉

                      Was bedeuten denn eigentlich die unteren beiden Auswahlmöglichkeiten?
                      e4f6eb5e-d9fa-4d6f-8ea3-0277a09430ed-grafik.png

                      DHT11 bzw. DHT22 kenne ich als Temperatur- und Feuchtigkeitssensoren. Im Grunde werden die GPIOs an diese Library weiter gereicht und die Werte regelmäßig ausgelesen (vermute ich). Ob das noch funktioniert, oder nicht, weiß ich nicht. Da geht es mir etwas wie mit dem Support für "Button" (gab es früher als Einstellung), da wäre für mich erstmal interessant, wie viele das wirklich nutzen und was damit gemacht wird, um zu sehen, wie viel Energie ich da rein stecken soll oder ob es nicht anders einfacher geht.

                      1. Bis gestern Mittag hatte ich die Version 2.0.0 .Danach Update auf 2.1.1 .
                      pi@Raspi58GB:~ $ cat /etc/os-release
                      PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
                      NAME="Debian GNU/Linux"
                      VERSION_ID="12"
                      VERSION="12 (bookworm)"
                      VERSION_CODENAME=bookworm
                      ID=debian
                      HOME_URL="https://www.debian.org/"
                      SUPPORT_URL="https://www.debian.org/support"
                      BUG_REPORT_URL="https://bugs.debian.org/"
                      
                      
                      1. Ja, an allen benutzten GPIO habe ich "Eingang" ausgewählt. Entprellen spielt keine Rolle.
                      2. Der "Smartmeter" Adapter zeigt bei "Serielles Gerät: Name" nicht mehr "/dev/ttyS0" an, nur noch "/dev/ttyAMA0 und /dev/ttyAMA10". Somit startet der Adapter nicht mehr und liest über GPIO 14 und 15 (TXD0 und RXD0) die Stromdaten nicht mehr aus. In der Config des Raspi5 habe ich die serielle Schnittstelle aktiviert.

                      Das ist leider nicht das einzige Problem. Den Zigbee 3.0 USB Dongle bekomme ich auch nicht mehr gestartet.

                      GarfonsoG Offline
                      GarfonsoG Offline
                      Garfonso
                      Developer
                      wrote on last edited by
                      #188

                      @searcher57

                      Also es gab bis zur Version 2.0.0 gab es ein Sytemgerät /dev/ttyS0? Aber was hat das mit dem Adapter zu tun? kopfkratz

                      Hypothese: bis zur 2.0.0 hat bei dir GPIO gar nicht funktioniert, weil die Bibliothek nicht inistialisiert / installiert war und daher hat das System sich um das /dev/ttyS0 gekümmert. Dadurch, dass der Adapter sich da nun "einmischt", geht das halt nicht mehr.
                      Daher die Frage: Was passiert, wenn du die GPIOs im Adapter deaktivierst oder den Adapter mal temporär stopst?

                      Ich hab jetzt gerade mal etwas rumprobiert und in raspi-config -> Interface -> Serial Port shell und serial port aktiviert. Seitdem habe ich ein Gerät /dev/serial0, was laut dmesg was mit ttyS0 zu tun hat und auf den BCM7271 Chip zurück geht. Allerdings wird das bei mir nicht auf ttyS0, sondern auf ttyAMA10 gelinkt.
                      Im Netz hab ich gelesen, dass AMA0 möglicherweise Bluetooth ist.

                      Grundsätzlich stellt sich bei mir die Frage, warum du die beiden GPIOs im Adapter aktiviert hast, wenn du sie anderweitig als tty nutzen möchtest. Also das würde ich definitiv ausstellen... oder willst du per ioBroker Objekten "zuhören"? kopfkratz

                      Ansonsten kannst du auch mal mit gpioinfo gucken, was der zu den GPIOs sagt. Bei mir kriege ich z.B. folgende Info:

                      pi@kueche:~ $ gpioinfo | grep UART
                      line  13: "UART_TX_FS"       unused   input  active-high
                      line  14: "UART_RX_FS"       unused   input  active-high
                      

                      Ultimativer Lovelace Leitfaden: https://forum.iobroker.net/topic/35937/der-ultimative-iobroker-lovelace-leitfaden-dokumentation

                      Lovelace UI Beispiele: https://forum.iobroker.net/topic/35950/zeigt-her-eure-lovelace-visualisierung

                      HomoranH S 2 Replies Last reply
                      0
                      • GarfonsoG Garfonso

                        @searcher57

                        Also es gab bis zur Version 2.0.0 gab es ein Sytemgerät /dev/ttyS0? Aber was hat das mit dem Adapter zu tun? kopfkratz

                        Hypothese: bis zur 2.0.0 hat bei dir GPIO gar nicht funktioniert, weil die Bibliothek nicht inistialisiert / installiert war und daher hat das System sich um das /dev/ttyS0 gekümmert. Dadurch, dass der Adapter sich da nun "einmischt", geht das halt nicht mehr.
                        Daher die Frage: Was passiert, wenn du die GPIOs im Adapter deaktivierst oder den Adapter mal temporär stopst?

                        Ich hab jetzt gerade mal etwas rumprobiert und in raspi-config -> Interface -> Serial Port shell und serial port aktiviert. Seitdem habe ich ein Gerät /dev/serial0, was laut dmesg was mit ttyS0 zu tun hat und auf den BCM7271 Chip zurück geht. Allerdings wird das bei mir nicht auf ttyS0, sondern auf ttyAMA10 gelinkt.
                        Im Netz hab ich gelesen, dass AMA0 möglicherweise Bluetooth ist.

                        Grundsätzlich stellt sich bei mir die Frage, warum du die beiden GPIOs im Adapter aktiviert hast, wenn du sie anderweitig als tty nutzen möchtest. Also das würde ich definitiv ausstellen... oder willst du per ioBroker Objekten "zuhören"? kopfkratz

                        Ansonsten kannst du auch mal mit gpioinfo gucken, was der zu den GPIOs sagt. Bei mir kriege ich z.B. folgende Info:

                        pi@kueche:~ $ gpioinfo | grep UART
                        line  13: "UART_TX_FS"       unused   input  active-high
                        line  14: "UART_RX_FS"       unused   input  active-high
                        
                        HomoranH Do not disturb
                        HomoranH Do not disturb
                        Homoran
                        Global Moderator Administrators
                        wrote on last edited by Homoran
                        #189

                        @garfonso Das passt zu dem was ich in der Zwischenzeit mit meinem Halbwissen ergoogelt habe.

                        AMA0 soll korrekt sein.
                        serial0 auch
                        ttyS0 auch

                        Irgendwo hab ich noch gefunden, dass wohl AMA0 im Moment (??) gar nicht funktioniert, das Paket (welches auch immer) sei broken.

                        Irgendwo stand auch etwas davon, dass man nur die GPIOs aktivieren soll, die man nutzt, sonst gäbe es Probleme

                        kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                        1 Reply Last reply
                        1
                        • GarfonsoG Garfonso

                          @searcher57

                          Also es gab bis zur Version 2.0.0 gab es ein Sytemgerät /dev/ttyS0? Aber was hat das mit dem Adapter zu tun? kopfkratz

                          Hypothese: bis zur 2.0.0 hat bei dir GPIO gar nicht funktioniert, weil die Bibliothek nicht inistialisiert / installiert war und daher hat das System sich um das /dev/ttyS0 gekümmert. Dadurch, dass der Adapter sich da nun "einmischt", geht das halt nicht mehr.
                          Daher die Frage: Was passiert, wenn du die GPIOs im Adapter deaktivierst oder den Adapter mal temporär stopst?

                          Ich hab jetzt gerade mal etwas rumprobiert und in raspi-config -> Interface -> Serial Port shell und serial port aktiviert. Seitdem habe ich ein Gerät /dev/serial0, was laut dmesg was mit ttyS0 zu tun hat und auf den BCM7271 Chip zurück geht. Allerdings wird das bei mir nicht auf ttyS0, sondern auf ttyAMA10 gelinkt.
                          Im Netz hab ich gelesen, dass AMA0 möglicherweise Bluetooth ist.

                          Grundsätzlich stellt sich bei mir die Frage, warum du die beiden GPIOs im Adapter aktiviert hast, wenn du sie anderweitig als tty nutzen möchtest. Also das würde ich definitiv ausstellen... oder willst du per ioBroker Objekten "zuhören"? kopfkratz

                          Ansonsten kannst du auch mal mit gpioinfo gucken, was der zu den GPIOs sagt. Bei mir kriege ich z.B. folgende Info:

                          pi@kueche:~ $ gpioinfo | grep UART
                          line  13: "UART_TX_FS"       unused   input  active-high
                          line  14: "UART_RX_FS"       unused   input  active-high
                          
                          S Offline
                          S Offline
                          searcher57
                          wrote on last edited by
                          #190

                          @garfonso said in Test Adapter rpi2 2.x:

                          gpioinfo

                          Ich habe die neueste Version RPI2 soeben aktualisiert. Außerdem habe ich die Eingänge GPIO14 und 15 deaktiviert. Und hier die Ausgabe :

                          pi@Raspi58GB:~ $ gpioinfo
                          gpiochip0 - 54 lines:
                                  line   0:     "ID_SDA"       unused   input  active-high
                                  line   1:     "ID_SCL"       unused   input  active-high
                                  line   2:      "GPIO2"       unused   input  active-high
                                  line   3:      "GPIO3"       unused   input  active-high
                                  line   4:      "GPIO4"       unused   input  active-high
                                  line   5:      "GPIO5"       unused   input  active-high
                                  line   6:      "GPIO6"       unused   input  active-high
                                  line   7:      "GPIO7"       unused   input  active-high
                                  line   8:      "GPIO8"       unused   input  active-high
                                  line   9:      "GPIO9"       unused   input  active-high
                                  line  10:     "GPIO10"       unused   input  active-high
                                  line  11:     "GPIO11"       unused   input  active-high
                                  line  12:     "GPIO12"       unused   input  active-high
                                  line  13:     "GPIO13"       unused   input  active-high
                                  line  14:     "GPIO14"       unused   input  active-high
                                  line  15:     "GPIO15"       unused   input  active-high
                                  line  16:     "GPIO16"       unused   input  active-high
                                  line  17:     "GPIO17" "opengpio_4_17_watch" input active-high [used]
                                  line  18:     "GPIO18"       unused   input  active-high
                                  line  19:     "GPIO19"       unused   input  active-high
                                  line  20:     "GPIO20"       unused   input  active-high
                                  line  21:     "GPIO21"       unused   input  active-high
                                  line  22:     "GPIO22" "opengpio_4_22_watch" input active-high [used]
                                  line  23:     "GPIO23"       unused   input  active-high
                                  line  24:     "GPIO24"       unused   input  active-high
                                  line  25:     "GPIO25"       unused   input  active-high
                                  line  26:     "GPIO26"       unused   input  active-high
                                  line  27:     "GPIO27"       unused   input  active-high
                                  line  28: "PCIE_RP1_WAKE" unused input active-high
                                  line  29:   "FAN_TACH"       unused   input  active-high
                                  line  30:   "HOST_SDA"       unused   input  active-high
                                  line  31:   "HOST_SCL"       unused   input  active-high
                                  line  32:  "ETH_RST_N"  "phy-reset"  output   active-low [used]
                                  line  33:          "-"       unused   input  active-high
                                  line  34: "CD0_IO0_MICCLK" "cam0_reg" output active-high [used]
                                  line  35: "CD0_IO0_MICDAT0" unused input active-high
                                  line  36: "RP1_PCIE_CLKREQ_N" unused input active-high
                                  line  37:          "-"       unused   input  active-high
                                  line  38:    "CD0_SDA"       unused   input  active-high
                                  line  39:    "CD0_SCL"       unused   input  active-high
                                  line  40:    "CD1_SDA"       unused   input  active-high
                                  line  41:    "CD1_SCL"       unused   input  active-high
                                  line  42: "USB_VBUS_EN" unused output active-high
                                  line  43:   "USB_OC_N"       unused   input  active-high
                                  line  44: "RP1_STAT_LED" "PWR" output active-low [used]
                                  line  45:    "FAN_PWM"       unused   input  active-high
                                  line  46: "CD1_IO0_MICCLK" "cam1_reg" output active-high [used]
                                  line  47:  "2712_WAKE"       unused   input  active-high
                                  line  48: "CD1_IO1_MICDAT1" unused input active-high
                                  line  49: "EN_MAX_USB_CUR" unused output active-high
                                  line  50:          "-"       unused   input  active-high
                                  line  51:          "-"       unused   input  active-high
                                  line  52:          "-"       unused   input  active-high
                                  line  53:          "-"       unused   input  active-high
                          gpiochip10 - 32 lines:
                                  line   0:          "-"       unused   input  active-high
                                  line   1: "2712_BOOT_CS_N" "spi10 CS0" output active-low [used]
                                  line   2: "2712_BOOT_MISO" unused input active-high
                                  line   3: "2712_BOOT_MOSI" unused input active-high
                                  line   4: "2712_BOOT_SCLK" unused input active-high
                                  line   5:          "-"       unused   input  active-high
                                  line   6:          "-"       unused   input  active-high
                                  line   7:          "-"       unused   input  active-high
                                  line   8:          "-"       unused   input  active-high
                                  line   9:          "-"       unused   input  active-high
                                  line  10:          "-"       unused   input  active-high
                                  line  11:          "-"       unused   input  active-high
                                  line  12:          "-"       unused   input  active-high
                                  line  13:          "-"       unused   input  active-high
                                  line  14:   "PCIE_SDA"       unused   input  active-high
                                  line  15:   "PCIE_SCL"       unused   input  active-high
                                  line  16:          "-"       unused   input  active-high
                                  line  17:          "-"       unused   input  active-high
                                  line  18:          "-"       unused   input  active-high
                                  line  19:          "-"       unused   input  active-high
                                  line  20:   "PWR_GPIO" "pwr_button"   input   active-low [used]
                                  line  21: "2712_G21_FS" unused input active-high
                                  line  22:          "-"       unused   input  active-high
                                  line  23:          "-"       unused   input  active-high
                                  line  24:     "BT_RTS"       unused   input  active-high
                                  line  25:     "BT_CTS"       unused   input  active-high
                                  line  26:     "BT_TXD"       unused   input  active-high
                                  line  27:     "BT_RXD"       unused   input  active-high
                                  line  28:      "WL_ON"  "wl_on_reg"  output  active-high [used]
                                  line  29:      "BT_ON"   "shutdown"  output  active-high [used]
                                  line  30: "WIFI_SDIO_CLK" unused input active-high
                                  line  31: "WIFI_SDIO_CMD" unused input active-high
                          gpiochip11 - 4 lines:
                                  line   0: "WIFI_SDIO_D0" unused input active-high
                                  line   1: "WIFI_SDIO_D1" unused input active-high
                                  line   2: "WIFI_SDIO_D2" unused input active-high
                                  line   3: "WIFI_SDIO_D3" unused input active-high
                          gpiochip12 - 17 lines:
                                  line   0:    "RP1_SDA"       unused   input  active-high
                                  line   1:    "RP1_SCL"       unused   input  active-high
                                  line   2:    "RP1_RUN" "RP1 RUN pin" output active-high [used]
                                  line   3: "SD_IOVDD_SEL" "vdd-sd-io" output active-high [used]
                                  line   4:  "SD_PWR_ON" "sd_vcc_reg"  output  active-high [used]
                                  line   5:  "SD_CDET_N"         "cd"   input   active-low [used]
                                  line   6:   "SD_FLG_N"       unused   input  active-high
                                  line   7:          "-"       unused   input  active-high
                                  line   8:  "2712_WAKE"       unused   input  active-high
                                  line   9: "2712_STAT_LED" "ACT" output active-low [used]
                                  line  10:          "-"       unused   input  active-high
                                  line  11:          "-"       unused   input  active-high
                                  line  12:   "PMIC_INT"       unused   input  active-high
                                  line  13: "UART_TX_FS"       unused   input  active-high
                                  line  14: "UART_RX_FS"       unused   input  active-high
                                  line  15:          "-"       unused   input  active-high
                                  line  16:          "-"       unused   input  active-high
                          gpiochip13 - 6 lines:
                                  line   0:  "HDMI0_SCL"       unused   input  active-high
                                  line   1:  "HDMI0_SDA"       unused   input  active-high
                                  line   2:  "HDMI1_SCL"       unused   input  active-high
                                  line   3:  "HDMI1_SDA"       unused   input  active-high
                                  line   4:   "PMIC_SCL"       unused   input  active-high
                                  line   5:   "PMIC_SDA"       unused   input  active-high
                          gpiochip14 - 7 lines:
                                  line   0:      unnamed       unused   input  active-high
                                  line   1:      unnamed       unused   input  active-high
                                  line   2:      unnamed       unused   input  active-high
                                  line   3:      unnamed       unused   input  active-high
                                  line   4:      unnamed       unused   input  active-high
                                  line   5:      unnamed       unused   input  active-high
                                  line   6:      unnamed       unused   input  active-high
                          gpiochip0 - 54 lines:
                                  line   0:     "ID_SDA"       unused   input  active-high
                                  line   1:     "ID_SCL"       unused   input  active-high
                                  line   2:      "GPIO2"       unused   input  active-high
                                  line   3:      "GPIO3"       unused   input  active-high
                                  line   4:      "GPIO4"       unused   input  active-high
                                  line   5:      "GPIO5"       unused   input  active-high
                                  line   6:      "GPIO6"       unused   input  active-high
                                  line   7:      "GPIO7"       unused   input  active-high
                                  line   8:      "GPIO8"       unused   input  active-high
                                  line   9:      "GPIO9"       unused   input  active-high
                                  line  10:     "GPIO10"       unused   input  active-high
                                  line  11:     "GPIO11"       unused   input  active-high
                                  line  12:     "GPIO12"       unused   input  active-high
                                  line  13:     "GPIO13"       unused   input  active-high
                                  line  14:     "GPIO14"       unused   input  active-high
                                  line  15:     "GPIO15"       unused   input  active-high
                                  line  16:     "GPIO16"       unused   input  active-high
                                  line  17:     "GPIO17" "opengpio_4_17_watch" input active-high [used]
                                  line  18:     "GPIO18"       unused   input  active-high
                                  line  19:     "GPIO19"       unused   input  active-high
                                  line  20:     "GPIO20"       unused   input  active-high
                                  line  21:     "GPIO21"       unused   input  active-high
                                  line  22:     "GPIO22" "opengpio_4_22_watch" input active-high [used]
                                  line  23:     "GPIO23"       unused   input  active-high
                                  line  24:     "GPIO24"       unused   input  active-high
                                  line  25:     "GPIO25"       unused   input  active-high
                                  line  26:     "GPIO26"       unused   input  active-high
                                  line  27:     "GPIO27"       unused   input  active-high
                                  line  28: "PCIE_RP1_WAKE" unused input active-high
                                  line  29:   "FAN_TACH"       unused   input  active-high
                                  line  30:   "HOST_SDA"       unused   input  active-high
                                  line  31:   "HOST_SCL"       unused   input  active-high
                                  line  32:  "ETH_RST_N"  "phy-reset"  output   active-low [used]
                                  line  33:          "-"       unused   input  active-high
                                  line  34: "CD0_IO0_MICCLK" "cam0_reg" output active-high [used]
                                  line  35: "CD0_IO0_MICDAT0" unused input active-high
                                  line  36: "RP1_PCIE_CLKREQ_N" unused input active-high
                                  line  37:          "-"       unused   input  active-high
                                  line  38:    "CD0_SDA"       unused   input  active-high
                                  line  39:    "CD0_SCL"       unused   input  active-high
                                  line  40:    "CD1_SDA"       unused   input  active-high
                                  line  41:    "CD1_SCL"       unused   input  active-high
                                  line  42: "USB_VBUS_EN" unused output active-high
                                  line  43:   "USB_OC_N"       unused   input  active-high
                                  line  44: "RP1_STAT_LED" "PWR" output active-low [used]
                                  line  45:    "FAN_PWM"       unused   input  active-high
                                  line  46: "CD1_IO0_MICCLK" "cam1_reg" output active-high [used]
                                  line  47:  "2712_WAKE"       unused   input  active-high
                                  line  48: "CD1_IO1_MICDAT1" unused input active-high
                                  line  49: "EN_MAX_USB_CUR" unused output active-high
                                  line  50:          "-"       unused   input  active-high
                                  line  51:          "-"       unused   input  active-high
                                  line  52:          "-"       unused   input  active-high
                                  line  53:          "-"       unused   input  active-high
                          
                          
                          S 1 Reply Last reply
                          0
                          • S searcher57

                            @garfonso said in Test Adapter rpi2 2.x:

                            gpioinfo

                            Ich habe die neueste Version RPI2 soeben aktualisiert. Außerdem habe ich die Eingänge GPIO14 und 15 deaktiviert. Und hier die Ausgabe :

                            pi@Raspi58GB:~ $ gpioinfo
                            gpiochip0 - 54 lines:
                                    line   0:     "ID_SDA"       unused   input  active-high
                                    line   1:     "ID_SCL"       unused   input  active-high
                                    line   2:      "GPIO2"       unused   input  active-high
                                    line   3:      "GPIO3"       unused   input  active-high
                                    line   4:      "GPIO4"       unused   input  active-high
                                    line   5:      "GPIO5"       unused   input  active-high
                                    line   6:      "GPIO6"       unused   input  active-high
                                    line   7:      "GPIO7"       unused   input  active-high
                                    line   8:      "GPIO8"       unused   input  active-high
                                    line   9:      "GPIO9"       unused   input  active-high
                                    line  10:     "GPIO10"       unused   input  active-high
                                    line  11:     "GPIO11"       unused   input  active-high
                                    line  12:     "GPIO12"       unused   input  active-high
                                    line  13:     "GPIO13"       unused   input  active-high
                                    line  14:     "GPIO14"       unused   input  active-high
                                    line  15:     "GPIO15"       unused   input  active-high
                                    line  16:     "GPIO16"       unused   input  active-high
                                    line  17:     "GPIO17" "opengpio_4_17_watch" input active-high [used]
                                    line  18:     "GPIO18"       unused   input  active-high
                                    line  19:     "GPIO19"       unused   input  active-high
                                    line  20:     "GPIO20"       unused   input  active-high
                                    line  21:     "GPIO21"       unused   input  active-high
                                    line  22:     "GPIO22" "opengpio_4_22_watch" input active-high [used]
                                    line  23:     "GPIO23"       unused   input  active-high
                                    line  24:     "GPIO24"       unused   input  active-high
                                    line  25:     "GPIO25"       unused   input  active-high
                                    line  26:     "GPIO26"       unused   input  active-high
                                    line  27:     "GPIO27"       unused   input  active-high
                                    line  28: "PCIE_RP1_WAKE" unused input active-high
                                    line  29:   "FAN_TACH"       unused   input  active-high
                                    line  30:   "HOST_SDA"       unused   input  active-high
                                    line  31:   "HOST_SCL"       unused   input  active-high
                                    line  32:  "ETH_RST_N"  "phy-reset"  output   active-low [used]
                                    line  33:          "-"       unused   input  active-high
                                    line  34: "CD0_IO0_MICCLK" "cam0_reg" output active-high [used]
                                    line  35: "CD0_IO0_MICDAT0" unused input active-high
                                    line  36: "RP1_PCIE_CLKREQ_N" unused input active-high
                                    line  37:          "-"       unused   input  active-high
                                    line  38:    "CD0_SDA"       unused   input  active-high
                                    line  39:    "CD0_SCL"       unused   input  active-high
                                    line  40:    "CD1_SDA"       unused   input  active-high
                                    line  41:    "CD1_SCL"       unused   input  active-high
                                    line  42: "USB_VBUS_EN" unused output active-high
                                    line  43:   "USB_OC_N"       unused   input  active-high
                                    line  44: "RP1_STAT_LED" "PWR" output active-low [used]
                                    line  45:    "FAN_PWM"       unused   input  active-high
                                    line  46: "CD1_IO0_MICCLK" "cam1_reg" output active-high [used]
                                    line  47:  "2712_WAKE"       unused   input  active-high
                                    line  48: "CD1_IO1_MICDAT1" unused input active-high
                                    line  49: "EN_MAX_USB_CUR" unused output active-high
                                    line  50:          "-"       unused   input  active-high
                                    line  51:          "-"       unused   input  active-high
                                    line  52:          "-"       unused   input  active-high
                                    line  53:          "-"       unused   input  active-high
                            gpiochip10 - 32 lines:
                                    line   0:          "-"       unused   input  active-high
                                    line   1: "2712_BOOT_CS_N" "spi10 CS0" output active-low [used]
                                    line   2: "2712_BOOT_MISO" unused input active-high
                                    line   3: "2712_BOOT_MOSI" unused input active-high
                                    line   4: "2712_BOOT_SCLK" unused input active-high
                                    line   5:          "-"       unused   input  active-high
                                    line   6:          "-"       unused   input  active-high
                                    line   7:          "-"       unused   input  active-high
                                    line   8:          "-"       unused   input  active-high
                                    line   9:          "-"       unused   input  active-high
                                    line  10:          "-"       unused   input  active-high
                                    line  11:          "-"       unused   input  active-high
                                    line  12:          "-"       unused   input  active-high
                                    line  13:          "-"       unused   input  active-high
                                    line  14:   "PCIE_SDA"       unused   input  active-high
                                    line  15:   "PCIE_SCL"       unused   input  active-high
                                    line  16:          "-"       unused   input  active-high
                                    line  17:          "-"       unused   input  active-high
                                    line  18:          "-"       unused   input  active-high
                                    line  19:          "-"       unused   input  active-high
                                    line  20:   "PWR_GPIO" "pwr_button"   input   active-low [used]
                                    line  21: "2712_G21_FS" unused input active-high
                                    line  22:          "-"       unused   input  active-high
                                    line  23:          "-"       unused   input  active-high
                                    line  24:     "BT_RTS"       unused   input  active-high
                                    line  25:     "BT_CTS"       unused   input  active-high
                                    line  26:     "BT_TXD"       unused   input  active-high
                                    line  27:     "BT_RXD"       unused   input  active-high
                                    line  28:      "WL_ON"  "wl_on_reg"  output  active-high [used]
                                    line  29:      "BT_ON"   "shutdown"  output  active-high [used]
                                    line  30: "WIFI_SDIO_CLK" unused input active-high
                                    line  31: "WIFI_SDIO_CMD" unused input active-high
                            gpiochip11 - 4 lines:
                                    line   0: "WIFI_SDIO_D0" unused input active-high
                                    line   1: "WIFI_SDIO_D1" unused input active-high
                                    line   2: "WIFI_SDIO_D2" unused input active-high
                                    line   3: "WIFI_SDIO_D3" unused input active-high
                            gpiochip12 - 17 lines:
                                    line   0:    "RP1_SDA"       unused   input  active-high
                                    line   1:    "RP1_SCL"       unused   input  active-high
                                    line   2:    "RP1_RUN" "RP1 RUN pin" output active-high [used]
                                    line   3: "SD_IOVDD_SEL" "vdd-sd-io" output active-high [used]
                                    line   4:  "SD_PWR_ON" "sd_vcc_reg"  output  active-high [used]
                                    line   5:  "SD_CDET_N"         "cd"   input   active-low [used]
                                    line   6:   "SD_FLG_N"       unused   input  active-high
                                    line   7:          "-"       unused   input  active-high
                                    line   8:  "2712_WAKE"       unused   input  active-high
                                    line   9: "2712_STAT_LED" "ACT" output active-low [used]
                                    line  10:          "-"       unused   input  active-high
                                    line  11:          "-"       unused   input  active-high
                                    line  12:   "PMIC_INT"       unused   input  active-high
                                    line  13: "UART_TX_FS"       unused   input  active-high
                                    line  14: "UART_RX_FS"       unused   input  active-high
                                    line  15:          "-"       unused   input  active-high
                                    line  16:          "-"       unused   input  active-high
                            gpiochip13 - 6 lines:
                                    line   0:  "HDMI0_SCL"       unused   input  active-high
                                    line   1:  "HDMI0_SDA"       unused   input  active-high
                                    line   2:  "HDMI1_SCL"       unused   input  active-high
                                    line   3:  "HDMI1_SDA"       unused   input  active-high
                                    line   4:   "PMIC_SCL"       unused   input  active-high
                                    line   5:   "PMIC_SDA"       unused   input  active-high
                            gpiochip14 - 7 lines:
                                    line   0:      unnamed       unused   input  active-high
                                    line   1:      unnamed       unused   input  active-high
                                    line   2:      unnamed       unused   input  active-high
                                    line   3:      unnamed       unused   input  active-high
                                    line   4:      unnamed       unused   input  active-high
                                    line   5:      unnamed       unused   input  active-high
                                    line   6:      unnamed       unused   input  active-high
                            gpiochip0 - 54 lines:
                                    line   0:     "ID_SDA"       unused   input  active-high
                                    line   1:     "ID_SCL"       unused   input  active-high
                                    line   2:      "GPIO2"       unused   input  active-high
                                    line   3:      "GPIO3"       unused   input  active-high
                                    line   4:      "GPIO4"       unused   input  active-high
                                    line   5:      "GPIO5"       unused   input  active-high
                                    line   6:      "GPIO6"       unused   input  active-high
                                    line   7:      "GPIO7"       unused   input  active-high
                                    line   8:      "GPIO8"       unused   input  active-high
                                    line   9:      "GPIO9"       unused   input  active-high
                                    line  10:     "GPIO10"       unused   input  active-high
                                    line  11:     "GPIO11"       unused   input  active-high
                                    line  12:     "GPIO12"       unused   input  active-high
                                    line  13:     "GPIO13"       unused   input  active-high
                                    line  14:     "GPIO14"       unused   input  active-high
                                    line  15:     "GPIO15"       unused   input  active-high
                                    line  16:     "GPIO16"       unused   input  active-high
                                    line  17:     "GPIO17" "opengpio_4_17_watch" input active-high [used]
                                    line  18:     "GPIO18"       unused   input  active-high
                                    line  19:     "GPIO19"       unused   input  active-high
                                    line  20:     "GPIO20"       unused   input  active-high
                                    line  21:     "GPIO21"       unused   input  active-high
                                    line  22:     "GPIO22" "opengpio_4_22_watch" input active-high [used]
                                    line  23:     "GPIO23"       unused   input  active-high
                                    line  24:     "GPIO24"       unused   input  active-high
                                    line  25:     "GPIO25"       unused   input  active-high
                                    line  26:     "GPIO26"       unused   input  active-high
                                    line  27:     "GPIO27"       unused   input  active-high
                                    line  28: "PCIE_RP1_WAKE" unused input active-high
                                    line  29:   "FAN_TACH"       unused   input  active-high
                                    line  30:   "HOST_SDA"       unused   input  active-high
                                    line  31:   "HOST_SCL"       unused   input  active-high
                                    line  32:  "ETH_RST_N"  "phy-reset"  output   active-low [used]
                                    line  33:          "-"       unused   input  active-high
                                    line  34: "CD0_IO0_MICCLK" "cam0_reg" output active-high [used]
                                    line  35: "CD0_IO0_MICDAT0" unused input active-high
                                    line  36: "RP1_PCIE_CLKREQ_N" unused input active-high
                                    line  37:          "-"       unused   input  active-high
                                    line  38:    "CD0_SDA"       unused   input  active-high
                                    line  39:    "CD0_SCL"       unused   input  active-high
                                    line  40:    "CD1_SDA"       unused   input  active-high
                                    line  41:    "CD1_SCL"       unused   input  active-high
                                    line  42: "USB_VBUS_EN" unused output active-high
                                    line  43:   "USB_OC_N"       unused   input  active-high
                                    line  44: "RP1_STAT_LED" "PWR" output active-low [used]
                                    line  45:    "FAN_PWM"       unused   input  active-high
                                    line  46: "CD1_IO0_MICCLK" "cam1_reg" output active-high [used]
                                    line  47:  "2712_WAKE"       unused   input  active-high
                                    line  48: "CD1_IO1_MICDAT1" unused input active-high
                                    line  49: "EN_MAX_USB_CUR" unused output active-high
                                    line  50:          "-"       unused   input  active-high
                                    line  51:          "-"       unused   input  active-high
                                    line  52:          "-"       unused   input  active-high
                                    line  53:          "-"       unused   input  active-high
                            
                            
                            S Offline
                            S Offline
                            searcher57
                            wrote on last edited by
                            #191

                            @searcher57 said in Test Adapter rpi2 2.x:

                            @garfonso said in Test Adapter rpi2 2.x:

                            gpioinfo

                            Ich habe die neueste Version RPI2 soeben aktualisiert. Außerdem habe ich die Eingänge GPIO14 und 15 deaktiviert. Und hier die Ausgabe :

                            pi@Raspi58GB:~ $ gpioinfo
                            gpiochip0 - 54 lines:
                                    line   0:     "ID_SDA"       unused   input  active-high
                                    line   1:     "ID_SCL"       unused   input  active-high
                                    line   2:      "GPIO2"       unused   input  active-high
                                    line   3:      "GPIO3"       unused   input  active-high
                                    line   4:      "GPIO4"       unused   input  active-high
                                    line   5:      "GPIO5"       unused   input  active-high
                                    line   6:      "GPIO6"       unused   input  active-high
                                    line   7:      "GPIO7"       unused   input  active-high
                                    line   8:      "GPIO8"       unused   input  active-high
                                    line   9:      "GPIO9"       unused   input  active-high
                                    line  10:     "GPIO10"       unused   input  active-high
                                    line  11:     "GPIO11"       unused   input  active-high
                                    line  12:     "GPIO12"       unused   input  active-high
                                    line  13:     "GPIO13"       unused   input  active-high
                                    line  14:     "GPIO14"       unused   input  active-high
                                    line  15:     "GPIO15"       unused   input  active-high
                                    line  16:     "GPIO16"       unused   input  active-high
                                    line  17:     "GPIO17" "opengpio_4_17_watch" input active-high [used]
                                    line  18:     "GPIO18"       unused   input  active-high
                                    line  19:     "GPIO19"       unused   input  active-high
                                    line  20:     "GPIO20"       unused   input  active-high
                                    line  21:     "GPIO21"       unused   input  active-high
                                    line  22:     "GPIO22" "opengpio_4_22_watch" input active-high [used]
                                    line  23:     "GPIO23"       unused   input  active-high
                                    line  24:     "GPIO24"       unused   input  active-high
                                    line  25:     "GPIO25"       unused   input  active-high
                                    line  26:     "GPIO26"       unused   input  active-high
                                    line  27:     "GPIO27"       unused   input  active-high
                                    line  28: "PCIE_RP1_WAKE" unused input active-high
                                    line  29:   "FAN_TACH"       unused   input  active-high
                                    line  30:   "HOST_SDA"       unused   input  active-high
                                    line  31:   "HOST_SCL"       unused   input  active-high
                                    line  32:  "ETH_RST_N"  "phy-reset"  output   active-low [used]
                                    line  33:          "-"       unused   input  active-high
                                    line  34: "CD0_IO0_MICCLK" "cam0_reg" output active-high [used]
                                    line  35: "CD0_IO0_MICDAT0" unused input active-high
                                    line  36: "RP1_PCIE_CLKREQ_N" unused input active-high
                                    line  37:          "-"       unused   input  active-high
                                    line  38:    "CD0_SDA"       unused   input  active-high
                                    line  39:    "CD0_SCL"       unused   input  active-high
                                    line  40:    "CD1_SDA"       unused   input  active-high
                                    line  41:    "CD1_SCL"       unused   input  active-high
                                    line  42: "USB_VBUS_EN" unused output active-high
                                    line  43:   "USB_OC_N"       unused   input  active-high
                                    line  44: "RP1_STAT_LED" "PWR" output active-low [used]
                                    line  45:    "FAN_PWM"       unused   input  active-high
                                    line  46: "CD1_IO0_MICCLK" "cam1_reg" output active-high [used]
                                    line  47:  "2712_WAKE"       unused   input  active-high
                                    line  48: "CD1_IO1_MICDAT1" unused input active-high
                                    line  49: "EN_MAX_USB_CUR" unused output active-high
                                    line  50:          "-"       unused   input  active-high
                                    line  51:          "-"       unused   input  active-high
                                    line  52:          "-"       unused   input  active-high
                                    line  53:          "-"       unused   input  active-high
                            gpiochip10 - 32 lines:
                                    line   0:          "-"       unused   input  active-high
                                    line   1: "2712_BOOT_CS_N" "spi10 CS0" output active-low [used]
                                    line   2: "2712_BOOT_MISO" unused input active-high
                                    line   3: "2712_BOOT_MOSI" unused input active-high
                                    line   4: "2712_BOOT_SCLK" unused input active-high
                                    line   5:          "-"       unused   input  active-high
                                    line   6:          "-"       unused   input  active-high
                                    line   7:          "-"       unused   input  active-high
                                    line   8:          "-"       unused   input  active-high
                                    line   9:          "-"       unused   input  active-high
                                    line  10:          "-"       unused   input  active-high
                                    line  11:          "-"       unused   input  active-high
                                    line  12:          "-"       unused   input  active-high
                                    line  13:          "-"       unused   input  active-high
                                    line  14:   "PCIE_SDA"       unused   input  active-high
                                    line  15:   "PCIE_SCL"       unused   input  active-high
                                    line  16:          "-"       unused   input  active-high
                                    line  17:          "-"       unused   input  active-high
                                    line  18:          "-"       unused   input  active-high
                                    line  19:          "-"       unused   input  active-high
                                    line  20:   "PWR_GPIO" "pwr_button"   input   active-low [used]
                                    line  21: "2712_G21_FS" unused input active-high
                                    line  22:          "-"       unused   input  active-high
                                    line  23:          "-"       unused   input  active-high
                                    line  24:     "BT_RTS"       unused   input  active-high
                                    line  25:     "BT_CTS"       unused   input  active-high
                                    line  26:     "BT_TXD"       unused   input  active-high
                                    line  27:     "BT_RXD"       unused   input  active-high
                                    line  28:      "WL_ON"  "wl_on_reg"  output  active-high [used]
                                    line  29:      "BT_ON"   "shutdown"  output  active-high [used]
                                    line  30: "WIFI_SDIO_CLK" unused input active-high
                                    line  31: "WIFI_SDIO_CMD" unused input active-high
                            gpiochip11 - 4 lines:
                                    line   0: "WIFI_SDIO_D0" unused input active-high
                                    line   1: "WIFI_SDIO_D1" unused input active-high
                                    line   2: "WIFI_SDIO_D2" unused input active-high
                                    line   3: "WIFI_SDIO_D3" unused input active-high
                            gpiochip12 - 17 lines:
                                    line   0:    "RP1_SDA"       unused   input  active-high
                                    line   1:    "RP1_SCL"       unused   input  active-high
                                    line   2:    "RP1_RUN" "RP1 RUN pin" output active-high [used]
                                    line   3: "SD_IOVDD_SEL" "vdd-sd-io" output active-high [used]
                                    line   4:  "SD_PWR_ON" "sd_vcc_reg"  output  active-high [used]
                                    line   5:  "SD_CDET_N"         "cd"   input   active-low [used]
                                    line   6:   "SD_FLG_N"       unused   input  active-high
                                    line   7:          "-"       unused   input  active-high
                                    line   8:  "2712_WAKE"       unused   input  active-high
                                    line   9: "2712_STAT_LED" "ACT" output active-low [used]
                                    line  10:          "-"       unused   input  active-high
                                    line  11:          "-"       unused   input  active-high
                                    line  12:   "PMIC_INT"       unused   input  active-high
                                    line  13: "UART_TX_FS"       unused   input  active-high
                                    line  14: "UART_RX_FS"       unused   input  active-high
                                    line  15:          "-"       unused   input  active-high
                                    line  16:          "-"       unused   input  active-high
                            gpiochip13 - 6 lines:
                                    line   0:  "HDMI0_SCL"       unused   input  active-high
                                    line   1:  "HDMI0_SDA"       unused   input  active-high
                                    line   2:  "HDMI1_SCL"       unused   input  active-high
                                    line   3:  "HDMI1_SDA"       unused   input  active-high
                                    line   4:   "PMIC_SCL"       unused   input  active-high
                                    line   5:   "PMIC_SDA"       unused   input  active-high
                            gpiochip14 - 7 lines:
                                    line   0:      unnamed       unused   input  active-high
                                    line   1:      unnamed       unused   input  active-high
                                    line   2:      unnamed       unused   input  active-high
                                    line   3:      unnamed       unused   input  active-high
                                    line   4:      unnamed       unused   input  active-high
                                    line   5:      unnamed       unused   input  active-high
                                    line   6:      unnamed       unused   input  active-high
                            gpiochip0 - 54 lines:
                                    line   0:     "ID_SDA"       unused   input  active-high
                                    line   1:     "ID_SCL"       unused   input  active-high
                                    line   2:      "GPIO2"       unused   input  active-high
                                    line   3:      "GPIO3"       unused   input  active-high
                                    line   4:      "GPIO4"       unused   input  active-high
                                    line   5:      "GPIO5"       unused   input  active-high
                                    line   6:      "GPIO6"       unused   input  active-high
                                    line   7:      "GPIO7"       unused   input  active-high
                                    line   8:      "GPIO8"       unused   input  active-high
                                    line   9:      "GPIO9"       unused   input  active-high
                                    line  10:     "GPIO10"       unused   input  active-high
                                    line  11:     "GPIO11"       unused   input  active-high
                                    line  12:     "GPIO12"       unused   input  active-high
                                    line  13:     "GPIO13"       unused   input  active-high
                                    line  14:     "GPIO14"       unused   input  active-high
                                    line  15:     "GPIO15"       unused   input  active-high
                                    line  16:     "GPIO16"       unused   input  active-high
                                    line  17:     "GPIO17" "opengpio_4_17_watch" input active-high [used]
                                    line  18:     "GPIO18"       unused   input  active-high
                                    line  19:     "GPIO19"       unused   input  active-high
                                    line  20:     "GPIO20"       unused   input  active-high
                                    line  21:     "GPIO21"       unused   input  active-high
                                    line  22:     "GPIO22" "opengpio_4_22_watch" input active-high [used]
                                    line  23:     "GPIO23"       unused   input  active-high
                                    line  24:     "GPIO24"       unused   input  active-high
                                    line  25:     "GPIO25"       unused   input  active-high
                                    line  26:     "GPIO26"       unused   input  active-high
                                    line  27:     "GPIO27"       unused   input  active-high
                                    line  28: "PCIE_RP1_WAKE" unused input active-high
                                    line  29:   "FAN_TACH"       unused   input  active-high
                                    line  30:   "HOST_SDA"       unused   input  active-high
                                    line  31:   "HOST_SCL"       unused   input  active-high
                                    line  32:  "ETH_RST_N"  "phy-reset"  output   active-low [used]
                                    line  33:          "-"       unused   input  active-high
                                    line  34: "CD0_IO0_MICCLK" "cam0_reg" output active-high [used]
                                    line  35: "CD0_IO0_MICDAT0" unused input active-high
                                    line  36: "RP1_PCIE_CLKREQ_N" unused input active-high
                                    line  37:          "-"       unused   input  active-high
                                    line  38:    "CD0_SDA"       unused   input  active-high
                                    line  39:    "CD0_SCL"       unused   input  active-high
                                    line  40:    "CD1_SDA"       unused   input  active-high
                                    line  41:    "CD1_SCL"       unused   input  active-high
                                    line  42: "USB_VBUS_EN" unused output active-high
                                    line  43:   "USB_OC_N"       unused   input  active-high
                                    line  44: "RP1_STAT_LED" "PWR" output active-low [used]
                                    line  45:    "FAN_PWM"       unused   input  active-high
                                    line  46: "CD1_IO0_MICCLK" "cam1_reg" output active-high [used]
                                    line  47:  "2712_WAKE"       unused   input  active-high
                                    line  48: "CD1_IO1_MICDAT1" unused input active-high
                                    line  49: "EN_MAX_USB_CUR" unused output active-high
                                    line  50:          "-"       unused   input  active-high
                                    line  51:          "-"       unused   input  active-high
                                    line  52:          "-"       unused   input  active-high
                                    line  53:          "-"       unused   input  active-high
                            
                            

                            Wenn ich Dich richtig verstehe, dann müsste doch auch gpiochip15 aufgeführt sein, oder...?

                            L 1 Reply Last reply
                            0
                            • S searcher57

                              @searcher57 said in Test Adapter rpi2 2.x:

                              @garfonso said in Test Adapter rpi2 2.x:

                              gpioinfo

                              Ich habe die neueste Version RPI2 soeben aktualisiert. Außerdem habe ich die Eingänge GPIO14 und 15 deaktiviert. Und hier die Ausgabe :

                              pi@Raspi58GB:~ $ gpioinfo
                              gpiochip0 - 54 lines:
                                      line   0:     "ID_SDA"       unused   input  active-high
                                      line   1:     "ID_SCL"       unused   input  active-high
                                      line   2:      "GPIO2"       unused   input  active-high
                                      line   3:      "GPIO3"       unused   input  active-high
                                      line   4:      "GPIO4"       unused   input  active-high
                                      line   5:      "GPIO5"       unused   input  active-high
                                      line   6:      "GPIO6"       unused   input  active-high
                                      line   7:      "GPIO7"       unused   input  active-high
                                      line   8:      "GPIO8"       unused   input  active-high
                                      line   9:      "GPIO9"       unused   input  active-high
                                      line  10:     "GPIO10"       unused   input  active-high
                                      line  11:     "GPIO11"       unused   input  active-high
                                      line  12:     "GPIO12"       unused   input  active-high
                                      line  13:     "GPIO13"       unused   input  active-high
                                      line  14:     "GPIO14"       unused   input  active-high
                                      line  15:     "GPIO15"       unused   input  active-high
                                      line  16:     "GPIO16"       unused   input  active-high
                                      line  17:     "GPIO17" "opengpio_4_17_watch" input active-high [used]
                                      line  18:     "GPIO18"       unused   input  active-high
                                      line  19:     "GPIO19"       unused   input  active-high
                                      line  20:     "GPIO20"       unused   input  active-high
                                      line  21:     "GPIO21"       unused   input  active-high
                                      line  22:     "GPIO22" "opengpio_4_22_watch" input active-high [used]
                                      line  23:     "GPIO23"       unused   input  active-high
                                      line  24:     "GPIO24"       unused   input  active-high
                                      line  25:     "GPIO25"       unused   input  active-high
                                      line  26:     "GPIO26"       unused   input  active-high
                                      line  27:     "GPIO27"       unused   input  active-high
                                      line  28: "PCIE_RP1_WAKE" unused input active-high
                                      line  29:   "FAN_TACH"       unused   input  active-high
                                      line  30:   "HOST_SDA"       unused   input  active-high
                                      line  31:   "HOST_SCL"       unused   input  active-high
                                      line  32:  "ETH_RST_N"  "phy-reset"  output   active-low [used]
                                      line  33:          "-"       unused   input  active-high
                                      line  34: "CD0_IO0_MICCLK" "cam0_reg" output active-high [used]
                                      line  35: "CD0_IO0_MICDAT0" unused input active-high
                                      line  36: "RP1_PCIE_CLKREQ_N" unused input active-high
                                      line  37:          "-"       unused   input  active-high
                                      line  38:    "CD0_SDA"       unused   input  active-high
                                      line  39:    "CD0_SCL"       unused   input  active-high
                                      line  40:    "CD1_SDA"       unused   input  active-high
                                      line  41:    "CD1_SCL"       unused   input  active-high
                                      line  42: "USB_VBUS_EN" unused output active-high
                                      line  43:   "USB_OC_N"       unused   input  active-high
                                      line  44: "RP1_STAT_LED" "PWR" output active-low [used]
                                      line  45:    "FAN_PWM"       unused   input  active-high
                                      line  46: "CD1_IO0_MICCLK" "cam1_reg" output active-high [used]
                                      line  47:  "2712_WAKE"       unused   input  active-high
                                      line  48: "CD1_IO1_MICDAT1" unused input active-high
                                      line  49: "EN_MAX_USB_CUR" unused output active-high
                                      line  50:          "-"       unused   input  active-high
                                      line  51:          "-"       unused   input  active-high
                                      line  52:          "-"       unused   input  active-high
                                      line  53:          "-"       unused   input  active-high
                              gpiochip10 - 32 lines:
                                      line   0:          "-"       unused   input  active-high
                                      line   1: "2712_BOOT_CS_N" "spi10 CS0" output active-low [used]
                                      line   2: "2712_BOOT_MISO" unused input active-high
                                      line   3: "2712_BOOT_MOSI" unused input active-high
                                      line   4: "2712_BOOT_SCLK" unused input active-high
                                      line   5:          "-"       unused   input  active-high
                                      line   6:          "-"       unused   input  active-high
                                      line   7:          "-"       unused   input  active-high
                                      line   8:          "-"       unused   input  active-high
                                      line   9:          "-"       unused   input  active-high
                                      line  10:          "-"       unused   input  active-high
                                      line  11:          "-"       unused   input  active-high
                                      line  12:          "-"       unused   input  active-high
                                      line  13:          "-"       unused   input  active-high
                                      line  14:   "PCIE_SDA"       unused   input  active-high
                                      line  15:   "PCIE_SCL"       unused   input  active-high
                                      line  16:          "-"       unused   input  active-high
                                      line  17:          "-"       unused   input  active-high
                                      line  18:          "-"       unused   input  active-high
                                      line  19:          "-"       unused   input  active-high
                                      line  20:   "PWR_GPIO" "pwr_button"   input   active-low [used]
                                      line  21: "2712_G21_FS" unused input active-high
                                      line  22:          "-"       unused   input  active-high
                                      line  23:          "-"       unused   input  active-high
                                      line  24:     "BT_RTS"       unused   input  active-high
                                      line  25:     "BT_CTS"       unused   input  active-high
                                      line  26:     "BT_TXD"       unused   input  active-high
                                      line  27:     "BT_RXD"       unused   input  active-high
                                      line  28:      "WL_ON"  "wl_on_reg"  output  active-high [used]
                                      line  29:      "BT_ON"   "shutdown"  output  active-high [used]
                                      line  30: "WIFI_SDIO_CLK" unused input active-high
                                      line  31: "WIFI_SDIO_CMD" unused input active-high
                              gpiochip11 - 4 lines:
                                      line   0: "WIFI_SDIO_D0" unused input active-high
                                      line   1: "WIFI_SDIO_D1" unused input active-high
                                      line   2: "WIFI_SDIO_D2" unused input active-high
                                      line   3: "WIFI_SDIO_D3" unused input active-high
                              gpiochip12 - 17 lines:
                                      line   0:    "RP1_SDA"       unused   input  active-high
                                      line   1:    "RP1_SCL"       unused   input  active-high
                                      line   2:    "RP1_RUN" "RP1 RUN pin" output active-high [used]
                                      line   3: "SD_IOVDD_SEL" "vdd-sd-io" output active-high [used]
                                      line   4:  "SD_PWR_ON" "sd_vcc_reg"  output  active-high [used]
                                      line   5:  "SD_CDET_N"         "cd"   input   active-low [used]
                                      line   6:   "SD_FLG_N"       unused   input  active-high
                                      line   7:          "-"       unused   input  active-high
                                      line   8:  "2712_WAKE"       unused   input  active-high
                                      line   9: "2712_STAT_LED" "ACT" output active-low [used]
                                      line  10:          "-"       unused   input  active-high
                                      line  11:          "-"       unused   input  active-high
                                      line  12:   "PMIC_INT"       unused   input  active-high
                                      line  13: "UART_TX_FS"       unused   input  active-high
                                      line  14: "UART_RX_FS"       unused   input  active-high
                                      line  15:          "-"       unused   input  active-high
                                      line  16:          "-"       unused   input  active-high
                              gpiochip13 - 6 lines:
                                      line   0:  "HDMI0_SCL"       unused   input  active-high
                                      line   1:  "HDMI0_SDA"       unused   input  active-high
                                      line   2:  "HDMI1_SCL"       unused   input  active-high
                                      line   3:  "HDMI1_SDA"       unused   input  active-high
                                      line   4:   "PMIC_SCL"       unused   input  active-high
                                      line   5:   "PMIC_SDA"       unused   input  active-high
                              gpiochip14 - 7 lines:
                                      line   0:      unnamed       unused   input  active-high
                                      line   1:      unnamed       unused   input  active-high
                                      line   2:      unnamed       unused   input  active-high
                                      line   3:      unnamed       unused   input  active-high
                                      line   4:      unnamed       unused   input  active-high
                                      line   5:      unnamed       unused   input  active-high
                                      line   6:      unnamed       unused   input  active-high
                              gpiochip0 - 54 lines:
                                      line   0:     "ID_SDA"       unused   input  active-high
                                      line   1:     "ID_SCL"       unused   input  active-high
                                      line   2:      "GPIO2"       unused   input  active-high
                                      line   3:      "GPIO3"       unused   input  active-high
                                      line   4:      "GPIO4"       unused   input  active-high
                                      line   5:      "GPIO5"       unused   input  active-high
                                      line   6:      "GPIO6"       unused   input  active-high
                                      line   7:      "GPIO7"       unused   input  active-high
                                      line   8:      "GPIO8"       unused   input  active-high
                                      line   9:      "GPIO9"       unused   input  active-high
                                      line  10:     "GPIO10"       unused   input  active-high
                                      line  11:     "GPIO11"       unused   input  active-high
                                      line  12:     "GPIO12"       unused   input  active-high
                                      line  13:     "GPIO13"       unused   input  active-high
                                      line  14:     "GPIO14"       unused   input  active-high
                                      line  15:     "GPIO15"       unused   input  active-high
                                      line  16:     "GPIO16"       unused   input  active-high
                                      line  17:     "GPIO17" "opengpio_4_17_watch" input active-high [used]
                                      line  18:     "GPIO18"       unused   input  active-high
                                      line  19:     "GPIO19"       unused   input  active-high
                                      line  20:     "GPIO20"       unused   input  active-high
                                      line  21:     "GPIO21"       unused   input  active-high
                                      line  22:     "GPIO22" "opengpio_4_22_watch" input active-high [used]
                                      line  23:     "GPIO23"       unused   input  active-high
                                      line  24:     "GPIO24"       unused   input  active-high
                                      line  25:     "GPIO25"       unused   input  active-high
                                      line  26:     "GPIO26"       unused   input  active-high
                                      line  27:     "GPIO27"       unused   input  active-high
                                      line  28: "PCIE_RP1_WAKE" unused input active-high
                                      line  29:   "FAN_TACH"       unused   input  active-high
                                      line  30:   "HOST_SDA"       unused   input  active-high
                                      line  31:   "HOST_SCL"       unused   input  active-high
                                      line  32:  "ETH_RST_N"  "phy-reset"  output   active-low [used]
                                      line  33:          "-"       unused   input  active-high
                                      line  34: "CD0_IO0_MICCLK" "cam0_reg" output active-high [used]
                                      line  35: "CD0_IO0_MICDAT0" unused input active-high
                                      line  36: "RP1_PCIE_CLKREQ_N" unused input active-high
                                      line  37:          "-"       unused   input  active-high
                                      line  38:    "CD0_SDA"       unused   input  active-high
                                      line  39:    "CD0_SCL"       unused   input  active-high
                                      line  40:    "CD1_SDA"       unused   input  active-high
                                      line  41:    "CD1_SCL"       unused   input  active-high
                                      line  42: "USB_VBUS_EN" unused output active-high
                                      line  43:   "USB_OC_N"       unused   input  active-high
                                      line  44: "RP1_STAT_LED" "PWR" output active-low [used]
                                      line  45:    "FAN_PWM"       unused   input  active-high
                                      line  46: "CD1_IO0_MICCLK" "cam1_reg" output active-high [used]
                                      line  47:  "2712_WAKE"       unused   input  active-high
                                      line  48: "CD1_IO1_MICDAT1" unused input active-high
                                      line  49: "EN_MAX_USB_CUR" unused output active-high
                                      line  50:          "-"       unused   input  active-high
                                      line  51:          "-"       unused   input  active-high
                                      line  52:          "-"       unused   input  active-high
                                      line  53:          "-"       unused   input  active-high
                              
                              

                              Wenn ich Dich richtig verstehe, dann müsste doch auch gpiochip15 aufgeführt sein, oder...?

                              L Offline
                              L Offline
                              Laser
                              wrote on last edited by
                              #192

                              @searcher57 ich möchte jetzt mein halbwegs funktionierendes System nicht zerschießen. Was benötige ich , um die GPIO- Kommandos auszuführen? ZB. gpioinfo?

                              HomoranH S 2 Replies Last reply
                              0
                              • L Laser

                                @searcher57 ich möchte jetzt mein halbwegs funktionierendes System nicht zerschießen. Was benötige ich , um die GPIO- Kommandos auszuführen? ZB. gpioinfo?

                                HomoranH Do not disturb
                                HomoranH Do not disturb
                                Homoran
                                Global Moderator Administrators
                                wrote on last edited by
                                #193

                                @laser sagte in Test Adapter rpi2 2.x:

                                Was benötige ich , um die GPIO- Kommandos auszuführen? ZB. gpioinfo?

                                einen Raspi und ein Terminal 😁

                                kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                L 1 Reply Last reply
                                0
                                • HomoranH Homoran

                                  @laser sagte in Test Adapter rpi2 2.x:

                                  Was benötige ich , um die GPIO- Kommandos auszuführen? ZB. gpioinfo?

                                  einen Raspi und ein Terminal 😁

                                  L Offline
                                  L Offline
                                  Laser
                                  wrote on last edited by
                                  #194

                                  @homoran toller Tip!
                                  gpioinfo
                                  -bash: gpioinfo: command not found

                                  Thomas BraunT 1 Reply Last reply
                                  0
                                  • L Laser

                                    @homoran toller Tip!
                                    gpioinfo
                                    -bash: gpioinfo: command not found

                                    Thomas BraunT Online
                                    Thomas BraunT Online
                                    Thomas Braun
                                    Most Active
                                    wrote on last edited by
                                    #195

                                    @laser

                                    Das Paket nennt sich

                                    gpiod

                                    Linux-Werkzeugkasten:
                                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                    NodeJS Fixer Skript:
                                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                    HomoranH 1 Reply Last reply
                                    0
                                    • L Laser

                                      @garfonso Installieren kann ich (Version 2.2.0 manuell eingegeben), Ansicht wird die Neue, aber der Adapter startet nicht (linkes eigentlich grün werdendes Feld bleibt rotes Rad).
                                      Werde den Adapter löschen und nochmal neu installieren.
                                      EDIT: geht nicht? Bzw. bleibt in der Instanzübersicht rot (Rad).
                                      RAM Nutzung wird auch mit 0 MB angezeigt.
                                      2.1.2 hat funktioniert.

                                      
                                      otto@neuheizung:~ $ cat /etc/os-release
                                      PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
                                      NAME="Debian GNU/Linux"
                                      VERSION_ID="12"
                                      VERSION="12 (bookworm)"
                                      VERSION_CODENAME=bookworm
                                      ID=debian
                                      HOME_URL="https://www.debian.org/"
                                      SUPPORT_URL="https://www.debian.org/support"
                                      BU
                                      

                                      GPIO's Entprellen: 100mSec

                                      GarfonsoG Offline
                                      GarfonsoG Offline
                                      Garfonso
                                      Developer
                                      wrote on last edited by
                                      #196

                                      @laser
                                      kannst du da ein debug log geben?

                                      Ultimativer Lovelace Leitfaden: https://forum.iobroker.net/topic/35937/der-ultimative-iobroker-lovelace-leitfaden-dokumentation

                                      Lovelace UI Beispiele: https://forum.iobroker.net/topic/35950/zeigt-her-eure-lovelace-visualisierung

                                      1 Reply Last reply
                                      0
                                      • Thomas BraunT Thomas Braun

                                        @laser

                                        Das Paket nennt sich

                                        gpiod

                                        HomoranH Do not disturb
                                        HomoranH Do not disturb
                                        Homoran
                                        Global Moderator Administrators
                                        wrote on last edited by
                                        #197

                                        @thomas-braun sagte in Test Adapter rpi2 2.x:

                                        @laser

                                        Das Paket nennt sich

                                        gpiod

                                        dann hat @laser noch nicht den bookworm "patch"?
                                        dann würde ich an seiner Stelle das Paket nicht installieren.

                                        kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                                        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                        L 1 Reply Last reply
                                        0
                                        • HomoranH Homoran

                                          @thomas-braun sagte in Test Adapter rpi2 2.x:

                                          @laser

                                          Das Paket nennt sich

                                          gpiod

                                          dann hat @laser noch nicht den bookworm "patch"?
                                          dann würde ich an seiner Stelle das Paket nicht installieren.

                                          L Offline
                                          L Offline
                                          Laser
                                          wrote on last edited by
                                          #198

                                          @homoran einen bookworm "patch" habe ich nicht wissentlich installiert.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          676

                                          Online

                                          32.4k

                                          Users

                                          81.4k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe