G2 Ultra front panel stopped working after piHPSDR upgrade
Posted: Wed Oct 22, 2025 11:50 am
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.
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.