Code: Select all
speaker-testCode: Select all
$ lspci | grep -i audio
1c:00.1 Audio device: NVIDIA Corporation TU106 High Definition Audio Controller (rev a1)
1e:00.0 Audio device: Creative Labs Device 0010 (rev 01)
20:00.3 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) HD Audio Controller
Then, in my kernel I made sure that the following points are enabled:
Code: Select all
Device Drivers --->
<*> Sound card support
<*> Advanced Linux Sound Architecture --->
[*] PCI sound devices --->
<*> Creative Sound Blaster X-Fi
<*> (Creative) Ensoniq AudioPCI 1370
<*> (Creative) Ensoniq AudioPCI 1371/1373
[*] USB sound devices --->
<*> USB Audio/MIDI driver
HD Audio --->
<*> Build Realtek HD-audio codec support
<*> Build Creative CA0110-IBG codec support
<*> Build Creative CA0132 codec support
<*> Build Silicon Labs 3054 HD-modem codec support
Below is the .asoundrc file I made
Code: Select all
[~/.asoundrc]
defaults.pcm.card 1
defaults.ctl.card 1
defaults.pcm.device 0
Code: Select all
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: Generic Digital [Generic Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Creative [HDA Creative], device 0: CA0132 Analog [CA0132 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Creative [HDA Creative], device 1: CA0132 Digital [CA0132 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Generic [HD-Audio Generic], device 0: ALC1220 Analog [ALC1220 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Generic [HD-Audio Generic], device 1: ALC1220 Digital [ALC1220 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
Code: Select all
$ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
hdmi:CARD=NVidia,DEV=0
HDA NVidia, Generic Digital
HDMI Audio Output
default:CARD=Creative
HDA Creative, CA0132 Analog
Default Audio Device
sysdefault:CARD=Creative
HDA Creative, CA0132 Analog
Default Audio Device
front:CARD=Creative,DEV=0
HDA Creative, CA0132 Analog
Front output / input
surround21:CARD=Creative,DEV=0
HDA Creative, CA0132 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Creative,DEV=0
HDA Creative, CA0132 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Creative,DEV=0
HDA Creative, CA0132 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Creative,DEV=0
HDA Creative, CA0132 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Creative,DEV=0
HDA Creative, CA0132 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Creative,DEV=0
HDA Creative, CA0132 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Creative,DEV=0
HDA Creative, CA0132 Digital
IEC958 (S/PDIF) Digital Audio Output
default:CARD=Generic
HD-Audio Generic, ALC1220 Analog
Default Audio Device
sysdefault:CARD=Generic
HD-Audio Generic, ALC1220 Analog
Default Audio Device
front:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
Front output / input
surround21:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Digital
IEC958 (S/PDIF) Digital Audio Output
Alsamixer looks very promising (when I had some kernel options missing, it didn't look as promising as now), I configured it the way it should play sound on the headphones... But I can't hear anything with
Code: Select all
speaker-test

