Funk-Hardware wird nicht gefunden.

Debian/Ubuntu basierte CCU

Moderator: Co-Administratoren

Antworten
hoopy
Beiträge: 4
Registriert: 21.05.2022, 17:14
System: CCU
Hat sich bedankt: 1 Mal

Funk-Hardware wird nicht gefunden.

Beitrag von hoopy » 21.05.2022, 17:25

Hallo,

ich will von meiner CCU3 auf debmatic auf einem NUC umsteigen. Dazu habe ich Debian bullseye installiert und debmatic 3.63 installiert. Die Installation lief ohne Probleme durch, aber es wird keine RF-Hardware gefunden. Ich hab' mir eine HB-RF-USB-2 gekauft und darauf das Funkmodul aus meiner Zweit-CCU3 gesteckt, aber es funzt nicht. Nach einigem Suchen bin ich ratlos, vielleicht weiß jemand Rat. Hier mal die wohl gängigen Infos, die es braucht:

root@chris:/home/hoopy# uname -r
5.10.0-14-amd64

root@chris:/home/hoopy# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 007: ID 8087:0a2a Intel Corp. Bluetooth wireless interface
Bus 001 Device 005: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 006: ID 04f2:0404 Chicony Electronics Co., Ltd USB Keyboard
Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 003: ID 046d:c00c Logitech, Inc. Optical Wheel Mouse
Bus 001 Device 009: ID 10c4:8c07 Silicon Labs HB-RF-USB-2
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

root@chris:/home/hoopy# debmatic-info
debmatic version: 3.63.9-93
Kernel modules: Available
Raw UART dev: Available
HMRF Hardware: unknown
HMIP Hardware: unknown

root@chris:/home/hoopy# ls -la /dev/raw-uart*
crw------- 1 root root 246, 0 May 21 17:03 /dev/raw-uart

root@chris:/home/hoopy# detect_radio_module --debug /dev/raw-uart
17:05:27.979268 Sending HM frame: fd 00 03 fe 00 01 14 1e
17:05:27.984938 Received HM frame: fd 00 0f 00 fe 00 05 01 48 4d 49 50 5f 54 52 58 5f 42 6c 68
17:05:30.979862 Sending HM frame: fd 00 03 00 01 00 9e 03
17:05:30.984495 Received HM frame: fd 00 04 00 01 04 03 99 25
17:05:33.980400 Sending HM frame: fd 00 03 fe 02 01 98 1d
17:05:33.986144 Received HM frame: fd 00 0f fe 02 05 01 48 4d 49 50 5f 54 52 58 5f 42 6c ea c6
17:05:33.986435 Sending HM frame: fd 00 03 fe 03 01 1e 1e
17:05:33.991772 Received HM frame: fd 00 0f fe 03 05 01 48 4d 49 50 5f 54 52 58 5f 42 6c 6b c4
17:05:33.991997 Sending HM frame: fd 00 03 fe 04 03 0c 12
17:05:34.188603 Received HM frame: fd 00 04 fe 04 05 00 87 43
17:05:36.987047 Sending HM frame: fd 00 03 00 05 00 06 00
17:05:36.991722 Received HM frame: fd 00 04 00 05 04 03 19 76
17:05:39.987706 Sending HM frame: fd 00 03 fe 06 01 00 1e
17:05:39.993571 Received HM frame: fd 00 0f fe 06 05 01 48 4d 49 50 5f 54 52 58 5f 42 6c 6e c1
17:05:39.993824 Sending HM frame: fd 00 03 fe 07 03 06 12
17:05:40.190555 Received HM frame: fd 00 04 fe 07 05 00 87 7f
17:05:42.988458 Sending HM frame: fd 00 03 00 08 00 a8 03
17:05:42.992890 Received HM frame: fd 00 04 00 08 04 03 99 91
17:05:45.989100 Sending HM frame: fd 00 03 fe 09 01 22 1e
17:05:45.994771 Received HM frame: fd 00 0f fe 09 05 01 48 4d 49 50 5f 54 52 58 5f 42 6c 61 ce
17:05:45.995035 Sending HM frame: fd 00 03 fe 0a 03 a8 11
17:05:46.191864 Received HM frame: fd 00 04 fe 0a 05 00 07 98
17:05:48.989482 Sending HM frame: fd 00 03 00 0b 00 a2 03
17:05:48.993711 Received HM frame: fd 00 04 00 0b 04 03 99 ad
Error: Radio module was found, but did not respond correctly (maybe bricked App in flashrom)

root@chris:/home/hoopy# java -Dgnu.io.rxtx.SerialPorts=/dev/raw-uart -jar /opt/HmIP/hmip-copro-update.jar -p /dev/raw-uart -o -f /firmware/HmIP-RFUSB/dualcopro_update_blhmip-4.4.16.eq3
[INFO] Homematic IP coprocessor update tool V1.0.10
[INFO] SGTIN = 3014F711A0001F98A9AAB91A
[INFO] Performing update with firmware file '/firmware/HmIP-RFUSB/dualcopro_update_blhmip-4.4.16.eq3' ...
[DEBUG] Start application ...
[ERROR] Error while reading current coprocessor application version:
java.lang.Exception: Failed to request application version.
at de.eq3.cbcs.tools.copro.update.hmip.TRXAdapterUpdater.getApplicationVersion(TRXAdapterUpdater.java:255)
at de.eq3.cbcs.tools.copro.update.hmip.TRXAdapterUpdater.updateTrxAdapter(TRXAdapterUpdater.java:116)
at de.eq3.cbcs.tools.copro.update.hmip.HmipCoproUpdater.main(HmipCoproUpdater.java:89)
Caused by: java.lang.Exception: Failed to start application.
at de.eq3.cbcs.tools.copro.update.hmip.TRXAdapterUpdater.getApplicationVersion(TRXAdapterUpdater.java:251)
... 2 more
[INFO] Updating regardless of the current version ...
[DEBUG] Start bootloader ...
[DEBUG] Already in Bootloader.
[INFO] Entering bootloader ...
[DEBUG] Start bootloader ...
[DEBUG] Already in Bootloader.
[DEBUG] Request bootloader version ...
[INFO] Bootloader version: 1.0.1
[DEBUG] Send update frames ...
[ERROR] No update performed.
[INFO] Exiting update tool.

Bin für jeden Tip dankbar.

Servus,
Hoopy

Benutzeravatar
deimos
Beiträge: 5383
Registriert: 20.06.2017, 10:38
System: Alternative CCU (auf Basis OCCU)
Wohnort: Leimersheim
Hat sich bedankt: 121 Mal
Danksagung erhalten: 950 Mal
Kontaktdaten:

Re: Funk-Hardware wird nicht gefunden.

Beitrag von deimos » 21.05.2022, 20:26

Hi,

welches Funkmodul hast du? Du hast versucht, die Firmware für den HmIP-RFUSB Stick zu flashen und die ist bei der Ausgabe von lsusbin jedem Fall falsch.

Viele Grüße
Alex

hoopy
Beiträge: 4
Registriert: 21.05.2022, 17:14
System: CCU
Hat sich bedankt: 1 Mal

Re: Funk-Hardware wird nicht gefunden.

Beitrag von hoopy » 24.05.2022, 16:39

Hallo,

ich hab' das Modul was in der originalen CCU3 verbaut ist, bin mir nicht ganz sicher, wie das heißt (TRXC2-TIF steht drauf). Das mit dem flashen habe ich mit gefährlichem Halbwissen im Internet zusammengesucht, weil ich von Anfang an diese Ausgabe hatte:

Error: Radio module was found, but did not respond correctly (maybe bricked App in flashrom)

Viele Grüße,
Hoopy

Benutzeravatar
deimos
Beiträge: 5383
Registriert: 20.06.2017, 10:38
System: Alternative CCU (auf Basis OCCU)
Wohnort: Leimersheim
Hat sich bedankt: 121 Mal
Danksagung erhalten: 950 Mal
Kontaktdaten:

Re: Funk-Hardware wird nicht gefunden.

Beitrag von deimos » 24.05.2022, 16:52

Hi,

dann hast du ein RPI-RF-MOD, da musst du dann auch die Firmware aus dem entsprechenden Ordner nehmen.

Viele Grüße
Alex

hoopy
Beiträge: 4
Registriert: 21.05.2022, 17:14
System: CCU
Hat sich bedankt: 1 Mal

Re: Funk-Hardware wird nicht gefunden.

Beitrag von hoopy » 24.05.2022, 18:20

Danke dafür. Ich hab das gemacht:

java -Dgnu.io.rxtx.SerialPorts=/dev/raw-uart -jar /opt/HmIP/hmip-copro-update.jar -p /dev/raw-uart -o -f /firmware/RPI-RF-MOD/dualcopro_update_blhmip-4.4.22.eq3

root@chris:/home/hoopy# java -Dgnu.io.rxtx.SerialPorts=/dev/raw-uart -jar /opt/HmIP/hmip-copro-update.jar -p /dev/raw-uart -o -f /firmware/RPI-RF-MOD/dualcopro_update_blhmip-4.4.22.eq3
[INFO] Homematic IP coprocessor update tool V1.0.10
[INFO] SGTIN = 3014F711A0001F98A9AAB91A
[INFO] Performing update with firmware file '/firmware/RPI-RF-MOD/dualcopro_update_blhmip-4.4.22.eq3' ...
[DEBUG] Start application ...
[ERROR] Error while reading current coprocessor application version:
java.lang.Exception: Failed to request application version.
at de.eq3.cbcs.tools.copro.update.hmip.TRXAdapterUpdater.getApplicationVersion(TRXAdapterUpdater.java:255)
at de.eq3.cbcs.tools.copro.update.hmip.TRXAdapterUpdater.updateTrxAdapter(TRXAdapterUpdater.java:116)
at de.eq3.cbcs.tools.copro.update.hmip.HmipCoproUpdater.main(HmipCoproUpdater.java:89)
Caused by: java.lang.Exception: Failed to start application.
at de.eq3.cbcs.tools.copro.update.hmip.TRXAdapterUpdater.getApplicationVersion(TRXAdapterUpdater.java:251)
... 2 more
[INFO] Updating regardless of the current version ...
[DEBUG] Start bootloader ...
[DEBUG] Already in Bootloader.
[INFO] Entering bootloader ...
[DEBUG] Start bootloader ...
[DEBUG] Already in Bootloader.
[DEBUG] Request bootloader version ...
[INFO] Bootloader version: 1.0.1
[DEBUG] Send update frames ...
[INFO] Starting application ...
[DEBUG] Start application ...
[DEBUG] Application 'DualCoPro_App' running
[DEBUG] Request application version ...
[DEBUG] Request application version ...
[INFO] New application Version: 4.4.22

Es hat sich aber nichts am Zustand geändert:

root@chris:/home/hoopy# debmatic-info
debmatic version: 3.63.9-93
Kernel modules: Available
Raw UART dev: Available
HMRF Hardware: unknown
HMIP Hardware: unknown

root@chris:/home/hoopy# detect_radio_module --debug /dev/raw-uart
18:17:58.558712 Sending HM frame: fd 00 03 fe 00 01 14 1e
18:17:58.565011 Received HM frame: fd 00 11 fe 00 05 01 44 75 61 6c 43 6f 50 72 6f 5f 41 70 70 a2 21
18:17:58.565239 Sending HM frame: fd 00 03 fe 01 02 92 17
18:17:58.569410 Received HM frame: fd 00 04 fe 01 05 01 07 02
18:17:58.601323 Received HM frame: fd 00 05 01 17 04 01 02 6a 24
18:17:58.676375 Received HM frame: fd 00 0e fe 00 00 48 4d 49 50 5f 54 52 58 5f 42 6c f4 c2
18:17:58.676829 Sending HM frame: fd 00 03 fe 02 01 98 1d
18:17:58.682693 Received HM frame: fd 00 0f fe 02 05 01 48 4d 49 50 5f 54 52 58 5f 42 6c ea c6
18:17:58.682872 Sending HM frame: fd 00 03 fe 03 03 9e 11
18:18:01.677626 Sending HM frame: fd 00 03 00 04 00 80 03
18:18:01.682756 Received HM frame: fd 00 02 ff 04 82 1b
18:18:04.678582 Sending HM frame: fd 00 03 fe 05 01 0a 1e
18:18:07.679200 Sending HM frame: fd 00 03 00 06 00 0c 00
18:18:07.683946 Received HM frame: fd 00 02 ff 06 02 14
18:18:08.602880 Received HM frame: fd 00 05 01 18 04 01 00 26 2b
18:18:10.680105 Sending HM frame: fd 00 03 fe 07 01 86 1d
18:18:13.680750 Sending HM frame: fd 00 03 00 08 00 a8 03
18:18:13.685485 Received HM frame: fd 00 02 ff 08 82 33
Error: Radio module was found, but did not respond correctly (maybe bricked App in flashrom)

Viele Grüße,
Hoopy

hoopy
Beiträge: 4
Registriert: 21.05.2022, 17:14
System: CCU
Hat sich bedankt: 1 Mal

Re: Funk-Hardware wird nicht gefunden.

Beitrag von hoopy » 24.05.2022, 18:26

Einen reboot später funktuioniert's. Super!

Vielen Dank & Viele Grüße,
Hoopy

Antworten

Zurück zu „debmatic“