Issues getting SDR to work on AIO v2

Was using the original AIO board in this machine previously and the SDR on it worked fine, so definitely should not be an issue with the base OS.

SDR can clearly be seen as being enabled here…

vvelox@cheri:~ $ aiov2_ctl sdr on
vvelox@cheri:~ $ aiov2_ctl --status
AIO v2 Status
====================
GPS   GPIO27: ON
LORA  GPIO16: OFF
SDR   GPIO7: ON
USB   GPIO23: OFF
--------------------
Source    : BAT
Status    : Discharging
Capacity  : 77%
Direction : discharging
Mode      : Battery powering system
Voltage   : 3.82 V
Current   : 1.27 A
Power     : 4.86 W
vvelox@cheri:~ $ pinctrl | grep GPIO7
 7: op dh pu | hi // GPIO7 = output

But I never seem to get it.

vvelox@cheri:~ $ sudo lsusb
Bus 001 Device 004: ID 1a86:8091 QinHeng Electronics USB HUB
Bus 001 Device 003: ID 1eaf:0024 Leaflabs uConsole
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
vvelox@cheri:~ $ dmesg | tail
[   11.284290] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[   17.212371] rp1-audio-out 1f00094000.audio_out: RP1 Audio Out start
[   17.637699] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[   17.637706] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   22.100027] panel-cwu50 1f00130000.dsi.0: asserting reset pin for old panel
[   22.128867] drm-rp1-dsi 1f00130000.dsi: [drm] rp1dsi: Command time (outvact): 8
[   22.129201] drm-rp1-dsi 1f00130000.dsi: [drm] rp1dsi: Nominal Byte clock 45833333 DPI clock 61111240 (parent rate 200000000)
[   22.129263] panel-cwu50 1f00130000.dsi.0: regulator iovcc and vci defined, enabling
[   22.144027] panel-cwu50 1f00130000.dsi.0: old panel, cycling the reset pin
[  324.110011] panel-cwu50 1f00130000.dsi.0: asserting reset pin for old panel
vvelox@cheri:~ $ sudo rtl_test 
No supported devices found.

And it is definitely not a kernel module issue…

vvelox@cheri:~ $ cat /etc/modprobe.d/blacklist.conf 
blacklist dvb_usb_rtl2832u
blacklist dvb_usb_rtl28xxu
blacklist dvb_usb_v2
blacklist rtl2830
blacklist rtl2832
blacklist rtl2832_sdr
blacklist rtl2838
vvelox@cheri:~ $ lsmod | grep dvb
vvelox@cheri:~ $ lsmod | grep rtl
vvelox@cheri:~ $ 

Still running Debian 12 with the newest kernel, 6.12.52-v8-16k+, but that should not be an issue. May try updating that this weekend if I have the time.

Any one have any thoughts?

If it can’t be listed under lsusb, there may be some hardware issue. Can you take a photo of the board?

1 Like

Hey, sorry for the delay. I’ll have those tomorrow evening.

Just took a moment to test a fresh install of Rex’s Trixie image and got the same results.

@vileer Got you the images of the board now. Thanks!

Looks like the transformer(where the red arrow points) for the RTLSDR’s USB signal was broken. And even the transformer(green arrow) for the direct sampling may be broken, but it is not related to this issue.

Did you get it as it looks now?

@vileer Aye. That is how I got it.

We don’t have any leftovers for the replacement; we will manufacture a small batch soon. You can contact zoey@hackergadgets.com for the replacement later. Before that, it can be fixed if you have soldering skills. Just solder two small wires as shown below.

1 Like

@vileer good news!

Thanks for the info there. A dude at the local maker space I am a member of was able to fix it using that. Soldered two wires at the locations specified and it works now.

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 003: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
Bus 001 Device 004: ID 1a86:8091 QinHeng Electronics USB HUB
Bus 001 Device 006: ID 1eaf:0024 Leaflabs uConsole
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

1 Like

@vileer

Been putzing around with the sdrpp and it is looking good, minus direct sampling. Trying to pull up local AM stuff I should be able to see nada.

It’s hard to listen to shortwave with direct sampling, even though the hardwave is not damaged. You will need a shortwave antenna and maybe an LNA. But it can easily be told whether the direct sampling transformer is damaged or not by checking whether the waterfall changes when removing the antenna.

Yup. It is definitely borked.

No change for between the antenna attached and detached.