Having said my part above about my carpihat system, I have been having a weird issue where I get a GIO-LAUNCH-PROCESS (INPUT/OUTPUT ERROR) crash and can't do anything.
Fresh install and only things I've changed this time is add my DAC in /boot/firmware/config.txt
And added a python script detecting gpio25 so when I turn the engine off it should safely shutdown the pi (WORKED FINE ON MY OPENAUTO PRO BUILD) but that seems to not work either.
And running SSD so should be less corrupatble
Shutdown System
-
Sambolini94
- Posts: 21
- Joined: Tue Aug 12, 2025 7:02 pm
Re: Shutdown System
This kind of error and the way the desktop looks suggest that your USB drive lost connection to the Raspberry Pi. You can try disconnecting it manually to see if the effect is similar. Check the power supply to your Raspberry Pi - it seems that under certain conditions, the voltage drops enough for the Raspberry Pi to cut off power to the USB ports.
-
Sambolini94
- Posts: 21
- Joined: Tue Aug 12, 2025 7:02 pm
Re: Shutdown System
Thanks for the reply on this. My CarPiHat Pro latches power with octocouplers and takes perm live and acc 12v so no issues with the Pi itself.Though I have a 5v usb hub plugged into the buck converter which only turns on when acc and the ssd is plugged in through this... So assume when it cranks or turn engine off the ssd stops working or loses connection 
-
alex124.rh
- Posts: 125
- Joined: Thu Jul 31, 2025 9:18 am
Re: Shutdown System
Hey,Sambolini94 wrote: Mon Aug 25, 2025 2:44 pm Thanks for the reply on this. My CarPiHat Pro latches power with octocouplers and takes perm live and acc 12v so no issues with the Pi itself.Though I have a 5v usb hub plugged into the buck converter which only turns on when acc and the ssd is plugged in through this... So assume when it cranks or turn engine off the ssd stops working or loses connection![]()
did you get the car pi hat shutdown script to work? I’m having trouble getting it to work on rpi5 with or without hudiy
-
noobychris
- Posts: 25
- Joined: Fri Aug 15, 2025 5:06 pm
- Location: Germany
- Contact:
Re: Shutdown System
@Hudiy: wouldn't it be possible to allow ruinning commands from applications.json?
I was thinking about installing kodi an retropi to my p4b, but didn't found a simple way to start them from hudiy exept register an ation via api.
Maybe a simple "command:" line, where we can put shell commands? Like "sudo shutdown now" or "kodi"
I was thinking about installing kodi an retropi to my p4b, but didn't found a simple way to start them from hudiy exept register an ation via api.
Maybe a simple "command:" line, where we can put shell commands? Like "sudo shutdown now" or "kodi"
Re: Shutdown System
It should be possible, but we first need to check how labwc behaves when one windowed application launches another. One process may inherit certain environment parameters, which might not necessarily work well between applications.
-
Sambolini94
- Posts: 21
- Joined: Tue Aug 12, 2025 7:02 pm
Re: Shutdown System
Yes works a treat! I had to edit it from the script provided on the wiki page as it had incorrect indents and made it a running service. I am using a Raspberry Pi 4 on a CarPiHAT Pro 5 and works finealex124.rh wrote: Sun Aug 31, 2025 7:11 pmHey,Sambolini94 wrote: Mon Aug 25, 2025 2:44 pm Thanks for the reply on this. My CarPiHat Pro latches power with octocouplers and takes perm live and acc 12v so no issues with the Pi itself.Though I have a 5v usb hub plugged into the buck converter which only turns on when acc and the ssd is plugged in through this... So assume when it cranks or turn engine off the ssd stops working or loses connection![]()
did you get the car pi hat shutdown script to work? I’m having trouble getting it to work on rpi5 with or without hudiy
-
alex124.rh
- Posts: 125
- Joined: Thu Jul 31, 2025 9:18 am
Re: Shutdown System
hey thanks for the reply. I was speaking to the creator and he told me I need to add a line to config.TXT however when I add this line it breaks the script did you add the line to config? He said it’s required so that it remove the power latch once it shut down
-
alex124.rh
- Posts: 125
- Joined: Thu Jul 31, 2025 9:18 am
Re: Shutdown System
sorry meant to quote you in my replySambolini94 wrote: Wed Sep 10, 2025 5:07 pmYes works a treat! I had to edit it from the script provided on the wiki page as it had incorrect indents and made it a running service. I am using a Raspberry Pi 4 on a CarPiHAT Pro 5 and works finealex124.rh wrote: Sun Aug 31, 2025 7:11 pmHey,Sambolini94 wrote: Mon Aug 25, 2025 2:44 pm Thanks for the reply on this. My CarPiHat Pro latches power with octocouplers and takes perm live and acc 12v so no issues with the Pi itself.Though I have a 5v usb hub plugged into the buck converter which only turns on when acc and the ssd is plugged in through this... So assume when it cranks or turn engine off the ssd stops working or loses connection![]()
did you get the car pi hat shutdown script to work? I’m having trouble getting it to work on rpi5 with or without hudiy
Re: Shutdown System
I find it hard to stitch all the information above together. so we need to create the script.py, update the dashboards.json and shortcut.json. I gotten the shutdown icon in the dashboard but it didn't do anything. so I think I didn't stitch the information together. any working instruction that can be shared to reduce my learning curve?