Skip to content

Instantly share code, notes, and snippets.

@shufflecode
Created May 30, 2019 18:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shufflecode/15313bb171d6bbdffd9fb13b1fa0e032 to your computer and use it in GitHub Desktop.
Save shufflecode/15313bb171d6bbdffd9fb13b1fa0e032 to your computer and use it in GitHub Desktop.
alsa-info output
upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.64
!!################################
!!Script ran on: Thu May 30 18:28:18 UTC 2019
!!Linux Distribution
!!------------------
ID_LIKE=debian
!!DMI Information
!!---------------
Manufacturer:
Product Name:
Product Version:
Firmware Version:
!!Kernel Information
!!------------------
Kernel release: 4.19.42-v7+
Operating System: GNU/Linux
Architecture: armv7l
Processor: unknown
SMP Enabled: Yes
!!ALSA Version
!!------------
Driver version: k4.19.42-v7+
Library version: 1.1.3
Utilities version: 1.1.3
!!Loaded ALSA modules
!!-------------------
snd_bcm2835
snd_soc_seeed_voicecard
!!Sound Servers on this system
!!----------------------------
No sound servers found.
!!Soundcards recognised by ALSA
!!-----------------------------
0 [ALSA ]: bcm2835_alsa - bcm2835 ALSA
bcm2835 ALSA
1 [seeed4micvoicec]: seeed-4mic-voic - seeed-4mic-voicecard
seeed-4mic-voicecard
!!Modprobe options (Sound related)
!!--------------------------------
snd_pcsp: index=-2
snd_usb_audio: index=-2
snd_atiixp_modem: index=-2
snd_intel8x0m: index=-2
snd_via82xx_modem: index=-2
!!Loaded sound module options
!!---------------------------
!!Module: snd_bcm2835
enable_compat_alsa : Y
enable_hdmi : N
enable_headphones : N
force_bulk : N
!!Module: snd_soc_seeed_voicecard
* :
!!ALSA Device nodes
!!-----------------
crw-rw---- 1 root audio 116, 0 May 30 12:56 /dev/snd/controlC0
crw-rw---- 1 root audio 116, 32 May 30 12:56 /dev/snd/controlC1
crw-rw---- 1 root audio 116, 16 May 30 12:56 /dev/snd/pcmC0D0p
crw-rw---- 1 root audio 116, 17 May 30 12:56 /dev/snd/pcmC0D1p
crw-rw---- 1 root audio 116, 56 May 30 12:56 /dev/snd/pcmC1D0c
crw-rw---- 1 root audio 116, 1 May 30 12:56 /dev/snd/seq
crw-rw---- 1 root audio 116, 33 May 30 12:56 /dev/snd/timer
/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root 80 May 30 12:56 .
drwxr-xr-x 3 root root 200 May 30 12:56 ..
lrwxrwxrwx 1 root root 12 May 30 12:56 platform-soc:audio -> ../controlC0
lrwxrwxrwx 1 root root 12 May 30 12:56 platform-soc:sound -> ../controlC1
!!ALSA configuration files
!!------------------------
!!System wide config file (/etc/asound.conf)
pcm.!default {
type asym
playback.pcm {
type plug
slave.pcm "hw:0,0"
}
capture.pcm {
type plug
slave.pcm "hw:1,0"
}
}
!!Aplay/Arecord output
!!--------------------
APLAY
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 7/7
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 IEC958/HDMI [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
ARECORD
**** List of CAPTURE Hardware Devices ****
card 1: seeed4micvoicec [seeed-4mic-voicecard], device 0: bcm2835-i2s-ac10x-codec0 ac10x-codec.1-003b-0 []
Subdevices: 0/1
Subdevice #0: subdevice #0
!!Amixer output
!!-------------
!!-------Mixer controls for card 0 [ALSA]
Card hw:0 'ALSA'/'bcm2835 ALSA'
Mixer name : 'Broadcom Mixer'
Components : ''
Controls : 5
Simple ctrls : 1
Simple mixer control 'PCM',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback -10239 - 400
Mono: Playback 400 [100%] [4.00dB] [on]
!!-------Mixer controls for card 1 [seeed4micvoicec]:]
Card hw:1 'seeed4micvoicec'/'seeed-4mic-voicecard'
Mixer name : ''
Components : ''
Controls : 8
Simple ctrls : 8
Simple mixer control 'ADC1 PGA gain',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 31
Mono: 0 [0%]
Simple mixer control 'ADC2 PGA gain',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 31
Mono: 0 [0%]
Simple mixer control 'ADC3 PGA gain',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 31
Mono: 0 [0%]
Simple mixer control 'ADC4 PGA gain',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 31
Mono: 0 [0%]
Simple mixer control 'CH1 digital volume',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 255
Mono: 222 [87%]
Simple mixer control 'CH2 digital volume',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 255
Mono: 222 [87%]
Simple mixer control 'CH3 digital volume',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 255
Mono: 222 [87%]
Simple mixer control 'CH4 digital volume',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 255
Mono: 222 [87%]
!!Alsactl output
!!--------------
--startcollapse--
state.ALSA {
control.1 {
iface MIXER
name 'PCM Playback Volume'
value 400
comment {
access 'read write'
type INTEGER
count 1
range '-10239 - 400'
dbmin -9999999
dbmax 400
dbvalue.0 400
}
}
control.2 {
iface MIXER
name 'PCM Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.3 {
iface MIXER
name 'PCM Playback Route'
value 1
comment {
access 'read write'
type INTEGER
count 1
range '0 - 2'
}
}
control.4 {
iface PCM
name 'IEC958 Playback Default'
value '0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
comment {
access 'read write'
type IEC958
count 1
}
}
control.5 {
iface PCM
name 'IEC958 Playback Con Mask'
value '0200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
comment {
access read
type IEC958
count 1
}
}
}
state.seeed4micvoicec {
control.1 {
iface MIXER
name 'CH1 digital volume'
value 222
comment {
access 'read write'
type INTEGER
count 1
range '0 - 255'
dbmin -11925
dbmax 7200
dbvalue.0 4725
}
}
control.2 {
iface MIXER
name 'CH2 digital volume'
value 222
comment {
access 'read write'
type INTEGER
count 1
range '0 - 255'
dbmin -11925
dbmax 7200
dbvalue.0 4725
}
}
control.3 {
iface MIXER
name 'CH3 digital volume'
value 222
comment {
access 'read write'
type INTEGER
count 1
range '0 - 255'
dbmin -11925
dbmax 7200
dbvalue.0 4725
}
}
control.4 {
iface MIXER
name 'CH4 digital volume'
value 222
comment {
access 'read write'
type INTEGER
count 1
range '0 - 255'
dbmin -11925
dbmax 7200
dbvalue.0 4725
}
}
control.5 {
iface MIXER
name 'ADC1 PGA gain'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 31'
dbmin 0
dbmax 3100
dbvalue.0 0
}
}
control.6 {
iface MIXER
name 'ADC2 PGA gain'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 31'
dbmin 0
dbmax 3100
dbvalue.0 0
}
}
control.7 {
iface MIXER
name 'ADC3 PGA gain'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 31'
dbmin 0
dbmax 3100
dbvalue.0 0
}
}
control.8 {
iface MIXER
name 'ADC4 PGA gain'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 31'
dbmin 0
dbmax 3100
dbvalue.0 0
}
}
}
--endcollapse--
!!All Loaded Modules
!!------------------
Module
bnep
hci_uart
btbcm
serdev
bluetooth
ecdh_generic
spidev
brcmfmac
brcmutil
sha256_generic
cfg80211
rfkill
bcm2835_codec
bcm2835_v4l2
i2c_bcm2835
v4l2_mem2mem
v4l2_common
bcm2835_mmal_vchiq
raspberrypi_hwmon
videobuf2_vmalloc
videobuf2_dma_contig
snd_bcm2835
videobuf2_memops
hwmon
videobuf2_v4l2
videobuf2_common
spi_bcm2835
snd_soc_bcm2835_i2s
videodev
vc_sm_cma
media
uio_pdrv_genirq
uio
fixed
snd_soc_wm8960
snd_soc_ac108
snd_soc_seeed_voicecard
snd_soc_simple_card_utils
snd_soc_core
snd_compress
snd_pcm_dmaengine
snd_pcm
snd_timer
snd
i2c_dev
ip_tables
x_tables
ipv6
!!ALSA/HDA dmesg
!!--------------
[ 2.656493] i2c /dev entries driver
[ 2.787764] snd_soc_seeed_voicecard: loading out-of-tree module taints kernel.
[ 3.150151] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
--
[ 3.629515] videodev: Linux video capture interface: v2.00
[ 3.670997] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 3.693136] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
--
[ 4.023201] ac108_set_sysclk :24000000
[ 4.029594] seeed-voicecard soc:sound: ac10x-codec.1-003b <-> 3f203000.i2s mapping ok
[ 4.088315] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment