Skip to content

Instantly share code, notes, and snippets.

Created Aug 19, 2014
Embed
What would you like to do?
# aplay -lL;
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=HD
USB Sound Blaster HD, USB Audio
Default Audio Device
sysdefault:CARD=HD
USB Sound Blaster HD, USB Audio
Default Audio Device
front:CARD=HD,DEV=0
USB Sound Blaster HD, USB Audio
Front speakers
surround21:CARD=HD,DEV=0
USB Sound Blaster HD, USB Audio
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=HD,DEV=0
USB Sound Blaster HD, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=HD,DEV=0
USB Sound Blaster HD, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=HD,DEV=0
USB Sound Blaster HD, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=HD,DEV=0
USB Sound Blaster HD, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=HD,DEV=0
USB Sound Blaster HD, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=HD,DEV=0
USB Sound Blaster HD, USB Audio
IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=HDMI,DEV=0
HDA ATI HDMI, HDMI 0
HDMI Audio Output
hdmi:CARD=HDMI,DEV=1
HDA ATI HDMI, HDMI 1
HDMI Audio Output
hdmi:CARD=HDMI,DEV=2
HDA ATI HDMI, HDMI 2
HDMI Audio Output
hdmi:CARD=HDMI,DEV=3
HDA ATI HDMI, HDMI 3
HDMI Audio Output
hdmi:CARD=HDMI,DEV=4
HDA ATI HDMI, HDMI 4
HDMI Audio Output
hdmi:CARD=HDMI,DEV=5
HDA ATI HDMI, HDMI 5
HDMI Audio Output
**** List of PLAYBACK Hardware Devices ****
card 0: HD [USB Sound Blaster HD], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HD [USB Sound Blaster HD], device 1: USB Audio [USB Audio #1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HD [USB Sound Blaster HD], device 2: USB Audio [USB Audio #2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 11: HDMI 5 [HDMI 5]
Subdevices: 1/1
Subdevice #0: subdevice #0
# lspci -nn | grep -i audio;
01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series] [1002:aab0]
# lsmod | grep ^snd;
snd_hda_codec_hdmi 45117 1
snd_usb_audio 135316 0
snd_usbmidi_lib 27484 1 snd_usb_audio
snd_rawmidi 26806 1 snd_usbmidi_lib
snd_seq_device 13132 1 snd_rawmidi
snd_hda_intel 26327 0
snd_hda_controller 26727 1 snd_hda_intel
snd_hda_codec 108552 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_controller
snd_hwdep 17244 2 snd_usb_audio,snd_hda_codec
snd_pcm 88487 5 snd_usb_audio,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer 26614 1 snd_pcm
snd 69340 10 snd_usb_audio,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_rawmidi,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_seq_device
# dmesg | grep snd;
[ 6.287516] usbcore: registered new interface driver snd-usb-audio
[ 6.874366] snd_hda_intel 0000:01:00.1: Handle VGA-switcheroo audio client
[ 6.874371] snd_hda_intel 0000:01:00.1: Force to non-snoop mode
[ 6.874417] snd_hda_intel 0000:01:00.1: irq 44 for MSI/MSI-X
[11689.051297] snd_hda_intel 0000:01:00.1: irq 44 for MSI/MSI-X
[25580.555556] snd_hda_intel 0000:01:00.1: irq 44 for MSI/MSI-X
# systool -v -m snd_hda_intel;
Module = "snd_hda_intel"
Attributes:
coresize = "26327"
initsize = "0"
initstate = "live"
refcnt = "0"
taint = ""
uevent = <store method only>
Parameters:
align_buffer_size = "-1"
bdl_pos_adj = "32,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1"
beep_mode = "Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y"
enable_msi = "-1"
enable = "Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y"
id = "(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)"
index = "-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1"
jackpoll_ms = "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
model = "(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)"
patch = "(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)"
position_fix = "-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1"
power_save = "0"
power_save_controller= "Y"
probe_mask = "-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1"
probe_only = "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
single_cmd = "N"
snoop = "Y"
Sections:
.bss = "0xffffffffa057da80"
.data = "0xffffffffa057d000"
.data.unlikely = "0xffffffffa057d7d0"
.exit.text = "0xffffffffa057a930"
.gnu.linkonce.this_module= "0xffffffffa057d800"
.init.text = "0xffffffffa0383000"
.note.gnu.build-id = "0xffffffffa057b000"
.rodata = "0xffffffffa057b040"
.rodata.str1.1 = "0xffffffffa057bf02"
.rodata.str1.8 = "0xffffffffa057c2e0"
.smp_locks = "0xffffffffa057c618"
.strtab = "0xffffffffa0386508"
.symtab = "0xffffffffa0384000"
.text = "0xffffffffa0578000"
__mcount_loc = "0xffffffffa057c848"
__param = "0xffffffffa057c628"
__verbose = "0xffffffffa057d640"
# systool -v -m snd_usb_audio
Module = "snd_usb_audio"
Attributes:
coresize = "135316"
initsize = "0"
initstate = "live"
refcnt = "0"
taint = ""
uevent = <store method only>
Parameters:
autoclock = "Y"
device_setup = "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
enable = "Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y"
id = "(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)"
ignore_ctl_error = "N"
index = "-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1"
pid = "-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1"
vid = "-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1"
Sections:
.bss = "0xffffffffa07850c0"
.data = "0xffffffffa0780000"
.exit.text = "0xffffffffa0776ee9"
.gnu.linkonce.this_module= "0xffffffffa0784e40"
.init.text = "0xffffffffa078a000"
.note.gnu.build-id = "0xffffffffa0777000"
.rodata = "0xffffffffa0777040"
.rodata.str1.1 = "0xffffffffa077ccfe"
.rodata.str1.8 = "0xffffffffa077e360"
.smp_locks = "0xffffffffa077fed8"
.strtab = "0xffffffffa0791d08"
.symtab = "0xffffffffa078b000"
.text = "0xffffffffa0767000"
__mcount_loc = "0xffffffffa077f978"
__param = "0xffffffffa077f878"
__verbose = "0xffffffffa0784670"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment