# Use Microphone with NUC devices

**URL:** <https://forums.balena.io/t/use-microphone-with-nuc-devices/324033>\
**Category:** Product support\
**Tags:** browser\
**Created:** [June 7, 2021, 4:25pm UTC](https://forums.balena.io/t/use-microphone-with-nuc-devices/324033 "2021-06-07T16:25:39Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![ngmartins\_FF](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@ngmartins\_FF](https://forums.balena.io/u/ngmartins_FF)\
**Post date:** [June 7, 2021, 4:25pm UTC](https://forums.balena.io/t/use-microphone-with-nuc-devices/324033/1 "2021-06-07T16:25:39Z")

</div>

Hello everyone.

I was running some exploration about how to access a microphone’s input from a Balena container running in a NUC device.  
Initially, I tried to use the NUC’s built-in mic, but without success. I moved on to try with an external jack mic but with the same result.

I am using the [browser](https://github.com/balenablocks/browser) block and I am loading [this URL](https://www.onlinemictest.com/). It is basically a website that tests a mic.  
I accessed the website and allows for the mic’s usage but no sound is captured. I check all browser settings without success.  
I try other similar websites always with the same result.

Inspired by [this thread](https://forums.balena.io/t/microphone-cant-be-accessed/199283) I follow the instructions to make sure the browser permission and settings are OK.  
The first red flag is: The list of available mic devices presents shows a lot of intel stuff but nothings about the external mic.

By SSH in the browser module and running `amixer controls` i get some entries but I really do not know how relevant they are.

```
numid=8,iface=CARD,name='Front Headphone Jack'
numid=4,iface=MIXER,name='Capture Volume'
numid=6,iface=MIXER,name='Mic Boost Volume'
numid=47,iface=MIXER,name='Digital Capture Volume'
numid=7,iface=CARD,name='Mic Phantom Jack'

```

I tried to change some values as suggested in the same thread but still do not able to capture audio on the mic.

So someone any digestion how can I try next?

Thanks a lot,

Nuno

---

<div class="post-metadata">

**Author:** ![ngmartins\_FF](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@ngmartins\_FF](https://forums.balena.io/u/ngmartins_FF)\
**Post date:** [June 8, 2021, 10:51am UTC](https://forums.balena.io/t/use-microphone-with-nuc-devices/324033/2 "2021-06-08T10:51:21Z")

</div>

Following the browser block’s documentation, I am also testing using the audio block.  
It works for audio output but still no success with the mic’s input.

---

<div class="post-metadata">

**Author:** ![ngmartins\_FF](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@ngmartins\_FF](https://forums.balena.io/u/ngmartins_FF)\
**Post date:** [June 9, 2021, 7:09pm UTC](https://forums.balena.io/t/use-microphone-with-nuc-devices/324033/3 "2021-06-09T19:09:07Z")

</div>

No success until now. Any ideas will be appreciated.  
Thanks.

---

<div class="post-metadata">

**Author:** ![rmorillo24](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/rmorillo24/32/10359_2.png) [@rmorillo24](https://forums.balena.io/u/rmorillo24)\
**Post date:** [June 11, 2021, 9:26am UTC](https://forums.balena.io/t/use-microphone-with-nuc-devices/324033/4 "2021-06-11T09:26:58Z")

</div>

Hi there,

Not sure I can help a lot, because I don’t have a NUC, but I’ll share an idea just in case…  
When I tried your micTest url, it wouldn’t work on Safari, but it did on Chome. So I was thinking that maybe your browser (chromium in the case of the block) is not displaying correctly the result.  
The only project I’ve tried with a (webcam) mic has been [this](https://www.balena.io/blog/put-friends-and-loved-ones-on-the-big-screen-with-this-instant-video-call-project/) one, and I also struggled a bit to make it work but that same thread helped me. But in the end, I could here myself on the other side of the conference, so the mic \_was\_working.  
Give it a try and see if you reach to some conclusion. Good luck!

---

<div class="post-metadata">

**Author:** ![ngmartins\_FF](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@ngmartins\_FF](https://forums.balena.io/u/ngmartins_FF)\
**Post date:** [June 11, 2021, 10:25am UTC](https://forums.balena.io/t/use-microphone-with-nuc-devices/324033/6 "2021-06-11T10:25:24Z")

</div>

> [@rmorillo24](#):
>
> ut in the end, I could here myself on the other side of the conference, so the mic \_was\_working.  
> Give it a try and see if you reach to some conclusion. Good luck!

Thanks a lot for the idea 😃  
I was studying that project looking for help too. I would say my scenario is a simplification of it since we both use the browser block. I followed all the settings in the tutorial and all the ones in another topic about some recent changes on it.  
I don´t think the issue is the website for test the mic since I was given a try on several different websites including google meets. I tried Jitsi meeting too, whiteout success.  
I will keep fighting on this.  
Thanks once again.

---

<div class="post-metadata">

**Author:** ![dtischler](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/dtischler/32/2483_2.png) [@dtischler](https://forums.balena.io/u/dtischler)\
**Post date:** [June 12, 2021, 1:43am UTC](https://forums.balena.io/t/use-microphone-with-nuc-devices/324033/7 "2021-06-12T01:43:39Z")

</div>

Hi Nuno, a couple of quick thoughts. First and foremost, are you running multiple containers, or, just one container. The reason for asking, is that you may need to run the container as privileged in order to access the microphone, or, a least mount the devices via a docker-compose file if nothing else. Secondly, I was not even aware that NUC’s had built in Mic’s for that matter, ha! Mine doesn’t seem to have one, or at least I should say that there are no headphone / audio jacks on mine. The only way mine would have a Mic, is with USB Mic hooked up. Finally, just for testing purposes, you could try running a full desktop/GUI in a container, as opposed to just the browser block, simply for checking to see if the Mic is picked up and making experimentation easier. Then, start cutting back down your Dockerfile once you verify the Mic works. Hope that helps!

---

<div class="post-metadata">

**Author:** ![ngmartins\_FF](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@ngmartins\_FF](https://forums.balena.io/u/ngmartins_FF)\
**Post date:** [June 14, 2021, 7:55am UTC](https://forums.balena.io/t/use-microphone-with-nuc-devices/324033/9 "2021-06-14T07:55:43Z")

</div>

Hello, David thanks a lot for sharing those suggestions.

I tried it first as a single container (using the browser block) and then added the audio block to the project to give it a try.  
I am using the flag `privileged: true` in the docker-compose.yml. that’s what are you talking about right?  
As a troubleshoot I tried to access a webcam from the browser container and I can access it, in my mind it excludes the permissions issue, but let me know your thoughts.

I would like to give it a try with a USB mic but for now, I have not one available.  
Thanks for the idea of using a full desktop container I will give it a try.

---

<div class="post-metadata">

**Author:** ![ngmartins\_FF](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@ngmartins\_FF](https://forums.balena.io/u/ngmartins_FF)\
**Post date:** [June 14, 2021, 5:16pm UTC](https://forums.balena.io/t/use-microphone-with-nuc-devices/324033/10 "2021-06-14T17:16:58Z")

</div>

I have finally some breakthrough 😃  
I followed David’s suggestion and tried it in a desktop/GUI container Without success.

Then I ask a colleague of mine to test with a USB mic and it worked. So it really looks like there is a problem with using jack connector.  
I am able to get sound from NuC’s jack, but I am not able to use the mic.

---

<div class="post-metadata">

**Author:** ![gantonayde](https://avatars.discourse-cdn.com/v4/letter/g/94ad74/32.png) [@gantonayde](https://forums.balena.io/u/gantonayde)\
**Post date:** [June 15, 2021, 2:49pm UTC](https://forums.balena.io/t/use-microphone-with-nuc-devices/324033/11 "2021-06-15T14:49:23Z")

</div>

Hi Nuno, is the mic jack on your NUC a combo-jack or a dedicated one?

---

<div class="post-metadata">

**Author:** ![ngmartins\_FF](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@ngmartins\_FF](https://forums.balena.io/u/ngmartins_FF)\
**Post date:** [June 16, 2021, 2:58pm UTC](https://forums.balena.io/t/use-microphone-with-nuc-devices/324033/13 "2021-06-16T14:58:06Z")

</div>

> [@gantonayde](#):
>
> k on your NUC a combo-jack or a dedicated one?

Hello Genadi,  
Same jack connector for both: audio and mic. This is what you mean by a combo jack?

Also: I tried with both: dedicated microphone and the usual auricular+mic.

---

<div class="post-metadata">

**Author:** ![dtischler](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/dtischler/32/2483_2.png) [@dtischler](https://forums.balena.io/u/dtischler)\
**Post date:** [June 25, 2021, 10:22pm UTC](https://forums.balena.io/t/use-microphone-with-nuc-devices/324033/14 "2021-06-25T22:22:07Z")

</div>

I missed your reply here Nuno, I apologize! When using a full desktop container, plus a USB Mic, it works…but not with the Mic/Headphone jack? What exact model number is your NUC? I am curious if we are 100% certain that jack is actually a combo input/output jack, or is _just_ a speaker output. Of course, flashing the NUC back to Windows to test if it works there is a long process, but, could be worth a test to see if the jack is functioning properly with both Mic/Speaker there.

---

<div class="post-metadata">

**Author:** ![ngmartins\_FF](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@ngmartins\_FF](https://forums.balena.io/u/ngmartins_FF)\
**Post date:** [July 5, 2021, 10:09am UTC](https://forums.balena.io/t/use-microphone-with-nuc-devices/324033/16 "2021-07-05T10:09:49Z")

</div>

Hello David, thanks for the follow-up.

> [@dtischler](#):
>
> When using a full desktop container, plus a USB Mic, it works…but not with the Mic/Headphone jack?

Yes, that’s it!

> [@dtischler](#):
>
> What exact model number is your NUC?

My test setup is using the model NUC7i7BNH. I tried also with NUC7i7DNKE.  
I actually did the test using Windows and I can say I am sure the mic works in the jack connector.

---

<div class="post-metadata">

**Author:** ![phil-d-wilson](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/phil-d-wilson/32/3730_2.png) [@phil-d-wilson](https://forums.balena.io/u/phil-d-wilson)\
**Post date:** [July 7, 2021, 10:03am UTC](https://forums.balena.io/t/use-microphone-with-nuc-devices/324033/20 "2021-07-07T10:03:09Z")

</div>

Hey Nuno,

Can you confirm that the microphone works on another linux distribution like Ubuntu or Debian? If so, can you tell us what modules it is using, and what ALSA configuration files?

Thanks,  
Phil

---

<div class="post-metadata">

**Author:** ![ngmartins\_FF](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@ngmartins\_FF](https://forums.balena.io/u/ngmartins_FF)\
**Post date:** [July 7, 2021, 10:48am UTC](https://forums.balena.io/t/use-microphone-with-nuc-devices/324033/22 "2021-07-07T10:48:22Z")

</div>

I was tried to run Debina inside a container and it didn’t work this way.  
But I never tried it without balena (just Debian / Ubunto).  
I can give it a try and back to you with the results.

---

<div class="post-metadata">

**Author:** ![klutchell](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/klutchell/32/861_2.png) [@klutchell](https://forums.balena.io/u/klutchell)\
**Post date:** [July 15, 2021, 8:52pm UTC](https://forums.balena.io/t/use-microphone-with-nuc-devices/324033/23 "2021-07-15T20:52:10Z")

</div>

Hey, did you have any luck with the microphone running stock Ubuntu or Debian?

---

<div class="post-metadata">

**Author:** ![ngmartins\_FF](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@ngmartins\_FF](https://forums.balena.io/u/ngmartins_FF)\
**Post date:** [July 16, 2021, 1:10pm UTC](https://forums.balena.io/t/use-microphone-with-nuc-devices/324033/25 "2021-07-16T13:10:19Z")

</div>

Hello Kyle,

yes, I had the chance to perform the test. Sorry for the delay.

Using a stock Ubuntu I was not able to use the jack’s mic. However, I was able to use the NUC’s built-in microphone.

---

<div class="post-metadata">

**Author:** ![alexgg](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@alexgg](https://forums.balena.io/u/alexgg)\
**Post date:** [July 21, 2021, 2:56pm UTC](https://forums.balena.io/t/use-microphone-with-nuc-devices/324033/28 "2021-07-21T14:56:15Z")

</div>

Hi. could you please confirm the model of NUC device you are using?

---

<div class="post-metadata">

**Author:** ![ngmartins\_FF](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@ngmartins\_FF](https://forums.balena.io/u/ngmartins_FF)\
**Post date:** [July 21, 2021, 3:12pm UTC](https://forums.balena.io/t/use-microphone-with-nuc-devices/324033/29 "2021-07-21T15:12:48Z")

</div>

Hello, I think I already mention it above. My NUC’s model is the NUC7i7BNH.

---

<div class="post-metadata">

**Author:** ![zwhitchcox](https://avatars.discourse-cdn.com/v4/letter/z/8e7dd6/32.png) [@zwhitchcox](https://forums.balena.io/u/zwhitchcox)\
**Post date:** [July 22, 2021, 12:40am UTC](https://forums.balena.io/t/use-microphone-with-nuc-devices/324033/31 "2021-07-22T00:40:37Z")

</div>

Hi, Nuno. I tried BalenaOS with the site you mentioned, and the mic’s didn’t work, but when I tried [the link](https://meet.jit.si/) in the [Balena video project](https://www.balena.io/blog/put-friends-and-loved-ones-on-the-big-screen-with-this-instant-video-call-project), it worked.

Could try changing the website to maybe [Google Meet](https://meet.google.com) or [Jitsi Meet](https://meet.jit.si/) and see of either of those work for you?

---

<div class="post-metadata">

**Author:** ![ngmartins\_FF](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@ngmartins\_FF](https://forums.balena.io/u/ngmartins_FF)\
**Post date:** [July 22, 2021, 8:05am UTC](https://forums.balena.io/t/use-microphone-with-nuc-devices/324033/32 "2021-07-22T08:05:46Z")

</div>

Hello.  
I was tried both: Google Meet and Jitsi Meet as well as with other mic test websites never manages to use jack’s microphone. USB microphone works well.

[Next page](https://forums.balena.io/t/use-microphone-with-nuc-devices/324033.md?page=2)
