Seite 1 von 1

Keine Verbindung mit RPI-RF-MOD mit HB-RF-USB-2 und debmatic

Verfasst: 18.12.2022, 13:01
von doja
Hallo zusammen,

ich habe einen Intel NUC mit Proxmox und einen priviligierten LXC-Container mit debmatic. Dazu habe ich das Funkmodul RPI-RF-MOD mit HB-RF-USB-2 angeschlossen.
HB-RF-USB-2 wird erkannt, aber ich bekomme keine Verbindung aufgebaut.

Host
------------------------------

Code: Alles auswählen

root@smart:~# lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0463:ffff MGE UPS Systems UPS
Bus 001 Device 004: ID 8087:0026 Intel Corp. 
Bus 001 Device 002: ID 10c4:8c07 Silicon Labs HB-RF-USB-2
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Container
------------------------------

Code: Alles auswählen

root@homematic:~# sudo debmatic-info
debmatic version: 3.65.8-95
Kernel modules: Available
Raw UART dev:   Available
HMRF Hardware:  unknown
HMIP Hardware:  unknown

Code: Alles auswählen

root@homematic:/run# ls -l /dev/
total 0
crw--w---- 1 root tty  136, 0 Dec 18 11:17 console
lrwxrwxrwx 1 root root     11 Dec 18 11:17 core -> /proc/kcore
lrwxrwxrwx 1 root root     13 Dec 18 11:17 fd -> /proc/self/fd
crw-rw-rw- 1 root root   1, 7 Dec 18 11:17 full
drwxr-xr-x 2 root root      0 Dec 18 11:17 hugepages
lrwxrwxrwx 1 root root     12 Dec 18 11:17 initctl -> /run/initctl
lrwxrwxrwx 1 root root     28 Dec 18 11:17 log -> /run/systemd/journal/dev-log
drwxrwxrwt 2 root root     40 Dec 18 11:17 mqueue
crw-rw-rw- 1 root root   1, 3 Dec 18 11:17 null
crw-rw-rw- 1 root root   5, 2 Dec 18 11:36 ptmx
drwxr-xr-x 2 root root      0 Dec 18 11:17 pts
crw-rw-rw- 1 root root   1, 8 Dec 18 11:17 random
crw-r--r-- 1 root root 235, 0 Dec 18 11:17 raw-uart
drwxrwxrwt 2 root root     40 Dec 18 11:17 shm
lrwxrwxrwx 1 root root     15 Dec 18 11:17 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root     15 Dec 18 11:17 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root     15 Dec 18 11:17 stdout -> /proc/self/fd/1
crw-rw-rw- 1 root root   5, 0 Dec 18 11:17 tty
crw------- 1 root tty  136, 1 Dec 18 11:36 tty1
crw--w---- 1 root tty  136, 2 Dec 18 11:17 tty2
crw-rw-rw- 1 root root   1, 9 Dec 18 11:17 urandom
crw-rw-rw- 1 root root   1, 5 Dec 18 11:17 zero

Code: Alles auswählen

root@homematic:~# detect_radio_module --debug /dev/raw-uart
/dev/raw-uart could not be opened
Das scheint das Problem zu sein, aber hier komme ich leider nicht weiter. Hat jemand einen Tipp oder sogar das gleiche Problem gehabt und es gelöst bekommen?

Re: Keine Verbindung mit RPI-RF-MOD mit HB-RF-USB-2 und debmatic

Verfasst: 19.12.2022, 11:16
von wok1415
Hi,

ich verwende das abgesetzte Funkmodul HB-RF-ETH/RPI-RF-MOD. Es ist verbunden und funktioniert einwandfrei.

'detect_radio_module --debug /dev/raw-uart' liefert mir 'Error: Radio module was not detected', obwohl alles funktioniert.

Code: Alles auswählen

v# detect_radio_module --debug /dev/raw-uart
11:11:31.863331 Sending HM frame:  fd 00 03 fe 00 01 14 1e
11:11:34.864140 Sending HM frame:  fd 00 03 00 01 00 9e 03
11:11:37.864493 Sending HM frame:  fd 00 03 fe 02 01 98 1d
11:11:40.864926 Sending HM frame:  fd 00 03 00 03 00 12 00
11:11:43.865360 Sending HM frame:  fd 00 03 fe 04 01 8c 1d
11:11:46.865795 Sending HM frame:  fd 00 03 00 05 00 06 00
Error: Radio module was not detected

Re: Keine Verbindung mit RPI-RF-MOD mit HB-RF-USB-2 und debmatic

Verfasst: 21.12.2022, 07:10
von doja
Das ist bei mir leider nicht so. Dadurch bin ich erst soweit vorgedrungen und habe das dann gesehen.

Re: Keine Verbindung mit RPI-RF-MOD mit HB-RF-USB-2 und debmatic

Verfasst: 31.01.2023, 08:14
von deimos
Hi,

meine Empfehlung: Echte VM nehmen. Man bekommt das zwar sicher zum Laufen, aber gefühlt ist jedes zweite Header Paket von Proxmox nicht so gebaut, dass man mit DKMS die Kernel Module bauen kann und spätestens dann knallt es wieder. Mit einer VM simplifiziert man das deutlich, weil man weniger Abhängigkeiten hat.

Viele Grüße
Alex