# Pas de son picade X hat

**URL:** <https://forums.pimoroni.com/t/pas-de-son-picade-x-hat/13364>\
**Category:** Picade\
**Created:** [March 21, 2020, 8:11pm UTC](https://forums.pimoroni.com/t/pas-de-son-picade-x-hat/13364 "2020-03-21T20:11:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yanous](https://avatars.discourse-cdn.com/v4/letter/y/d26b3c/32.png) [@Yanous](https://forums.pimoroni.com/u/Yanous)\
**Post date:** [March 21, 2020, 8:11pm UTC](https://forums.pimoroni.com/t/pas-de-son-picade-x-hat/13364/1 "2020-03-21T20:11:22Z")

</div>

Hello,  
I cannot get sound with the Picade X Hat card, the connected speaker does not give sound. I tried with the jack port of the raspberry pi 4 and it’s ok but very weak. I can’t find the information. I installed the drivers: “curl -sS [https://get.pimoroni.com/picadehat](https://get.pimoroni.com/picadehat) | bash” and nothing … under retropie nothing … I despair. Can you help me ? thank you.

---

<div class="post-metadata">

**Author:** ![mironc](https://avatars.discourse-cdn.com/v4/letter/m/b5e925/32.png) [@mironc](https://forums.pimoroni.com/u/mironc)\
**Post date:** [March 21, 2020, 10:33pm UTC](https://forums.pimoroni.com/t/pas-de-son-picade-x-hat/13364/2 "2020-03-21T22:33:30Z")

</div>

Hi,  
A few more details would help…  
What image are you using on your sd card? Is it RetroPie, or a pre-installed card?  
Does everything else work - arcade buttons, joystick, etc?  
My experience with the sound on my Pi3 was that when I installed the X HAT driver, the jack port sound output was disabled. It’s odd that you still get sound from the jack port.

---

<div class="post-metadata">

**Author:** ![Yanous](https://avatars.discourse-cdn.com/v4/letter/y/d26b3c/32.png) [@Yanous](https://forums.pimoroni.com/u/Yanous)\
**Post date:** [March 22, 2020, 7:54am UTC](https://forums.pimoroni.com/t/pas-de-son-picade-x-hat/13364/3 "2020-03-22T07:54:49Z")

</div>

Hello Mironc,

Thank you for your help. Indeed the sound always comes out of the Jack …  
I installed Retropie via the procedure below on a 16 GB microSD. In addition, I installed the Picade drivers several times and the answer is still “already installed”.

> **[Raspberry Pi 4: comment exécuter des émulateurs comme RetroPie - Davfi](https://davfi.fr/raspberry-pi-4-comment-executer-des-emulateurs-comme-retropie/)**
>
> Lancé officiellement le 24 juin, mais même après plusieurs semaines, il n’existait aucun moyen officiellement reconnu d’émuler des jeux sur...

  
At the root of the boot partition, I found a file named “config.txt.picade-preinstall.txt”, copied it and renamed it to “config.txt”. After restarting, still no sound.

In emulstation, what parameters should you choose: audio card? audio device? OMX player?

I do not know what to do…

See you soon.

---

<div class="post-metadata">

**Author:** ![Yanous](https://avatars.discourse-cdn.com/v4/letter/y/d26b3c/32.png) [@Yanous](https://forums.pimoroni.com/u/Yanous)\
**Post date:** [March 22, 2020, 12:19pm UTC](https://forums.pimoroni.com/t/pas-de-son-picade-x-hat/13364/4 "2020-03-22T12:19:45Z")

</div>

Hello again,

Following various tests, I have sound on the games but the volume is at the maximum. with certain games I can adjust it, but older games don’t have the option. Also I don’t have music on the GUI.  
I also have massage when I put myself on the command line “Alsa lib controle.c: (snd\_ctrl\_open\_noupdate) Invalid CTL dmix, lv10: VolumeControl :: init () - Failed to attach to default card!”  
What should I do ?  
Thank you all for your help.

---

<div class="post-metadata">

**Author:** ![mironc](https://avatars.discourse-cdn.com/v4/letter/m/b5e925/32.png) [@mironc](https://forums.pimoroni.com/u/mironc)\
**Post date:** [March 23, 2020, 4:59pm UTC](https://forums.pimoroni.com/t/pas-de-son-picade-x-hat/13364/5 "2020-03-23T16:59:00Z")

</div>

The file “config.txt.picade-preinstall.txt” in the boot folder is a copy of the config.txt file that the xhat installer makes before it changes the file. If you’ve copied this file back to config.txt, you need to reverse that change.

In Emulation Station my sound settings are…  
Audio card: DEFAULT  
Audio Device: PCM

The sound problems and the error message on the command line are probably related. You could install the xhat driver using the manual method to see if it gives you any error messages. Do this from the command line as follows:

> git clone [GitHub - pimoroni/picade-hat: Picade HAT input daemon and setup script](https://github.com/pimoroni/picade-hat)  
> cd picade-hat  
> sudo ./install.sh
