[SOLVED] Knx gateway flapping (online/offline) and question about port 3671

dmesg | grep -i usb
lsusb

Post here the above

root@knx:/etc/openhab# dmesg | grep -i usb
[    0.142426] usbcore: registered new interface driver usbfs
[    0.142512] usbcore: registered new interface driver hub
[    0.142605] usbcore: registered new device driver usb
[    1.982256] usbcore: registered new interface driver lan78xx
[    1.985059] usbcore: registered new interface driver smsc95xx
[    2.959772] dwc_otg 3f980000.usb: DWC OTG Controller
[    2.962080] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    2.964528] dwc_otg 3f980000.usb: irq 89, io mem 0x00000000
[    2.971878] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    2.976572] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.979081] usb usb1: Product: DWC OTG Controller
[    2.981533] usb usb1: Manufacturer: Linux 5.10.103-v7+ dwc_otg_hcd
[    2.984017] usb usb1: SerialNumber: 3f980000.usb
[    2.987264] hub 1-0:1.0: USB hub found
[    2.993762] usbcore: registered new interface driver usb-storage
[    3.027581] usbcore: registered new interface driver usbhid
[    3.030191] usbhid: USB HID core driver
[    3.324833] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    3.565191] usb 1-1: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= b.b3
[    3.570352] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.573921] hub 1-1:1.0: USB hub found
[    3.894851] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    4.025257] usb 1-1.1: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= b.b3
[    4.030757] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    4.034517] hub 1-1.1:1.0: USB hub found
[    4.364883] usb 1-1.1.3: new high-speed USB device number 4 using dwc_otg
[    4.509489] usb 1-1.1.3: New USB device found, idVendor=1908, idProduct=1320, bcdDevice= 1.00
[    4.515580] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.521808] usb 1-1.1.3: Product: Mass storage
[    4.525169] usb 1-1.1.3: Manufacturer: Generic
[    4.528288] usb 1-1.1.3: SerialNumber: AB5595148119
[    4.545780] usb-storage 1-1.1.3:1.0: USB Mass Storage device detected
[    4.564971] scsi host0: usb-storage 1-1.1.3:1.0
[    4.614925] usb 1-1.2: new high-speed USB device number 5 using dwc_otg
[    4.758747] usb 1-1.2: New USB device found, idVendor=0835, idProduct=8500, bcdDevice= 1.09
[    4.764377] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    4.767574] usb 1-1.2: Product: USB2.0 Hub
[    4.770352] usb 1-1.2: Manufacturer: Action Star
[    4.774440] hub 1-1.2:1.0: USB hub found
[    4.904887] usb 1-1.1.1: new high-speed USB device number 6 using dwc_otg
[    5.035447] usb 1-1.1.1: New USB device found, idVendor=0424, idProduct=7800, bcdDevice= 3.00
[    5.040721] usb 1-1.1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    5.135058] usb 1-1.2.1: new high-speed USB device number 7 using dwc_otg
[    5.268684] usb 1-1.2.1: New USB device found, idVendor=0835, idProduct=8501, bcdDevice= 6.09
[    5.274145] usb 1-1.2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    5.279967] usb 1-1.2.1: Product: USB HID
[    5.282814] usb 1-1.2.1: Manufacturer: Action Star
[    5.305454] hid-generic 0003:0835:8501.0001: hiddev96,hidraw0: USB HID v1.11 Device [Action Star USB HID] on usb-3f980000.usb-1.2.1/input0
[    5.414925] usb 1-1.2.4: new full-speed USB device number 8 using dwc_otg
[    5.568536] usb 1-1.2.4: New USB device found, idVendor=0451, idProduct=16a8, bcdDevice= 0.09
[    5.574682] usb 1-1.2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    5.580831] usb 1-1.2.4: Product: TI CC2531 USB CDC
[    5.586934] usb 1-1.2.4: Manufacturer: Texas Instruments
[    5.586947] usb 1-1.2.4: SerialNumber: __0X00124B001949B82D
[    5.686642] usb 1-1.2.5: new high-speed USB device number 9 using dwc_otg
[    5.818851] usb 1-1.2.5: New USB device found, idVendor=0835, idProduct=8500, bcdDevice= 1.09
[    5.824353] usb 1-1.2.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    5.824368] usb 1-1.2.5: Product: USB2.0 Hub
[    5.824387] usb 1-1.2.5: Manufacturer: Action Star
[    5.846049] hub 1-1.2.5:1.0: USB hub found
[    6.164897] usb 1-1.2.5.1: new high-speed USB device number 10 using dwc_otg
[    6.298763] usb 1-1.2.5.1: New USB device found, idVendor=0835, idProduct=8502, bcdDevice= 6.09
[    6.298792] usb 1-1.2.5.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    6.298807] usb 1-1.2.5.1: Product: USB HID
[    6.298822] usb 1-1.2.5.1: Manufacturer: Action Star
[    6.303015] hid-generic 0003:0835:8502.0002: hiddev97,hidraw1: USB HID v1.11 Device [Action Star USB HID] on usb-3f980000.usb-1.2.5.1/input0
[    6.404875] usb 1-1.2.5.4: new full-speed USB device number 11 using dwc_otg
[    6.536861] usb 1-1.2.5.4: New USB device found, idVendor=0658, idProduct=0200, bcdDevice= 0.00
[    6.536885] usb 1-1.2.5.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    8.666205] usbcore: registered new interface driver brcmfmac
[    8.817189] usbcore: registered new interface driver uas
[    8.878065] cdc_acm 1-1.2.4:1.0: ttyACM0: USB ACM device
[    8.883003] cdc_acm 1-1.2.5.4:1.0: ttyACM1: USB ACM device
[    8.883920] usbcore: registered new interface driver cdc_acm
[    8.883937] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   10.817531] ext4 filesystem being mounted at /mnt/usb supports timestamps until 2038 (0x7fffffff)
[2011424.212660] usb 1-1.1.2: new full-speed USB device number 12 using dwc_otg
[2011424.358454] usb 1-1.1.2: New USB device found, idVendor=28c2, idProduct=000c, bcdDevice= 2.01
[2011424.358466] usb 1-1.1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[2011424.358474] usb 1-1.1.2: Product: KNX-USB Inteface
[2011424.358482] usb 1-1.1.2: Manufacturer: ESYLUX
[2011424.358489] usb 1-1.1.2: SerialNumber: 0072130B0148
[2011424.372371] hid-generic 0003:28C2:000C.0003: hiddev98,hidraw2: USB HID v1.10 Device [ESYLUX KNX-USB Inteface] on usb-3f980000.usb-1.1.2/input0
[2012278.435934] gusbcfg_show(9580bbb3) -> platform_dev aa1853cb, otg_dev 8e3aa43b
[2012278.438821] dwc_otg 3f980000.usb: Invalid offset (0xffffffff)
[2012279.628686] GUSBCFG         @0xBB80000C : 0x20001700
[2012313.850220] dwc_otg 3f980000.usb: Invalid offset (0xffffffff)
[2012314.207588] gusbcfg_show(9580bbb3) -> platform_dev aa1853cb, otg_dev 8e3aa43b
[2012314.207905] GUSBCFG         @0xBB80000C : 0x20001700
[2012882.609574] usb 1-1.1.2: USB disconnect, device number 12
[2012887.259352] usb 1-1.1.2: new full-speed USB device number 13 using dwc_otg
[2012887.406078] usb 1-1.1.2: New USB device found, idVendor=28c2, idProduct=000c, bcdDevice= 2.01
[2012887.406093] usb 1-1.1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[2012887.406100] usb 1-1.1.2: Product: KNX-USB Inteface
[2012887.406107] usb 1-1.1.2: Manufacturer: ESYLUX
[2012887.406113] usb 1-1.1.2: SerialNumber: 0072130B0148
[2012887.418043] hid-generic 0003:28C2:000C.0004: hiddev98,hidraw2: USB HID v1.10 Device [ESYLUX KNX-USB Inteface] on usb-3f980000.usb-1.1.2/input0
root@knx:/etc/openhab# lsusb
Bus 001 Device 011: ID 0658:0200 Sigma Designs, Inc. Aeotec Z-Stick Gen5 (ZW090) - UZB
Bus 001 Device 010: ID 0835:8502 Action Star Enterprise Co., Ltd
Bus 001 Device 009: ID 0835:8500 Action Star Enterprise Co., Ltd
Bus 001 Device 008: ID 0451:16a8 Texas Instruments, Inc.
Bus 001 Device 007: ID 0835:8501 Action Star Enterprise Co., Ltd
Bus 001 Device 005: ID 0835:8500 Action Star Enterprise Co., Ltd
Bus 001 Device 004: ID 1908:1320 GEMBIRD PhotoFrame PF-15-1
Bus 001 Device 013: ID 28c2:000c
Bus 001 Device 006: ID 0424:7800 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@knx:/etc/openhab#

its this one
ID 28c2:000c

while i have it connected to this machine, i will try knxd here on debian, maybe it will work better then openwrt…

ls /dev/ttyACM*

i have acm0 and acm1 (my zigbee2mqtt CC2558 and zwave aeotec gateway. this knx interface is HID crap.

Crap I did not read the complete output. But when when I went to the website I swear I saw serial… yeah if it’s presented as a hid knxd is your best bet to translate.

i configured it to run on knxd on the same machine, lets see the stability now…with your recommended arguments

you are not wrong you saw it :slight_smile:
image

Well lesson learned pay attention. Serie that mounts on din rail… how is it going any disconnect?

going strong for 7 hours no errors (knock on wood)
I did however change something else, I removed pingInterval=300,readInterval=3600 for my generic thing as Udo recommends it a lot on this forum :slight_smile:
and I restarted openhab service as I noticed its on 100% cpu
but anyway, I still think moving to another knxd is the main fix. keep monitoring and hoping for the best :slight_smile:

not a peep from knx binding in the logs of last 4 days…marking it as solved.

so the solution was to install knxd on raspbian instead of openwrt and configure minimal config. i even disabled routing as it didnt work anyway, so running with just tunneling enabled.

1 Like