RFXCOM XL loses its serial connection
Posted: Tuesday 09 February 2021 18:14
System: Raspberry Pi 4B
OS: Raspbian with latest updates installed
Domoticz version: V2020.2 build 12927
RFXCOM XL firmware: 1043
My RFXCOM XL seems to be losing its serial connection to Domoticz frequently. At least that is what I think happens when I get the following kind of messages in the log file:
I tried the command
The result seems to suggest RFXCOM, which is using a serial-by-id, is in fact connected to ttyUSB0, and disconnects and reconnects by itself.
This is weird. However, the devices connected to the RFXCOM (mostly weather station related) still do send their status updates.
Any ideas?
OS: Raspbian with latest updates installed
Domoticz version: V2020.2 build 12927
RFXCOM XL firmware: 1043
My RFXCOM XL seems to be losing its serial connection to Domoticz frequently. At least that is what I think happens when I get the following kind of messages in the log file:
Code: Select all
2021-02-09 17:35:23.699 Error: Serial Port closed!... Error: End of file
2021-02-09 17:35:23.909 Status: RFXCOM: retrying in 30 seconds...
2021-02-09 17:35:52.919 Status: RFXCOM: Using serial port: /dev/serial/by-id/usb-RFXCOM_RFXtrx433XL_DO32GFOK-if00-port0
Code: Select all
dmesg | grep ttyCode: Select all
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 smsc95xx.macaddr=DC:A6:32:7E:CB:38 vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000 console=tty1 root=PARTUUID=02e41fc7-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
[ 0.001048] printk: console [tty1] enabled
[ 1.168055] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 29, base_baud = 0) is a PL011 rev2
[ 1.174682] fe215040.serial: ttyS0 at MMIO 0x0 (irq = 30, base_baud = 62500000) is a 16550
[ 4.491265] systemd[1]: Created slice system-getty.slice.
[ 6.921253] usb 1-1.4: FTDI USB Serial Device converter now attached to ttyUSB0
[328066.509841] ftdi_sio ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32
[328066.512787] ftdi_sio ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32
[328066.527177] ftdi_sio ttyUSB0: error from flowcontrol urb
[328066.527974] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[329696.253766] usb 1-1.1: FTDI USB Serial Device converter now attached to ttyUSB0
Any ideas?