Created
June 20, 2017 09:31
-
-
Save EmerickH/ed445d61c1f05bec683d4831013dca66 to your computer and use it in GitHub Desktop.
wiredwrx's audio debug script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!!################################ | |
!!ALSA Information Script v 0.4.64 | |
!!################################ | |
!!Script ran on: Mon Jun 19 21:19:25 UTC 2017 | |
!!Linux Distribution | |
!!------------------ | |
ID_LIKE=debian | |
!!DMI Information | |
!!--------------- | |
Manufacturer: | |
Product Name: | |
Product Version: | |
Firmware Version: | |
!!Kernel Information | |
!!------------------ | |
Kernel release: 4.9.28-v7 | |
Operating System: GNU/Linux | |
Architecture: armv7l | |
Processor: unknown | |
SMP Enabled: Yes | |
!!ALSA Version | |
!!------------ | |
Driver version: k4.9.28-v7 | |
Library version: 1.0.28 | |
Utilities version: 1.0.28 | |
!!Loaded ALSA modules | |
!!------------------- | |
snd_bcm2835 | |
snd_usb_audio | |
!!Sound Servers on this system | |
!!---------------------------- | |
Pulseaudio: | |
Installed - Yes (/usr/bin/pulseaudio) | |
Running - Yes | |
Jack: | |
Installed - Yes (/usr/bin/jackd) | |
Running - No | |
!!Soundcards recognised by ALSA | |
!!----------------------------- | |
0 [ALSA ]: bcm2835 - bcm2835 ALSA | |
bcm2835 ALSA | |
1 [Device ]: USB-Audio - USB PnP Sound Device | |
C-Media Electronics Inc. USB PnP Sound Device at usb-3f980000.usb-1.4, full spe | |
!!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 | |
force_bulk : N | |
!!Module: snd_usb_audio | |
autoclock : Y | |
device_setup : 0,0,0,0,0,0,0,0 | |
enable : Y,Y,Y,Y,Y,Y,Y,Y | |
id : (null),(null),(null),(null),(null),(null),(null),(null) | |
ignore_ctl_error : N | |
index : -2,-1,-1,-1,-1,-1,-1,-1 | |
pid : -1,-1,-1,-1,-1,-1,-1,-1 | |
quirk_alias : (null),(null),(null),(null),(null),(null),(null),(null) | |
vid : -1,-1,-1,-1,-1,-1,-1,-1 | |
!!USB Mixer information | |
!!--------------------- | |
--startcollapse-- | |
USB Mixer: usb_id=0x80860808, ctrlif=0, ctlerr=0 | |
Card: C-Media Electronics Inc. USB PnP Sound Device at usb-3f980000.usb-1.4, full spe | |
Unit: 10 | |
Control: name="Auto Gain Control", index=0 | |
Info: id=10, control=7, cmask=0x0, channels=1, type="BOOLEAN" | |
Volume: min=0, max=1, dBmin=0, dBmax=0 | |
Unit: 10 | |
Control: name="Mic Capture Volume", index=0 | |
Info: id=10, control=2, cmask=0x0, channels=1, type="S16" | |
Volume: min=0, max=6096, dBmin=0, dBmax=2381 | |
Unit: 10 | |
Control: name="Mic Capture Switch", index=0 | |
Info: id=10, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN" | |
Volume: min=0, max=1, dBmin=0, dBmax=0 | |
--endcollapse-- | |
!!ALSA Device nodes | |
!!----------------- | |
crw-rw---- 1 root audio 116, 0 Jun 19 14:13 /dev/snd/controlC0 | |
crw-rw---- 1 root audio 116, 32 Jun 19 14:13 /dev/snd/controlC1 | |
crw-rw---- 1 root audio 116, 16 Jun 19 14:13 /dev/snd/pcmC0D0p | |
crw-rw---- 1 root audio 116, 17 Jun 19 14:13 /dev/snd/pcmC0D1p | |
crw-rw---- 1 root audio 116, 56 Jun 19 14:13 /dev/snd/pcmC1D0c | |
crw-rw---- 1 root audio 116, 1 Jun 19 14:13 /dev/snd/seq | |
crw-rw---- 1 root audio 116, 33 Jun 19 14:13 /dev/snd/timer | |
/dev/snd/by-id: | |
total 0 | |
drwxr-xr-x 2 root root 60 Jun 19 14:13 . | |
drwxr-xr-x 4 root root 220 Jun 19 14:13 .. | |
lrwxrwxrwx 1 root root 12 Jun 19 14:13 usb-C-Media_Electronics_Inc._USB_PnP_Sound_Device-00 -> ../controlC1 | |
/dev/snd/by-path: | |
total 0 | |
drwxr-xr-x 2 root root 80 Jun 19 14:13 . | |
drwxr-xr-x 4 root root 220 Jun 19 14:13 .. | |
lrwxrwxrwx 1 root root 12 Jun 19 14:13 platform-3f980000.usb-usb-0:1.4:1.0 -> ../controlC1 | |
lrwxrwxrwx 1 root root 12 Jun 19 14:13 platform-soc:audio -> ../controlC0 | |
!!Aplay/Arecord output | |
!!-------------------- | |
APLAY | |
**** List of PLAYBACK Hardware Devices **** | |
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA] | |
Subdevices: 8/8 | |
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 | |
Subdevice #7: subdevice #7 | |
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI] | |
Subdevices: 1/1 | |
Subdevice #0: subdevice #0 | |
ARECORD | |
**** List of CAPTURE Hardware Devices **** | |
card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio] | |
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 : 6 | |
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 [Device] | |
Card hw:1 'Device'/'C-Media Electronics Inc. USB PnP Sound Device at usb-3f980000.usb-1.4, full spe' | |
Mixer name : 'USB Mixer' | |
Components : 'USB8086:0808' | |
Controls : 4 | |
Simple ctrls : 2 | |
Simple mixer control 'Mic',0 | |
Capabilities: cvolume cvolume-joined cswitch cswitch-joined | |
Capture channels: Mono | |
Limits: Capture 0 - 16 | |
Mono: Capture 0 [0%] [0.00dB] [on] | |
Simple mixer control 'Auto Gain Control',0 | |
Capabilities: pswitch pswitch-joined | |
Playback channels: Mono | |
Mono: Playback [on] | |
!!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 | |
} | |
} | |
control.6 { | |
iface PCM | |
name 'IEC958 Playback PCM Stream' | |
value '0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' | |
comment { | |
access 'read write inactive' | |
type IEC958 | |
count 1 | |
} | |
} | |
} | |
state.Device { | |
control.1 { | |
iface PCM | |
name 'Capture Channel Map' | |
value 2 | |
comment { | |
access read | |
type INTEGER | |
count 1 | |
range '0 - 36' | |
} | |
} | |
control.2 { | |
iface MIXER | |
name 'Mic Capture Switch' | |
value true | |
comment { | |
access 'read write' | |
type BOOLEAN | |
count 1 | |
} | |
} | |
control.3 { | |
iface MIXER | |
name 'Mic Capture Volume' | |
value 0 | |
comment { | |
access 'read write' | |
type INTEGER | |
count 1 | |
range '0 - 16' | |
dbmin 0 | |
dbmax 2381 | |
dbvalue.0 0 | |
} | |
} | |
control.4 { | |
iface MIXER | |
name 'Auto Gain Control' | |
value true | |
comment { | |
access 'read write' | |
type BOOLEAN | |
count 1 | |
} | |
} | |
} | |
--endcollapse-- | |
!!All Loaded Modules | |
!!------------------ | |
Module | |
bnep | |
hci_uart | |
btbcm | |
bluetooth | |
snd_usb_audio | |
snd_hwdep | |
snd_usbmidi_lib | |
snd_rawmidi | |
snd_seq_device | |
evdev | |
brcmfmac | |
brcmutil | |
cfg80211 | |
rfkill | |
snd_bcm2835 | |
snd_pcm | |
snd_timer | |
snd | |
bcm2835_gpiomem | |
uio_pdrv_genirq | |
fixed | |
uio | |
i2c_dev | |
fuse | |
ipv6 | |
!!ALSA/HDA dmesg | |
!!-------------- | |
[ 3.326020] hid-generic 0003:8086:0808.0003: input,hidraw2: USB HID v1.00 Device [C-Media Electronics Inc. USB PnP Sound Device] on usb-3f980000.usb-1.4/input2 | |
[ 3.521818] usbcore: registered new interface driver snd-usb-audio | |
[ 3.806542] systemd-journald[142]: Received request to flush runtime journal from PID 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment