BPI-R1 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-R1 MIC
20
Summary of Contents for BPI-R1
Page 5: ...BPI R1 hardware interface BPI R1 hardware interface Front Back BPI R1 hardware interface 5...
Page 6: ...Hardware connect sketch map Front Back BPI R1 hardware interface 6...
Page 7: ...BPI R1 hardware interface 7...
Page 8: ...BPI R1 hardware spec BPI R1 hardware spec 8...
Page 14: ...J13 P01 UART0 RX PB23 J13 P02 UART0 TX PB22 BPI R1 GPIO Pin define 14...
Page 28: ...please note value 0 value 1 press is 1 unpress is 0 BPI R1 IR interface 28...
Page 41: ...BPI R1 RoHS Certification BPI R1 CE FCC RoHS Certification 41...
Page 42: ...BPI R1 CE FCC RoHS Certification 42...
Page 43: ...BPI R1 Software BPI R1 support linux android and openwrt system BPI R1 Software 43...
Page 59: ...Linux kernel 3 4 BSP image 59...