seit kurzem betreibe ich eine Debmatic (Debian 11 als QEMU-VM unter Proxmox) mit dem HB-RF-USB-2 und HM-MOD-RPI-PCB (davor hatte ich schon länger eine pivccu3 laufen mit dem HM-MOD-RPI-PCB). Prinzipiell funktioniert das auch alles wie gewünscht, mit einer kleinen Einschränkung:
Wenn ich den Proxmox-Host neustartet, wird zwar das USB-Gerät in der VM korrekt erkannt, jedoch reagiert das Funkmodul nicht. Die Ausgabe von detect_radio_module sieht so aus, als ob das Modul nicht antwortet:
Code: Alles auswählen
[SSH] root@ccu3 ~ # lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
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
Bus 003 Device 002: ID 0627:0001 Adomax Technology Co., Ltd QEMU USB Tablet
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[SSH] root@ccu3 ~ # detect_radio_module --debug /dev/raw-uart
08:57:32.563331 Sending HM frame: fd 00 03 fe 00 01 14 1e
08:57:35.564211 Sending HM frame: fd 00 03 00 01 00 9e 03
08:57:38.565005 Sending HM frame: fd 00 03 fe 02 01 98 1d
08:57:41.565796 Sending HM frame: fd 00 03 00 03 00 12 00
08:57:44.566574 Sending HM frame: fd 00 03 fe 04 01 8c 1d
08:57:47.567384 Sending HM frame: fd 00 03 00 05 00 06 00
Error: Radio module was not detected
Code: Alles auswählen
[SSH] root@ccu3 ~ # 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
[SSH] root@ccu3 ~ # lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
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
Bus 003 Device 002: ID 0627:0001 Adomax Technology Co., Ltd QEMU USB Tablet
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[SSH] root@ccu3 ~ # detect_radio_module --debug /dev/raw-uart
08:58:37.850898 Sending HM frame: fd 00 03 fe 00 01 14 1e
08:58:40.851481 Sending HM frame: fd 00 03 00 01 00 9e 03
08:58:40.857044 Received HM frame: fd 00 0d 00 00 01 04 02 43 6f 5f 43 50 55 5f 42 4c 7f
08:58:43.852374 Sending HM frame: fd 00 03 fe 02 01 98 1d
08:58:46.853202 Sending HM frame: fd 00 03 00 03 00 12 00
08:58:46.859457 Received HM frame: fd 00 0d 00 03 04 02 43 6f 5f 43 50 55 5f 42 4c ff 87
08:58:46.859718 Sending HM frame: fd 00 03 fe 04 01 8c 1d
08:58:49.860662 Sending HM frame: fd 00 03 00 05 00 06 00
08:58:49.866505 Received HM frame: fd 00 0d 00 05 04 02 43 6f 5f 43 50 55 5f 42 4c fe 86
08:58:49.866677 Sending HM frame: fd 00 03 00 06 03 0c 0a
08:58:50.401074 Received HM frame: fd 00 04 00 06 04 01 99 45
08:58:50.440364 Received HM frame: fd 00 10 fe 01 00 44 75 61 6c 43 6f 50 72 6f 5f 41 70 70 b7 36
08:58:50.440542 Sending HM frame: fd 00 03 01 07 09 0a 22
08:58:50.446000 Received HM frame: fd 00 05 01 07 04 01 03 aa 27
08:58:50.446112 Sending HM frame: fd 00 03 01 08 02 a8 1b
08:58:50.552874 Received HM frame: fd 00 0d 01 08 04 01 02 08 06 01 00 03 01 14 03 f0 16
08:58:50.553083 Sending HM frame: fd 00 03 02 09 01 2e 2e
08:58:50.559861 Received HM frame: fd 00 07 02 09 06 01 b8 49 2b 30 bb
08:58:50.560076 Sending HM frame: fd 00 03 fe 0a 04 28 00
08:58:50.568346 Received HM frame: fd 00 10 fe 0a 05 01 30 14 f7 11 a0 61 a7 d7 09 92 b4 28 73 e7
08:58:50.568640 Sending HM frame: fd 00 03 03 0b 08 22 0c
08:58:50.575331 Received HM frame: fd 00 07 03 0b 01 01 59 e1 3c 3d 2f
08:58:50.575545 Sending HM frame: fd 00 03 03 0c 07 b0 2d
08:58:50.583337 Received HM frame: fd 00 0e 03 0c 01 01 4f 45 51 30 36 30 39 33 32 30 64 77
HM-MOD-RPI-PCB OEQ0609320 3014F711A061A7D70992B428 0x59E13C 0xB8492B 2.8.6
Code: Alles auswählen
[SSH] root@ccu3 ~ # debmatic-info
debmatic version: 3.65.8-95
Kernel modules: Available
Raw UART dev: Available
HMRF Hardware: HM-MOD-RPI-PCB
Connected via: HB-RF-USB-2@usb-0000:02:1b.0-1 (/dev/raw-uart)
Board serial: OEQ0609320
Radio MAC: 0x59E13C
HMIP Hardware: HM-MOD-RPI-PCB
Connected via: HB-RF-USB-2@usb-0000:02:1b.0-1 (/dev/raw-uart)
SGTIN: 3014F711A061A7D70992B428
Radio MAC: 0xB8492B
Meine Vermutung ist hier, das der Host beim Starten irgendwie versucht, das Modul zu initialisieren und es dabei in einen "kaputten" Zustand bringt. Ich habe auch schon versucht Linux-Seitig einen usb-reset zu erzwingen, sowohl in der VM als auch auf dem Host, das Fehlerbild bleibt aber. Es hilft nur ein physisches abziehen und neu anstecken des HB-RF-USB-2
Ich habe auch schonmal hier im Forum und in den Git-Issues gesucht, konnte dazu aber nichts finden. Eventuell hat ja jemand einen Tipp oder sogar eine Lösung für dieses Problem?