LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-25-2015, 12:13 PM   #1
ositstomc
LQ Newbie
 
Registered: May 2006
Posts: 6

Rep: Reputation: 0
Unhappy No Sound ALSA on Ubuntu 12.04


Hi I a running Ubunto 12.04 on a HP PC with an onboard intel analaog sound card

(ALC662) and a HDMI connection into my TV.
I use this PC for Mythtv and Kodi using the sound over HDMI which works a treat in MythTV however I cannot get the sound to work on Kodi, Firefox or any other app which I presume is down to misconfigured ALSA setup, I had this working previously but it stopped and I am not sure why, possible updates.


sudo aplay -L lists;

Home directory /home/tomc not ours.
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
hdmi_complete
sysdefault:CARD=Intel
HDA Intel, ALC662 rev1 Analog
Default Audio Device
front:CARD=Intel,DEV=0
HDA Intel, ALC662 rev1 Analog
Front speakers
surround40:CARD=Intel,DEV=0
HDA Intel, ALC662 rev1 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, ALC662 rev1 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, ALC662 rev1 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, ALC662 rev1 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, ALC662 rev1 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
HDA Intel, ALC662 rev1 Digital
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=Intel,DEV=0
HDA Intel, ALC662 rev1 Analog
Direct sample mixing device
dmix:CARD=Intel,DEV=1
HDA Intel, ALC662 rev1 Digital
Direct sample mixing device
dsnoop:CARD=Intel,DEV=0
HDA Intel, ALC662 rev1 Analog
Direct sample snooping device
dsnoop:CARD=Intel,DEV=1
HDA Intel, ALC662 rev1 Digital
Direct sample snooping device
hw:CARD=Intel,DEV=0
HDA Intel, ALC662 rev1 Analog
Direct hardware device without any conversions
hw:CARD=Intel,DEV=1
HDA Intel, ALC662 rev1 Digital
Direct hardware device without any conversions
plughw:CARD=Intel,DEV=0
HDA Intel, ALC662 rev1 Analog
Hardware device with all software conversions
plughw:CARD=Intel,DEV=1
HDA Intel, ALC662 rev1 Digital
Hardware device with all software conversions
hdmi:CARD=NVidia,DEV=0
HDA NVidia, HDMI 0
HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
HDA NVidia, HDMI 0
HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
HDA NVidia, HDMI 0
HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
HDMI Audio Output
dmix:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct sample mixing device
dmix:CARD=NVidia,DEV=7
HDA NVidia, HDMI 0
Direct sample mixing device
dmix:CARD=NVidia,DEV=8
HDA NVidia, HDMI 0
Direct sample mixing device
dmix:CARD=NVidia,DEV=9
HDA NVidia, HDMI 0
Direct sample mixing device
dsnoop:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct sample snooping device
dsnoop:CARD=NVidia,DEV=7
HDA NVidia, HDMI 0
Direct sample snooping device
dsnoop:CARD=NVidia,DEV=8
HDA NVidia, HDMI 0
Direct sample snooping device
dsnoop:CARD=NVidia,DEV=9
HDA NVidia, HDMI 0
Direct sample snooping device
hw:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct hardware device without any conversions
hw:CARD=NVidia,DEV=7
HDA NVidia, HDMI 0
Direct hardware device without any conversions
hw:CARD=NVidia,DEV=8
HDA NVidia, HDMI 0
Direct hardware device without any conversions
hw:CARD=NVidia,DEV=9
HDA NVidia, HDMI 0
Direct hardware device without any conversions
plughw:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Hardware device with all software conversions
plughw:CARD=NVidia,DEV=7
HDA NVidia, HDMI 0
Hardware device with all software conversions
plughw:CARD=NVidia,DEV=8
HDA NVidia, HDMI 0
Hardware device with all software conversions
plughw:CARD=NVidia,DEV=9
HDA NVidia, HDMI 0
Hardware device with all software conversions

aplay -D plughw:1,7 /home/tomc/adios.wav will play my sample wav file though the

HDMI.


Heres my /etc/asound.conf


pcm.hdmi_hw {
type hw
card 1 # <--- card number
device 7 # <--- device number
}

pcm.hdmi_complete {
type softvol
slave.pcm hdmi_hw
control.name hdmi_volume
control.card 1
}

pcm.!default hdmi_complete


Any help would be greatly appreciated as I dont fully understand ALSA and its

driving me up the wall :-)

Thanks
TomC
 
Old 03-25-2015, 02:35 PM   #2
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
try running alsamixer from the a terminal and ensuring that you don't see MM on the master channel.
 
Old 03-25-2015, 02:49 PM   #3
ositstomc
LQ Newbie
 
Registered: May 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Hi

Yes have tried that and can confirm that no channels are muted, thanks for the reply.

TomC
 
Old 03-25-2015, 02:52 PM   #4
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 814

Rep: Reputation: 265Reputation: 265Reputation: 265
Quote:
Originally Posted by jstephens84 View Post
try running alsamixer from the a terminal and ensuring that you don't see MM on the master channel.
Or any other channel, for that matter. The MM at the bottom would indicate it was muted. Use the right and left arrow keys to change which "slider" you have selected, and press the "M" key on your keyboard to unmute it.

Also, make sure no important-looking sliders are all the way at the bottom.
 
Old 03-26-2015, 03:26 AM   #5
ositstomc
LQ Newbie
 
Registered: May 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Hi

Can confirm that this is not an Alsamixer issue, it is down to config and asound.conf but what exactly I am not sure, many thanks for your help.

TomC
 
Old 03-26-2015, 08:52 AM   #6
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Ok I remember having a similar issue on another machine which had both HDMI and digital sound. The only way I could get it to work was using a pulseaudio graphical tool and selecting my hardware and testing. But that was under manjaro not sure if Ubuntu has the pulseaudio configuration tools installed.
 
  


Reply

Tags
alsa, pulse, sound



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 10.04 alsa sound level is not restored after wakeup vsespb Ubuntu 3 12-15-2012 05:35 AM
No sound alsa 1.0.16 - Toshiba A200 ubuntu 7.04 farkewie Linux - Newbie 1 03-26-2008 04:12 AM
No sound on Ubuntu, snd_intel8x0,ALSA. vedadh Linux - Hardware 1 09-29-2005 01:26 AM
(K)ubuntu ALSA with two sound cards. Help :) Groovelab Ubuntu 7 05-08-2005 06:03 PM
(K)ubuntu ALSA with ONE sound card. Groovelab Ubuntu 2 05-08-2005 12:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration