Hello @vileer , I have AIO v2 and my LoRa module suddenly stopped working after reboot with error:
SX126x init result -2
No sx1262 radio
GPS and SDR are working well. I’m using Rex’s Debian Trixie.
My config.txt:
[pi5]
dtoverlay=clockworkpi-uconsole-cm5
dtoverlay=vc4-kms-v3d-pi5,cma-384
dtoverlay=i2c-rtc,pcf85063a,i2c_csi_dsi0
dtoverlay=clockworkpi-custom-battery,charge_full_design_uah=6000000,energy_full_design_uwh=21500000
dtparam=uart0
dtparam=pciex1=on
dtparam=pciex1_gen=2
dtparam=rtc=off
dtparam=fan_temp0=36000,fan_temp0_hyst=2000,fan_temp0_speed=90
dtparam=fan_temp1=40000,fan_temp1_hyst=3000,fan_temp1_speed=150
dtparam=fan_temp2=52000,fan_temp2_hyst=4000,fan_temp2_speed=200
dtparam=fan_temp3=58000,fan_temp3_hyst=5000,fan_temp3_speed=255
gpio=7=op,dl
gpio=16=op,dh
gpio=23=op,dl
gpio=27=op,dl
arm_freq=2000
[all]
ignore_lcd=1
max_framebuffers=2
disable_overscan=1
dtparam=audio=on
dtoverlay=audremap,pins_12_13
dtoverlay=dwc2,dr_mode=host
dtparam=ant2
As you can see I’m turning on only LoRa module on boot for power saving.
My cmdline.txt:
console=serial0,115200 console=tty1 root=PARTUUID=e1ae3e9e-02 rootfstype=ext4 fsck.repair=yes rootwait resize fbcon=rotate:1 psi=1 cfg80211.ieee80211_regdom=RU pcie_aspm=off nvme_core.default_ps_max_latency_us=0
My meshtasticd config:
Lora:
Module: sx1262 # HackerGadgets RTL-SDR/LoRa extension board
DIO2_AS_RF_SWITCH: true
DIO3_TCXO_VOLTAGE: true
IRQ: 26
Busy: 24
Reset: 25
spidev: spidev1.0
GPIO pin is turned on:
# pinctrl get 16
16: op dh pd | hi // GPIO16 = output