LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 08-13-2012, 04:39 AM   #1
vnatius
LQ Newbie
 
Registered: Jul 2012
Posts: 8

Rep: Reputation: Disabled
[ProLiant MicroServer, ATI R6xx HDMI, Digital Out, HDMI] No HDMI sound at all


Hi guys,

Doing well?
I've been Googling for a month now without luck. This sound card is the HDMI sound on a Asus Radeon HD 5430 Series VGA card. I've installed the latest driver from AMD (after some time of struggling on the original driver) without luck. The sound card shows up in lshw and looks fine in alsamixer (not muted) but the friggen thing does not show in "All Settings -> Sound -> Play Sound Through" and subsequently does not play sound with my xbmc movies.

It's probably going to be something stupid and I will apologise profusely however at this time I'm at my wits end.

Some outputs:

lsb_release -a; uname -a

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
Release: 12.04
Codename: precise
Linux MediaServer 3.2.0-27-generic #43-Ubuntu SMP Fri Jul 6 14:25:57 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

$lshw:

product: Cedar HDMI Audio [Radeon HD 5400/6300 Series] [1002:AA68]
vendor: Hynix Semiconductor (Hyundai Electronics)
bus info: pci@0000:01:00.1
version: 00
width: 64 bits
clock: 33MHz
capabilities:
Power Management,
PCI Express,
Message Signalled Interrupts,
bus mastering,
PCI capabilities listing
configuration:
driver: snd_hda_intel
latency: 0
resources:
irq: 43
memory: fe8bc000-fe8bffff

$dmesg |grep Audio

[ 14.068772] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card0/input4

$lsmod | grep snd

snd_hda_codec_hdmi 32474 1
snd_hda_intel 33773 3
snd_hda_codec 127706 2 snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep 13668 1 snd_hda_codec
snd_pcm 97188 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_seq_midi 13324 0
snd_rawmidi 30748 1 snd_seq_midi
snd_seq_midi_event 14899 1 snd_seq_midi
snd_seq 61896 2 snd_seq_midi,snd_seq_midi_event
snd_timer 29990 2 snd_pcm,snd_seq
snd_seq_device 14540 3 snd_seq_midi,snd_rawmidi,snd_seq
snd 78855 15 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd _hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_s eq_device
soundcore 15091 1 snd
snd_page_alloc 18529 2 snd_hda_intel,snd_pcm

Now comes the weird part... :

lspci

#####SNIP
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Manhattan [Mobility Radeon HD 5430 Series]
01:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI Cedar HDMI Audio [Radeon HD 5400/6300 Series]
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5723 Gigabit Ethernet PCIe (rev 10)

then:
aplay -l

aplay: device_list:252: no soundcards found...

What the??

Driver installed:

AMD Catalyst™ 12.6 Proprietary Linux x86 Display Driver v12.6 6/28/2012
from
http://support.amd.com/us/gpudownloa...eon_linux.aspx

From what I've since figured out the VGA driver is loaded but not sound; do I need to separately load a sound driver even though its one card and one HDMI port?

What else do you need to figure this one out?
Thanks in advance.
 
Old 08-14-2012, 03:43 AM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,369

Rep: Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557
Usually the sound card needs the hda_intel module, and shows up as another /dev/dsp device.

You might have /dev/dsp0 & /dev/dsp1 and there's a syntax for looking at them, and assigning stuff. Don't ask me though, I never bothered with hdmi yet (wearing out what I have). You can put some stuff in /etc/modprobe.d to assign dsp0 & dsp1. Most things just fire the noise at dsp0.
 
Old 08-14-2012, 04:13 AM   #3
vnatius
LQ Newbie
 
Registered: Jul 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
Unhappy

Thanks business_kid,

No idea how to implement though....

Also,I have no dsp's in /dev

$ ls -la /dev/
total 4
drwxr-xr-x 15 root root 4280 Aug 13 13:09 .
drwxr-xr-x 25 root root 4096 Aug 12 15:37 ..
drwxr-xr-x 2 root root 60 Aug 13 13:09 ati
crw------T 1 root root 10, 235 Aug 13 13:09 autofs
drwxr-xr-x 2 root root 660 Aug 13 13:08 block
drwxr-xr-x 2 root root 100 Aug 13 13:08 bsg
crw------T 1 root root 10, 234 Aug 13 13:09 btrfs-control
drwxr-xr-x 3 root root 60 Aug 13 13:08 bus
lrwxrwxrwx 1 root root 3 Aug 13 13:09 cdrom -> sr0
lrwxrwxrwx 1 root root 3 Aug 13 13:09 cdrw -> sr0
drwxr-xr-x 2 root root 3680 Aug 13 13:09 char
crw------- 1 root root 5, 1 Aug 13 13:09 console
lrwxrwxrwx 1 root root 11 Aug 13 13:09 core -> /proc/kcore
drwxr-xr-x 2 root root 60 Aug 13 13:09 cpu
crw------- 1 root root 10, 60 Aug 13 13:09 cpu_dma_latency
drwxr-xr-x 7 root root 140 Aug 13 13:08 disk
lrwxrwxrwx 1 root root 3 Aug 13 13:09 dvd -> sr0
lrwxrwxrwx 1 root root 3 Aug 13 13:09 dvdrw -> sr0
crw------- 1 root root 10, 61 Aug 13 13:09 ecryptfs
##snip###

but!

ls -la /dev/ati/
total 0
drwxr-xr-x 2 root root 60 Aug 13 13:09 .
drwxr-xr-x 15 root root 4280 Aug 13 13:09 ..
crw-rw-rw- 1 root root 251, 0 Aug 14 16:44 card0

Last edited by vnatius; 08-14-2012 at 09:45 AM.
 
Old 08-14-2012, 09:44 AM   #4
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,369

Rep: Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557
You appear to have _no_soundcard_ except the hdmi bit of the video card. Is this correct?

You appear to have modules loading, so they see/saw something. But you have no sound.
irq43 is seriously weird. I don't like that. That alsa script repeats the word null a scary number of times

What's your output? Have you a hdmi capable, sound capable monitor or something?
 
Old 08-14-2012, 09:48 AM   #5
vnatius
LQ Newbie
 
Registered: Jul 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
b_k,

Correct; only card I have in the machine is a ASUS HD 5450 SILENT, and the on-board VGA that the Microserver comes with but this disables itself in the BIOS cause of the ASUS.

So the aim is for a media server so the HDMI output will go into my TV. Updated my previous post with more info as well.
 
Old 08-14-2012, 10:33 AM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,592
Blog Entries: 2

Rep: Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046
Hi and welcome to LQ, vnatius.

Please use [code][/code] tags when you post code or output from programs. This will make your posts easier to read and preserves the formatting.

Last edited by TobiSGD; 08-14-2012 at 11:42 AM.
 
Old 08-14-2012, 11:25 AM   #7
vnatius
LQ Newbie
 
Registered: Jul 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
Oops. Will do.
 
Old 08-15-2012, 03:54 AM   #8
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,369

Rep: Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557
The hda intel always has a codec, and you need a driver for that. My codec is from Analog Devices. This is what my box shows
Quote:
bash-4.1$ ls -l /dev/dsp* /dev/snd/
crw-rw---- 1 root audio 14, 3 Aug 12 13:59 /dev/dsp

/dev/snd/:
total 0
drwxr-xr-x 2 root root 60 Aug 12 13:59 by-path
crw-rw---- 1 root audio 116, 6 Aug 12 13:59 controlC0
crw-rw---- 1 root audio 116, 5 Aug 12 13:59 hwC0D0
crw-rw---- 1 root audio 116, 4 Aug 12 13:59 hwC0D1
crw-rw---- 1 root audio 116, 3 Aug 12 13:59 pcmC0D0c
crw-rw---- 1 root audio 116, 2 Aug 14 16:47 pcmC0D0p
crw-rw---- 1 root audio 116, 1 Aug 12 13:59 seq
crw-rw---- 1 root audio 116, 33 Aug 12 13:59 timer
bash-4.1$ lsmod |grep snd
snd_hda_codec_analog 76826 1
snd_hda_intel 20795 0
snd_hda_codec 64510 2 snd_hda_codec_analog,snd_hda_intel
snd_hwdep 5990 1 snd_hda_codec
Also, in /lib/udev/rules.d/78-sound-card.rules there is an explanation of sorts as to how things happen and I suggest you grok it deeper than I did ;-P.

This explains the /dev/dsp thing (From ~/Documentation/devices.txt)
Quote:
14 char Open Sound System (OSS)
116 char Advanced Linux Sound Driver (ALSA)
A Lot of stuff is/was/used to be OSS, because people never bothered rewriting APIs.

Now we have the problem. No char-major 116, ergo the modules are not finding the card? I have this stuff in /etc/modprobe.d/sound.conf and it might help
Quote:
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.24.2 ---
alias char-major-116 snd
alias char-major-14 snd
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
# --- END: Generated by ALSACONF, do not edit. ---
Lastly, if you don't have this, run alsaconf.
 
Old 08-15-2012, 06:49 AM   #9
vnatius
LQ Newbie
 
Registered: Jul 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
b_K;

Seems I have codecs:
Code:
lsmod |grep snd
snd_hda_codec_hdmi     32474  1
snd_hda_intel          33773  2
snd_hda_codec         127706  2 snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep              13668  1 snd_hda_codec
snd_pcm                97188  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_seq_midi           13324  0
snd_rawmidi            30748  1 snd_seq_midi
snd_seq_midi_event     14899  1 snd_seq_midi
snd_seq                61896  2 snd_seq_midi,snd_seq_midi_event
snd_timer              29990  2 snd_pcm,snd_seq
snd_seq_device         14540  3 snd_seq_midi,snd_rawmidi,snd_seq
snd                    78855  13 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore              15091  1 snd
snd_page_alloc         18529  2 snd_hda_intel,snd_pcm
But the plot thikens.. no sound.conf

Code:
:/etc/modprobe.d$ ls -la
total 64
drwxr-xr-x   2 root root  4096 Aug 14 18:10 .
drwxr-xr-x 149 root root 12288 Aug 14 21:41 ..
-rw-r--r--   1 root root  2507 Feb 16 05:03 alsa-base.conf
-rw-r--r--   1 root root   325 Mar 18  2011 blacklist-ath_pci.conf
-rw-r--r--   1 root root  1603 Aug  6 08:42 blacklist.conf
-rw-r--r--   1 root root   210 Mar 18  2011 blacklist-firewire.conf
-rw-r--r--   1 root root   661 Nov 20  2011 blacklist-framebuffer.conf
-rw-r--r--   1 root root   156 Feb 16 05:03 blacklist-modem.conf
lrwxrwxrwx   1 root root    41 Jul  3 16:26 blacklist-oss.conf -> /lib/linux-sound-base/noOSS.modprobe.conf
-rw-r--r--   1 root root   583 Mar 18  2011 blacklist-rare-network.conf
-rw-r--r--   1 root root  1077 Mar 18  2011 blacklist-watchdog.conf
-rw-r--r--   1 root root   127 Apr 22 09:31 dkms.conf
lrwxrwxrwx   1 root root    48 Aug 14 18:10 fglrx.conf -> /etc/alternatives/x86_64-linux-gnu_fglrx_modconf
-rw-r--r--   1 root root   134 Jul 20 09:02 network_drivers.conf.backup
-rw-r--r--   1 root root   356 Jul  3 19:02 oss-compat.conf
-rw-r--r--   1 root root    30 May 18 10:03 vmwgfx-fbdev.conf
So am I correct in saying that the Sound Driver-part of the driver did not install properly?

Thanks in advance.
 
Old 08-15-2012, 10:54 AM   #10
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,369

Rep: Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557
Sems a good guess.

There should be the alsaconf script that will throw up files. I would suggest that as you probably don't have /etc/alsa/*
Quote:
bash-4.1$ ls -laF /etc/alsa
total 72
drwxr-xr-x 4 root root 4096 Jan 18 2012 ./
drwxr-xr-x 79 root root 12288 Aug 15 16:39 ../
-rw-r--r-- 1 root root 2207 Jan 1 2010 ATIIXP-SPDMA.conf
-rw-r--r-- 1 root root 2453 Jan 1 2010 ATIIXP.conf
-rw-r--r-- 1 root root 2714 Jan 1 2010 HDA-Intel.conf
-rw-r--r-- 1 root root 2714 Feb 9 2010 alsa-info.conf
lrwxrwxrwx 1 root root 14 Jan 18 2012 alsa.conf -> HDA-Intel.conf
-rw-r--r-- 1 root root 8974 Sep 12 2008 alsa.conf.orig
-rw-r--r-- 1 root root 1069 Oct 24 2009 asound.state
-rw-r--r-- 1 root root 523 May 2 2010 bluetooth.conf
drwxr-xr-x 3 root root 4096 Apr 11 2009 cards/
drwxr-xr-x 2 root root 4096 Apr 11 2009 pcm/
-rw-r--r-- 1 root root 537 Mar 25 2008 pulse-default.conf
-rw-r--r-- 1 root root 155 Sep 12 2008 smixer.conf
-rw-r--r-- 1 root root 3206 Sep 12 2008 sndo-mixer.alisp
I don't know how many of those work or are sensible. I get noise, but no mic in and I can point you to threads hung out to dry on that one.
 
Old 08-15-2012, 12:02 PM   #11
vnatius
LQ Newbie
 
Registered: Jul 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
Thanks again b_k;

So you guessed correct: no /etc/alsa..

How would I go about re-installing alsa (since installing the vendor driver did not work)?

sudo apt-get --purge remove alsa-base ?

or are there more packages to remove?
 
Old 08-15-2012, 03:44 PM   #12
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,369

Rep: Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557
Don't ask me about apt-get - never went there.

Slackware64 has alsa split into alsa-lib (cards, aserver docs) alsa-oss (wrapper libs for oss functionality) and alsa-utils (usual stuff aplay, arecord, alsaconf etc). I also have compat32 packages because this is a multilib box. You definitely need the lib and the utils, I'd recommend the oss functionality
 
Old 08-16-2012, 02:25 AM   #13
vnatius
LQ Newbie
 
Registered: Jul 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
Now we are getting somewhere !!!!!

So I removed alsa-base and alsa-utils and re-installed alsa-base, alsa-utils, alsa-oss (dnt get a listing for alsa-lib).

Now:
Code:
dmesg |grep Audio
[    8.746348] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card0/input5


~$ ls -la /dev/snd/
total 0
drwxr-xr-x   3 root root      160 Aug 16 08:41 .
drwxr-xr-x  15 root root     4280 Aug 16 08:41 ..
drwxr-xr-x   2 root root       60 Aug 16 08:41 by-path
crw-rw---T+  1 root audio 116,  4 Aug 16 08:41 controlC0
crw-rw---T+  1 root audio 116,  3 Aug 16 08:41 hwC0D0
crw-rw---T+  1 root audio 116,  2 Aug 16 08:42 pcmC0D3p
crw-rw---T   1 root audio 116,  1 Aug 16 08:41 seq
crw-rw---T+  1 root audio 116, 33 Aug 16 08:41 timer


$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
I cannot get into Gnome right now to see if the playback device is listed but will check later.

Thanks b_k!!! Will mark as solved if this is sorted.
 
Old 08-16-2012, 04:08 AM   #14
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,369

Rep: Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557
alsa base in ubuntu is probably alsa lib in Slackware.
It looks like you're sucking disel, as is said over here (Hangover from the oil crisis?)

Remember to run 'alsamixer', unmute everything, and run 'alsactl store'.
If you still have problems, run alsaconf.
 
Old 08-16-2012, 12:01 PM   #15
vnatius
LQ Newbie
 
Registered: Jul 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
:-(

So alsamod has been removed from Ubuntu and no replacement I can find...

Even though aplay shows the card I still don't have it in available in the output devices in Gnome.. alsamixer has the correct card selected and unmuted.

We are getting somewhere :-))
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
HDMI Audio doesn't work - Debian Squeeze (Intel HDMI) felipefv Linux - Hardware 8 02-06-2012 09:47 AM
no sound output ati hdmi Grub3r Linux - Laptop and Netbook 3 02-14-2011 06:56 PM
LXer: How to Setup HDMI Digital Playback in Linux LXer Syndicated Linux News 0 01-05-2011 09:01 PM
Sound over hdmi ati HDA Steviepower Linux - Hardware 1 05-11-2010 01:13 PM
HD ATI HDMI interfering with default sound card setting CA0106 RichardT Ubuntu 2 01-06-2010 07:21 AM


All times are GMT -5. The time now is 02:59 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration