# Balena Audio Block fails on Intel NUC

**URL:** <https://forums.balena.io/t/balena-audio-block-fails-on-intel-nuc/368803>\
**Category:** Product support\
**Tags:** audio\
**Created:** [August 24, 2023, 11:49am UTC](https://forums.balena.io/t/balena-audio-block-fails-on-intel-nuc/368803 "2023-08-24T11:49:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lukasknk](https://avatars.discourse-cdn.com/v4/letter/l/ecc23a/32.png) [@lukasknk](https://forums.balena.io/u/lukasknk)\
**Post date:** [August 24, 2023, 11:49am UTC](https://forums.balena.io/t/balena-audio-block-fails-on-intel-nuc/368803/1 "2023-08-24T11:49:24Z")

</div>

Hey guys

I’ve tried running the same software of ours a Intel NUC. But somehow the audio block is always failing with this error: `amixer: Control sysdefault:0 element write error: Operation not permitted`. This confuses me specifically because the same thing works just fine on a generic x86 (GPT) image.

Is there someone that can help me find a solution to this issue?

any help is appreciated!

---

<div class="post-metadata">

**Author:** ![lukasknk](https://avatars.discourse-cdn.com/v4/letter/l/ecc23a/32.png) [@lukasknk](https://forums.balena.io/u/lukasknk)\
**Post date:** [August 25, 2023, 7:53am UTC](https://forums.balena.io/t/balena-audio-block-fails-on-intel-nuc/368803/2 "2023-08-25T07:53:15Z")

</div>

So far i was able to pinpoint the issue to one of the two commands:

```auto
amixer --card hda-intel --quiet cset numid=2 on,on # Master Playback Switch --> turn on hardware
amixer --card hda-intel --quiet cset numid=1 87,87 # Master Playback Volume --> max volume

```

normal amixer commands work, simply any set commands that writes something fail. But i still don’t know exactly why. I hope somebody is able to help here since the intel nuc image is officially supported.

---

<div class="post-metadata">

**Author:** ![lukasknk](https://avatars.discourse-cdn.com/v4/letter/l/ecc23a/32.png) [@lukasknk](https://forums.balena.io/u/lukasknk)\
**Post date:** [August 25, 2023, 9:30am UTC](https://forums.balena.io/t/balena-audio-block-fails-on-intel-nuc/368803/3 "2023-08-25T09:30:15Z")

</div>

this is just for reference for any other that might had the same issue. The problem boiled down to two things:

1. pulseaudio was not started as i didn’t had my X server volume linked in the docker compose file
2. i had to create a custom block with the `init_audio_hardware` function removed, since it was trying to set something on a card that didn’t exist which lead to a infinite restart loop

---

<div class="post-metadata">

**Author:** ![mpous](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/mpous/32/4742_2.png) [@mpous](https://forums.balena.io/u/mpous)\
**Post date:** [August 31, 2023, 11:38am UTC](https://forums.balena.io/t/balena-audio-block-fails-on-intel-nuc/368803/4 "2023-08-31T11:38:08Z")

</div>

Hello @lukasknk thanks for sharing your solution here!
