You are not logged in.

#1 2015-02-23 02:14:05

thriftyb
Member
Registered: 2014-12-19
Posts: 12

[SOLVED] Sound Not Working On Dell Latitude e5540 Laptop

Hello Everyone,

  I am having trouble getting sound working on my Dell Latitude e5540 laptop. When I try speaker-test or aplay, I get:

speaker-test 1.0.28

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
Playback open error: -2,No such file or directory
aplay -D default debussy-sb-clairdelune-breemer.wav

ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
aplay: main:722: audio open error: No such file or directory

Here are my settings:

aplay -L | grep :CARD

hdmi:CARD=HDMI,DEV=0
hdmi:CARD=HDMI,DEV=1
hdmi:CARD=HDMI,DEV=2
default:CARD=PCH
sysdefault:CARD=PCH
front:CARD=PCH,DEV=0
surround21:CARD=PCH,DEV=0
surround40:CARD=PCH,DEV=0
surround41:CARD=PCH,DEV=0
surround50:CARD=PCH,DEV=0
surround51:CARD=PCH,DEV=0
surround71:CARD=PCH,DEV=0 

(My Realtek sound card that I want to use with the built in speakers is 1 in this listing)

aplay -l

**** 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 1: PCH [HDA Intel PCH], device 0: ALC3226 Analog [ALC3226 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0 

(I tried "card PCH" here too)

cat /etc/asconf.confpcm.!default {
    type hw
    card 1 
}

ctl.!default {
    type hw
    card 1 
}
aplay -l | awk -F \: '/,/{print $2}' | awk '{print $1}' | uniq

HDMI
PCH 
lsmod | grep '^snd' | column -t

snd_hda_codec_realtek  63196   1
snd_hda_codec_hdmi     49263   1
snd_hda_codec_generic  63087   1  snd_hda_codec_realtek
snd_hda_intel          26387   0
snd_hda_controller     26938   1  snd_hda_intel
snd_hda_codec          112621  5  snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
snd_hwdep              17244   1  snd_hda_codec
snd_pcm                88785   4  snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer              26614   1  snd_pcm
snd                    73436   8  snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel

Any help would be appreciated.


thritfyb

Last edited by thriftyb (2015-02-26 00:31:55)

Offline

#2 2015-02-23 04:22:51

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: [SOLVED] Sound Not Working On Dell Latitude e5540 Laptop

Do you have a ~/.asoundrc file?


Knute

Offline

#3 2015-02-24 22:47:47

thriftyb
Member
Registered: 2014-12-19
Posts: 12

Re: [SOLVED] Sound Not Working On Dell Latitude e5540 Laptop

I am using /etc/asconf.conf. Do I need a ~/.asoundrc too? I tried "card PCH" in /etc/asconf.conf along with "1".

cat /etc/asconf.conf

pcm.!default {
    type hw
    card 1 
}

ctl.!default {
    type hw
    card 1 
}

Offline

#4 2015-02-24 23:06:15

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: [SOLVED] Sound Not Working On Dell Latitude e5540 Laptop

Maybe try putting this in for ~/.asoundrc and see if it works after a reboot?

defaults.pcm.card 1
defaults.pcm.device 0
defaults.ctl.card 1

Also make sure you're unmuted.  run alsamixer, press F6, select card, and ensure it is not muted and volume is up.

Last edited by frank604 (2015-02-24 23:07:17)

Offline

#5 2015-02-24 23:08:53

thriftyb
Member
Registered: 2014-12-19
Posts: 12

Re: [SOLVED] Sound Not Working On Dell Latitude e5540 Laptop

I got it working. The /etc/asconf.conf file should be /etc/asound.conf.

Offline

#6 2015-02-25 00:51:46

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: [SOLVED] Sound Not Working On Dell Latitude e5540 Laptop

Haha, great catch.  Didn't even notice the wrong spelling.  You should update the thread title by editing the first post and marking it as [ Solved ]

Offline

#7 2015-02-26 00:33:32

thriftyb
Member
Registered: 2014-12-19
Posts: 12

Re: [SOLVED] Sound Not Working On Dell Latitude e5540 Laptop

O.k. I updated the title.

Offline

Board footer

Powered by FluxBB