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
BPI-M1 MIC
25
Summary of Contents for BPI-M1
Page 5: ...BPI M1 hardware 5...
Page 6: ...BPI M1 hardware interface Hardware interface BPI M1 hardware interface 6...
Page 7: ...BPI M1 hardware interface 7...
Page 8: ...hardware interface BPI M1 hardware interface 8...
Page 14: ...BPI M1 GPIO Pin define 14...
Page 19: ...please note value 0 value 1 press is 1 unpress is 0 BPI M1 IR interface 19...
Page 35: ...now we test UART2 setting as below save BPI M1 UART interface 35...
Page 37: ...4 test function BPI M1 send hello pc BPI M1 receive hello Ok BPI M1 UART interface 37...
Page 39: ...BPI M1 UART interface 39...
Page 44: ...BPI M2 RoHS Certification BPI M1 CE FCC RoHS Certification 44...
Page 45: ...BPI M1 CE FCC RoHS Certification 45...
Page 46: ...BPI M1 BPI M1 software 46...
Page 64: ...Compulsive modification of HDMI output resolution Linux kernel 3 4 image 64...
Page 96: ...Reference documents Reference documents 96...
Page 110: ...BPI 4 0 customized Server 110...