Table of Contents

Advertisement

BPI-M1 MIC
BPI-M1 MIC
thank chaos.dennis do this test:
i write about this, because i found very few sources and had to tumble a lot around to get it working. This is a quick walk
through to give you a hint where to start. I asume for simplicity that you stay always in /root directory as root user. If
something fails, look if the files are written and paths are right. It is adressed for more advanced users who know what they
are basically doing.
This is done with bananian 15.08 on Kernel 3.4. Other kernels < 4.4 do not work. It is a headless server with no HDMI
pluged in.
A. Basic Setup
Install alsa (renove pulseaudio if present):
# apt-get install alsa-base alsa-utils
Configure asound.conf
# nano /etc/asound.conf
Should look like:
pcm.!default {
type hw
card 0 # for headphone, turn 1 to 0
device 0
}
ctl.!default {
type hw
card 0 # for headphone, turn 1 to 0
}
Shutdown, make a cold boot
Call the alsamixer
# alsamixer
Press F5. Your channels should be setup like the attached file at the bottom of this post, or compare it to amixer
output:
# amixer
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined
Playback channels: Mono
Limits: Playback 0 - 63
Mono: Playback 45 [71%]
Simple mixer control 'Master Capture Mute',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'LineL',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'LineR',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Linein Pre-AMP',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 7
25

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents