树莓派4 内核版本
Linux raspberrypi 4.19.118-v7l+ #1311 SMP Mon Apr 27 14:26:42 BST 2020 armv7l GNU/Linux
respeaker产品
4-Mic Linear Array Kit for Raspberry Pi
输入arecord -L命令
null
Discard all samples (playback) or generate zero samples (capture)
jack
JACK Audio Connection Kit
pulse
PulseAudio Sound Server
default
ac108
dmixer
ac101
usbstream:CARD=b1
bcm2835 HDMI 1
USB Stream Output
usbstream:CARD=Headphones
bcm2835 Headphones
USB Stream Output
输入aplay -l 命令
**** List of PLAYBACK Hardware Devices ****
card 0: b1 [bcm2835 HDMI 1], device 0: bcm2835 HDMI 1 [bcm2835 HDMI 1]
Subdevices: 4/4
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
card 1: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
Subdevices: 4/4
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
seeed-voicecard 日志
- dtparam i2c_arm=on
- modprobe i2c-dev
- dtparam spi=on
- _VER_RUN=
- CONFIG=/boot/config.txt
++ i2cdetect -y 1 0x1a 0x1a
++ awk ‘{print $2}’
++ egrep ‘(1a|UU)’ - is_1a=1a
++ i2cdetect -y 1 0x35 0x35
++ awk ‘{print $2}’
++ egrep ‘(35|UU)’ - is_35=35
++ i2cdetect -y 1 0x3b 0x3b
++ egrep ‘(3b|UU)’
++ awk ‘{print $2}’ - is_3b=3b
- RPI_HATS=‘seeed-2mic-voicecard seeed-4mic-voicecard seeed-8mic-voicecard’
- overlay=
- ‘[’ x1a ‘!=’ x ‘]’
- ‘[’ x35 == x ‘]’
- ‘[’ x3b ‘!=’ x ‘]’
- ‘[’ x35 == x ‘]’
- ‘[’ x3b ‘!=’ x ‘]’
- ‘[’ x35 ‘!=’ x ‘]’
- echo ‘install 6mic’
install 6mic - overlay=seeed-8mic-voicecard
- asound_conf=/etc/voicecard/asound_6mic.conf
- asound_state=/etc/voicecard/ac108_6mic.state
- ‘[’ seeed-8mic-voicecard ‘]’
- echo Install seeed-8mic-voicecard …
Install seeed-8mic-voicecard … - rm /etc/asound.conf
- rm /var/lib/alsa/asound.state
- :
- dtoverlay seeed-8mic-voicecard
- echo ‘create seeed-8mic-voicecard asound configure file’
create seeed-8mic-voicecard asound configure file - ln -s /etc/voicecard/asound_6mic.conf /etc/asound.conf
- echo ‘create seeed-8mic-voicecard asound status file’
create seeed-8mic-voicecard asound status file - ln -s /etc/voicecard/ac108_6mic.state /var/lib/alsa/asound.state
- alsactl restore
No state is present for card b1
Found hardware: “bcm2835_hdmi” “Broadcom Mixer” “” “” “”
Hardware is initialized using a generic method
No state is present for card b1
No state is present for card Headphones
Found hardware: “bcm2835_headpho” “Broadcom Mixer” “” “” “”
Hardware is initialized using a generic method
No state is present for card Headphones - amixer cset numid=3 1
amixer: Cannot find the given element from control default