Ankündigung

Einklappen
Keine Ankündigung bisher.

TPUART USB Stick funktioniert nicht

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    TPUART USB Stick funktioniert nicht

    Hi zusammen,
    ich habe nun per Post einen TP UART USB Stick bekommen und nach Anleitung mit transparent UART geflasht. KNXD konnte ich auf dem Raspberry rev.B auch ohne Probleme übersetzen. Aber leider bekomme ich nichts auf/vom Bus. Hat jemand eine Idee? Ich habe keine Ahnung, was hier falsch ist.

    Meine Einstellung in /etc/default/knxd ist
    Code:
    DAEMON_ARGS="-e 0.0.1 -E 0.0.2:8 -u /tmp/eib -i -b tpuarts:/dev/ttyKNX1"
    geprüft habe ich sowohl
    Code:
    knxtool groupswrite local:/tmp/eib 1/2/2 1
    als auch
    Code:
    knxtool groupsocketlisten local:/tmp/eib
    Am Stick leuchtet eine rote LED neben der Busklemme. Anbei das Log der Konsole, wenn ich knxd mit trace starte:

    Code:
    root@raspi:/home/xbian# sudo -u knxd knxd -e 0.0.1 -E 0.0.2:8  --trace=1023 --listen-tcp=4711 --layer2=tpuarts:/dev/ttyKNX1                   
    knxd: Layer 8 [ 2:inet 0.001] OpenInetSocket 4711
    knxd: Layer 8 [ 2:inet 0.003] InetSocket opened
    knxd: Layer 3 [ 3:layer3 0.004] Open
    knxd: Layer 3 [ 3:layer3 0.006] L3 started
    knxd: Layer 3 [ 3:layer3 0.007] registerLayer2 2:inet
    knxd: Layer 3 [ 3:layer3 0.008] registerLayer2 2:inet = 1
    knxd: Layer 2 [ 4:tpuarts:/dev/ttyKNX1 0.009] Open
    knxd: Layer 2 [ 4:tpuarts:/dev/ttyKNX1 0.010] Open
    knxd: Layer 8 [ 4:tpuarts:/dev/ttyKNX1 0.010] ser state 0>2
    knxd: Layer 0 [ 4:tpuarts:/dev/ttyKNX1 0.013] Opened /dev/ttyKNX1 with baud 19200
    knxd: Layer 2 [ 4:tpuarts:/dev/ttyKNX1 0.014] Openend
    knxd: Layer 2 [ 4:tpuarts:/dev/ttyKNX1 0.014] Buffer Setup
    knxd: Layer 8 [ 4:tpuarts:/dev/ttyKNX1 0.014] ser state 0>5
    knxd: Layer 3 [ 3:layer3               0.015] registerLayer2 4:tpuarts:/dev/ttyKNX1
    knxd: Layer 2 [ 4:tpuarts:/dev/ttyKNX1 0.015] open
    knxd: Layer 8 [ 4:tpuarts:/dev/ttyKNX1 0.015] ser state 5>12
    knxd: Layer 8 [ 4:tpuarts:/dev/ttyKNX1 0.016] state: ? 5 > in_reset
    knxd: Layer 0 [ 4:tpuarts:/dev/ttyKNX1 0.017] SendReset 01
    knxd: Layer 3 [ 3:layer3               0.017] registerLayer2 4:tpuarts:/dev/ttyKNX1 = 1
    knxd: Layer 0 [ 1:main                 0.017] 0.12.14:e6a68c8: knxd -e 0.0.1 -E 0.0.2:8 --trace=1023 --listen-tcp=4711 --layer2=tpuarts:/dev/ttyKNX1
    knxd: Layer 8 [ 4:tpuarts:/dev/ttyKNX1 0.500] ser state 12>12
    knxd: Layer 8 [ 4:tpuarts:/dev/ttyKNX1 0.501] ser state 12>5
    knxd: Layer 8 [ 4:tpuarts:/dev/ttyKNX1 0.601] ser state 5>12
    knxd: Layer 8 [ 4:tpuarts:/dev/ttyKNX1 0.601] state: ? 5 > in_reset
    knxd: Layer 0 [ 4:tpuarts:/dev/ttyKNX1 0.601] SendReset 01
    knxd: Layer 8 [ 4:tpuarts:/dev/ttyKNX1 1.101] ser state 12>12
    knxd: Layer 8 [ 4:tpuarts:/dev/ttyKNX1 1.101] ser state 12>5
    knxd: Layer 8 [ 4:tpuarts:/dev/ttyKNX1 1.202] ser state 5>12
    knxd: Layer 8 [ 4:tpuarts:/dev/ttyKNX1 1.202] state: ? 5 > in_reset
    knxd: Layer 0 [ 4:tpuarts:/dev/ttyKNX1 1.202] SendReset 01
    knxd: Layer 8 [ 4:tpuarts:/dev/ttyKNX1 1.702] ser state 12>12
    knxd: Layer 8 [ 4:tpuarts:/dev/ttyKNX1 1.702] ser state 12>5
    knxd: Layer 8 [ 4:tpuarts:/dev/ttyKNX1 1.802] ser state 5>12
    knxd: Layer 8 [ 4:tpuarts:/dev/ttyKNX1 1.802] state: ? 5 > in_reset
    knxd: Layer 0 [ 4:tpuarts:/dev/ttyKNX1 1.803] SendReset 01
    knxd: Layer 8 [ 4:tpuarts:/dev/ttyKNX1 2.303] ser state 12>12
    knxd: Layer 8 [ 4:tpuarts:/dev/ttyKNX1 2.303] ser state 12>5
    knxd: Layer 8 [ 4:tpuarts:/dev/ttyKNX1 2.403] ser state 5>12
    knxd: Layer 8 [ 4:tpuarts:/dev/ttyKNX1 2.403] state: ? 5 > in_reset
    knxd: Layer 0 [ 4:tpuarts:/dev/ttyKNX1 2.403] SendReset 01
    knxd: Layer 8 [ 4:tpuarts:/dev/ttyKNX1 2.904] ser state 12>12
    knxd: Layer 8 [ 4:tpuarts:/dev/ttyKNX1 2.904] ser state 12>5
    knxd: Layer 8 [ 4:tpuarts:/dev/ttyKNX1 3.004] ser state 5>12
    knxd: Layer 8 [ 4:tpuarts:/dev/ttyKNX1 3.004] state: ? 5 > in_reset
    knxd: Layer 0 [ 4:tpuarts:/dev/ttyKNX1 3.004] SendReset 01
    ^Cknxd: Layer 3 [ 3:layer3               3.395] L3 stopping
    knxd: Layer 3 [ 4:tpuarts:/dev/ttyKNX1 3.395] deregisterLayer2 4
    knxd: Layer 3 [ 2:inet                 3.396] deregisterLayer2 2
    knxd: Layer 0 [ 3:layer3               3.396] Layer2 'server' didn't de-register!
    knxd: Layer 0 [ 3:layer3               3.396] Layer2 'tpuarts' didn't de-register!
    knxd: Layer 3 [ 3:layer3               3.396] Closed
    knxd: Layer 2 [ 4:tpuarts:/dev/ttyKNX1 3.396] Close
    knxd: Layer 8 [ 2:inet                 3.397] StopServer
    knxd: Layer 8 [ 2:inet                 3.398] StopBaseServer
    vielen Dank schonmal
    Grundausstattung: Eib für Licht und bald für Heizungssteuerung, Einzelraumregelung u Stellantrieb, fbf 7390 + dropbear + cron, ein gerade neu gebauter mini-itx server mit 1,5tb Raid1 EIBD + 1-wire für Überwachung der Puffer-Temperaturen, ipbox9000

    #2
    jampr
    Den tpuart hab ich mit einem RPI 3B auf Jessie am laufen. Bin zwar kein Weltmeister in Troubleshooting, aber

    mach mal....
    Code:
    pi@RASP3BI:~ $ ls -Ll /dev/ttyKNX1
    crw-rw---- 1 knxd dialout 166, 0 Mar  5 10:09 /dev/ttyKNX1
    ... knxd user sollte rw auf /dev/ttyKNX1

    wichtig ist auch, dass in folgender Datei
    Code:
    pi@RASP3BI:~ $ cat /etc/udev/rules.d/70-knxd.rules
    ACTION=="add", SUBSYSTEM=="tty", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="204b", KERNELS=="[COLOR=#FF0000]1-1.4[/COLOR]", SYMLINK+="ttyKNX1", OWNER="knxd"
    ... bspw da wo rot markiert das richtige eingetragen ist. Vorsicht, nicht abschreiben, könnte bei Dir anders sein.

    Kommentar


      #3
      Zweite Möglichkeit: der Kernel oder ein agetty greift noch auf die Schhnittstelle zu und liest dem knxd den Input vor der Nase weg.
      DistKV, Home Assistant, 1wire, KNX, Python, Asterisk, SMD-Lötkolben

      Kommentar


        #4
        Perfekt. Danke itarch

        ich hatte in der 70-knxd.rules folgendes

        Code:
         ACTION=="add", SUBSYSTEM=="tty", ATTRS{id}=="00241011", KERNELS=="20201000.uart", SYMLINK+="ttyKNX1", OWNER="knxd"
        Nach Änderung auf die von Dir geposteten Parameter, natürlich passend für meinen USB (1-1.3) ging alles.

        Vielen Dank nochmal. Ich weiß zwar nicht genau, was ich falsch gemacht habe. aber ich bin erstmal glücklich.
        Ich hatte mir die Parameter eigentlich direkt rausgesucht.
        Code:
        root@raspi:/home/xbian# udevadm info -a /dev/ttyAMA0 | grep KERNELS.*uart
            KERNELS=="20201000.uart"
        root@raspi:/home/xbian# udevadm info -a /dev/ttyAMA0 | grep {id}
            ATTRS{id}=="00241011"
        Hmm, mein Device sieht jetzt auch anders aus. War vorher ein Link auf ttyAMA0. Warum kann man das eigentlich nicht direkt angeben?

        So ist es jetzt erstmal funktionsfähig

        Code:
        ACTION=="add", SUBSYSTEM=="tty",ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="204b", KERNELS=="1-1.3", SYMLINK+="ttyKNX1", OWNER="knxd"

        Also ich bin erstmal grücklich :-)
        *freu*

        Schönes Wochenende
        Grundausstattung: Eib für Licht und bald für Heizungssteuerung, Einzelraumregelung u Stellantrieb, fbf 7390 + dropbear + cron, ein gerade neu gebauter mini-itx server mit 1,5tb Raid1 EIBD + 1-wire für Überwachung der Puffer-Temperaturen, ipbox9000

        Kommentar


          #5
          Freut mich!

          Kommentar


            #6
            Zitat von jampr Beitrag anzeigen
            Perfekt. Danke itarchHmm, mein Device sieht jetzt auch anders aus. War vorher ein Link auf ttyAMA0. Warum kann man das eigentlich nicht direkt angeben?
            In diesem speziellen Fall kannst du wahrscheinlich
            Code:
            ACTION=="add", KERNEL=="ttyAMA0", SUBSYSTEM=="tty", SYMLINK+="ttyKNX1", OWNER="knxd"
            verwenden und es funktioniert sogar. Diese Idee propagiere ich aber absichtlich nicht, weil dann wieder jemand auf die Idee kommt, dass das mit ttyUSB0 oder ttyACM0 auch klappt – aber zwei Wochen später steckt er ein neues Gerät an, zwei Monate später hat er einen Stromausfall, die Enumeration ändert sich (ist ja zufällig) und schon funktioniert knxd nicht mehr und der Frust ist groß.
            DistKV, Home Assistant, 1wire, KNX, Python, Asterisk, SMD-Lötkolben

            Kommentar


              #7
              Hallo Zusammen,
              gleich vorweg: Ich bin neu in dieser "Linux-Welt". Dennoch versuche ich einen TUPART USB Stick mit RPI V2 als Programmierschnittstelle für ETS5 zu nutzen.

              Die Firmware konnte ich erfolgreich auf den Stick aufspielen. KNXD ist in Version 0.12 installiert. Als OS wird raspbian-jessie auf dem RPI eingesetzt.

              Leider scheitere ich am Erstellen der "rule". Gehe ich recht in der Annahme dass die Datei "70-knxd.rules" manuell erstellt werden muss? Bei der Installation wurde diese nicht erzeugt.
              Wenn ich dann die Regel mit den entsprechenden Kernel-Parametern einfüge wird die Schnittstelle leider nicht erkannt/erzeugt.

              Wenn ich wie oben beschrieben folgenden Code eingebe, wird die Schnittstelle zwar erkannt, läuft aber unter "root" und kann daher nicht eingebunden werden.
              ACTION=="add", KERNEL=="ttyAMA0", SUBSYSTEM=="tty", SYMLINK+="ttyKNX1", OWNER="knxd"
              Was könnte hier das Problem sein?
              Vielen Dank im Voraus.
              Grüsse
              Sebastian


              Kommentar


                #8
                Tuny Die Attribute die Du suchst, spuckt Dir der raspi selber aus, siehe mal hier: https://github.com/knxd/knxd/wiki/Ad...-the-interface
                Deutschsprachiges homebridge-knx-Forum unter https://github.com/snowdd1/homebridge-knx-de

                Kommentar


                  #9
                  Hallo snowdd,
                  danke, ich denke die Attribute in deinem Link beziehen sich auf den seriellen Anschluss und nicht USB.

                  Nachdem nun jedenfalls die Firmware des Sticks neu aufgespielt wurde, bin ich einen Schritt weiter gekommen.
                  Die Schnittstelle erscheint nun im ETS. Leider kommt die Meldung: "Die Schnittstelle kann nicht geöffnet werden, weil der Verbindungstyp nicht unterstützt wird."

                  Wenn ich den Test laufen lasse:
                  Code:
                   udevadm test /sys/bus/usb/drivers/cdc_acm/*/tty/ttyACM0
                  Kommt es zu folgenden Meldungen. Irgendwas scheint da noch nicht so ganz zu passen.

                  pi@raspberrypi:~ $ udevadm test /sys/bus/usb/drivers/cdc_acm/*/tty/ttyACM0
                  calling: test
                  version 215
                  This program is for debugging only, it does not run any program
                  specified by a RUN key. It may show incorrect results, because
                  some values may be different, or not available at a simulation run.

                  load module index
                  Network interface NamePolicy= disabled on kernel commandline, ignoring.
                  timestamp of '/etc/systemd/network' changed
                  timestamp of '/lib/systemd/network' changed
                  Parsed configuration file /lib/systemd/network/99-default.link
                  Created link configuration context.
                  timestamp of '/etc/udev/rules.d' changed
                  read rules file: /lib/udev/rules.d/10-local-rpi.rules
                  read rules file: /lib/udev/rules.d/15-i2c-modprobe.rules
                  read rules file: /lib/udev/rules.d/15-rfkill.rules
                  read rules file: /lib/udev/rules.d/40-scratch.rules
                  read rules file: /lib/udev/rules.d/40-usb_modeswitch.rules
                  read rules file: /lib/udev/rules.d/42-usb-hid-pm.rules
                  read rules file: /lib/udev/rules.d/50-bluetooth-hci-auto-poweron.rules
                  read rules file: /lib/udev/rules.d/50-firmware.rules
                  read rules file: /lib/udev/rules.d/50-udev-default.rules
                  read rules file: /lib/udev/rules.d/55-dm.rules
                  read rules file: /lib/udev/rules.d/60-cdrom_id.rules
                  read rules file: /lib/udev/rules.d/60-crda.rules
                  read rules file: /lib/udev/rules.d/60-drm.rules
                  read rules file: /lib/udev/rules.d/60-fuse.rules
                  read rules file: /lib/udev/rules.d/60-gnupg.rules
                  read rules file: /lib/udev/rules.d/60-i2c-tools.rules
                  read rules file: /lib/udev/rules.d/60-keyboard.rules
                  read rules file: /lib/udev/rules.d/60-libgphoto2-6.rules
                  read rules file: /lib/udev/rules.d/60-libpisock9.rules
                  read rules file: /lib/udev/rules.d/60-persistent-alsa.rules
                  read rules file: /lib/udev/rules.d/60-persistent-input.rules
                  read rules file: /lib/udev/rules.d/60-persistent-serial.rules
                  read rules file: /lib/udev/rules.d/60-persistent-storage-dm.rules
                  read rules file: /lib/udev/rules.d/60-persistent-storage-tape.rules
                  read rules file: /lib/udev/rules.d/60-persistent-storage.rules
                  read rules file: /lib/udev/rules.d/60-persistent-v4l.rules
                  read rules file: /lib/udev/rules.d/60-triggerhappy.rules
                  read rules file: /lib/udev/rules.d/61-accelerometer.rules
                  read rules file: /lib/udev/rules.d/61-partuuid.rules
                  read rules file: /lib/udev/rules.d/64-btrfs.rules
                  read rules file: /lib/udev/rules.d/64-xorg-xkb.rules
                  read rules file: /lib/udev/rules.d/65-libwacom.rules
                  read rules file: /lib/udev/rules.d/69-libmtp.rules
                  read rules file: /etc/udev/rules.d/70-knxd.rules
                  read rules file: /lib/udev/rules.d/70-power-switch.rules
                  read rules file: /lib/udev/rules.d/70-uaccess.rules
                  read rules file: /lib/udev/rules.d/71-seat.rules
                  read rules file: /lib/udev/rules.d/73-idrac.rules
                  read rules file: /lib/udev/rules.d/73-seat-late.rules
                  read rules file: /lib/udev/rules.d/75-net-description.rules
                  read rules file: /lib/udev/rules.d/75-persistent-net-generator.rules
                  read rules file: /lib/udev/rules.d/75-probe_mtd.rules
                  read rules file: /lib/udev/rules.d/75-tty-description.rules
                  read rules file: /lib/udev/rules.d/78-sound-card.rules
                  read rules file: /lib/udev/rules.d/80-drivers.rules
                  read rules file: /lib/udev/rules.d/80-libinput-device-groups.rules
                  read rules file: /lib/udev/rules.d/80-net-setup-link.rules
                  read rules file: /lib/udev/rules.d/80-networking.rules
                  read rules file: /lib/udev/rules.d/80-udisks2.rules
                  read rules file: /lib/udev/rules.d/85-hwclock.rules
                  read rules file: /lib/udev/rules.d/85-regulatory.rules
                  read rules file: /lib/udev/rules.d/90-alsa-restore.rules
                  read rules file: /lib/udev/rules.d/90-libinput-model-quirks.rules
                  read rules file: /lib/udev/rules.d/90-pulseaudio.rules
                  read rules file: /lib/udev/rules.d/95-udev-late.rules
                  read rules file: /lib/udev/rules.d/95-wedo.rules
                  read rules file: /lib/udev/rules.d/97-hid2hci.rules
                  read rules file: /etc/udev/rules.d/99-com.rules
                  read rules file: /lib/udev/rules.d/99-systemd.rules
                  rules contain 393216 bytes tokens (32768 * 12 bytes), 25763 bytes strings
                  27954 strings (225773 bytes), 25320 de-duplicated (202645 bytes), 2635 trie nodes used
                  GROUP 20 /lib/udev/rules.d/50-udev-default.rules:22
                  IMPORT builtin 'path_id' /lib/udev/rules.d/60-persistent-serial.rules:9
                  LINK 'serial/by-path/platform-3f980000.usb-usb-0:1.5:1.0' /lib/udev/rules.d/60-persistent-serial.rules:10
                  IMPORT builtin 'usb_id' /lib/udev/rules.d/60-persistent-serial.rules:13
                  /sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.0: if_class 2 protocol 0
                  LINK 'serial/by-id/usb-busware.de_TPUART_8543934393935150F080-if00' /lib/udev/rules.d/60-persistent-serial.rules:17
                  OWNER 112 /etc/udev/rules.d/70-knxd.rules:1
                  LINK 'ttyKNX1' /etc/udev/rules.d/70-knxd.rules:1
                  IMPORT builtin skip 'usb_id' /lib/udev/rules.d/75-tty-description.rules:6
                  IMPORT builtin 'hwdb' /lib/udev/rules.d/75-tty-description.rules:6
                  handling device node '/dev/ttyACM0', devnum=c166:0, mode=0660, uid=112, gid=20
                  preserve permissions /dev/ttyACM0, 020660, uid=112, gid=20
                  preserve already existing symlink '/dev/char/166:0' to '../ttyACM0'
                  found 'c166:0' claiming '/run/udev/links/\x2fserial\x2fby-id\x2fusb-busware.de_TPUART_8543934393935150F080-if00'
                  creating link '/dev/serial/by-id/usb-busware.de_TPUART_8543934393935150F080-if00' to '/dev/ttyACM0'
                  preserve already existing symlink '/dev/serial/by-id/usb-busware.de_TPUART_8543934393935150F080-if00' to '../../ttyACM0'
                  found 'c166:0' claiming '/run/udev/links/\x2fserial\x2fby-path\x2fplatform-3f980000.usb-usb-0:1.5:1.0'
                  creating link '/dev/serial/by-path/platform-3f980000.usb-usb-0:1.5:1.0' to '/dev/ttyACM0'
                  preserve already existing symlink '/dev/serial/by-path/platform-3f980000.usb-usb-0:1.5:1.0' to '../../ttyACM0'
                  found 'c166:0' claiming '/run/udev/links/\x2fttyKNX1'
                  creating link '/dev/ttyKNX1' to '/dev/ttyACM0'
                  preserve already existing symlink '/dev/ttyKNX1' to 'ttyACM0'
                  unable to create temporary db file '/run/udev/data/c166:0.tmp': Permission denied
                  ACTION=add
                  DEVLINKS=/dev/serial/by-id/usb-busware.de_TPUART_8543934393935150F080-if00 /dev/serial/by-path/platform-3f980000.usb-usb-0:1.5:1.0 /dev/ttyKNX1
                  DEVNAME=/dev/ttyACM0
                  DEVPATH=/bus/usb/drivers/cdc_acm/1-1.5:1.0/tty/ttyACM0
                  ID_BUS=usb
                  ID_MODEL=TPUART
                  ID_MODEL_ENC=TPUART
                  ID_MODEL_FROM_DATABASE=LUFA USB to Serial Adapter Project
                  ID_MODEL_ID=204b
                  ID_PATH=platform-3f980000.usb-usb-0:1.5:1.0
                  ID_PATH_TAG=platform-3f980000_usb-usb-0_1_5_1_0
                  ID_REVISION=0001
                  ID_SERIAL=busware.de_TPUART_8543934393935150F080
                  ID_SERIAL_SHORT=8543934393935150F080
                  ID_TYPE=generic
                  ID_USB_CLASS_FROM_DATABASE=Communications
                  ID_USB_DRIVER=cdc_acm
                  ID_USB_INTERFACES=:020201:0a0000:
                  ID_USB_INTERFACE_NUM=00
                  ID_VENDOR=busware.de
                  ID_VENDOR_ENC=busware.de
                  ID_VENDOR_FROM_DATABASE=Atmel Corp.
                  ID_VENDOR_ID=03eb
                  MAJOR=166
                  MINOR=0
                  SUBSYSTEM=tty
                  TAGS=:systemd:
                  USEC_INITIALIZED=207880
                  unload module index
                  Unloaded link configuration context.

                  Kommentar


                    #10
                    Die Schnittstelle erscheint nun im ETS. Leider kommt die Meldung: "Die Schnittstelle kann nicht geöffnet werden, weil der Verbindungstyp nicht unterstützt wird."
                    Welche knxd-Optionen?
                    DistKV, Home Assistant, 1wire, KNX, Python, Asterisk, SMD-Lötkolben

                    Kommentar


                      #11
                      Hallo,
                      ich verwende unter /etc/knxd.conf fogende Optionen:

                      KNXD_OPTS="-e 1.1.1 -c -DTRS -b tpuarts:/dev/ttyKNX1"
                      START_KNXD=YES

                      Unter /etc/default/knxd sind die Einträge auskommentiert.

                      Viele Grüsse



                      Kommentar


                        #12
                        … du bist sicher, dass 1.1.1 bei dir frei ist?

                        Du brauchst für sowas ab v0.12 eine -E-Option. Steht im README. Und in der aktuell verteilten knxd.conf.
                        DistKV, Home Assistant, 1wire, KNX, Python, Asterisk, SMD-Lötkolben

                        Kommentar


                          #13
                          Hallo, danke! Es funktioniert! Folgende Option wird verwendet:
                          KNXD_OPTS="-e 0.0.1 -E 0.0.2:8 -c -DTRS -b tpuarts:/dev/ttyKNX1"

                          Kommentar


                            #14
                            Hallo,

                            Ich hänge mich mal hier an da ich eine ähnlich Konstellation habe und auch Probleme mit dem Knxd und dem TUL USB.

                            System ist ein PI3 mit Jessie lite und dem TUL TPUART USB lite von Busware, geflasht mit transparent UART.

                            An der KNX-Bus Seite ist derzeit ein Netzteil und ein Binäreingang angeschlossen zum testen.

                            Nur das ganze funktioniert irgendwie nicht... getestet habe ich schon viele Sachen, den PI mittlerweile auch schon mehrfach neu aufgesetzt...

                            Kenntnisse mit PI/Linux sind so... LALA... aber ich lerne noch...

                            Hier mal die Konfiguration...

                            Code:
                            pi@raspberrypi:~ $ knxd --v
                            knxd 0.12.14
                            Mit der v0.14 hatte ich auch kein Glück.

                            knxd.conf steht folgendes:

                            Code:
                            KNXD_OPTS="-f9 -t1023 -e 1.2.3 -E 1.2.3:10 -D -T --Tunnelling -R --single-port -S -b tpuarts:/dev/ttyKNX1"
                            udev:

                            Code:
                            pi@raspberrypi:~ $ udevadm info --attribute-walk /sys/bus/usb/drivers/cdc_acm/*/tty/ttyACM0
                            
                            Udevadm info starts with the device specified by the devpath and then
                            walks up the chain of parent devices. It prints for every device
                            found, all possible attributes in the udev rules key format.
                            A rule to match, can be composed by the attributes of the device
                            and the attributes from one single parent device.
                            
                              looking at device '/bus/usb/drivers/cdc_acm/1-1.4:1.0/tty/ttyACM0':
                                KERNEL=="ttyACM0"
                                SUBSYSTEM=="tty"
                                DRIVER==""
                            
                              looking at parent device '/bus/usb/drivers/cdc_acm/1-1.4:1.0/tty':
                                KERNELS=="tty"
                                SUBSYSTEMS=="drivers"
                                DRIVERS==""
                            
                              looking at parent device '/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0':
                                KERNELS=="1-1.4:1.0"
                                SUBSYSTEMS=="usb"
                                DRIVERS=="cdc_acm"
                                ATTRS{bInterfaceProtocol}=="01"
                                ATTRS{bInterfaceNumber}=="00"
                                ATTRS{bInterfaceSubClass}=="02"
                                ATTRS{bInterfaceClass}=="02"
                                ATTRS{bAlternateSetting}==" 0"
                                ATTRS{authorized}=="1"
                                ATTRS{bNumEndpoints}=="01"
                                ATTRS{bmCapabilities}=="6"
                                ATTRS{supports_autosuspend}=="1"
                            
                              looking at parent device '/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4':
                                KERNELS=="1-1.4"
                                SUBSYSTEMS=="usb"
                                DRIVERS=="usb"
                                ATTRS{bDeviceClass}=="02"
                                ATTRS{manufacturer}=="busware.de"
                                ATTRS{bmAttributes}=="c0"
                                ATTRS{bConfigurationValue}=="1"
                                ATTRS{version}==" 1.10"
                                ATTRS{devnum}=="4"
                                ATTRS{bMaxPower}=="100mA"
                                ATTRS{idProduct}=="204b"
                                ATTRS{avoid_reset_quirk}=="0"
                                ATTRS{urbnum}=="393"
                                ATTRS{bDeviceSubClass}=="00"
                                ATTRS{maxchild}=="0"
                                ATTRS{bcdDevice}=="0001"
                                ATTRS{bMaxPacketSize0}=="8"
                                ATTRS{idVendor}=="03eb"
                                ATTRS{product}=="TPUART transparent"
                                ATTRS{speed}=="12"
                                ATTRS{removable}=="removable"
                                ATTRS{ltm_capable}=="no"
                                ATTRS{serial}=="8543934393935160E141"
                                ATTRS{bNumConfigurations}=="1"
                                ATTRS{busnum}=="1"
                                ATTRS{authorized}=="1"
                                ATTRS{quirks}=="0x0"
                                ATTRS{configuration}==""
                                ATTRS{devpath}=="1.4"
                                ATTRS{bDeviceProtocol}=="00"
                                ATTRS{bNumInterfaces}==" 2"
                            
                              looking at parent device '/devices/platform/soc/3f980000.usb/usb1/1-1':
                                KERNELS=="1-1"
                                SUBSYSTEMS=="usb"
                                DRIVERS=="usb"
                                ATTRS{bDeviceClass}=="09"
                                ATTRS{bmAttributes}=="e0"
                                ATTRS{bConfigurationValue}=="1"
                                ATTRS{version}==" 2.00"
                                ATTRS{devnum}=="2"
                                ATTRS{bMaxPower}=="2mA"
                                ATTRS{idProduct}=="9514"
                                ATTRS{avoid_reset_quirk}=="0"
                                ATTRS{urbnum}=="37"
                                ATTRS{bDeviceSubClass}=="00"
                                ATTRS{maxchild}=="5"
                                ATTRS{bcdDevice}=="0200"
                                ATTRS{bMaxPacketSize0}=="64"
                                ATTRS{idVendor}=="0424"
                                ATTRS{speed}=="480"
                                ATTRS{removable}=="unknown"
                                ATTRS{ltm_capable}=="no"
                                ATTRS{bNumConfigurations}=="1"
                                ATTRS{busnum}=="1"
                                ATTRS{authorized}=="1"
                                ATTRS{quirks}=="0x0"
                                ATTRS{configuration}==""
                                ATTRS{devpath}=="1"
                                ATTRS{bDeviceProtocol}=="02"
                                ATTRS{bNumInterfaces}==" 1"
                            
                              looking at parent device '/devices/platform/soc/3f980000.usb/usb1':
                                KERNELS=="usb1"
                                SUBSYSTEMS=="usb"
                                DRIVERS=="usb"
                                ATTRS{bDeviceClass}=="09"
                                ATTRS{manufacturer}=="Linux 4.9.35-v7+ dwc_otg_hcd"
                                ATTRS{bmAttributes}=="e0"
                                ATTRS{bConfigurationValue}=="1"
                                ATTRS{version}==" 2.00"
                                ATTRS{devnum}=="1"
                                ATTRS{bMaxPower}=="0mA"
                                ATTRS{idProduct}=="0002"
                                ATTRS{avoid_reset_quirk}=="0"
                                ATTRS{urbnum}=="26"
                                ATTRS{bDeviceSubClass}=="00"
                                ATTRS{maxchild}=="1"
                                ATTRS{bcdDevice}=="0409"
                                ATTRS{bMaxPacketSize0}=="64"
                                ATTRS{idVendor}=="1d6b"
                                ATTRS{product}=="DWC OTG Controller"
                                ATTRS{speed}=="480"
                                ATTRS{authorized_default}=="1"
                                ATTRS{interface_authorized_default}=="1"
                                ATTRS{removable}=="unknown"
                                ATTRS{ltm_capable}=="no"
                                ATTRS{serial}=="3f980000.usb"
                                ATTRS{bNumConfigurations}=="1"
                                ATTRS{busnum}=="1"
                                ATTRS{authorized}=="1"
                                ATTRS{quirks}=="0x0"
                                ATTRS{configuration}==""
                                ATTRS{devpath}=="0"
                                ATTRS{bDeviceProtocol}=="01"
                                ATTRS{bNumInterfaces}==" 1"
                            
                              looking at parent device '/devices/platform/soc/3f980000.usb':
                                KERNELS=="3f980000.usb"
                                SUBSYSTEMS=="platform"
                                DRIVERS=="dwc_otg"
                                ATTRS{wr_reg_test}=="Time to write GNPTXFSIZ reg 10000000 times: 690 msecs (69 jiffies)"
                                ATTRS{grxfsiz}=="GRXFSIZ = 0x00000306"
                                ATTRS{srpcapable}=="SRPCapable = 0x1"
                                ATTRS{buspower}=="Bus Power = 0x1"
                                ATTRS{bussuspend}=="Bus Suspend = 0x0"
                                ATTRS{hptxfsiz}=="HPTXFSIZ = 0x02000406"
                                ATTRS{hnp}=="HstNegScs = 0x0"
                                ATTRS{mode}=="Mode = 0x1"
                                ATTRS{mode_ch_tim_en}=="Mode Change Ready Timer Enable = 0x0"
                                ATTRS{hsic_connect}=="HSIC Connect = 0x1"
                                ATTRS{gsnpsid}=="GSNPSID = 0x4f54280a"
                                ATTRS{driver_override}=="(null)"
                                ATTRS{hcd_frrem}=="HCD Dump Frame Remaining"
                                ATTRS{gotgctl}=="GOTGCTL = 0x001c0001"
                                ATTRS{gpvndctl}=="GPVNDCTL = 0x00000000"
                                ATTRS{hnpcapable}=="HNPCapable = 0x1"
                                ATTRS{spramdump}=="SPRAM Dump"
                                ATTRS{regoffset}=="0xffffffff"
                                ATTRS{gnptxfsiz}=="GNPTXFSIZ = 0x01000306"
                                ATTRS{guid}=="GUID = 0x2708a000"
                                ATTRS{regdump}=="Register Dump"
                                ATTRS{hprt0}=="HPRT0 = 0x00001005"
                                ATTRS{hcddump}=="HCD Dump"
                                ATTRS{rem_wakeup_pwrdn}==""
                                ATTRS{regvalue}=="invalid offset"
                                ATTRS{gusbcfg}=="GUSBCFG = 0x20001700"
                                ATTRS{fr_interval}=="Frame Interval = 0x1d4b"
                                ATTRS{busconnected}=="Bus Connected = 0x1"
                                ATTRS{remote_wakeup}=="Remote Wakeup Sig = 0 Enabled = 0 LPM Remote Wakeup = 0"
                                ATTRS{devspeed}=="Device Speed = 0x0"
                                ATTRS{rd_reg_test}=="Time to read GNPTXFSIZ reg 10000000 times: 930 msecs (93 jiffies)"
                                ATTRS{enumspeed}=="Device Enumeration Speed = 0x1"
                                ATTRS{inv_sel_hsic}=="Invert Select HSIC = 0x0"
                                ATTRS{ggpio}=="GGPIO = 0x00000000"
                                ATTRS{srp}=="SesReqScs = 0x1"
                            
                              looking at parent device '/devices/platform/soc':
                                KERNELS=="soc"
                                SUBSYSTEMS=="platform"
                                DRIVERS==""
                                ATTRS{driver_override}=="(null)"
                            
                              looking at parent device '/devices/platform':
                                KERNELS=="platform"
                                SUBSYSTEMS==""
                                DRIVERS==""



                            /etc/udev/rules.d/70-knxd.rules:

                            Code:
                            ACTION=="add", SUBSYSTEM=="tty", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="204b", KERNELS=="1-1.4", SYMLINK+="ttyKNX1", OWNER="knxd"


                            udevadm test:

                            Code:
                            pi@raspberrypi:~ $ udevadm test /sys/bus/usb/drivers/cdc_acm/*/tty/ttyACM0
                            calling: test
                            version 215
                            This program is for debugging only, it does not run any program
                            specified by a RUN key. It may show incorrect results, because
                            some values may be different, or not available at a simulation run.
                            
                            load module index
                            Network interface NamePolicy= disabled on kernel commandline, ignoring.
                            timestamp of '/etc/systemd/network' changed
                            timestamp of '/lib/systemd/network' changed
                            Parsed configuration file /lib/systemd/network/99-default.link
                            Created link configuration context.
                            timestamp of '/etc/udev/rules.d' changed
                            read rules file: /lib/udev/rules.d/10-local-rpi.rules
                            read rules file: /lib/udev/rules.d/15-i2c-modprobe.rules
                            read rules file: /lib/udev/rules.d/15-rfkill.rules
                            read rules file: /lib/udev/rules.d/40-usb_modeswitch.rules
                            read rules file: /lib/udev/rules.d/42-usb-hid-pm.rules
                            read rules file: /lib/udev/rules.d/50-bluetooth-hci-auto-poweron.rules
                            read rules file: /lib/udev/rules.d/50-firmware.rules
                            read rules file: /lib/udev/rules.d/50-udev-default.rules
                            read rules file: /lib/udev/rules.d/55-dm.rules
                            read rules file: /lib/udev/rules.d/60-cdrom_id.rules
                            read rules file: /lib/udev/rules.d/60-crda.rules
                            read rules file: /lib/udev/rules.d/60-drm.rules
                            read rules file: /lib/udev/rules.d/60-gnupg.rules
                            read rules file: /lib/udev/rules.d/60-keyboard.rules
                            read rules file: /lib/udev/rules.d/60-persistent-alsa.rules
                            read rules file: /lib/udev/rules.d/60-persistent-input.rules
                            read rules file: /lib/udev/rules.d/60-persistent-serial.rules
                            read rules file: /lib/udev/rules.d/60-persistent-storage-dm.rules
                            read rules file: /lib/udev/rules.d/60-persistent-storage-tape.rules
                            read rules file: /lib/udev/rules.d/60-persistent-storage.rules
                            read rules file: /lib/udev/rules.d/60-persistent-v4l.rules
                            read rules file: /lib/udev/rules.d/60-triggerhappy.rules
                            read rules file: /lib/udev/rules.d/61-accelerometer.rules
                            read rules file: /lib/udev/rules.d/61-partuuid.rules
                            read rules file: /lib/udev/rules.d/64-btrfs.rules
                            read rules file: /etc/udev/rules.d/70-knxd.rules
                            read rules file: /lib/udev/rules.d/70-power-switch.rules
                            read rules file: /lib/udev/rules.d/70-uaccess.rules
                            read rules file: /lib/udev/rules.d/71-seat.rules
                            read rules file: /lib/udev/rules.d/73-idrac.rules
                            read rules file: /lib/udev/rules.d/73-seat-late.rules
                            read rules file: /lib/udev/rules.d/75-net-description.rules
                            read rules file: /lib/udev/rules.d/75-persistent-net-generator.rules
                            read rules file: /lib/udev/rules.d/75-probe_mtd.rules
                            read rules file: /lib/udev/rules.d/75-tty-description.rules
                            read rules file: /lib/udev/rules.d/78-sound-card.rules
                            read rules file: /lib/udev/rules.d/80-drivers.rules
                            read rules file: /lib/udev/rules.d/80-net-setup-link.rules
                            read rules file: /lib/udev/rules.d/80-networking.rules
                            read rules file: /lib/udev/rules.d/85-hwclock.rules
                            read rules file: /lib/udev/rules.d/85-regulatory.rules
                            read rules file: /lib/udev/rules.d/90-alsa-restore.rules
                            read rules file: /lib/udev/rules.d/95-udev-late.rules
                            read rules file: /lib/udev/rules.d/97-hid2hci.rules
                            read rules file: /etc/udev/rules.d/99-com.rules
                            read rules file: /lib/udev/rules.d/99-systemd.rules
                            rules contain 49152 bytes tokens (4096 * 12 bytes), 15259 bytes strings
                            3596 strings (40073 bytes), 2545 de-duplicated (25866 bytes), 1052 trie nodes used
                            GROUP 20 /lib/udev/rules.d/50-udev-default.rules:22
                            IMPORT builtin 'path_id' /lib/udev/rules.d/60-persistent-serial.rules:9
                            LINK 'serial/by-path/platform-3f980000.usb-usb-0:1.4:1.0' /lib/udev/rules.d/60-persistent-serial.rules:10
                            IMPORT builtin 'usb_id' /lib/udev/rules.d/60-persistent-serial.rules:13
                            /sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0: if_class 2 protocol 0
                            LINK 'serial/by-id/usb-busware.de_TPUART_transparent_8543934393935160E141-if00' /lib/udev/rules.d/60-persistent-serial.rules:17
                            OWNER 109 /etc/udev/rules.d/70-knxd.rules:35
                            LINK 'ttyKNX1' /etc/udev/rules.d/70-knxd.rules:35
                            IMPORT builtin skip 'usb_id' /lib/udev/rules.d/75-tty-description.rules:6
                            IMPORT builtin 'hwdb' /lib/udev/rules.d/75-tty-description.rules:6
                            handling device node '/dev/ttyACM0', devnum=c166:0, mode=0660, uid=109, gid=20
                            preserve permissions /dev/ttyACM0, 020660, uid=109, gid=20
                            preserve already existing symlink '/dev/char/166:0' to '../ttyACM0'
                            found 'c166:0' claiming '/run/udev/links/\x2fserial\x2fby-id\x2fusb-busware.de_TPUART_transparent_8543934393935160E141-if00'
                            creating link '/dev/serial/by-id/usb-busware.de_TPUART_transparent_8543934393935160E141-if00' to '/dev/ttyACM0'
                            preserve already existing symlink '/dev/serial/by-id/usb-busware.de_TPUART_transparent_8543934393935160E141-if00' to '../../ttyACM0'
                            found 'c166:0' claiming '/run/udev/links/\x2fserial\x2fby-path\x2fplatform-3f980000.usb-usb-0:1.4:1.0'
                            creating link '/dev/serial/by-path/platform-3f980000.usb-usb-0:1.4:1.0' to '/dev/ttyACM0'
                            preserve already existing symlink '/dev/serial/by-path/platform-3f980000.usb-usb-0:1.4:1.0' to '../../ttyACM0'
                            found 'c166:0' claiming '/run/udev/links/\x2fttyKNX1'
                            creating link '/dev/ttyKNX1' to '/dev/ttyACM0'
                            preserve already existing symlink '/dev/ttyKNX1' to 'ttyACM0'
                            unable to create temporary db file '/run/udev/data/c166:0.tmp': Permission denied
                            ACTION=add
                            DEVLINKS=/dev/serial/by-id/usb-busware.de_TPUART_transparent_8543934393935160E141-if00 /dev/serial/by-path/platform-3f980000.usb-usb-0:1.4:1.0 /dev/ttyKNX1
                            DEVNAME=/dev/ttyACM0
                            DEVPATH=/bus/usb/drivers/cdc_acm/1-1.4:1.0/tty/ttyACM0
                            ID_BUS=usb
                            ID_MODEL=TPUART_transparent
                            ID_MODEL_ENC=TPUART\x20transparent
                            ID_MODEL_FROM_DATABASE=LUFA USB to Serial Adapter Project
                            ID_MODEL_ID=204b
                            ID_PATH=platform-3f980000.usb-usb-0:1.4:1.0
                            ID_PATH_TAG=platform-3f980000_usb-usb-0_1_4_1_0
                            ID_REVISION=0001
                            ID_SERIAL=busware.de_TPUART_transparent_8543934393935160E141
                            ID_SERIAL_SHORT=8543934393935160E141
                            ID_TYPE=generic
                            ID_USB_CLASS_FROM_DATABASE=Communications
                            ID_USB_DRIVER=cdc_acm
                            ID_USB_INTERFACES=:020201:0a0000:
                            ID_USB_INTERFACE_NUM=00
                            ID_VENDOR=busware.de
                            ID_VENDOR_ENC=busware.de
                            ID_VENDOR_FROM_DATABASE=Atmel Corp.
                            ID_VENDOR_ID=03eb
                            MAJOR=166
                            MINOR=0
                            SUBSYSTEM=tty
                            TAGS=:systemd:
                            USEC_INITIALIZED=48728
                            unload module index
                            Unloaded link configuration context.



                            Code:
                            pi@raspberrypi:~ $ sudo ls -lL /dev/ttyKNX1
                            crw-rw---- 1 knxd dialout 166, 0 Aug 11 16:46 /dev/ttyKNX1

                            In /boot/cmdline.txt gibt es keinen Eintrag mit: console=ttyAMA0, also konnte ich da auch nichts löschen.




                            sudo systemctl status knxd.service zeigt folgendes an:


                            Code:
                            pi@raspberrypi:~ $ sudo systemctl status knxd.service
                            ● knxd.service - KNX Daemon
                               Loaded: loaded (/lib/systemd/system/knxd.service; enabled)
                               Active: active (running) since Fr 2017-08-11 16:24:46 CEST; 25min ago
                             Main PID: 728 (knxd)
                               CGroup: /system.slice/knxd.service
                                       └─728 /usr/bin/knxd -f9 -t1023 -e 1.2.3 -E 1.2.3:10 -D -T --Tunnelling -R --single-port -S -b tpuar...
                            
                            Aug 11 16:49:48 raspberrypi knxd[728]: knxd: Layer 0 [ 2:mcast:knxd           1502.281] Recv(014): 06 10 ...FA F4
                            Aug 11 16:49:48 raspberrypi knxd[728]: knxd: Layer 8 [ 2:mcast:knxd           1502.281] SEARCH_REQ
                            Aug 11 16:49:48 raspberrypi knxd[728]: knxd: Layer 1 [ 2:mcast:knxd           1502.282] Send(070): 08 01 ...05 01
                            Aug 11 16:49:48 raspberrypi knxd[728]: knxd: Layer 0 [ 2:mcast:knxd           1502.282] Send(076): 06 10 ...05 01
                            Aug 11 16:49:52 raspberrypi knxd[728]: knxd: Layer 0 [ 2:mcast:knxd           1506.422] Recv(022): 06 10 ...07 00
                            Aug 11 16:49:52 raspberrypi knxd[728]: knxd: Layer 8 [ 2:mcast:knxd           1506.422] Unexpected servic... 020b
                            Aug 11 16:49:52 raspberrypi knxd[728]: knxd: Layer 0 [ 2:mcast:knxd           1506.422] Recv(014): 06 10 ...FA F5
                            Aug 11 16:49:52 raspberrypi knxd[728]: knxd: Layer 8 [ 2:mcast:knxd           1506.422] SEARCH_REQ
                            Aug 11 16:49:52 raspberrypi knxd[728]: knxd: Layer 1 [ 2:mcast:knxd           1506.422] Send(070): 08 01 ...05 01
                            Aug 11 16:49:52 raspberrypi knxd[728]: knxd: Layer 0 [ 2:mcast:knxd           1506.423] Send(076): 06 10 ...05 01
                            Hint: Some lines were ellipsized, use -l to show in full.


                            sudo systemctl status knxd.socket zeigt folgendes an:

                            Code:
                            pi@raspberrypi:~ $ sudo systemctl status knxd.socket
                            ● knxd.socket - KNX Daemon (socket)
                               Loaded: loaded (/lib/systemd/system/knxd.socket; enabled)
                               Active: active (running) since Fr 2017-08-11 16:24:38 CEST; 26min ago
                               Listen: /var/run/knx (Stream)
                                       [::]:6720 (Stream)
                            
                            Aug 11 16:24:38 raspberrypi systemd[1]: Listening on KNX Daemon (socket).


                            journalctl -u knxd.service -f liefer das:

                            Code:
                            pi@raspberrypi:~ $ sudo journalctl -u knxd.service -f
                            -- Logs begin at Fr 2017-08-11 16:24:36 CEST. --
                            Aug 11 16:51:36 raspberrypi knxd[728]: knxd: Layer 0 [ 2:mcast:knxd           1609.956] Recv(014): 06 10 02 01 00 0E 08 01 C0 A8 00 8D D7 F5
                            Aug 11 16:51:36 raspberrypi knxd[728]: knxd: Layer 8 [ 2:mcast:knxd           1609.956] SEARCH_REQ
                            Aug 11 16:51:36 raspberrypi knxd[728]: knxd: Layer 1 [ 2:mcast:knxd           1609.956] Send(070): 08 01 C0 A8 00 DD 0E 57 36 01 02 00 12 03 00 00 01 02 03 04 05 06 E0 00 17 0C B8 27 EB D5 0D E5 6B 6E 78 64 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 08 02 02 01 04 01 05 01
                            Aug 11 16:51:36 raspberrypi knxd[728]: knxd: Layer 0 [ 2:mcast:knxd           1609.956] Send(076): 06 10 02 02 00 4C 08 01 C0 A8 00 DD 0E 57 36 01 02 00 12 03 00 00 01 02 03 04 05 06 E0 00 17 0C B8 27 EB D5 0D E5 6B 6E 78 64 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 08 02 02 01 04 01 05 01
                            Aug 11 16:51:40 raspberrypi knxd[728]: knxd: Layer 0 [ 2:mcast:knxd           1614.054] Recv(022): 06 10 02 0B 00 16 08 01 C0 A8 00 8D D7 F8 08 04 01 02 08 06 07 00
                            Aug 11 16:51:40 raspberrypi knxd[728]: knxd: Layer 8 [ 2:mcast:knxd           1614.054] Unexpected service type: 020b
                            Aug 11 16:51:40 raspberrypi knxd[728]: knxd: Layer 0 [ 2:mcast:knxd           1614.054] Recv(014): 06 10 02 01 00 0E 08 01 C0 A8 00 8D D7 F8
                            Aug 11 16:51:40 raspberrypi knxd[728]: knxd: Layer 8 [ 2:mcast:knxd           1614.054] SEARCH_REQ
                            Aug 11 16:51:40 raspberrypi knxd[728]: knxd: Layer 1 [ 2:mcast:knxd           1614.055] Send(070): 08 01 C0 A8 00 DD 0E 57 36 01 02 00 12 03 00 00 01 02 03 04 05 06 E0 00 17 0C B8 27 EB D5 0D E5 6B 6E 78 64 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 08 02 02 01 04 01 05 01
                            Aug 11 16:51:40 raspberrypi knxd[728]: knxd: Layer 0 [ 2:mcast:knxd           1614.055] Send(076): 06 10 02 02 00 4C 08 01 C0 A8 00 DD 0E 57 36 01 02 00 12 03 00 00 01 02 03 04 05 06 E0 00 17 0C B8 27 EB D5 0D E5 6B 6E 78 64 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 08 02 02 01 04 01 05 01
                            Aug 11 16:51:44 raspberrypi knxd[728]: knxd: Layer 0 [ 2:mcast:knxd           1618.229] Recv(022): 06 10 02 0B 00 16 08 01 C0 A8 00 8D D7 FA 08 04 01 02 08 06 07 00
                            Aug 11 16:51:44 raspberrypi knxd[728]: knxd: Layer 8 [ 2:mcast:knxd           1618.229] Unexpected service type: 020b
                            Aug 11 16:51:44 raspberrypi knxd[728]: knxd: Layer 0 [ 2:mcast:knxd           1618.229] Recv(014): 06 10 02 01 00 0E 08 01 C0 A8 00 8D D7 FA
                            Aug 11 16:51:44 raspberrypi knxd[728]: knxd: Layer 8 [ 2:mcast:knxd           1618.229] SEARCH_REQ
                            Aug 11 16:51:44 raspberrypi knxd[728]: knxd: Layer 1 [ 2:mcast:knxd           1618.229] Send(070): 08 01 C0 A8 00 DD 0E 57 36 01 02 00 12 03 00 00 01 02 03 04 05 06 E0 00 17 0C B8 27 EB D5 0D E5 6B 6E 78 64 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 08 02 02 01 04 01 05 01
                            Aug 11 16:51:44 raspberrypi knxd[728]: knxd: Layer 0 [ 2:mcast:knxd           1618.229] Send(076): 06 10 02 02 00 4C 08 01 C0 A8 00 DD 0E 57 36 01 02 00 12 03 00 00 01 02 03 04 05 06 E0 00 17 0C B8 27 EB D5 0D E5 6B 6E 78 64 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 08 02 02 01 04 01 05 01
                            Aug 11 16:51:45 raspberrypi knxd[728]: knxd: Layer 8 [ 4:tpuarts:/dev/ttyKNX1 1619.307] ser state 20>22
                            Aug 11 16:51:45 raspberrypi knxd[728]: knxd: Layer 8 [ 4:tpuarts:/dev/ttyKNX1 1619.307] state: wait > wait_keepalive
                            Aug 11 16:51:45 raspberrypi knxd[728]: knxd: Layer 0 [ 4:tpuarts:/dev/ttyKNX1 1619.307] Send GetState 7E8AD9F3
                            Aug 11 16:51:45 raspberrypi knxd[728]: knxd: Layer 0 [ 4:tpuarts:/dev/ttyKNX1 1619.309] Read(001): 07
                            Aug 11 16:51:45 raspberrypi knxd[728]: knxd: Layer 8 [ 4:tpuarts:/dev/ttyKNX1 1619.309] State: 07
                            Aug 11 16:51:45 raspberrypi knxd[728]: knxd: Layer 8 [ 4:tpuarts:/dev/ttyKNX1 1619.309] ser state 22>20
                            Aug 11 16:51:45 raspberrypi knxd[728]: knxd: Layer 8 [ 4:tpuarts:/dev/ttyKNX1 1619.309] state: wait_keepalive > wait
                            Aug 11 16:51:48 raspberrypi knxd[728]: knxd: Layer 0 [ 2:mcast:knxd           1622.364] Recv(022): 06 10 02 0B 00 16 08 01 C0 A8 00 8D D7 FE 08 04 01 02 08 06 07 00
                            Aug 11 16:51:48 raspberrypi knxd[728]: knxd: Layer 8 [ 2:mcast:knxd           1622.364] Unexpected service type: 020b
                            Aug 11 16:51:48 raspberrypi knxd[728]: knxd: Layer 0 [ 2:mcast:knxd           1622.364] Recv(014): 06 10 02 01 00 0E 08 01 C0 A8 00 8D D7 FE
                            Aug 11 16:51:48 raspberrypi knxd[728]: knxd: Layer 8 [ 2:mcast:knxd           1622.364] SEARCH_REQ
                            Aug 11 16:51:48 raspberrypi knxd[728]: knxd: Layer 1 [ 2:mcast:knxd           1622.365] Send(070): 08 01 C0 A8 00 DD 0E 57 36 01 02 00 12 03 00 00 01 02 03 04 05 06 E0 00 17 0C B8 27 EB D5 0D E5 6B 6E 78 64 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 08 02 02 01 04 01 05 01
                            Aug 11 16:51:48 raspberrypi knxd[728]: knxd: Layer 0 [ 2:mcast:knxd           1622.365] Send(076): 06 10 02 02 00 4C 08 01 C0 A8 00 DD 0E 57 36 01 02 00 12 03 00 00 01 02 03 04 05 06 E0 00 17 0C B8 27 EB D5 0D E5 6B 6E 78 64 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 08 02 02 01 04 01 05 01
                            Aug 11 16:51:52 raspberrypi knxd[728]: knxd: Layer 0 [ 2:mcast:knxd           1626.504] Recv(022): 06 10 02 0B 00 16 08 01 C0 A8 00 8D D8 00 08 04 01 02 08 06 07 00
                            Aug 11 16:51:52 raspberrypi knxd[728]: knxd: Layer 8 [ 2:mcast:knxd           1626.504] Unexpected service type: 020b
                            Aug 11 16:51:52 raspberrypi knxd[728]: knxd: Layer 0 [ 2:mcast:knxd           1626.504] Recv(014): 06 10 02 01 00 0E 08 01 C0 A8 00 8D D8 00
                            Aug 11 16:51:52 raspberrypi knxd[728]: knxd: Layer 8 [ 2:mcast:knxd           1626.505] SEARCH_REQ
                            Aug 11 16:51:52 raspberrypi knxd[728]: knxd: Layer 1 [ 2:mcast:knxd           1626.505] Send(070): 08 01 C0 A8 00 DD 0E 57 36 01 02 00 12 03 00 00 01 02 03 04 05 06 E0 00 17 0C B8 27 EB D5 0D E5 6B 6E 78 64 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 08 02 02 01 04 01 05 01
                            Aug 11 16:51:52 raspberrypi knxd[728]: knxd: Layer 0 [ 2:mcast:knxd           1626.505] Send(076): 06 10 02 02 00 4C 08 01 C0 A8 00 DD 0E 57 36 01 02 00 12 03 00 00 01 02 03 04 05 06 E0 00 17 0C B8 27 EB D5 0D E5 6B 6E 78 64 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 08 02 02 01 04 01 05 01
                            Aug 11 16:51:55 raspberrypi knxd[728]: knxd: Layer 8 [ 4:tpuarts:/dev/ttyKNX1 1629.312] ser state 20>22
                            Aug 11 16:51:55 raspberrypi knxd[728]: knxd: Layer 8 [ 4:tpuarts:/dev/ttyKNX1 1629.312] state: wait > wait_keepalive
                            Aug 11 16:51:55 raspberrypi knxd[728]: knxd: Layer 0 [ 4:tpuarts:/dev/ttyKNX1 1629.312] Send GetState 7E8AD9F3
                            Aug 11 16:51:55 raspberrypi knxd[728]: knxd: Layer 0 [ 4:tpuarts:/dev/ttyKNX1 1629.314] Read(001): 07
                            Aug 11 16:51:55 raspberrypi knxd[728]: knxd: Layer 8 [ 4:tpuarts:/dev/ttyKNX1 1629.314] State: 07
                            Aug 11 16:51:55 raspberrypi knxd[728]: knxd: Layer 8 [ 4:tpuarts:/dev/ttyKNX1 1629.314] ser state 22>20
                            Aug 11 16:51:55 raspberrypi knxd[728]: knxd: Layer 8 [ 4:tpuarts:/dev/ttyKNX1 1629.314] state: wait_keepalive > wait
                            Aug 11 16:51:56 raspberrypi knxd[728]: knxd: Layer 0 [ 2:mcast:knxd           1630.635] Recv(022): 06 10 02 0B 00 16 08 01 C0 A8 00 8D D8 01 08 04 01 02 08 06 07 00
                            Aug 11 16:51:56 raspberrypi knxd[728]: knxd: Layer 8 [ 2:mcast:knxd           1630.635] Unexpected service type: 020b
                            Aug 11 16:51:56 raspberrypi knxd[728]: knxd: Layer 0 [ 2:mcast:knxd           1630.635] Recv(014): 06 10 02 01 00 0E 08 01 C0 A8 00 8D D8 01
                            Aug 11 16:51:56 raspberrypi knxd[728]: knxd: Layer 8 [ 2:mcast:knxd           1630.635] SEARCH_REQ
                            Aug 11 16:51:56 raspberrypi knxd[728]: knxd: Layer 1 [ 2:mcast:knxd           1630.635] Send(070): 08 01 C0 A8 00 DD 0E 57 36 01 02 00 12 03 00 00 01 02 03 04 05 06 E0 00 17 0C B8 27 EB D5 0D E5 6B 6E 78 64 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 08 02 02 01 04 01 05 01
                            Aug 11 16:51:56 raspberrypi knxd[728]: knxd: Layer 0 [ 2:mcast:knxd           1630.636] Send(076): 06 10 02 02 00 4C 08 01 C0 A8 00 DD 0E 57 36 01 02 00 12 03 00 00 01 02 03 04 05 06 E0 00 17 0C B8 27 EB D5 0D E5 6B 6E 78 64 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 08 02 02 01 04 01 05 01


                            systemctl status:


                            Code:
                            pi@raspberrypi:~ $ systemctl status
                            ● raspberrypi
                                State: running
                                 Jobs: 0 queued
                               Failed: 0 units
                                Since: Do 1970-01-01 01:00:01 CET; 47 years 7 months ago
                               CGroup: /
                                       ├─1 /sbin/init
                                       └─system.slice
                                         ├─system-ifup.slice
                                         │ └─ifup@wlan0.service
                                         │   └─528 /sbin/wpa_supplicant -s -B -P /run/wpa_supplicant.wlan0.pid -i wlan0 -D nl80211,wext -c /e
                                         ├─dbus.service
                                         │ └─437 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
                                         ├─hciuart.service
                                         │ └─628 /usr/bin/hciattach /dev/serial1 bcm43xx 921600 noflow -
                                         ├─ssh.service
                                         │ ├─727 /usr/sbin/sshd -D
                                         │ ├─847 sshd: pi [priv]
                                         │ ├─853 sshd: pi@pts/0
                                         │ ├─855 -bash
                                         │ ├─937 systemctl status
                                         │ └─938 pager
                                         ├─avahi-daemon.service
                                         │ ├─426 avahi-daemon: running [raspberrypi.local
                                         │ └─446 avahi-daemon: chroot helpe
                                         ├─ntp.service
                                         │ └─759 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -c /var/lib/ntp/ntp.conf.dhcp -u 106:111
                                         ├─system-getty.slice
                                         │ └─getty@tty1.service
                                         │   └─757 /sbin/agetty --noclear tty1 linux
                                         ├─triggerhappy.service
                                         │ └─522 /usr/sbin/thd --daemon --triggers /etc/triggerhappy/triggers.d/ --socket /var/run/thd.socket
                                         ├─linknx.service
                                         │ └─768 /usr/local/bin/linknx --config=/var/lib/linknx/linknx.xml --pid-file=/var/run/linknx.pid --d
                                         ├─systemd-logind.service
                                         │ └─490 /lib/systemd/systemd-logind
                                         ├─knxd.service
                                         │ └─728 /usr/bin/knxd -f9 -t1023 -e 1.2.3 -E 1.2.3:10 -D -T --Tunnelling -R --single-port -S -b tpua
                                         ├─cron.service
                                         │ └─433 /usr/sbin/cron -f
                                         ├─apache2.service
                                         │ ├─775 /usr/sbin/apache2 -k start
                                         │ ├─778 /usr/sbin/apache2 -k start
                                         │ ├─779 /usr/sbin/apache2 -k start
                                         │ └─780 /usr/sbin/apache2 -k start
                                         ├─systemd-udevd.service
                                         │ └─143 /lib/systemd/systemd-udevd
                                         ├─rsyslog.service
                                         │ └─435 /usr/sbin/rsyslogd -n
                                         ├─bluetooth.service
                                         │ └─633 /usr/lib/bluetooth/bluetoothd
                                         ├─systemd-journald.service
                                         │ └─144 /lib/systemd/systemd-journald
                                         └─dhcpcd.service
                                           └─726 /sbin/dhcpcd -q -w



                            Schnittstelle wird in der ETS 5.5.4 (Demo) angezeigt aber Programmieren ist nicht möglich.
                            Mit einem Linien Scan bekomme ich am KNX Netzteil einen BUS-Error und eine Bus-Auslastung ( Traffic >60%) angezeigt...
                            Also irgendwas scheint ja dann so halber zu funktionieren... oder sehe ich das Falsch?


                            Vielleicht findet ja jemand einen Fehler welchen ich gemacht habe...

                            Schon mal vielen vielen Dank...

                            Gruß
                            Zuletzt geändert von toddler; 13.08.2017, 12:59.

                            Kommentar


                              #15
                              Hallo nochmal,

                              Habe das Ganze jetzt noch auf einen PI1 ausprobiert... aber da komme ich an der selben Stelle auch nicht weiter....


                              Gruß

                              Kommentar

                              Lädt...
                              X