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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
08-13-2012, 05:39 AM
|
#1
|
LQ Newbie
Registered: Jul 2012
Posts: 8
Rep:
|
[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.
|
|
|
08-14-2012, 04:43 AM
|
#2
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,096
|
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.
|
|
|
08-14-2012, 05:13 AM
|
#3
|
LQ Newbie
Registered: Jul 2012
Posts: 8
Original Poster
Rep:
|
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 10:45 AM.
|
|
|
08-14-2012, 10:44 AM
|
#4
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,096
|
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?
|
|
|
08-14-2012, 10:48 AM
|
#5
|
LQ Newbie
Registered: Jul 2012
Posts: 8
Original Poster
Rep:
|
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.
|
|
|
08-14-2012, 11:33 AM
|
#6
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
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 12:42 PM.
|
|
|
08-14-2012, 12:25 PM
|
#7
|
LQ Newbie
Registered: Jul 2012
Posts: 8
Original Poster
Rep:
|
Oops. Will do.
|
|
|
08-15-2012, 04:54 AM
|
#8
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,096
|
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.
|
|
|
08-15-2012, 07:49 AM
|
#9
|
LQ Newbie
Registered: Jul 2012
Posts: 8
Original Poster
Rep:
|
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.
|
|
|
08-15-2012, 11:54 AM
|
#10
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,096
|
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.
|
|
|
08-15-2012, 01:02 PM
|
#11
|
LQ Newbie
Registered: Jul 2012
Posts: 8
Original Poster
Rep:
|
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?
|
|
|
08-15-2012, 04:44 PM
|
#12
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,096
|
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
|
|
|
08-16-2012, 03:25 AM
|
#13
|
LQ Newbie
Registered: Jul 2012
Posts: 8
Original Poster
Rep:
|
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.
|
|
|
08-16-2012, 05:08 AM
|
#14
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,096
|
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.
|
|
|
08-16-2012, 01:01 PM
|
#15
|
LQ Newbie
Registered: Jul 2012
Posts: 8
Original Poster
Rep:
|
:-(
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 :-))
|
|
|
All times are GMT -5. The time now is 11:13 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|