You are not logged in.
I am trying to get audio to work on my laptops built in intel audio using alsa.
When I run
aplay -lI can see the device I want to use (PCH) listed as card 1
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC3232 Analog [ALC3232 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0And also running
aplay -LI can see that it is set as the default audio device:
sysdefault:CARD=PCH
HDA Intel PCH, ALC3232 Analog
Default Audio DeviceHowever audio is not working for any applications. When running speaker-test I get the following output:
[~] speaker-test
speaker-test 1.2.2
Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Channels count (1) not available for playbacks: Invalid argument
Setting of hwparams failed: Invalid argumentHowever if I specify the device it works and I can hear the audio output
[~] speaker-test -D sysdefault:CARD=PCH
speaker-test 1.2.2
Playback device is sysdefault:CARD=PCH
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 16384
Period size range from 1024 to 1024
Using max buffer size 16384
Periods = 4
was set period_size = 1024
was set buffer_size = 16384
0 - Front Left
Time per period = 2.649069I have tried setting the default audio device by creating ~/.asoundrc with the following:
defaults.pcm.card 1
defaults.pcm.device 0but still there is no sound device 'default'. Any help would be greatly appreciated
Thanks
Offline
Is pulseaudio and pulseaudio-alsa installed?
What do you get from:
pacman -Ss pulseaudio
pacman -Ss pulseaudio-alsaOffline
If pulseaudio isn't installed and that's indeed your entire .asoundrc that should be sufficient and working, can you post the entire aplay -L output? Maybe for completeness sake throw in
strace aplay -L #Needs the strace packageOffline