eBus Schaltung Rpi in Betrieb nehmen!

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

Vorheriges Thema - Nächstes Thema

Masterdrive

#405
Raspi OS wurde nicht angefasst...
Nur ein
sudo apt-get update
für die neuen Links und Packages (sowohl der ebusd als auch Openhab wurden als apt-get package installiert)

Wie prüf ich die ttyebus Version?
Den hab ich seit Anbeginn nicht mehr geändert... GIT-Checkout (liegt noch im Home-Verzeichnis) ist vom 27.10.2019

Den mal neu auschecken und kompilieren?
Wollte jetzt nicht noch mehr Änderungen ins System bringen.


#EBUSD_OPTS="-l /var/log/ebusd.log --log='all error' --log='main notice' --log='bus notice' --log='update notice' -d /dev/ttyebus -p 8888 --httpport=8880 --htmlpath=/var/www --scanconfig --enablehex --pollinterval=300 --mqtthost=192.168.0.99 --mqttport=1883 --mqtttopic=ebusd --mqttretain"

EBUSD_OPTS="-l /var/log/ebusd.log --log='all error' --log='main notice' --log='bus notice' --log='update notice' -d /dev/ttyUSB0 -p 8888 --httpport=8880 --htmlpath=/var/www --scanconfig --enablehex --pollinterval=300 --mqtthost=192.168.0.99 --mqttport=1883 --mqtttopic=ebusd --mqttretain"


Die "#" ist die für die 2.2er Platine (die nicht sendet), die aktuell konfigurierte für die 1.6er mit FTDI.
--log='update notice' aktuell nur zur Fehlersuche

Wardancer

Hallo zusammen,

ich hab ein Problem mit einer eigentlich bis heute Nachmittag tadellos funktionierenden Installation. Ich hab blöderweise ein Upgrade vom Kernel auf meinem Raspi von 5.4.79 auf 5.10.11 (dem letzten Stable) gemacht. Normalerweise kompilier ich dann den ttyebus neu, starte das System durch, und alles ist okay.
Leider hat mich dann, der schon dokumentierte Fehler https://github.com/eBUS/ttyebus/issues/12/ beim make install erwischt.

Hat jemand einen Tip, wie ich sowohl den Kernel, als auch die Kernel-Headers auf dem Raspi wieder zurückdrehen kann? Ich hab bisher nur Infos/Anleitungen dazu gefunden, wie ich den Kernel auf ne spezifische Version per rpi-update bringen kann, aber dann fehlen mir immer noch die Headers, die ich zum kompilieren brauche :(

Domin2000

Hi ich hatte das gleiche Problem mit dem neuen Kernel. Ich habe die Funktion in der Datei umgebaut und das hat dann alles geklappt. Das hat "unnamehere" beschrieben was er geändert hat. Ist halt ein lokaler "hack" ;-)
https://github.com/eBUS/ttyebus/issues/12/#issuecomment-804164612

Domin2000

#408
Hallo Zusammen,

ich habe das Problem das ich irgendwie keine Daten auslesen kann. Das ganze mit ttyebus-Treiber und ebus läuft auf auf einem seperaten raspberry pie 3B+
Die orangene LED leuchtet dauerhaft und die grüne LED pulsiert schnell (Daten am ebus?)
Schaltet man die Vaillant Gastherme vom Netz dann leuchtet die grüne LED dauerhaft also gehe ich davon aus das ebus richtig verkabelt wurde.

Es Sendetest mittels echo "das ist ein Sendetest" >/dev/ttyebus bei ausgeschaltetem ebusd funktioniert auch: Rote LED leuchet kurz rot auf

ebusctl i zeigt jedoch ein "no signal"

pi@raspberrypi:~ $ ebusctl i
version: ebusd 21.2.v21.2-27-gdb524b9
signal: no signal
reconnects: 0
masters: 1
messages: 11
conditional: 0
poll: 0
update: 4
address 31: master #8, ebusd
address 36: slave #8, ebusd


EBUSD_OPTS Datei:
EBUSD_OPTS="-d /dev/ttyebus -p 8888 -l /var/log/ebusd.log --scanconfig --httpport=8080"

/var/log/ebusd.log
2021-04-07 15:14:54.217 [main notice] ebusd 21.2.v21.2-27-gdb524b9 started with auto scan on device /dev/ttyebus
2021-04-07 15:14:54.354 [bus notice] bus started with own address 31/36
2021-04-07 15:16:59.771 [main notice] update check: revision v21.2 available


Komme leider nicht weiter. Könnte jemand noch einen Tipp geben? Siehe Mini-Video im Anhang.

Reinhart

solange "no signal" auftaucht stimmt noch was mit dem ttyebus Treiber nicht.

kannst du einmal "ls -l /dev" posten und eventuell die komplette /etc/default/ebusd ?

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

Domin2000

#410
Hallo Reinhart,

pi@raspberrypi:~ $ ls -l /dev
insgesamt 0
crw-r--r--  1 root root     10, 235 Apr  6 17:17 autofs
drwxr-xr-x  2 root root         640 Apr  6 17:17 block
crw-------  1 root root     10, 234 Apr  6 17:17 btrfs-control
drwxr-xr-x  3 root root          60 Jan  1  1970 bus
crw-------  1 root root     10,  63 Apr  6 17:17 cachefiles
drwxr-xr-x  2 root root        2820 Apr  6 17:28 char
crw-------  1 root root      5,   1 Apr  6 17:17 console
crw-------  1 root root     10, 203 Apr  6 17:17 cuse
drwxr-xr-x  7 root root         140 Apr  6 17:17 disk
drwxr-xr-x  2 root root          80 Jan  1  1970 dma_heap
crw-rw----  1 root video    29,   0 Apr  6 17:17 fb0
lrwxrwxrwx  1 root root          13 Feb 14  2019 fd -> /proc/self/fd
crw-rw-rw-  1 root root      1,   7 Apr  6 17:17 full
crw-rw-rw-  1 root root     10, 229 Apr  6 17:28 fuse
crw-rw----  1 root gpio    254,   0 Apr  6 17:17 gpiochip0
crw-rw----  1 root gpio    254,   1 Apr  6 17:17 gpiochip1
crw-rw----  1 root gpio    246,   0 Apr  6 17:17 gpiomem
crw-------  1 root root     10, 183 Apr  6 17:17 hwrng
lrwxrwxrwx  1 root root          12 Feb 14  2019 initctl -> /run/initctl
drwxr-xr-x  2 root root          60 Jan  1  1970 input
crw-r--r--  1 root root      1,  11 Apr  6 17:17 kmsg
lrwxrwxrwx  1 root root          28 Feb 14  2019 log -> /run/systemd/journal/dev-log
brw-rw----  1 root disk      7,   0 Apr  6 17:17 loop0
brw-rw----  1 root disk      7,   1 Apr  6 17:17 loop1
brw-rw----  1 root disk      7,   2 Apr  6 17:17 loop2
brw-rw----  1 root disk      7,   3 Apr  6 17:17 loop3
brw-rw----  1 root disk      7,   4 Apr  6 17:17 loop4
brw-rw----  1 root disk      7,   5 Apr  6 17:17 loop5
brw-rw----  1 root disk      7,   6 Apr  6 17:17 loop6
brw-rw----  1 root disk      7,   7 Apr  6 17:17 loop7
crw-rw----  1 root disk     10, 237 Apr  6 17:17 loop-control
drwxr-xr-x  2 root root          60 Apr  6 17:17 mapper
crw-rw----  1 root video   240,   0 Apr  6 17:17 media0
crw-rw----  1 root video   240,   1 Apr  6 17:17 media1
crw-r-----  1 root kmem      1,   1 Apr  6 17:17 mem
brw-rw----  1 root disk    179,   0 Apr  6 17:17 mmcblk0
brw-rw----  1 root disk    179,   1 Apr  6 17:17 mmcblk0p1
brw-rw----  1 root disk    179,   2 Apr  6 17:17 mmcblk0p2
brw-rw----  1 root disk    179,   5 Apr  6 17:17 mmcblk0p5
brw-rw----  1 root disk    179,   6 Apr  6 17:17 mmcblk0p6
brw-rw----  1 root disk    179,   7 Apr  6 17:17 mmcblk0p7
drwxrwxrwt  2 root root          40 Jan  1  1970 mqueue
drwxr-xr-x  2 root root          60 Apr  6 17:17 net
crw-rw-rw-  1 root root      1,   3 Apr  6 17:17 null
crw-------  1 root root    108,   0 Apr  6 17:17 ppp
crw-rw-rw-  1 root tty       5,   2 Apr  7 19:37 ptmx
drwxr-xr-x  2 root root           0 Feb 14  2019 pts
brw-rw----  1 root disk      1,   0 Apr  6 17:17 ram0
brw-rw----  1 root disk      1,   1 Apr  6 17:17 ram1
brw-rw----  1 root disk      1,  10 Apr  6 17:17 ram10
brw-rw----  1 root disk      1,  11 Apr  6 17:17 ram11
brw-rw----  1 root disk      1,  12 Apr  6 17:17 ram12
brw-rw----  1 root disk      1,  13 Apr  6 17:17 ram13
brw-rw----  1 root disk      1,  14 Apr  6 17:17 ram14
brw-rw----  1 root disk      1,  15 Apr  6 17:17 ram15
brw-rw----  1 root disk      1,   2 Apr  6 17:17 ram2
brw-rw----  1 root disk      1,   3 Apr  6 17:17 ram3
brw-rw----  1 root disk      1,   4 Apr  6 17:17 ram4
brw-rw----  1 root disk      1,   5 Apr  6 17:17 ram5
brw-rw----  1 root disk      1,   6 Apr  6 17:17 ram6
brw-rw----  1 root disk      1,   7 Apr  6 17:17 ram7
brw-rw----  1 root disk      1,   8 Apr  6 17:17 ram8
brw-rw----  1 root disk      1,   9 Apr  6 17:17 ram9
crw-rw-rw-  1 root root      1,   8 Apr  6 17:17 random
drwxr-xr-x  2 root root          60 Jan  1  1970 raw
crw-rw-r--  1 root netdev   10, 242 Apr  6 17:17 rfkill
lrwxrwxrwx  1 root root           5 Apr  6 17:17 serial1 -> ttyS0
drwxrwxrwt  2 root root          40 Feb 14  2019 shm
drwxr-xr-x  3 root root         180 Apr  6 17:17 snd
lrwxrwxrwx  1 root root          15 Feb 14  2019 stderr -> /proc/self/fd/2
lrwxrwxrwx  1 root root          15 Feb 14  2019 stdin -> /proc/self/fd/0
lrwxrwxrwx  1 root root          15 Feb 14  2019 stdout -> /proc/self/fd/1
crw-rw-rw-  1 root tty       5,   0 Apr  6 17:17 tty
crw--w----  1 root tty       4,   0 Apr  6 17:17 tty0
crw-------  1 pi   tty       4,   1 Apr  6 17:28 tty1
crw--w----  1 root tty       4,  10 Apr  6 17:17 tty10
crw--w----  1 root tty       4,  11 Apr  6 17:17 tty11
crw--w----  1 root tty       4,  12 Apr  6 17:17 tty12
crw--w----  1 root tty       4,  13 Apr  6 17:17 tty13
crw--w----  1 root tty       4,  14 Apr  6 17:17 tty14
crw--w----  1 root tty       4,  15 Apr  6 17:17 tty15
crw--w----  1 root tty       4,  16 Apr  6 17:17 tty16
crw--w----  1 root tty       4,  17 Apr  6 17:17 tty17
crw--w----  1 root tty       4,  18 Apr  6 17:17 tty18
crw--w----  1 root tty       4,  19 Apr  6 17:17 tty19
crw--w----  1 root tty       4,   2 Apr  6 17:17 tty2
crw--w----  1 root tty       4,  20 Apr  6 17:17 tty20
crw--w----  1 root tty       4,  21 Apr  6 17:17 tty21
crw--w----  1 root tty       4,  22 Apr  6 17:17 tty22
crw--w----  1 root tty       4,  23 Apr  6 17:17 tty23
crw--w----  1 root tty       4,  24 Apr  6 17:17 tty24
crw--w----  1 root tty       4,  25 Apr  6 17:17 tty25
crw--w----  1 root tty       4,  26 Apr  6 17:17 tty26
crw--w----  1 root tty       4,  27 Apr  6 17:17 tty27
crw--w----  1 root tty       4,  28 Apr  6 17:17 tty28
crw--w----  1 root tty       4,  29 Apr  6 17:17 tty29
crw--w----  1 root tty       4,   3 Apr  6 17:17 tty3
crw--w----  1 root tty       4,  30 Apr  6 17:17 tty30
crw--w----  1 root tty       4,  31 Apr  6 17:17 tty31
crw--w----  1 root tty       4,  32 Apr  6 17:17 tty32
crw--w----  1 root tty       4,  33 Apr  6 17:17 tty33
crw--w----  1 root tty       4,  34 Apr  6 17:17 tty34
crw--w----  1 root tty       4,  35 Apr  6 17:17 tty35
crw--w----  1 root tty       4,  36 Apr  6 17:17 tty36
crw--w----  1 root tty       4,  37 Apr  6 17:17 tty37
crw--w----  1 root tty       4,  38 Apr  6 17:17 tty38
crw--w----  1 root tty       4,  39 Apr  6 17:17 tty39
crw--w----  1 root tty       4,   4 Apr  6 17:17 tty4
crw--w----  1 root tty       4,  40 Apr  6 17:17 tty40
crw--w----  1 root tty       4,  41 Apr  6 17:17 tty41
crw--w----  1 root tty       4,  42 Apr  6 17:17 tty42
crw--w----  1 root tty       4,  43 Apr  6 17:17 tty43
crw--w----  1 root tty       4,  44 Apr  6 17:17 tty44
crw--w----  1 root tty       4,  45 Apr  6 17:17 tty45
crw--w----  1 root tty       4,  46 Apr  6 17:17 tty46
crw--w----  1 root tty       4,  47 Apr  6 17:17 tty47
crw--w----  1 root tty       4,  48 Apr  6 17:17 tty48
crw--w----  1 root tty       4,  49 Apr  6 17:17 tty49
crw--w----  1 root tty       4,   5 Apr  6 17:17 tty5
crw--w----  1 root tty       4,  50 Apr  6 17:17 tty50
crw--w----  1 root tty       4,  51 Apr  6 17:17 tty51
crw--w----  1 root tty       4,  52 Apr  6 17:17 tty52
crw--w----  1 root tty       4,  53 Apr  6 17:17 tty53
crw--w----  1 root tty       4,  54 Apr  6 17:17 tty54
crw--w----  1 root tty       4,  55 Apr  6 17:17 tty55
crw--w----  1 root tty       4,  56 Apr  6 17:17 tty56
crw--w----  1 root tty       4,  57 Apr  6 17:17 tty57
crw--w----  1 root tty       4,  58 Apr  6 17:17 tty58
crw--w----  1 root tty       4,  59 Apr  6 17:17 tty59
crw--w----  1 root tty       4,   6 Apr  6 17:17 tty6
crw--w----  1 root tty       4,  60 Apr  6 17:17 tty60
crw--w----  1 root tty       4,  61 Apr  6 17:17 tty61
crw--w----  1 root tty       4,  62 Apr  6 17:17 tty62
crw--w----  1 root tty       4,  63 Apr  6 17:17 tty63
crw--w----  1 root tty       4,   7 Apr  6 17:28 tty7
crw--w----  1 root tty       4,   8 Apr  6 17:17 tty8
crw--w----  1 root tty       4,   9 Apr  6 17:17 tty9
crw-rw-rw-  1 root root     10,  62 Apr  6 17:17 ttyebus
crw-------  1 root root      5,   3 Apr  6 17:17 ttyprintk
crw-rw----  1 root dialout   4,  64 Apr  6 17:28 ttyS0
crw-------  1 root root     10, 239 Apr  6 17:17 uhid
crw-------  1 root root     10, 223 Apr  6 17:17 uinput
crw-rw-rw-  1 root root      1,   9 Apr  6 17:17 urandom
drwxr-xr-x  3 root root          60 Apr  6 17:17 v4l
crw-rw----  1 root video   243,   0 Apr  6 17:17 vchiq
crw-rw----  1 root video   247,   0 Apr  6 17:17 vcio
crw-------  1 root root    248,   0 Apr  6 17:17 vc-mem
crw-rw----  1 root tty       7,   0 Apr  6 17:17 vcs
crw-rw----  1 root tty       7,   1 Apr  6 17:17 vcs1
crw-rw----  1 root tty       7,   2 Apr  6 17:17 vcs2
crw-rw----  1 root tty       7,   3 Apr  6 17:17 vcs3
crw-rw----  1 root tty       7,   4 Apr  6 17:17 vcs4
crw-rw----  1 root tty       7,   5 Apr  6 17:17 vcs5
crw-rw----  1 root tty       7,   6 Apr  6 17:17 vcs6
crw-rw----  1 root tty       7,   7 Apr  6 17:28 vcs7
crw-rw----  1 root tty       7, 128 Apr  6 17:17 vcsa
crw-rw----  1 root tty       7, 129 Apr  6 17:17 vcsa1
crw-rw----  1 root tty       7, 130 Apr  6 17:17 vcsa2
crw-rw----  1 root tty       7, 131 Apr  6 17:17 vcsa3
crw-rw----  1 root tty       7, 132 Apr  6 17:17 vcsa4
crw-rw----  1 root tty       7, 133 Apr  6 17:17 vcsa5
crw-rw----  1 root tty       7, 134 Apr  6 17:17 vcsa6
crw-rw----  1 root tty       7, 135 Apr  6 17:28 vcsa7
crw-rw----  1 root video    10,  61 Apr  6 17:17 vcsm-cma
crw-rw----  1 root tty       7,  64 Apr  6 17:17 vcsu
crw-rw----  1 root tty       7,  65 Apr  6 17:17 vcsu1
crw-rw----  1 root tty       7,  66 Apr  6 17:17 vcsu2
crw-rw----  1 root tty       7,  67 Apr  6 17:17 vcsu3
crw-rw----  1 root tty       7,  68 Apr  6 17:17 vcsu4
crw-rw----  1 root tty       7,  69 Apr  6 17:17 vcsu5
crw-rw----  1 root tty       7,  70 Apr  6 17:17 vcsu6
crw-rw----  1 root tty       7,  71 Apr  6 17:28 vcsu7
crw-------  1 root root     10, 137 Apr  6 17:17 vhci
crw-rw----+ 1 root video    81,   4 Apr  6 17:17 video10
crw-rw----+ 1 root video    81,   5 Apr  6 17:17 video11
crw-rw----+ 1 root video    81,   6 Apr  6 17:17 video12
crw-rw----+ 1 root video    81,   0 Apr  6 17:17 video13
crw-rw----+ 1 root video    81,   1 Apr  6 17:17 video14
crw-rw----+ 1 root video    81,   2 Apr  6 17:17 video15
crw-rw----+ 1 root video    81,   3 Apr  6 17:17 video16
crw-------  1 root root     10, 130 Apr  6 17:17 watchdog
crw-------  1 root root    250,   0 Apr  6 17:17 watchdog0
crw-rw-rw-  1 root root      1,   5 Apr  6 17:17 zero


und

ebusd:

                         

# /etc/default/ebusd:
# config file for ebusd service.

# Options to pass to ebusd (run "ebusd -?" for more info):

EBUSD_OPTS="-d /dev/ttyebus -p 8888 -l /var/log/ebusd.log --scanconfig --httpport=8080"

# MULTIPLE EBUSD INSTANCES WITH SYSV
# In order to run multiple ebusd instances on a SysV enabled system, simply
# define several EBUSD_OPTS with a unique suffix for each. Recommended is to
# use a number as suffix for all EBUSD_OPTS settings. That number will then be
# taken as additional "instance" parameter to the init.d script in order to
# start/stop an individual ebusd instance instead of all instances.
# Example: (uncomment the EBUSD_OPTS above)
#EBUSD_OPTS1="--scanconfig -d /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A50285BI-if00-port0 -$
#EBUSD_OPTS2="--scanconfig -d /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A900acTF-if00-port0 -$
#EBUSD_OPTS3="--scanconfig -d /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A900beCG-if00-port0 -$

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

Reinhart

ah ja, du hast ja geschrieben das du einen Raspi3+ verwendest und da wird ja ttyAMA0 für Bluetooth verwendet und die interne ttyS0 und die ist bei dir aktiv. Solange die aktiv ist wird ttyebus nicht funktionieren können.

Ich habe jetzt keinen Pi3 da und kann das nicht weiter testen, aber suche bitte im Netz wie man die ttyS0 gänzlich abschalten kann. Schau aber zuerst in "raspi-config" nach obs nicht eh da schon geht.

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

Domin2000

#412
Im Netz finde ich ein:

systemctl stop serial-getty@ttyS0.service
und
systemctl disable serial-getty@ttyS0.service

habe ich als root aufgeführt und danach reboot.

ttyS0 ist noch immer aktiv laut ls -l /dev

crw-rw----  1 root dialout   4,  64 Apr  7 20:47 ttyS0


pi@raspberrypi:~ $ systemctl status serial-getty@ttyS0.service
● serial-getty@ttyS0.service - Serial Getty on ttyS0
   Loaded: loaded (/lib/systemd/system/serial-getty@.service; disabled; vendor preset: enabled)
   Active: inactive (dead)
     Docs: man:agetty(8)
           man:systemd-getty-generator(8)
           http://0pointer.de/blog/projects/serial-console.html


Domin2000

Hallo Reinhart,

ich habe den service zusätzlich mittels systemctl mask serial-getty@ttyS0.service maskiert. Der ist ja auch nach dem deaktivieren nicht mehr aktiv:
pi@raspberrypi:~ $ systemctl status serial-getty@ttyS0.service
● serial-getty@ttyS0.service
   Loaded: masked (Reason: Unit serial-getty@ttyS0.service is masked.)
   Active: inactive (dead)


Reicht das nicht aus? Oder muss das ttyS0 komplett aus ls -l /dev verschwinden?

Unter raspi-config kann man allgemein die serielle Schnittstelle deaktivieren und finde keinen Eintrag für ttyS0
(siehe Bilder im Anhang)





Reinhart

so, ich habe mir hier nochmals die Einträge die zur Lösung beim PI3 beigetragen haben gelesen und da habe ich diesen gefunden der dann bei vielen funktionierte.

Ich glaube wir brauchen jetzt den ttyS0 nicht so sehr beachten wenn der ttyAma0 weg ist. Ist schon eine Weile her als wir wir uns mit dem ttyebus Treiber beschäftigten.


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

Domin2000

Meinst Du den Beitrag von diam35 mit Antwort #106?

Reinhart

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

Domin2000

Ich habe das mal wie diam135 im Post 106 beschreibt ausgeführt. Dort wird das Ganze aber mittels alter Kernel 4.x Version gemacht. Ich habe jedoch einen 5er Kernel

pi@raspberrypi:~ $ uname -r
5.10.17-v7+


Folgendes habe ich durchgeführt:

$ sudo echo dtoverlay=pi3-miniuart-bt | sudo tee -a /boot/config.txt

In der /boot/config.txt steht nun folgendes drin:

enable_uart=0
#dtoverlay=miniuart-bt
dtoverlay=pi3-miniuart-bt


Das auskommentierte "dtoverlay=miniuart-bt" ist eigentlich ab Raspian Buster OS korrekt. Zumindest steht das so in der Doku für die Treiberinstallation des ttyebus drin.
Ich habe es trotzdem auf "dtoverlay=pi3-miniuart-bt" abgeändert und anschl. reboot.

Trotzdem gibts ein "no signal":

pi@raspberrypi:~ $ ebusctl i
version: ebusd 21.2.v21.2-27-gdb524b9
signal: no signal
reconnects: 0
masters: 1
messages: 11
conditional: 0
poll: 0
update: 4
address 31: master #8, ebusd
address 36: slave #8, ebusd


Kann es sein das meine Kernel Version noch nicht mit dem ttyebus Treiber kompatibel ist?

Ich denke dann werde ich wohl ein altes Kernel einspielen müssen und mich von Buster verabschieden müssen...oder doch noch ne Idee?

galileo

Hallo Domin2000,
Ich habe schon in mehreren Posts (leider) festgestellt, dass der ttyebus Treiber ab einer bestimmten Buster Version im Zusammenhang mit einem Raspi 4 nicht mehr funktioniert.
Hintergund ist die anders geartete Interrupt Behandlung, die ich nicht mehr beherrschen konnte. Möglicherweise ist das auch eskaliert, indem es nunmehr auch für RASPI 3 nicht mehr funktioniert.
Deshalb leider dieser Hinweis: Bitte nur Buster Versionen vor Februar 2020 für V2 Adapter verwenden, das wird funktionieren. Oder aber einen V3 Adapter, welcher ohne ttyebus mit einem Standard ttyAMA0 in allen Raspi Versionen auskommt.
LG

Reinhart

Domin200 hat einen Raspi3+, aber kann sein das hier auch schon  das selbe Problem auftritt.

Wenn alle Stricke reißen, musst du wohl oder übel auf USB ausweichen oder für diesen Zweck einen älteren Raspi nehmen.

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