# OnOff SHIM does not shut down

**URL:** <https://forums.pimoroni.com/t/onoff-shim-does-not-shut-down/25369>\
**Category:** Support\
**Created:** [August 27, 2024, 1:19pm UTC](https://forums.pimoroni.com/t/onoff-shim-does-not-shut-down/25369 "2024-08-27T13:19:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![earlmckay](https://avatars.discourse-cdn.com/v4/letter/e/e47c2d/32.png) [@earlmckay](https://forums.pimoroni.com/u/earlmckay)\
**Post date:** [August 27, 2024, 1:19pm UTC](https://forums.pimoroni.com/t/onoff-shim-does-not-shut-down/25369/1 "2024-08-27T13:19:25Z")

</div>

Hello everyone,  
I am stuck at the moment and need some help with a problem that has suddenly come up.

A bit of background and hardware:  
In early 2021 I developed an internet radio using a Raspberry Pi zero as a base, a rotary encoder, an LED, a HifiBerry MiniAMP and of course an OnOff SHIM.  
Between 2021 and now I have assembled a total of 6 fully functional units.  
The pin assignment is shown in the picture. (The blue dots are the GPIOs used by the MiniAMP)

 ![GPIO_assignment](https://us1.discourse-cdn.com/flex016/uploads/pimoroni/original/2X/2/2d9e91e0d33e505a7d1d46121a42bdff4b434efd.jpeg)

Now I’m sitting in front of another one, but I’m having trouble with the on-off SHIM. The Raspberry boots when the button is pressed, but the system does not shut down (anymore) when the button is held down.

I have installed the OnOff SHIM using the command in the product description:  
curl [https://get.pimoroni.com/onoffshim](https://get.pimoroni.com/onoffshim) | bash

I have already tried the following

- Complete reinstallation of the system
- Using two other On/Off SHIM boards
- Pins soldered
- Plug connection
- Complete reinstall \> just apt-get update & upgrade + OnOff SHIM installation
- Removed the “#” from “daemon\_active=1” in cleanshutd.conf

Like I said: Since I have already successfully installed 6 of them I suspect that some software component must have changed to break the correct function.

Does anyone have any ideas on how to isolate the problem further or even fix it?

---

<div class="post-metadata">

**Author:** ![earlmckay](https://avatars.discourse-cdn.com/v4/letter/e/e47c2d/32.png) [@earlmckay](https://forums.pimoroni.com/u/earlmckay)\
**Post date:** [August 29, 2024, 5:20am UTC](https://forums.pimoroni.com/t/onoff-shim-does-not-shut-down/25369/2 "2024-08-29T05:20:17Z")

</div>

I was able to isolate the problem further and found a temporary solution for myself until Pimoroni took action.  
Over the years, a new Debian version has appeared in the RP Image installer, namely **“Bookworm”**. The OnOff SHIM is not compatible with this version!  
After I downgraded to the older version **“Bullseye”** , everything works as usual.

Perhaps someone from Pimoroni can confirm this and tell the development team to adjust the installation script?
