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.
G2 Ultra front panel stopped working after piHPSDR upgrade
-
laurencebarker
- Posts: 323
- Joined: Mon Nov 11, 2019 7:39 pm
Re: For Latest G2 Ultra with Raspi-CM5 modual
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
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
Laurence Barker G8NJJ
Re: For Latest G2 Ultra with Raspi-CM5 modual
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?
-
laurencebarker
- Posts: 323
- Joined: Mon Nov 11, 2019 7:39 pm
Re: For Latest G2 Ultra with Raspi-CM5 modual
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?
Could you rename this one something like "G2 Ultra front panel stopped working after piHPSDR upgrade" please?
Laurence Barker G8NJJ
Re: For Latest G2 Ultra with Raspi-CM5 modual
Yes, Scott, Laurence suggested> Could you rename this one something like 'G2 Ultra front panel stopped working after piHPSDR upgrade" please?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?
Thank you