Last active
May 17, 2016 17:50
-
-
Save NicoHood/460b9b0e4984b5a41d15dc0f33122168 to your computer and use it in GitHub Desktop.
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
pi@raspberrypi:~ $ aplay -l | |
**** 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 | |
card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio] | |
Subdevices: 1/1 | |
Subdevice #0: subdevice #0 | |
card 2: Hub [M-Track Hub], device 0: USB Audio [USB Audio] | |
Subdevices: 1/1 | |
Subdevice #0: subdevice #0 | |
pi@raspberrypi:~ $ lsmod | |
Module Size Used by | |
bnep 10340 2 | |
hci_uart 17943 1 | |
btbcm 5929 1 hci_uart | |
bluetooth 326105 22 bnep,btbcm,hci_uart | |
nfsd 246430 1 | |
brcmfmac 186599 0 | |
brcmutil 5661 1 brcmfmac | |
cfg80211 427855 1 brcmfmac | |
rfkill 16037 4 cfg80211,bluetooth | |
snd_bcm2835 20511 1 | |
bcm2835_gpiomem 3040 0 | |
bcm2835_wdt 3225 0 | |
snd_usb_audio 118544 0 | |
snd_hwdep 5727 1 snd_usb_audio | |
snd_usbmidi_lib 19801 1 snd_usb_audio | |
snd_rawmidi 18452 1 snd_usbmidi_lib | |
snd_seq_device 3621 1 snd_rawmidi | |
snd_pcm 75698 2 snd_bcm2835,snd_usb_audio | |
snd_timer 19160 1 snd_pcm | |
snd 51844 10 snd_bcm2835,snd_usb_audio,snd_hwdep,snd_timer,snd_pcm,snd_rawmidi,snd_usbmidi_lib,snd_seq_device | |
evdev 11396 2 | |
uio_pdrv_genirq 3164 0 | |
uio 8000 1 uio_pdrv_genirq | |
i2c_dev 5859 0 | |
fuse 83461 3 | |
ipv6 347530 64 | |
pi@raspberrypi:~ $ aplay -L | |
null | |
Discard all samples (playback) or generate zero samples (capture) | |
pulse | |
PulseAudio Sound Server | |
default | |
Playback/recording through the PulseAudio sound server | |
sysdefault:CARD=ALSA | |
bcm2835 ALSA, bcm2835 ALSA | |
Default Audio Device | |
dmix:CARD=ALSA,DEV=0 | |
bcm2835 ALSA, bcm2835 ALSA | |
Direct sample mixing device | |
dmix:CARD=ALSA,DEV=1 | |
bcm2835 ALSA, bcm2835 IEC958/HDMI | |
Direct sample mixing device | |
dsnoop:CARD=ALSA,DEV=0 | |
bcm2835 ALSA, bcm2835 ALSA | |
Direct sample snooping device | |
dsnoop:CARD=ALSA,DEV=1 | |
bcm2835 ALSA, bcm2835 IEC958/HDMI | |
Direct sample snooping device | |
hw:CARD=ALSA,DEV=0 | |
bcm2835 ALSA, bcm2835 ALSA | |
Direct hardware device without any conversions | |
hw:CARD=ALSA,DEV=1 | |
bcm2835 ALSA, bcm2835 IEC958/HDMI | |
Direct hardware device without any conversions | |
plughw:CARD=ALSA,DEV=0 | |
bcm2835 ALSA, bcm2835 ALSA | |
Hardware device with all software conversions | |
plughw:CARD=ALSA,DEV=1 | |
bcm2835 ALSA, bcm2835 IEC958/HDMI | |
Hardware device with all software conversions | |
sysdefault:CARD=Hub | |
M-Track Hub, USB Audio | |
Default Audio Device | |
front:CARD=Hub,DEV=0 | |
M-Track Hub, USB Audio | |
Front speakers | |
surround21:CARD=Hub,DEV=0 | |
M-Track Hub, USB Audio | |
2.1 Surround output to Front and Subwoofer speakers | |
surround40:CARD=Hub,DEV=0 | |
M-Track Hub, USB Audio | |
4.0 Surround output to Front and Rear speakers | |
surround41:CARD=Hub,DEV=0 | |
M-Track Hub, USB Audio | |
4.1 Surround output to Front, Rear and Subwoofer speakers | |
surround50:CARD=Hub,DEV=0 | |
M-Track Hub, USB Audio | |
5.0 Surround output to Front, Center and Rear speakers | |
surround51:CARD=Hub,DEV=0 | |
M-Track Hub, USB Audio | |
5.1 Surround output to Front, Center, Rear and Subwoofer speakers | |
surround71:CARD=Hub,DEV=0 | |
M-Track Hub, USB Audio | |
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers | |
iec958:CARD=Hub,DEV=0 | |
M-Track Hub, USB Audio | |
IEC958 (S/PDIF) Digital Audio Output | |
dmix:CARD=Hub,DEV=0 | |
M-Track Hub, USB Audio | |
Direct sample mixing device | |
dsnoop:CARD=Hub,DEV=0 | |
M-Track Hub, USB Audio | |
Direct sample snooping device | |
hw:CARD=Hub,DEV=0 | |
M-Track Hub, USB Audio | |
Direct hardware device without any conversions | |
plughw:CARD=Hub,DEV=0 | |
M-Track Hub, USB Audio | |
Hardware device with all software conversions | |
pi@raspberrypi:~ $ nano .asoundrc | |
pcm.!default { | |
type hw | |
card 1 | |
} | |
ctl.!default { | |
type hw | |
card 1 | |
} | |
pi@raspberrypi:~ $ aplay /usr/share/sounds/alsa/Front_Center.wav | |
Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono | |
aplay: set_params:1233: Sample format non available | |
Available formats: | |
- S24_3LE | |
pi@raspberrypi:~ $ nano .asoundrc | |
pcm.!default { | |
type sysdefault | |
card 1 | |
} | |
ctl.!default { | |
type sysdefault | |
card 1 | |
} | |
pi@raspberrypi:~ $ aplay /usr/share/sounds/alsa/Front_Center.wav | |
ALSA lib dlmisc.c:252:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/arm-linux-gnueabihf/alsa-lib/libasound_module_pcm_sysdefault.so | |
aplay: main:722: audio open error: No such device or address | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment