eBus Schaltung Rpi in Betrieb nehmen!

Begonnen von Reinhart, 19 Februar 2018, 19:38:23

Vorheriges Thema - Nächstes Thema

spacecowboy.21

#270
Zitat von: john30 am 18 November 2019, 09:23:31
ja, einfach in der ebusd config unter /etc/default/ebusd nachschauen, da ist das beschrieben


Ich denke das Du diesen Teil meinst.
Zitat# MULTIPLE EBUSD INSTANCES WITH SYSTEMD
# In order to run muiltiple ebusd instances on a systemd enabled system, just
# copy the /usr/lib/systemd/system/ebusd.service file to /etc/systemd/system/
# with a different name (e.g. ebusd-2.service), remove the line starting with
# 'EnvironmentFile=', and replace the '$EBUSD_OPTS' with the options for that
# particular ebusd instance.

Ich habe also die ebusd.service kopiert   /etc/systemd/system/ebusd-2.service   und die ExecStart geändert.
Zitat[Unit]
Description=ebusd, the daemon for communication with eBUS heating systems.
After=network-online.target
ConditionPathExists=/var/log

[Service]
Type=forking
Restart=always
RestartSec=30
PIDFile=/var/run/ebusd.pid
#EnvironmentFile=-/etc/default/ebusd
ExecStart=/usr/bin/ebusd $EBUSD_OPTS1

[Install]
WantedBy=multi-user.target

Dann habe ich in der /etc/default/ebusd      EBUSD_OPTS1="-d /dev/ttyUSB0 -p 8888 -l /var/log/ebusd-2.log --scanconfig"      hinzugefügt.

Zitat# Options to pass to ebusd (run "ebusd -?" for more info):
EBUSD_OPTS="-d /dev/ttyebus -p 8888 -l /var/log/ebusd.log --scanconfig"
EBUSD_OPTS1="-d /dev/ttyUSB0 -p 8888 -l /var/log/ebusd-2.log --scanconfig"

War das so richtig?

----------

Ich denke nicht.

Mit     sudo service ebusd-2 start

kommt die Meldung:
Job for ebusd-2.service failed because the service did not take the steps required by its unit configuration.
See "systemctl status ebusd-2.service" and "journalctl -xe" for details.


john30

Zitat von: spacecowboy.21 am 19 November 2019, 20:27:19
War das so richtig?
EnvironmentFile= darfst natürlich nicht auskommentieren, wenn nach wie vor in der default/ebusd die Einstellungen konfiguriert werden sollen. Dort müssen dann entsprechende nicht-kommentierte EBUSD_OPTS1 etc auch drin sein
author of ebusd

stef7

Hallo,
hat schon jemand Erfahrungen mit dem RPi4 gemacht? Funktioniert der Adapter mit dem ttyebus Treiber?
Ich bin gerade am Aussuchen eines passenden RPi's.

Gruß
Stefan

HeikoGr

ich konnte ttyebus kompilieren, aber nicht installieren ("sudo make install").
Irgendwas beim insmod(?) Aufruf hat nicht funktioniert.

War aber auch ein recht unmotivierter Test, da ich aus gebäudetopologischen Gründen vom Raspberry Modul auf das Basismodul (mit Wemos D1 als WLAN-Brücke) umgestellt habe, als ich vom RPi3 auf RPi4 umgestiegen bin...

Du kannst aber auch das Raspberry Modul mit einem FTDI Adapter (oder Wemos D1) über USB (oder WLAN) koppeln, wenn es ein RPi4 sein muss und solange der Fehler (in ttyebus oder Raspbian) noch nicht behoben wurde.

Reinhart

ein Fehlerlog hast du nicht mehr zufällig?
Ich habe zwar einen Raspi4, aber auf dem läuft das produktive Fhem und ist auf SSD umgestellt, deshalb möchte ich den jetzt nicht unbedingt zum testen nehmen.

Wenn wie den Fehler kennen, dann kann galileo das ja fixen. Ich kann mir nur vorstellen, das die Interruptbelegung eine andere ist.

LG
FHEM auf Raspy4 mit Bullseye + SSD, Homematic, ESP8266, ESP32, Sonoff, eBus, NanoCUL, MapleCUL, , MQTT2, Alexa

HeikoGr

Nein, leider nicht.
Aber wenn ich die tage mal ein bisschen mehr Zeit habe wollte ich mir das ganze mal in Ruhe ansehen.

Wie hast du den ebus adapter an den RPi4 angebunden?


Reinhart

für den eBus habe ich einen einen Raspi 3 mit RPI-Adapter, der Raspi 4 hat nur Fhem drauf.
Aber es stimmt schon wie du schreibst, alternativ über UART anbinden geht immer.

LG
FHEM auf Raspy4 mit Bullseye + SSD, Homematic, ESP8266, ESP32, Sonoff, eBus, NanoCUL, MapleCUL, , MQTT2, Alexa

galileo

ZitatWenn wie den Fehler kennen, dann kann galileo das ja fixen. Ich kann mir nur vorstellen, das die Interruptbelegung eine andere ist.

Ich besitze leider noch keinen RASPi 4, deshalb kann ich das nicht ansehen. Falls das wirklich der Interrupt ist wäre es aber leicht zu korrigieren.
Könnte bitte jemand, der einen RASPI 4 besitzt, einmal den Befehl
cat /proc/interrupts
ausführen und hier posten. Aber Achtung! der ttyebus darf nicht laufen, sondern es muss der ttyAMA0 aktiv sein. Dessen Interrupt Wert ist interessant.

LG

HeikoGr

Gerne:

            CPU0       CPU1       CPU2       CPU3       
17:          0          0          0          0     GICv2  29 Level     arch_timer
18:    9318306    5135947    7296660    5006799     GICv2  30 Level     arch_timer
31:     238458          0          0          0     GICv2  65 Level     fe00b880.mailbox
35:      10576          0          0          0     GICv2 125 Level     ttyS0
37:          0          0          0          0     GICv2  72 Level     dwc_otg, dwc_otg_pcd, dwc_otg_hcd:usb3
38:          0          0          0          0     GICv2 169 Level     brcmstb_thermal
39:    2790862          0          0          0     GICv2 158 Level     mmc0
45:          0          0          0          0     GICv2 106 Level     v3d
47:   20028377          0          0          0     GICv2 189 Level     eth0
48:    9928945          0          0          0     GICv2 190 Level     eth0
54:         49          0          0          0     GICv2  66 Level     VCHIQ doorbell
55:          0          0          0          0     GICv2 175 Level     PCIe PME, aerdrv
56:   23852219          0          0          0  Brcm_MSI 524288 Edge      xhci_hcd
FIQ:              usb_fiq
IPI0:          0          0          0          0  CPU wakeup interrupts
IPI1:          0          0          0          0  Timer broadcast interrupts
IPI2:    1426215    2640956    2907549    2403056  Rescheduling interrupts
IPI3:       9318      96508      97866      98421  Function call interrupts
IPI4:          0          0          0          0  CPU stop interrupts
IPI5:    1718673     374559     585368     368738  IRQ work interrupts
IPI6:          0          0          0          0  completion interrupts
Err:          0

HeikoGr

#279
Ich würde ja gerne schreiben ,,vergiss den Post oben", da der serielle anschluss noch deaktiviert war. Aber ich sehe keinen Unterschied nach dem aktivieren:

            CPU0       CPU1       CPU2       CPU3       
17:          0          0          0          0     GICv2  29 Level     arch_timer
18:      24691      21109      18762      12399     GICv2  30 Level     arch_timer
31:        143          0          0          0     GICv2  65 Level     fe00b880.mailbox
36:      10575          0          0          0     GICv2 125 Level     ttyS0
38:          0          0          0          0     GICv2  72 Level     dwc_otg, dwc_otg_pcd, dwc_otg_hcd:usb3
39:          0          0          0          0     GICv2 169 Level     brcmstb_thermal
40:      22612          0          0          0     GICv2 158 Level     mmc0
46:          0          0          0          0     GICv2 106 Level     v3d
48:       7431          0          0          0     GICv2 189 Level     eth0
49:        519          0          0          0     GICv2 190 Level     eth0
55:         49          0          0          0     GICv2  66 Level     VCHIQ doorbell
56:          0          0          0          0     GICv2 175 Level     PCIe PME, aerdrv
57:       3980          0          0          0  Brcm_MSI 524288 Edge      xhci_hcd
FIQ:              usb_fiq
IPI0:          0          0          0          0  CPU wakeup interrupts
IPI1:          0          0          0          0  Timer broadcast interrupts
IPI2:       4515       8478       6292       6797  Rescheduling interrupts
IPI3:       1112       2109       1928       3154  Function call interrupts
IPI4:          0          0          0          0  CPU stop interrupts
IPI5:        310         89        200         80  IRQ work interrupts
IPI6:          0          0          0          0  completion interrupts
Err:          0

HeikoGr

Ich glaube auch nicht, dass es an den Interrupts liegt. Hier der Fehler beim ausführen von ,,sudo make install":

cp ttyebus.ko /lib/modules/4.19.75-v7l+/kernel/drivers/tty/serial/ttyebus.ko
depmod -a
insmod /lib/modules/4.19.75-v7l+/kernel/drivers/tty/serial/ttyebus.ko
insmod: ERROR: could not insert module /lib/modules/4.19.75-v7l+/kernel/drivers/tty/serial/ttyebus.ko: Invalid parameters
make: *** [Makefile:39: install] Fehler 1

galileo

Soweit ich das sehen kann, hat der RASPI 4 nunmehr fünf UARTS (bisher 2)
Beim Raspi 3 muss ja der UART und der Mini-UART wegen Bluetooth getauscht werden.
Vermutlich wird das beim Raspi 4 nicht mehr nötig sein, bzw. überhaupt ganz anders funktionieren.
Es tut mir leid, aber das wird nicht ohne größere Recherche abgehen, und ich muss mir erst einen RASPI 4 besorgen...
Also bitte vorerst nicht annehmen dass der ttyebus auf Raspi 4 funktionieren wird.
LG

HeikoGr

Ich kann auch nicht mehr helfen. Mein Raspi ist gerade nicht erreichbar. Die ssh Session hat sich gestern mit wilden kernel error Meldungen verabschiedet (erinnere mich grade daran, dass es bei meinem letzten Versuch auch so war. Mist). Power off/on hat auch nix gebracht. Werde den raspi/fhem jetzt neu aufsetzen müssen  ::)  (hatte ich eh vor, um von sd card auf SSD umzuziehen)

erwin

#283
Hi Galileo,
ich hab dasselbe Problem wie HeikoGr, mit exakt dem gleichen Kernel.
Evtl. hilft dir ja die dmesg, die wärend dem make install passiert:
[ 1101.129067] ttyebus: loading out-of-tree module taints kernel.
[ 1101.129458] ttyebus: Found RASPI model 1
[ 1101.129564] ------------[ cut here ]------------
[ 1101.129580] WARNING: CPU: 3 PID: 1343 at arch/arm/mm/ioremap.c:303 __arm_ioremap_pfn_caller+0x188/0x214
[ 1101.129583] Modules linked in: ttyebus(O+) bnep hci_uart btbcm serdev bluetooth ecdh_generic 8021q garp stp llc brcmfmac spidev brcmutil sha256_generic cfg80211 raspberrypi_hwmon hwmon rfkill vc4 v3d drm_kms_helper gpu_sched drm bcm2835_codec(C) bcm2835_v4l2(C) v4l2_mem2mem drm_panel_orientation_quirks bcm2835_mmal_vchiq(C) snd_bcm2835(C) snd_soc_core v4l2_common videobuf2_dma_contig snd_compress videobuf2_vmalloc snd_pcm_dmaengine videobuf2_memops videobuf2_v4l2 snd_pcm videobuf2_common snd_timer i2c_bcm2835 syscopyarea sysfillrect snd videodev sysimgblt fb_sys_fops media rpivid_mem vc_sm_cma(C) spi_bcm2835 uio_pdrv_genirq uio fixed i2c_dev ip_tables x_tables ipv6
[ 1101.129796] CPU: 3 PID: 1343 Comm: insmod Tainted: G         C O      4.19.75-v7l+ #1270
[ 1101.129799] Hardware name: BCM2835
[ 1101.129812] [<c0212d10>] (unwind_backtrace) from [<c020d530>] (show_stack+0x20/0x24)
[ 1101.129821] [<c020d530>] (show_stack) from [<c097fb20>] (dump_stack+0xd4/0x118)
[ 1101.129830] [<c097fb20>] (dump_stack) from [<c0222330>] (__warn+0x104/0x11c)
[ 1101.129837] [<c0222330>] (__warn) from [<c0222480>] (warn_slowpath_null+0x50/0x58)
[ 1101.129844] [<c0222480>] (warn_slowpath_null) from [<c0219d08>] (__arm_ioremap_pfn_caller+0x188/0x214)
[ 1101.129851] [<c0219d08>] (__arm_ioremap_pfn_caller) from [<c0219dfc>] (__arm_ioremap_caller+0x68/0x70)
[ 1101.129857] [<c0219dfc>] (__arm_ioremap_caller) from [<c0219e5c>] (ioremap+0x30/0x38)
[ 1101.129871] [<c0219e5c>] (ioremap) from [<bfa64914>] (init_module+0xe4/0x17c [ttyebus])
[ 1101.129896] [<bfa64914>] (init_module [ttyebus]) from [<c02030cc>] (do_one_initcall+0x50/0x218)
[ 1101.129904] [<c02030cc>] (do_one_initcall) from [<c02bb8f4>] (do_init_module+0x74/0x220)
[ 1101.129912] [<c02bb8f4>] (do_init_module) from [<c02ba86c>] (load_module+0x1dc0/0x2404)
[ 1101.129918] [<c02ba86c>] (load_module) from [<c02bb0cc>] (sys_finit_module+0xbc/0xcc)
[ 1101.129925] [<c02bb0cc>] (sys_finit_module) from [<c0201000>] (ret_fast_syscall+0x0/0x28)
[ 1101.129929] Exception stack(0xd95affa8 to 0xd95afff0)
[ 1101.129934] ffa0:                   684ef200 bee30764 00000003 0002d064 00000000 00000004
[ 1101.129939] ffc0: 684ef200 bee30764 0003fce8 0000017b 01823200 00000000 00000002 00000000
[ 1101.129943] ffe0: bee30598 bee30588 00022cb8 b6cbcaf0
[ 1101.129947] ---[ end trace 9a62985f777ab829 ]---
[ 1101.129951] ------------[ cut here ]------------
[ 1101.129958] WARNING: CPU: 3 PID: 1343 at arch/arm/mm/ioremap.c:303 __arm_ioremap_pfn_caller+0x188/0x214
[ 1101.129961] Modules linked in: ttyebus(O+) bnep hci_uart btbcm serdev bluetooth ecdh_generic 8021q garp stp llc brcmfmac spidev brcmutil sha256_generic cfg80211 raspberrypi_hwmon hwmon rfkill vc4 v3d drm_kms_helper gpu_sched drm bcm2835_codec(C) bcm2835_v4l2(C) v4l2_mem2mem drm_panel_orientation_quirks bcm2835_mmal_vchiq(C) snd_bcm2835(C) snd_soc_core v4l2_common videobuf2_dma_contig snd_compress videobuf2_vmalloc snd_pcm_dmaengine videobuf2_memops videobuf2_v4l2 snd_pcm videobuf2_common snd_timer i2c_bcm2835 syscopyarea sysfillrect snd videodev sysimgblt fb_sys_fops media rpivid_mem vc_sm_cma(C) spi_bcm2835 uio_pdrv_genirq uio fixed i2c_dev ip_tables x_tables ipv6
[ 1101.130166] CPU: 3 PID: 1343 Comm: insmod Tainted: G        WC O      4.19.75-v7l+ #1270
[ 1101.130169] Hardware name: BCM2835
[ 1101.130177] [<c0212d10>] (unwind_backtrace) from [<c020d530>] (show_stack+0x20/0x24)
[ 1101.130183] [<c020d530>] (show_stack) from [<c097fb20>] (dump_stack+0xd4/0x118)
[ 1101.130189] [<c097fb20>] (dump_stack) from [<c0222330>] (__warn+0x104/0x11c)
[ 1101.130195] [<c0222330>] (__warn) from [<c0222480>] (warn_slowpath_null+0x50/0x58)
[ 1101.130201] [<c0222480>] (warn_slowpath_null) from [<c0219d08>] (__arm_ioremap_pfn_caller+0x188/0x214)
[ 1101.130208] [<c0219d08>] (__arm_ioremap_pfn_caller) from [<c0219dfc>] (__arm_ioremap_caller+0x68/0x70)
[ 1101.130214] [<c0219dfc>] (__arm_ioremap_caller) from [<c0219e5c>] (ioremap+0x30/0x38)
[ 1101.130223] [<c0219e5c>] (ioremap) from [<bfa64928>] (init_module+0xf8/0x17c [ttyebus])
[ 1101.130231] [<bfa64928>] (init_module [ttyebus]) from [<c02030cc>] (do_one_initcall+0x50/0x218)
[ 1101.130238] [<c02030cc>] (do_one_initcall) from [<c02bb8f4>] (do_init_module+0x74/0x220)
[ 1101.130244] [<c02bb8f4>] (do_init_module) from [<c02ba86c>] (load_module+0x1dc0/0x2404)
[ 1101.130251] [<c02ba86c>] (load_module) from [<c02bb0cc>] (sys_finit_module+0xbc/0xcc)
[ 1101.130257] [<c02bb0cc>] (sys_finit_module) from [<c0201000>] (ret_fast_syscall+0x0/0x28)
[ 1101.130261] Exception stack(0xd95affa8 to 0xd95afff0)
[ 1101.130265] ffa0:                   684ef200 bee30764 00000003 0002d064 00000000 00000004
[ 1101.130270] ffc0: 684ef200 bee30764 0003fce8 0000017b 01823200 00000000 00000002 00000000
[ 1101.130274] ffe0: bee30598 bee30588 00022cb8 b6cbcaf0
[ 1101.130288] ---[ end trace 9a62985f777ab82a ]---

eine interesante seite hab ich auch gefunden:
https://www.raspberrypi.org/forums/viewtopic.php?t=244827
Bei mir hats keine eile, ich hab ein laufendes system auf RPI3 (mit selbst gebautem EBUS-Adapter), wollte aber mit dem neuen RPI-4 + rpi-ebus adapter auf ein neues system umsteigen.

PS: noch was gefunden, evtl für dich interessant, zum thema interrupts:
[    0.843814] uart-pl011 fe201000.serial: cts_event_workaround enabled
[    0.843892] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 34, base_baud = 0) is a PL011 rev2
[    0.847254] fe215040.serial: ttyS0 at MMIO 0x0 (irq = 37, base_baud = 62500000) is a 16550

l.g. erwin
FHEM aktuell auf RaspberryPI Mdl 1-4
Maintainer: 00_KNXIO.pm 10_KNX.pm
User: CUNO2 (868 SLOWRF) - HMS100xx, FS20, FHT, 1-Wire  - 2401(iButton), 18x20, 2406, 2413 (AVR), 2450,..,MQTT2, KNX, SONOFF, mySENSORS,....
Hardware:  Busware ROT, Weinzierl IP731, 1-Wire GW,...

Reinhart

ich habe mir das jetzt einmal genauer bei meinem Raspi 4 angesehen.
Hier gibts einen Link wo näher auf den Raspi 4 darauf eingegangen wird.

pi@raspberrypi4:~ $ cat /proc/interrupts
           CPU0       CPU1       CPU2       CPU3
17:          0          0          0          0     GICv2  29 Level     arch_timer
18:   52112619   41598324   41649563   42928511     GICv2  30 Level     arch_timer
23:        341          0          0          0     GICv2 114 Level     DMA IRQ
31:    1779937          0          0          0     GICv2  65 Level     fe00b880.mailbox
34:       6555          0          0          0     GICv2 153 Level     uart-pl011
37:          0          0          0          0     GICv2  72 Level     dwc_otg, dwc_otg_pcd, dwc_otg_hcd:usb3
38:          0          0          0          0     GICv2 169 Level     brcmstb_thermal
39:    1894498          0          0          0     GICv2 158 Level     mmc1, mmc0
45:          0          0          0          0     GICv2 106 Level     v3d
47:   30743307          0          0          0     GICv2 189 Level     eth0
48:   10950011          0          0          0     GICv2 190 Level     eth0
54:     114076          0          0          0     GICv2  66 Level     VCHIQ doorbell
55:          0          0          0          0     GICv2 175 Level     PCIe PME, aerdrv
56:   98106082          0          0          0  Brcm_MSI 524288 Edge      xhci_hcd
FIQ:              usb_fiq
IPI0:          0          0          0          0  CPU wakeup interrupts
IPI1:          0          0          0          0  Timer broadcast interrupts
IPI2:   26881451   47174422   46815699   48151291  Rescheduling interrupts
IPI3:    5313770    4831327    4762349    4775095  Function call interrupts
IPI4:          0          0          0          0  CPU stop interrupts
IPI5:    2767314    1761194    1739106    1875257  IRQ work interrupts
IPI6:          0          0          0          0  completion interrupts

auf 34 habe ich hier den UART PL011 hängen.

pi@raspberrypi4:~ $ raspi-gpio funcs
GPIO, DEFAULT PULL, ALT0, ALT1, ALT2, ALT3, ALT4, ALT5
0, UP, SDA0, SA5, PCLK, SPI3_CE0_N, TXD2, SDA6
1, UP, SCL0, SA4, DE, SPI3_MISO, RXD2, SCL6
2, UP, SDA1, SA3, LCD_VSYNC, SPI3_MOSI, CTS2, SDA3
3, UP, SCL1, SA2, LCD_HSYNC, SPI3_SCLK, RTS2, SCL3
4, UP, GPCLK0, SA1, DPI_D0, SPI4_CE0_N, TXD3, SDA3
5, UP, GPCLK1, SA0, DPI_D1, SPI4_MISO, RXD3, SCL3
6, UP, GPCLK2, SOE_N_SE, DPI_D2, SPI4_MOSI, CTS3, SDA4
7, UP, SPI0_CE1_N, SWE_N_SRW_N, DPI_D3, SPI4_SCLK, RTS3, SCL4
8, UP, SPI0_CE0_N, SD0, DPI_D4, I2CSL_CE_N, TXD4, SDA4
9, DOWN, SPI0_MISO, SD1, DPI_D5, I2CSL_SDI_MISO, RXD4, SCL4
10, DOWN, SPI0_MOSI, SD2, DPI_D6, I2CSL_SDA_MOSI, CTS4, SDA5
11, DOWN, SPI0_SCLK, SD3, DPI_D7, I2CSL_SCL_SCLK, RTS4, SCL5
12, DOWN, PWM0_0, SD4, DPI_D8, SPI5_CE0_N, TXD5, SDA5
13, DOWN, PWM0_1, SD5, DPI_D9, SPI5_MISO, RXD5, SCL5
14, DOWN, TXD0, SD6, DPI_D10, SPI5_MOSI, CTS5, TXD1
15, DOWN, RXD0, SD7, DPI_D11, SPI5_SCLK, RTS5, RXD1
16, DOWN, -, SD8, DPI_D12, CTS0, SPI1_CE2_N, CTS1
17, DOWN, -, SD9, DPI_D13, RTS0, SPI1_CE1_N, RTS1
18, DOWN, PCM_CLK, SD10, DPI_D14, SPI6_CE0_N, SPI1_CE0_N, PWM0_0
19, DOWN, PCM_FS, SD11, DPI_D15, SPI6_MISO, SPI1_MISO, PWM0_1
20, DOWN, PCM_DIN, SD12, DPI_D16, SPI6_MOSI, SPI1_MOSI, GPCLK0
21, DOWN, PCM_DOUT, SD13, DPI_D17, SPI6_SCLK, SPI1_SCLK, GPCLK1
22, DOWN, SD0_CLK, SD14, DPI_D18, SD1_CLK, ARM_TRST, SDA6
23, DOWN, SD0_CMD, SD15, DPI_D19, SD1_CMD, ARM_RTCK, SCL6
24, DOWN, SD0_DAT0, SD16, DPI_D20, SD1_DAT0, ARM_TDO, SPI3_CE1_N
25, DOWN, SD0_DAT1, SD17, DPI_D21, SD1_DAT1, ARM_TCK, SPI4_CE1_N
26, DOWN, SD0_DAT2, -, DPI_D22, SD1_DAT2, ARM_TDI, SPI5_CE1_N
27, DOWN, SD0_DAT3, -, DPI_D23, SD1_DAT3, ARM_TMS, SPI6_CE1_N
28, NONE, SDA0, SA5, PCM_CLK, -, MII_A_RX_ERR, RGMII_MDIO
29, NONE, SCL0, SA4, PCM_FS, -, MII_A_TX_ERR, RGMII_MDC
30, DOWN, -, SA3, PCM_DIN, CTS0, MII_A_CRS, CTS1
31, DOWN, -, SA2, PCM_DOUT, RTS0, MII_A_COL, RTS1
32, DOWN, GPCLK0, SA1, -, TXD0, SD_CARD_PRES, TXD1
33, DOWN, -, SA0, -, RXD0, SD_CARD_WRPROT, RXD1
34, UP, GPCLK0, SOE_N_SE, -, SD1_CLK, SD_CARD_LED, RGMII_IRQ
35, UP, SPI0_CE1_N, SWE_N_SRW_N, -, SD1_CMD, RGMII_START_STOP, -
36, UP, SPI0_CE0_N, SD0, TXD0, SD1_DAT0, RGMII_RX_OK, MII_A_RX_ERR
37, DOWN, SPI0_MISO, SD1, RXD0, SD1_DAT1, RGMII_MDIO, MII_A_TX_ERR
38, DOWN, SPI0_MOSI, SD2, RTS0, SD1_DAT2, RGMII_MDC, MII_A_CRS
39, DOWN, SPI0_SCLK, SD3, CTS0, SD1_DAT3, RGMII_IRQ, MII_A_COL
40, DOWN, PWM1_0, SD4, -, SD1_DAT4, SPI0_MISO, TXD1
41, DOWN, PWM1_1, SD5, -, SD1_DAT5, SPI0_MOSI, RXD1
42, DOWN, GPCLK1, SD6, -, SD1_DAT6, SPI0_SCLK, RTS1
43, DOWN, GPCLK2, SD7, -, SD1_DAT7, SPI0_CE0_N, CTS1
44, NONE, GPCLK1, SDA0, SDA1, -, SPI0_CE1_N, SD_CARD_VOLT
45, NONE, PWM0_1, SCL0, SCL1, -, SPI0_CE2_N, SD_CARD_PWR0
46, UP, SDA0, SDA1, SPI0_CE0_N, -, -, SPI2_CE1_N
47, UP, SCL0, SCL1, SPI0_MISO, -, -, SPI2_CE0_N
48, UP, SD0_CLK, -, SPI0_MOSI, SD1_CLK, ARM_TRST, SPI2_SCLK
49, UP, SD0_CMD, GPCLK0, SPI0_SCLK, SD1_CMD, ARM_RTCK, SPI2_MOSI
50, UP, SD0_DAT0, GPCLK1, PCM_CLK, SD1_DAT0, ARM_TDO, SPI2_MISO
51, UP, SD0_DAT1, GPCLK2, PCM_FS, SD1_DAT1, ARM_TCK, SD_CARD_LED
52, UP, SD0_DAT2, PWM0_0, PCM_DIN, SD1_DAT2, ARM_TDI, -
53, UP, SD0_DAT3, PWM0_1, PCM_DOUT, SD1_DAT3, ARM_TMS, -
FHEM auf Raspy4 mit Bullseye + SSD, Homematic, ESP8266, ESP32, Sonoff, eBus, NanoCUL, MapleCUL, , MQTT2, Alexa