Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter rpi2 2.x

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Test Adapter rpi2 2.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      searcher57 @JanGa last edited by

      @janga said in Test Adapter rpi2 2.x:

      @searcher57 ansonsten könntest du auch einen USB auf seriell Adapter verwenden. Wäre einfacher als ein zweites Gerät.

      Ja, das ist mir schon vorher gesagt worden. Das würde aber wieder einen neuen Lesekopf mit USB Anschluss bestellen (den 3.). Ein Raspi 4 habe noch!

      1 Reply Last reply Reply Quote 0
      • S
        searcher57 @Garfonso last edited by

        @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.

        Garfonso 1 Reply Last reply Reply Quote 0
        • S
          searcher57 @Garfonso last edited by

          @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

          J 1 Reply Last reply Reply Quote 0
          • J
            JanGa @searcher57 last edited by

            @searcher57 das sind Temperatur/ Luftfeuchtigkeitssensoren.
            Du brauchst keinen neuen Lesekopf, nur den Adapter. Kann da bei Bedarf mal einen raussuchen.

            1 Reply Last reply Reply Quote 0
            • Garfonso
              Garfonso Developer @searcher57 last edited by 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 1 Reply Last reply Reply Quote 1
              • J
                jrgsch @Garfonso last edited by

                @garfonso
                Ich habe heute ebenfalls den Adapter upgedatet und bin begeistert. Ein- und Ausgänge funktionieren.
                Danke, dass du nicht aufgegeben hast, dich um die GPIO's zu kümmern. Für mich und wohl einige andere auch, ist der RasPi vor allem wegen der GPIO's interessant. Ich betreibe z.B. ein komplexes Bewässerungssystem mit 10 Magnetventilen, Pumpen etc., die vom RasPi gesteuert werden, der wiederum als Slave in den ioBroker eingebunden ist.

                1 Reply Last reply Reply Quote 1
                • Garfonso
                  Garfonso Developer @Garfonso last edited by

                  @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 1 Reply Last reply Reply Quote 0
                  • L
                    Laser @Garfonso last edited by 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

                    Garfonso 2 Replies Last reply Reply Quote 0
                    • S
                      searcher57 @Garfonso last edited by

                      @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.

                      Homoran Garfonso 2 Replies Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators @searcher57 last edited by

                        @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 1 Reply Last reply Reply Quote 0
                        • S
                          searcher57 @Homoran last edited by

                          @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.

                          Homoran 1 Reply Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators @searcher57 last edited by

                            @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 1 Reply Last reply Reply Quote 0
                            • S
                              searcher57 @Homoran last edited by

                              @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 Reply Quote 0
                              • L
                                Laser @searcher57 last edited by

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

                                S 1 Reply Last reply Reply Quote 0
                                • S
                                  searcher57 @Laser last edited by

                                  @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 Reply Quote 0
                                  • Garfonso
                                    Garfonso Developer @searcher57 last edited by

                                    @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
                                    
                                    Homoran S 2 Replies Last reply Reply Quote 0
                                    • Homoran
                                      Homoran Global Moderator Administrators @Garfonso last edited by Homoran

                                      @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

                                      1 Reply Last reply Reply Quote 1
                                      • S
                                        searcher57 @Garfonso last edited by

                                        @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 Reply Quote 0
                                        • S
                                          searcher57 @searcher57 last edited by

                                          @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 Reply Quote 0
                                          • L
                                            Laser @searcher57 last edited by

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

                                            Homoran S 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            737
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            27
                                            496
                                            62231
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo