Neue Platine HB-RF-USB-2

Entwicklung und Bau von Hardware aller Art, die im HM-Umfeld eingesetzt werden kann

Moderator: Co-Administratoren

Stefan_TR96
Beiträge: 16
Registriert: 23.01.2017, 11:16

Re: Neue Platine HB-RF-USB-2

Beitrag von Stefan_TR96 » 13.10.2022, 19:38

Hallo zusammen,

habe Debmatic in einer Proxmox VM seit einigen Wochen in Verbindung mit der HB-RF-USB-2 und dem aufgesteckten HM-MOD-RPI-PCB im Einsatz.

Heute Nachmittag kam plötzlich eine Telegram Meldung aus iobroker, dass ein Rollladen kein Signal hat. Zuhause angekommen im Debmatic UI nachgesehen und festgestellt, dass keines meiner Homematic Geräte erreichbar ist.

Am Host mal mit "lsusb" geprüft ob die Platine erreichbar ist und diese wird plötzlich nicht mehr angezeigt. Mehrmals alles neu gestartet, Platine ein- und ausgesteckt, USB Kabel ausgetauscht, usb Port geändert, aber keine Änderung. Heute morgen ist alles noch problemlos gelaufen. Jemand eine Idee wo dieser Fehler herkommen könnte?

LG
S

wolwin
Beiträge: 272
Registriert: 06.06.2018, 12:27
Hat sich bedankt: 11 Mal
Danksagung erhalten: 47 Mal

Re: Neue Platine HB-RF-USB-2

Beitrag von wolwin » 25.10.2022, 14:30

Hallo,
habe auf meinem OVA Proxmox 7.2-7 Testsystem bisher ein 'HB-RF-USB-TK' mit einem 'HM-MOD-RPI-PCB' erfolgreich im Einsatz. Nun habe ich mir eine 'HB-RF-USB-2' Platine zugelegt, um sie gegen die 'HB-RF-USB-TK' Platine auszutauschen. Leider funktioniert jedoch das Funkmodul mit der 'HB-RF-USB-2' Platine nicht ('HM-MOD-RPI-PCB' ist richtig zur Innenseite hin aufgesteckt - so wie auf dem Foto von Baxxy gezeigt). Kalte Lötstellen am Pinheader schließe ich auch aus, da ich die Pins sicherheitshalber noch einmal nachgelötet habe.

Proxmox erkennt das USB-Modul 'HB-RF-USB-2' korrekt und auch der Bootprozess der Raspberrymatic ist erfolgreich - bis auf die korrekte Initialisierung des 'HM-MOD-RPI-PCB'.

Was läuft schief, bzw. was habe ich evtl. übersehen?

Code: Alles auswählen

...
Oct 25 13:10:40 localhost kern.info kernel: [    2.909770] input: QEMU QEMU USB Tablet as /devices/pci0000:00/0000:00:01.2/usb2/2-1/2-1:1.0/0003:0627:0001.0001/input/input4
Oct 25 13:10:40 localhost kern.info kernel: [    2.910887] hid-generic 0003:0627:0001.0001: input,hidraw0: USB HID v0.01 Mouse [QEMU QEMU USB Tablet] on usb-0000:00:01.2-1/input0
Oct 25 13:10:40 localhost kern.info kernel: [    3.053935] usb 3-1: New USB device found, idVendor=10c4, idProduct=8c07, bcdDevice= 2.00
Oct 25 13:10:40 localhost kern.info kernel: [    3.053946] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Oct 25 13:10:40 localhost kern.info kernel: [    3.053949] usb 3-1: Product: HB-RF-USB-2
Oct 25 13:10:40 localhost kern.info kernel: [    3.053952] usb 3-1: Manufacturer: Alexander Reinert
Oct 25 13:10:40 localhost kern.info kernel: [    3.053954] usb 3-1: SerialNumber: 04206ce5b89eea119df267d6fe9faf31
Oct 25 13:10:40 localhost kern.info kernel: [    3.293560] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input3
Oct 25 13:10:40 localhost kern.info kernel: [    7.740155] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
Oct 25 13:10:40 localhost kern.info kernel: [    7.740228] VFS: Mounted root (ext4 filesystem) readonly on device 8:2.
Oct 25 13:10:40 localhost kern.info kernel: [    7.741316] devtmpfs: mounted
Oct 25 13:10:40 localhost kern.info kernel: [    7.743902] Freeing unused kernel image (initmem) memory: 1880K
Oct 25 13:10:40 localhost kern.info kernel: [    7.744068] Write protecting the kernel read-only data: 22528k
Oct 25 13:10:40 localhost kern.info kernel: [    7.745608] Freeing unused kernel image (text/rodata gap) memory: 2032K
Oct 25 13:10:40 localhost kern.info kernel: [    7.746694] Freeing unused kernel image (rodata/data gap) memory: 1608K
Oct 25 13:10:40 localhost kern.info kernel: [    7.749472] x86/mm: Checked W+X mappings: passed, no W+X pages found.
Oct 25 13:10:40 localhost kern.info kernel: [    7.749486] x86/mm: Checking user space page tables
Oct 25 13:10:40 localhost kern.info kernel: [    7.749722] x86/mm: Checked W+X mappings: passed, no W+X pages found.
Oct 25 13:10:40 localhost kern.info kernel: [    7.749732] Run /sbin/init as init process
Oct 25 13:10:40 localhost kern.debug kernel: [    7.749734]   with arguments:
Oct 25 13:10:40 localhost kern.debug kernel: [    7.749734]     /sbin/init
Oct 25 13:10:40 localhost kern.debug kernel: [    7.749736]   with environment:
Oct 25 13:10:40 localhost kern.debug kernel: [    7.749737]     HOME=/
Oct 25 13:10:40 localhost kern.debug kernel: [    7.749738]     TERM=linux
Oct 25 13:10:40 localhost kern.debug kernel: [    7.749739]     BOOT_IMAGE=/zImage
Oct 25 13:10:40 localhost kern.debug kernel: [    7.749740]     vga=792
Oct 25 13:10:40 localhost kern.debug kernel: [    7.749741]     pti=on
Oct 25 13:10:40 localhost kern.info kernel: [    7.986599] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
Oct 25 13:10:40 localhost kern.info kernel: [    8.484324] zram: Added device: zram0
Oct 25 13:10:40 localhost kern.info kernel: [    8.500808] zram0: detected capacity change from 0 to 4268024
Oct 25 13:10:40 localhost kern.info kernel: [   11.528826] Adding 2134008k swap on /dev/zram0.  Priority:75 extents:1 across:2134008k SSFS
Oct 25 13:10:40 localhost kern.notice kernel: [   11.618762] random: crng init done
Oct 25 13:10:40 localhost daemon.info kernel: [   13.198016] udevd[929]: starting version 3.2.11
Oct 25 13:10:40 localhost daemon.info kernel: [   13.236154] udevd[930]: starting eudev-3.2.11
Oct 25 13:10:40 localhost kern.info kernel: [   13.382472] Free page reporting enabled
Oct 25 13:10:40 localhost kern.warn kernel: [   13.398881] generic_raw_uart: loading out-of-tree module taints kernel.
Oct 25 13:10:40 localhost kern.info kernel: [   13.421054] usb 3-1: DKey: 3565633630323430 3131616565393862 3664373632666439 3133666166396566
Oct 25 13:10:40 localhost kern.info kernel: [   13.421064] usb 3-1: HKey: 74c1c5ce7054c290 42d2617a1f9fa7be 5dc23c1aa6fc03ed 6bf84cf281032900
Oct 25 13:10:40 localhost kern.info kernel: [   13.421066] usb 3-1: SKey: e0baf435dbcc4fd4 6824654b5e5f050c 3e91bb446c1bbb11 607b8bd4da162236
Oct 25 13:10:40 localhost kern.info kernel: [   13.421069] usb 3-1: SKey: 3f54cc9a3f912120 d7fa2a118b56ed02 0bea294602538b87 aa528a05dae5264e
Oct 25 13:10:40 localhost kern.info kernel: [   13.421072] usb 3-1: PKey: f50048a8d7cc3f44 ae8460d13cf61d60 2dc161f5272a5876 88c996b27737fbae
Oct 25 13:10:40 localhost kern.info kernel: [   13.421074] usb 3-1: PKey: dd24b0aced521e88 cc457acb4b7c49a4 6745032ab2079847 becfb9f3af25d41f
Oct 25 13:10:40 localhost kern.info kernel: [   13.424093] usb 3-1: Successfully verified device signature
Oct 25 13:10:40 localhost kern.info kernel: [   13.424099] usb 3-1: Found HB-RF-USB-2 with serial 04206ce5b89eea119df267d6fe9faf31 at usb-0000:00:1d.0-1
Oct 25 13:10:40 localhost kern.info kernel: [   13.424803] raw-uart raw-uart: Reset radio module
Oct 25 13:10:40 localhost kern.info kernel: [   13.528685] raw-uart raw-uart: Registered new raw-uart device using underlying device HB-RF-USB-2@usb-0000:00:1d.0-1.
Oct 25 13:10:40 localhost kern.info kernel: [   13.532743] usbcore: registered new interface driver hb_rf_usb_2
Oct 25 13:10:41 localhost syslog.info syslogd exiting
Oct 25 13:10:41 VM-RM-T syslog.info syslogd started: BusyBox v1.35.0
Oct 25 13:10:41 VM-RM-T kern.notice kernel: klogd started: BusyBox v1.35.0 (2022-08-31 08:03:40 UTC)
Oct 25 13:10:42 VM-RM-T user.info firewall: configuration set
Oct 25 13:10:42 VM-RM-T kern.info kernel: [   14.875033] NET: Registered PF_INET6 protocol family
Oct 25 13:10:42 VM-RM-T kern.info kernel: [   14.876268] Segment Routing with IPv6
Oct 25 13:10:42 VM-RM-T kern.info kernel: [   14.876284] In-situ OAM (IOAM) with IPv6
Oct 25 13:10:42 VM-RM-T daemon.info ifplugd(eth0)[1305]: ifplugd 0.28 initializing.
Oct 25 13:10:42 VM-RM-T daemon.info ifplugd(eth0)[1305]: Using interface eth0/E6:28:55:72:83:37 with driver <virtio_net> (version: 1.0.0)
Oct 25 13:10:42 VM-RM-T daemon.info ifplugd(eth0)[1305]: Using detection mode: SIOCETHTOOL
Oct 25 13:10:42 VM-RM-T daemon.info ifplugd(eth0)[1305]: Initialization complete, link beat detected.
Oct 25 13:10:42 VM-RM-T daemon.info ifplugd(eth0)[1305]: Executing '/etc/ifplugd/ifplugd.action eth0 up'.
Oct 25 13:10:42 VM-RM-T daemon.warn ifplugd(eth0)[1305]: client: ifup: interface eth0 already configured
Oct 25 13:10:42 VM-RM-T daemon.info ifplugd(eth0)[1305]: Program executed successfully.
Oct 25 13:10:52 VM-RM-T daemon.notice ntpdate[1311]: step time server 192.171.1.150 offset +0.846928 sec
Oct 25 13:10:52 VM-RM-T daemon.info chronyd[1314]: chronyd version 4.2 starting (+CMDMON +NTP +REFCLOCK +RTC -PRIVDROP -SCFILTER -SIGND +ASYNCDNS -NTS -SECHASH +IPV6 -DEBUG)
Oct 25 13:10:52 VM-RM-T daemon.warn chronyd[1314]: Running with root privileges
Oct 25 13:10:52 VM-RM-T kern.info kernel: [   24.431549] raw-uart raw-uart: Reset radio module
Oct 25 13:11:12 VM-RM-T daemon.err xinetd[1408]: Unable to read included directory: /etc/config/xinetd.d [file=/etc/xinetd.conf] [line=14]
Oct 25 13:11:12 VM-RM-T daemon.crit xinetd[1408]: 1408 {init_services} no services. Exiting...
Oct 25 13:11:13 VM-RM-T auth.info sshd[1444]: Server listening on 0.0.0.0 port 22.
Oct 25 13:11:13 VM-RM-T auth.info sshd[1444]: Server listening on :: port 22.
Oct 25 13:11:13 VM-RM-T daemon.info upsmon[1455]: Startup successful
Oct 25 13:11:13 VM-RM-T daemon.info cuxd[1470]: CUx-Daemon(2.9.4) on CCU(3.65.8.20220831) start PID:1470
Oct 25 13:11:13 VM-RM-T user.info cuxd: started cux-daemon
Oct 25 13:11:13 VM-RM-T daemon.info cuxd[1470]: write_pid /var/run/cuxd.pid [1470]
Oct 25 13:11:13 VM-RM-T daemon.info cuxd[1470]: load paramsets(/usr/local/addons/cuxd/cuxd.ps) size:836 update(-268s):Tue Oct 25 13:06:45 2022
Oct 25 13:11:13 VM-RM-T daemon.info cuxd[1470]: 1 device-paramset(s) loaded ok!
Oct 25 13:11:13 VM-RM-T kern.notice kernel: [   44.967892] FS-Cache: Netfs 'cifs' registered for caching
Oct 25 13:11:13 VM-RM-T kern.notice kernel: [   44.968047] Key type cifs.spnego registered
Oct 25 13:11:13 VM-RM-T kern.notice kernel: [   44.968053] Key type cifs.idmap registered
Oct 25 13:11:13 VM-RM-T kern.info kernel: [   44.969091] CIFS: Attempting to mount \\192.168.0.1\fritz.nas
Oct 25 13:11:13 VM-RM-T daemon.info cuxd[1470]: AUTOMOUNT system(mount -t cifs -o noserverino,vers=3.0,username=fritz-nas,password=#761468# //192.168.0.1/fritz.nas/USB_64 /mnt)
Oct 25 13:11:13 VM-RM-T daemon.info cuxd[1470]: write_proxy /var/cache/cuxd_proxy.ini (1470 /usr/local/addons/cuxd/ 2.9.4 3.65.8.20220831 1)
Oct 25 13:11:13 VM-RM-T daemon.info cuxd[1470]: add interface 'CUxD'
Oct 25 13:11:13 VM-RM-T daemon.info cuxd[1470]: write interface(1) 'VirtualDevices' to /usr/local/etc/config/InterfacesList.xml
Oct 25 13:11:13 VM-RM-T daemon.info cuxd[1470]: write interface(2) 'CUxD' to /usr/local/etc/config/InterfacesList.xml
Oct 25 13:11:16 VM-RM-T auth.info sshd[1831]: Accepted password for root from 192.168.0.152 port 53652 ssh2
Oct 25 13:11:19 VM-RM-T daemon.warn cuxd[1470]: process_rpc_request(127.0.0.1) - illegal XMLRPC(listDevices) request
Oct 25 13:11:22 VM-RM-T daemon.warn cuxd[1470]: process_rpc_request(127.0.0.1) - illegal XMLRPC(init) request
Oct 25 11:11:28 VM-RM-T daemon.info : starting pid 2160, tty '': '/bin/mv /tmp/boot.log /var/log/boot.log'
Oct 25 11:11:28 VM-RM-T daemon.info : starting pid 2161, tty '/dev/null': '/usr/bin/monit -Ic /etc/monitrc'
Oct 25 13:11:29 VM-RM-T user.info monit[2161]: Starting Monit 5.30.0 daemon with http interface at /var/run/monit.sock
Oct 25 13:11:29 VM-RM-T user.info monit[2161]: 'VM-RM-T' Monit 5.30.0 started
Oct 25 13:11:31 VM-RM-T local0.warn ReGaHss: WARNING: XMLRPC 'getValue': empty interface URL (interface: 1007, params: {"ESTXWMC001:1","GAS_ENERGY_COUNTER"}) [CallXmlrpcMethod():iseXmlRpc.cpp:2618]
Oct 25 13:11:31 VM-RM-T local0.err ReGaHss: ERROR: XMLRPC 'getValue' call failed (interface: 1007, params: {"ESTXWMC001:1","GAS_ENERGY_COUNTER"}) [CallGetValue():iseXmlRpc.cpp:1435]
Oct 25 13:11:31 VM-RM-T local0.err ReGaHss: ERROR: CallGetValue failed; sVal = 0.000000 [ReadValue():iseDOMdpHSS.cpp:124]
Oct 25 13:11:31 VM-RM-T local0.warn ReGaHss: WARNING: XMLRPC 'getValue': empty interface URL (interface: 1007, params: {"REQ0150890:1","STATE"}) [CallXmlrpcMethod():iseXmlRpc.cpp:2618]
Oct 25 13:11:31 VM-RM-T local0.err ReGaHss: ERROR: XMLRPC 'getValue' call failed (interface: 1007, params: {"REQ0150890:1","STATE"}) [CallGetValue():iseXmlRpc.cpp:1435]
Oct 25 13:11:31 VM-RM-T local0.err ReGaHss: ERROR: CallGetValue failed; sVal = 0 [ReadValue():iseDOMdpHSS.cpp:124]
Oct 25 13:11:31 VM-RM-T local0.warn ReGaHss: WARNING: XMLRPC 'getValue': empty interface URL (interface: 1007, params: {"REQ0150890:2","STATE"}) [CallXmlrpcMethod():iseXmlRpc.cpp:2618]
Oct 25 13:11:31 VM-RM-T local0.err ReGaHss: ERROR: XMLRPC 'getValue' call failed (interface: 1007, params: {"REQ0150890:2","STATE"}) [CallGetValue():iseXmlRpc.cpp:1435]
Oct 25 13:11:31 VM-RM-T local0.err ReGaHss: ERROR: CallGetValue failed; sVal = 0 [ReadValue():iseDOMdpHSS.cpp:124]
Oct 25 13:11:31 VM-RM-T local0.warn ReGaHss: WARNING: XMLRPC 'getValue': empty interface URL (interface: 1007, params: {"REQ0150890:3","STATE"}) [CallXmlrpcMethod():iseXmlRpc.cpp:2618]
Oct 25 13:11:31 VM-RM-T local0.err ReGaHss: ERROR: XMLRPC 'getValue' call failed (interface: 1007, params: {"REQ0150890:3","STATE"}) [CallGetValue():iseXmlRpc.cpp:1435]
Oct 25 13:11:31 VM-RM-T local0.err ReGaHss: ERROR: CallGetValue failed; sVal = 0 [ReadValue():iseDOMdpHSS.cpp:124]
Oct 25 13:11:31 VM-RM-T local0.warn ReGaHss: WARNING: XMLRPC 'getValue': empty interface URL (interface: 1007, params: {"REQ0150890:4","STATE"}) [CallXmlrpcMethod():iseXmlRpc.cpp:2618]
Oct 25 13:11:31 VM-RM-T local0.err ReGaHss: ERROR: XMLRPC 'getValue' call failed (interface: 1007, params: {"REQ0150890:4","STATE"}) [CallGetValue():iseXmlRpc.cpp:1435]
Oct 25 13:11:31 VM-RM-T local0.err ReGaHss: ERROR: CallGetValue failed; sVal = 0 [ReadValue():iseDOMdpHSS.cpp:124]
Oct 25 13:11:31 VM-RM-T local0.warn ReGaHss: WARNING: XMLRPC 'getValue': empty interface URL (interface: 1007, params: {"ESTXWMC001:1","ENERGY_COUNTER"}) [CallXmlrpcMethod():iseXmlRpc.cpp:2618]
Oct 25 13:11:31 VM-RM-T local0.err ReGaHss: ERROR: XMLRPC 'getValue' call failed (interface: 1007, params: {"ESTXWMC001:1","ENERGY_COUNTER"}) [CallGetValue():iseXmlRpc.cpp:1435]
Oct 25 13:11:31 VM-RM-T local0.err ReGaHss: ERROR: CallGetValue failed; sVal = 0.000000 [ReadValue():iseDOMdpHSS.cpp:124]
Oct 25 13:11:31 VM-RM-T local0.warn ReGaHss: WARNING: XMLRPC 'getValue': empty interface URL (interface: 1007, params: {"ESTXWMC001:1","BOOT"}) [CallXmlrpcMethod():iseXmlRpc.cpp:2618]
Oct 25 13:11:31 VM-RM-T local0.err ReGaHss: ERROR: XMLRPC 'getValue' call failed (interface: 1007, params: {"ESTXWMC001:1","BOOT"}) [CallGetValue():iseXmlRpc.cpp:1435]
Oct 25 13:11:31 VM-RM-T local0.err ReGaHss: ERROR: CallGetValue failed; sVal = 0 [ReadValue():iseDOMdpHSS.cpp:124]
Oct 25 13:11:41 VM-RM-T daemon.info cuxd[1470]: INIT 'xmlrpc_bin://127.0.0.1:31999' '1394'
Oct 25 13:11:41 VM-RM-T daemon.info cuxd[1470]: RPC-server from HM-CCU (1394) registered!
Oct 25 13:11:42 VM-RM-T daemon.info cuxd[1470]: connection to 127.0.0.1:8183 successfull!

Benutzeravatar
Baxxy
Beiträge: 10646
Registriert: 18.12.2018, 15:45
System: Alternative CCU (auf Basis OCCU)
Hat sich bedankt: 596 Mal
Danksagung erhalten: 2180 Mal

Re: Neue Platine HB-RF-USB-2

Beitrag von Baxxy » 25.10.2022, 18:05

wolwin hat geschrieben:
25.10.2022, 14:30
Was läuft schief, bzw. was habe ich evtl. übersehen?
Gute Frage.

Die Kombination aus HB-RF-USB-2 + HM-MOD-RPI-PCB hatte ich bisher immer nur an Raspi's aber noch nicht am Proxmox getestet.
Das habe ich nun nachgeholt und konnte keine Probleme feststellen.

RM boot.log

Code: Alles auswählen

fsck 1.46.5 (30-Dec-2021)
userfs: clean, 471/704512 files, 77174/2817792 blocks
Identifying host system: ova-KVM, OK
Initializing ZRAM Swap: OK
Initializing RTC Clock: onboard, OK
Starting acpid: OK
Running sysctl: OK
Initializing urandom: OK
Checking for Factory Reset: not required
Checking for Backup Restore: not required
Initializing System: OK
Setup ca-certificates: OK
Starting logging: OK
Populating /dev using udev: done
Init onboard LEDs: init, OK
Starting qemu-guest-agent: OK
Starting irqbalance: OK
Starting rngd: OK
Starting system message bus: done
Starting iptables: OK
Starting bluetooth: disabled
Starting network: eth0: link up, dhcp, firewall, inet up, 192.168.113.49, wlan0: missing, OK
Starting Network Interface Plugging Daemon: eth0.
Starting chrony: OK
Identifying Homematic RF-Hardware: ....HmRF: HM-MOD-RPI-PCB/HB-RF-USB-2@usb-0000:01:1b.0-1, HmIP: HM-MOD-RPI-PCB/HB-RF-USB-2@usb-0000:01:1b.0-1, OK
Updating Homematic RF-Hardware: HM-MOD-RPI-PCB: 2.8.6, not necessary, OK
Starting hs485dLoader: disabled
Starting xinetd: OK
Starting eq3configd: OK
Starting lighttpd: OK
Starting ser2net: disabled
Starting ssdpd: OK
Starting sshd: OK
Starting NUT services: disabled
Initializing Third-Party Addons: 
Starting LGWFirmwareUpdate: ...OK
Setting LAN Gateway keys: OK
Starting hs485d: disabled
Starting multimacd: ...OK
Starting rfd: .OK
Starting HMIPServer: ........OK
Starting ReGaHss: .OK
Starting CloudMatic: OK
Starting Third-Party Addons: OK
Starting crond: OK
Setup onboard LEDs: booted, OK
Finished Boot: 3.65.11.20221005 (raspmatic_ova)
Proxmox Info:

Code: Alles auswählen

CPU(s) 4 x Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz (1 Socket)
Kernelversion Linux 5.15.60-1-pve #1 SMP PVE 5.15.60-1 (Mon, 19 Sep 2022 17:53:17 +0200)
PVE-Manager-Version pve-manager/7.2-11/b76d3178
Die HB-RF-USB-2 hängt an einer physischen USB3-Buchse (war sonst nix frei) und wird mit der Option "USB3 verwenden" durchgereicht.

Es "scheint" also kein generelles sondern ein individuelles Problem in deinem Setup zu sein.

wolwin
Beiträge: 272
Registriert: 06.06.2018, 12:27
Hat sich bedankt: 11 Mal
Danksagung erhalten: 47 Mal

Re: Neue Platine HB-RF-USB-2

Beitrag von wolwin » 25.10.2022, 18:50

Baxxy hat geschrieben:
25.10.2022, 18:05
Die HB-RF-USB-2 hängt an einer physischen USB3-Buchse (war sonst nix frei) und wird mit der Option "USB3 verwenden" durchgereicht.

Es "scheint" also kein generelles sondern ein individuelles Problem in deinem Setup zu sein.
Habe jetzt mal Deine Konfig nachgestellt: USB3 Buchse je mit / ohne USB3 Unterstützung ... immer wird die HB-RF-USB-2 Platine erkannt, aber nicht das Funkmodul HM-MOD-RPI-PCB. Dann das Funkmodul wieder zurück auf das HB-RF-USB-TK gesteckt, in Proxmox die USB ID geändert ... läuft.

Es ist doch richtig, dass ich nicht noch irgendetwas in der Raspberrymatic konfigurieren muß ... ich benutze doch das selbe HM-MOD-RPI-PCB Modul ???

Benutzeravatar
Baxxy
Beiträge: 10646
Registriert: 18.12.2018, 15:45
System: Alternative CCU (auf Basis OCCU)
Hat sich bedankt: 596 Mal
Danksagung erhalten: 2180 Mal

Re: Neue Platine HB-RF-USB-2

Beitrag von Baxxy » 25.10.2022, 18:56

wolwin hat geschrieben:
25.10.2022, 18:50
Es ist doch richtig, dass...
Korrekt, auf RaspberryMatic-Seite brauchst du gar nichts machen.
Es ist komplett egal wo das Funkmodul residiert.

Ich würde mal einen Test mit einem Raspi/Tinker und frischer RM machen wenn du kannst.
Wird da das Funkmodul auch nicht gefunden hat mit ziemlicher Sicherheit deine HB-RF-USB-2 ein Problem.

wolwin
Beiträge: 272
Registriert: 06.06.2018, 12:27
Hat sich bedankt: 11 Mal
Danksagung erhalten: 47 Mal

Re: Neue Platine HB-RF-USB-2

Beitrag von wolwin » 25.10.2022, 19:46

Baxxy hat geschrieben:
25.10.2022, 18:56
Ich würde mal einen Test mit einem Raspi/Tinker und frischer RM machen wenn du kannst.
Wird da das Funkmodul auch nicht gefunden hat mit ziemlicher Sicherheit deine HB-RF-USB-2 ein Problem.
Werde ich machen - befürchte aber, dass das HB-RF-USB-2 nicht korrekt abrbeitet - ist wirklich ärgerlich, da es schon die zweite Platine von smartk* ist, bei der ersten Platine war ein SMD-Gleichrichter abgerissen ... :roll:

Benutzeravatar
Baxxy
Beiträge: 10646
Registriert: 18.12.2018, 15:45
System: Alternative CCU (auf Basis OCCU)
Hat sich bedankt: 596 Mal
Danksagung erhalten: 2180 Mal

Re: Neue Platine HB-RF-USB-2

Beitrag von Baxxy » 25.10.2022, 19:56

Autsch, das kling übel.
Ich hatte bisher bei den *kram-Jungs keine Probleme. Und ich habe alle HB-RF-xxx Platinen von Alex hier.

Unschön ja, aber wenn ein Defekt vorliegt und die problemlos tauschen dann geht das ja, auch wenn's natürlich dauert...

wolwin
Beiträge: 272
Registriert: 06.06.2018, 12:27
Hat sich bedankt: 11 Mal
Danksagung erhalten: 47 Mal

Re: Neue Platine HB-RF-USB-2

Beitrag von wolwin » 26.10.2022, 11:08

Baxxy hat geschrieben:
25.10.2022, 19:56
Ich hatte bisher bei den *kram-Jungs keine Probleme. Und ich habe alle HB-RF-xxx Platinen von Alex hier.
Also, da muss ich meine Kritik an smartk* zurücknehmen: die Platine ist in Ordnung ... :!: Habe die aktuelle Raspberrymatic auf eine frische SD-Karte gespielt und in einen RPI3+ gesteckt, die HB-RF-USB-2 mit aufgestecktem Funkmodul HM-MOD-RPI-PCB per USB angeschlossen und das System gestartet: läuft ... es können Geräte angelernt / abgelernt / geschaltet werden (hier: HM-LC-Sw1-Ba-PCB).

Also liegt die Problematik auf der Proxmox Seite ... werde heute abend mal ebenfalls ein 'neue' virtuelle Raspberrymatic aufsetzen ...

wolwin
Beiträge: 272
Registriert: 06.06.2018, 12:27
Hat sich bedankt: 11 Mal
Danksagung erhalten: 47 Mal

Re: Neue Platine HB-RF-USB-2

Beitrag von wolwin » 26.10.2022, 22:59

Leider kein Erfolg: habe mit der 'Vereinfachten Proxmox Installationsroutine' von Jens noch einmal eine neue Raspberrymatic Installation auf meinem Proxmox System aufgesetzt. Auch hier wird die HB-RF-USB-2 Platine erkannt und in der Installation übernommen. Im Log finden sich dann alle (korrekten) Erkennungs- und Initialisierungsangaben - aber scheinbar wird das Funkmodul dann doch nicht initialisiert, obwohl der Log-Eintrag keinen Fehler meldet. Ich habe dann noch alle physikalischen Möglichkeiten durchgespielt: USB2-Port mit / ohne Proxmox USB3-Modus und auch USB3-Port mit / ohne Proxmox USB3-Modus - leider alles ohne Erfolg.

Da ich an dieser Stelle mit meinem Latein am Ende bin ( ... weil die HB-RF-USB-TK Platine ja auf gleichem System funktioniert !!! ), werde ich wohl mal ein Issue für die 'HB-RF-USB-2 Platine aufmachen.

Code: Alles auswählen

...
Oct 26 19:50:38 localhost kern.info kernel: [    2.478802] usb 2-1: new full-speed USB device number 2 using xhci_hcd
Oct 26 19:50:38 localhost kern.info kernel: [    2.503194] usb 1-1: not running at top speed; connect to a high speed hub
Oct 26 19:50:38 localhost kern.info kernel: [    2.538051] usb 1-1: New USB device found, idVendor=0627, idProduct=0001, bcdDevice= 0.00
Oct 26 19:50:38 localhost kern.info kernel: [    2.538063] usb 1-1: New USB device strings: Mfr=1, Product=3, SerialNumber=10
Oct 26 19:50:38 localhost kern.info kernel: [    2.538065] usb 1-1: Product: QEMU USB Tablet
Oct 26 19:50:38 localhost kern.info kernel: [    2.538068] usb 1-1: Manufacturer: QEMU
Oct 26 19:50:38 localhost kern.info kernel: [    2.538070] usb 1-1: SerialNumber: 28754-0000:00:01.2-1
Oct 26 19:50:38 localhost kern.info kernel: [    2.548007] input: QEMU QEMU USB Tablet as /devices/pci0000:00/0000:00:01.2/usb1/1-1/1-1:1.0/0003:0627:0001.0001/input/input4
Oct 26 19:50:38 localhost kern.info kernel: [    2.549023] hid-generic 0003:0627:0001.0001: input,hidraw0: USB HID v0.01 Mouse [QEMU QEMU USB Tablet] on usb-0000:00:01.2-1/input0
Oct 26 19:50:38 localhost kern.info kernel: [    2.614103] usb 2-1: New USB device found, idVendor=10c4, idProduct=8c07, bcdDevice= 2.00
Oct 26 19:50:38 localhost kern.info kernel: [    2.614115] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Oct 26 19:50:38 localhost kern.info kernel: [    2.614117] usb 2-1: Product: HB-RF-USB-2
Oct 26 19:50:38 localhost kern.info kernel: [    2.614120] usb 2-1: Manufacturer: Alexander Reinert
Oct 26 19:50:38 localhost kern.info kernel: [    2.614122] usb 2-1: SerialNumber: 04206ce5b89eea119df267d6fe9faf31

Oct 26 19:50:38 localhost kern.info kernel: [    2.795293] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input3
Oct 26 19:50:38 localhost kern.info kernel: [    7.095188] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
Oct 26 19:50:38 localhost kern.info kernel: [    7.095238] VFS: Mounted root (ext4 filesystem) readonly on device 8:2.
Oct 26 19:50:38 localhost kern.info kernel: [    7.096134] devtmpfs: mounted
Oct 26 19:50:38 localhost kern.info kernel: [    7.098774] Freeing unused kernel image (initmem) memory: 1880K
Oct 26 19:50:38 localhost kern.info kernel: [    7.098983] Write protecting the kernel read-only data: 22528k
Oct 26 19:50:38 localhost kern.info kernel: [    7.100420] Freeing unused kernel image (text/rodata gap) memory: 2032K
Oct 26 19:50:38 localhost kern.info kernel: [    7.101581] Freeing unused kernel image (rodata/data gap) memory: 1608K
Oct 26 19:50:38 localhost kern.info kernel: [    7.104053] x86/mm: Checked W+X mappings: passed, no W+X pages found.
Oct 26 19:50:38 localhost kern.info kernel: [    7.104057] x86/mm: Checking user space page tables
Oct 26 19:50:38 localhost kern.info kernel: [    7.104280] x86/mm: Checked W+X mappings: passed, no W+X pages found.
Oct 26 19:50:38 localhost kern.info kernel: [    7.104289] Run /sbin/init as init process
Oct 26 19:50:38 localhost kern.debug kernel: [    7.104291]   with arguments:
Oct 26 19:50:38 localhost kern.debug kernel: [    7.104292]     /sbin/init
Oct 26 19:50:38 localhost kern.debug kernel: [    7.104293]   with environment:
Oct 26 19:50:38 localhost kern.debug kernel: [    7.104294]     HOME=/
Oct 26 19:50:38 localhost kern.debug kernel: [    7.104295]     TERM=linux
Oct 26 19:50:38 localhost kern.debug kernel: [    7.104296]     BOOT_IMAGE=/zImage
Oct 26 19:50:38 localhost kern.debug kernel: [    7.104297]     vga=792
Oct 26 19:50:38 localhost kern.debug kernel: [    7.104298]     pti=on
Oct 26 19:50:38 localhost kern.info kernel: [    7.309294] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
Oct 26 19:50:38 localhost kern.info kernel: [    7.799792] zram: Added device: zram0
Oct 26 19:50:38 localhost kern.info kernel: [    7.816033] zram0: detected capacity change from 0 to 4268008
Oct 26 19:50:38 localhost kern.info kernel: [   10.843444] Adding 2134000k swap on /dev/zram0.  Priority:75 extents:1 across:2134000k SSFS
Oct 26 19:50:38 localhost kern.notice kernel: [   10.925503] random: crng init done

Oct 26 19:50:38 localhost daemon.info kernel: [   12.312856] udevd[928]: starting version 3.2.11
Oct 26 19:50:38 localhost daemon.info kernel: [   12.337319] udevd[929]: starting eudev-3.2.11
Oct 26 19:50:38 localhost kern.info kernel: [   12.474231] Free page reporting enabled
Oct 26 19:50:38 localhost kern.warn kernel: [   12.500293] generic_raw_uart: loading out-of-tree module taints kernel.
Oct 26 19:50:38 localhost kern.info kernel: [   12.534648] usb 2-1: DKey: 3565633630323430 3131616565393862 3664373632666439 3133666166396566
Oct 26 19:50:38 localhost kern.info kernel: [   12.534658] usb 2-1: HKey: 74c1c5ce7054c290 42d2617a1f9fa7be 5dc23c1aa6fc03ed 6bf84cf281032900
Oct 26 19:50:38 localhost kern.info kernel: [   12.534661] usb 2-1: SKey: e0baf435dbcc4fd4 6824654b5e5f050c 3e91bb446c1bbb11 607b8bd4da162236
Oct 26 19:50:38 localhost kern.info kernel: [   12.534664] usb 2-1: SKey: 3f54cc9a3f912120 d7fa2a118b56ed02 0bea294602538b87 aa528a05dae5264e
Oct 26 19:50:38 localhost kern.info kernel: [   12.534666] usb 2-1: PKey: f50048a8d7cc3f44 ae8460d13cf61d60 2dc161f5272a5876 88c996b27737fbae
Oct 26 19:50:38 localhost kern.info kernel: [   12.534669] usb 2-1: PKey: dd24b0aced521e88 cc457acb4b7c49a4 6745032ab2079847 becfb9f3af25d41f
Oct 26 19:50:38 localhost kern.info kernel: [   12.537345] usb 2-1: Successfully verified device signature
Oct 26 19:50:38 localhost kern.info kernel: [   12.537349] usb 2-1: Found HB-RF-USB-2 with serial 04206ce5b89eea119df267d6fe9faf31 at usb-0000:01:1b.0-1
Oct 26 19:50:38 localhost kern.info kernel: [   12.538435] raw-uart raw-uart: Reset radio module
Oct 26 19:50:38 localhost kern.info kernel: [   12.642784] raw-uart raw-uart: Registered new raw-uart device using underlying device HB-RF-USB-2@usb-0000:01:1b.0-1.
Oct 26 19:50:38 localhost kern.info kernel: [   12.644676] usbcore: registered new interface driver hb_rf_usb_2
Oct 26 19:50:38 localhost syslog.info syslogd exiting
Oct 26 19:50:39 VM-RM-T syslog.info syslogd started: BusyBox v1.35.0
Oct 26 19:50:39 VM-RM-T kern.notice kernel: klogd started: BusyBox v1.35.0 (2022-08-31 08:03:40 UTC)
Oct 26 19:50:40 VM-RM-T user.info firewall: configuration set
Oct 26 19:50:40 VM-RM-T kern.info kernel: [   13.969397] NET: Registered PF_INET6 protocol family
Oct 26 19:50:40 VM-RM-T kern.info kernel: [   13.970567] Segment Routing with IPv6
Oct 26 19:50:40 VM-RM-T kern.info kernel: [   13.970583] In-situ OAM (IOAM) with IPv6
Oct 26 19:50:40 VM-RM-T daemon.info ifplugd(eth0)[1304]: ifplugd 0.28 initializing.
Oct 26 19:50:40 VM-RM-T daemon.info ifplugd(eth0)[1304]: Using interface eth0/E6:28:55:72:83:37 with driver <virtio_net> (version: 1.0.0)
Oct 26 19:50:40 VM-RM-T daemon.info ifplugd(eth0)[1304]: Using detection mode: SIOCETHTOOL
Oct 26 19:50:40 VM-RM-T daemon.info ifplugd(eth0)[1304]: Initialization complete, link beat detected.
Oct 26 19:50:40 VM-RM-T daemon.info ifplugd(eth0)[1304]: Executing '/etc/ifplugd/ifplugd.action eth0 up'.
Oct 26 19:50:40 VM-RM-T daemon.warn ifplugd(eth0)[1304]: client: ifup: interface eth0 already configured
Oct 26 19:50:40 VM-RM-T daemon.info ifplugd(eth0)[1304]: Program executed successfully.
Oct 26 19:50:49 VM-RM-T daemon.notice ntpdate[1310]: step time server 31.209.85.242 offset +0.359441 sec
Oct 26 19:50:49 VM-RM-T daemon.info chronyd[1313]: chronyd version 4.2 starting (+CMDMON +NTP +REFCLOCK +RTC -PRIVDROP -SCFILTER -SIGND +ASYNCDNS -NTS -SECHASH +IPV6 -DEBUG)
Oct 26 19:50:49 VM-RM-T daemon.warn chronyd[1313]: Running with root privileges
Oct 26 19:50:49 VM-RM-T kern.info kernel: [   23.517773] raw-uart raw-uart: Reset radio module
Oct 26 19:51:10 VM-RM-T daemon.err xinetd[1407]: Unable to read included directory: /etc/config/xinetd.d [file=/etc/xinetd.conf] [line=14]
Oct 26 19:51:10 VM-RM-T daemon.crit xinetd[1407]: 1407 {init_services} no services. Exiting...
Oct 26 19:51:10 VM-RM-T auth.info sshd[1443]: Server listening on 0.0.0.0 port 22.
Oct 26 19:51:10 VM-RM-T auth.info sshd[1443]: Server listening on :: port 22.
Oct 26 19:51:10 VM-RM-T daemon.info upsmon[1454]: Startup successful


Antworten

Zurück zu „Hardwareentwicklung und Selbstbau von Aktoren und Sensoren“