matthewwall / weewx-sdr

weewx driver for software-defined radio
GNU General Public License v3.0
114 stars 74 forks source link

'Realtek RTL2832U reference design:1-1.4' successfully deinitialized and disconnected #141

Closed kkruzich closed 2 years ago

kkruzich commented 2 years ago

I have Ubuntu Focal 20.04. Below is output from dmesg and rtl_433 Prior to running rtl_433 dmesg shows the RTL2832U initialized and connected. However once I run rtl_433 I see the successfully deinitialized and disconnected message. After several minutes I don't see any messages from the weather station.

The weather station is an Acurite Atlas. I can provide more details if necessary.

I realize this is probably more of an rtl_433 or kernel module issue but I thought I'd check in here to see if you can help spot what I'm overlooking.

See last log entry below is from different computer / weather station / same dongle.

---

[265128.032869] usb 1-1.4: dvb_usb_v2: found a 'Realtek RTL2832U reference design' in warm state
[265128.092333] usb 1-1.4: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
[265128.092340] dvbdev: DVB: registering new adapter (Realtek RTL2832U reference design)
[265128.092344] usb 1-1.4: media controller created
[265128.092830] dvbdev: dvb_create_media_entity: media entity 'dvb-demux' registered.
[265128.096109] i2c i2c-9: Added multiplexed i2c bus 10
[265128.096112] rtl2832 9-0010: Realtek RTL2832 successfully attached
[265128.096130] usb 1-1.4: DVB: registering adapter 0 frontend 0 (Realtek RTL2832 (DVB-T))...
[265128.096136] dvbdev: dvb_create_media_entity: media entity 'Realtek RTL2832 (DVB-T)' registered.
[265128.096202] r820t 10-001a: creating new instance
[265128.103428] r820t 10-001a: Rafael Micro r820t successfully identified
[265128.106121] rtl2832_sdr rtl2832_sdr.2.auto: Registered as swradio0
[265128.106122] rtl2832_sdr rtl2832_sdr.2.auto: Realtek RTL2832 SDR attached
[265128.106123] rtl2832_sdr rtl2832_sdr.2.auto: SDR API is still slightly experimental and functionality changes may follow
[265128.113412] Registered IR keymap rc-empty
[265128.113446] rc rc0: Realtek RTL2832U reference design as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/rc/rc0
[265128.113570] rc rc0: lirc_dev: driver dvb_usb_rtl28xxu registered at minor = 0, raw IR receiver, no transmitter
[265128.113598] input: Realtek RTL2832U reference design as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/rc/rc0/input21
[265128.113804] usb 1-1.4: dvb_usb_v2: schedule remote query interval to 200 msecs
[265128.126618] usb 1-1.4: dvb_usb_v2: 'Realtek RTL2832U reference design' successfully initialized and connected

---

[265220.292506] r820t 10-001a: destroying instance
[265220.294281] dvb_usb_v2: 'Realtek RTL2832U reference design:1-1.4' successfully deinitialized and disconnected

---

rtl_433
rtl_433 version unknown inputs file rtl_tcp RTL-SDR SoapySDR
Use -h for usage help and see https://triq.org/ for documentation.
Trying conf file at "rtl_433.conf"...
Trying conf file at "/root/.config/rtl_433/rtl_433.conf"...
Trying conf file at "/usr/local/etc/rtl_433/rtl_433.conf"...
Trying conf file at "/etc/rtl_433/rtl_433.conf"...
Registered 122 out of 149 device decoding protocols [ 1-4 8 11-12 15-17 19-21 23 25-26 29-36 38-60 63 67-71 73-100 102-105 108-116 119 121 124-128 130-149 ]
Detached kernel driver
Found Rafael Micro R820T tuner
Exact sample rate is: 250000.000414 Hz
[R82XX] PLL not locked!
Sample rate set to 250000 S/s.
Tuner gain set to Auto.
Tuned to 433.920MHz.
Allocating 15 zero-copy buffers
^CSignal caught, exiting!
Reattached kernel driver

---

Same SDR USB dongle, same OS, different computer, different weather station, different location:

rtl_433 version unknown inputs file rtl_tcp RTL-SDR SoapySDR
Use -h for usage help and see https://triq.org/ for documentation.
Trying conf file at "rtl_433.conf"...
Trying conf file at "/root/.config/rtl_433/rtl_433.conf"...
Trying conf file at "/usr/local/etc/rtl_433/rtl_433.conf"...
Trying conf file at "/etc/rtl_433/rtl_433.conf"...
Registered 122 out of 149 device decoding protocols [ 1-4 8 11-12 15-17 19-21 23 25-26 29-36 38-60 63 67-71 73-100 102-105 108-116 119 121 124-128 130-149 ]
Detached kernel driver
Found Rafael Micro R820T tuner
Exact sample rate is: 250000.000414 Hz
[R82XX] PLL not locked!
Sample rate set to 250000 S/s.
Tuner gain set to Auto.
Tuned to 433.920MHz.
Allocating 15 zero-copy buffers
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2021-11-22 20:05:22
model     : Acurite-5n1  subtype   : 56            id        : 2440
channel   : A            sequence_num: 0           battery   : 0             wind_speed: 0.0 km/h
temperature: 8.8 C       humidity  : 91            Integrity : CHECKSUM
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

[ ... ]
matthewwall commented 2 years ago

sorry, this looks like an rtl_433 problem