Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Enable microphone by default on NanoPi M1 Plus

Featured Replies

In the latest image for NanoPi M1 Plus, I enable the analog audio I/O on the card by adding overlays=analog-codec in /boot/armbianEnv.txt

 

But the microphone on the card is disabled by default, because the ALSA control "Mic1 Playback Switch" is set to false by default on the card.

 

Worse still, this mixer control does not appear in the alsamixer GUI, and the only way to set to true is to use the amixer command line utility, for example with:

 amixer cset name="Mixer Capture Switch" on on

I can do this inside a first boot script, and then ALSA will persist the state between reboots.

But does not seem ideal, and took me a very long time to figure out why the microphone was disabled in the first place.

 

Is there a way to have this control appear in the GUI, and for it to be enabled by default when the overlay is loaded ?

 

Guest
This topic is now closed to further replies.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.