# Pirate Audio Headphone amp: Buttons not working

**URL:** <https://forums.pimoroni.com/t/pirate-audio-headphone-amp-buttons-not-working/14343>\
**Category:** Support\
**Created:** [June 24, 2020, 11:24am UTC](https://forums.pimoroni.com/t/pirate-audio-headphone-amp-buttons-not-working/14343 "2020-06-24T11:24:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Babydalek](https://avatars.discourse-cdn.com/v4/letter/b/e68b1a/32.png) [@Babydalek](https://forums.pimoroni.com/u/Babydalek)\
**Post date:** [June 24, 2020, 11:24am UTC](https://forums.pimoroni.com/t/pirate-audio-headphone-amp-buttons-not-working/14343/1 "2020-06-24T11:24:49Z")

</div>

Thanks to the great instructions I have built my first project and up and running with Spotify. But the on screen buttons are not working? Any steps I should take to troubleshoot as I don’t think it is a hardware issue. Thanks for any advice

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [June 24, 2020, 11:45am UTC](https://forums.pimoroni.com/t/pirate-audio-headphone-amp-buttons-not-working/14343/2 "2020-06-24T11:45:41Z")

</div>

I’m thinking you probably need this.

> **[pimoroni/mopidy-raspberry-gpio](https://github.com/pimoroni/mopidy-raspberry-gpio)**
>
> Mopidy GPIO Control Plugin for the Raspberry Pi (Using RPi.GPIO) - pimoroni/mopidy-raspberry-gpio

It’s linked too from here  
[https://learn.pimoroni.com/tutorial/sandyj/getting-started-with-pirate-audio](https://learn.pimoroni.com/tutorial/sandyj/getting-started-with-pirate-audio)

The final part is the [Mopidy-Raspberry-GPIO](https://github.com/pimoroni/mopidy-raspberry-gpio) plugin that handles the button presses and links them to core Mopidy functions like playback and volume control. We suggest a default setting of playback and track skip on the top pair of buttons and volume control on the bottom ones, but this can be customised in the `/etc/mopidy/mopidy.conf` file (in the `[raspberry-gpio]` section).

---

<div class="post-metadata">

**Author:** ![Babydalek](https://avatars.discourse-cdn.com/v4/letter/b/e68b1a/32.png) [@Babydalek](https://forums.pimoroni.com/u/Babydalek)\
**Post date:** [June 24, 2020, 1:16pm UTC](https://forums.pimoroni.com/t/pirate-audio-headphone-amp-buttons-not-working/14343/3 "2020-06-24T13:16:39Z")

</div>

Thanks for the advice and I have checked the conf file and the buttons were enabled. Fell back on the old favourites of re seating the hat and then reboot, & it worked. So it might of been a hardware issue after if the HAT was not seated correctly. Time to find a case

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [June 24, 2020, 2:32pm UTC](https://forums.pimoroni.com/t/pirate-audio-headphone-amp-buttons-not-working/14343/4 "2020-06-24T14:32:57Z")

</div>

That happens some times. Glad you sorted it out. I have the older pHat Beat Pirate Radio. Mine is mounted in an old subwoofer box. I added mini arcade buttons to make life easier. I just wired them up to the same GPIO used by the buttons on the pHat Beat.
