Page 1 of 1

G2 Ultra front panel stopped working after piHPSDR upgrade

Posted: Wed Oct 22, 2025 11:50 am
by N4QNT
I had an issue over the weekend trying to update to the latest pihpsdr Melton/Christoph 2.5v using:

cd $HOME\
>
git clone https://github.com/dl1ycf/pihpsdr
cd pihpsdr
LINUX/libinstall.sh
make

After the clean install, there is no selection in the start drop-down window to select the G2 Ultra MKII, and the front face control features VFO, Buttons, and knobs would not function. After corresponding with Christoph
He sent me this message:

I just got a message from the G2 team that they forgot to notify me about
changed "udev rules", they have added serial line support for a G2 with Raspi-CM5 and
Mk2 8-inch panel but not told me. So if you have such a (brand-new) machine
This explains your observation:

Executing LINUX/libinstall.sh installs new udev rules (effectively overwriting
what has been there before, and not having the appropriate rule
for the actual hardware results in losing the serial connection (that is,
panel does not work).

I have now updated the pihpsdr repo accordingly for several branches (Rel-2.4, Rel-2.5
and current master branch). at the end of LINUX/libinstall.sh, some files are copied
to /etc/udev/rules.d.

This is done independently when updating p2app and when updating
pihpsdr. The file in question is

61-g2-serial.rules

Until this morning, the pihpsdr version did not contain the lines

# detect G2 with Rpi-CM5 and Mk2 8" control front on UART2 (pins 7, 29)
# Rpi-CM4 UART2, base register address 0x1F00038000
ATTR{iomem_base}=="0x1F00038000", SYMLINK+="serial/by-id/g2-front-9600", GOTO="g2_other"

which (as far as I know) are needed for new G2-Ultras with the CM5 compute module...

After running the above Script again after Christoph's update, all is good now.

Re: For Latest G2 Ultra with Raspi-CM5 modual

Posted: Thu Oct 23, 2025 11:51 am
by laurencebarker
Christoph and I have agreed that he will remove the file from th piHPSDR repository. It belongs to the Saturn one (where it has always been).

The issue is: the newer file in the Saturn repository sets up the serial device names for CM5 modules, as well as previous ones.

If you have installed piHPSDR recently and lost the use of your front panel you may need to manually re-install the rules. This is a "once only" process.

open a new terminal window then type:
cd ~/github/Saturn/rules
sudo ./install-rules.sh

Re: For Latest G2 Ultra with Raspi-CM5 modual

Posted: Thu Oct 23, 2025 2:25 pm
by w-u-2-o
Do you gents want me to move this topic to the main G2 forum area? Maybe rename it, as well? Or perhaps you could post something regarding this most recent update, Laurence?

Re: For Latest G2 Ultra with Raspi-CM5 modual

Posted: Thu Oct 23, 2025 7:33 pm
by laurencebarker
I suspect I should post another threat in the G2 section that links to this. Never tried that, but I imagine it's possible.

Could you rename this one something like "G2 Ultra front panel stopped working after piHPSDR upgrade" please?

Re: For Latest G2 Ultra with Raspi-CM5 modual

Posted: Thu Oct 23, 2025 11:35 pm
by N4QNT
w-u-2-o wrote: Thu Oct 23, 2025 2:25 pm Do you gents want me to move this topic to the main G2 forum area? Maybe rename it, as well? Or perhaps you could post something regarding this most recent update, Laurence?
Yes, Scott, Laurence suggested> Could you rename this one something like 'G2 Ultra front panel stopped working after piHPSDR upgrade" please?

Thank you