Re: (SOLVED) ALSA, mpd and Wheezy.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 09 Jan 2013 21:58:32 +0100
Clemens Ladisch <cladisch@xxxxxxxxxxxxxx> wrote:

> Sharon Kimble wrote:
> > I have a brand new computer, only 3 days old now, and am unable to
> > run mpd on it due to problems with ALSA. Some details to follow;-
> >
> > cat /proc/asound/version
> > Advanced Linux Sound Architecture Driver Version 1.0.24.
> 
> This isn't brand new.

This is the default for Debian testing, and will probably make it into
'stable' as well later on this year.
> 
> > cat /proc/asound/cards
> >  0 [Generic        ]: HDA-Intel - HD-Audio Generic
> >                       HD-Audio Generic at 0xfeb44000 irq 43
> >  1 [Generic_1      ]: HDA-Intel - HD-Audio Generic
> >                       HD-Audio Generic at 0xfeb40000 irq 16
> 
> One is the GPU's HDMI output, the other is the onboard device.
> 
> > Running 'alsamixer' as root shows that the default sound card is
> > HD-audio generic, Chip ATI R6xx HDMI Item S/PDIF
> >
> > Jan 09 13:28 : mixer: Failed to read mixer for 'My ALSA Device': no
> > such mixer control: PCM
> 
> The HDMI device does not have a mixer control named "PCM".
> 
> > This is the alsa part of my mpd.conf;-
> > audio_output {
> > 	type		"alsa"
> > 	name		"My ALSA Device"
> > #	device		"hw:1,0"	 optional
> > #	format		"44100:16:2"	 optional
> > #	mixer_device	"default"	 optional
> > #	mixer_control	"PCM"		 optional
> > #	mixer_index	"0"		 optional
> > }
> 
> Assuming that you want to use the analog outputs, uncomment
> the "device" entry to make mpd use card 1.
> 
>From googling and then this page
http://ubuntuforums.org/showthread.php?p=12447524#post12447524
where their original problem was similar to mine plus they were using
the same hardware as well. 

So I needed an /etc/asound.conf
pcm.!default {
type plug
slave {
pcm "hw:1,0" #delete the first hash for sound over analog
# pcm "hw:1,1" #delete the first hash for sound over optical
# pcm "hw:0,3" #delete the first hash for sound over hdmi
rate 48000
}
}
Which had to be created as it did not exist.

spci | egrep -i audio 
00:01.1 Audio device: Advanced Micro Devices [AMD] nee ATI BeaverCreek
HDMI Audio [Radeon HD 6500D and 6400G-6600G series] 00:14.2 Audio
device: Advanced Micro Devices [AMD] FCH Azalia Controller (rev 01)

.asoundrc
pcm.mpd {
type hw
card 1 
}

the ALSA output in the mpd.conf
audio_output {
type "alsa"
name	 "My ALSA Device"
device	 "hw:1,0"	
# mixer_type "software"
# mixer_device "default"
# mixer_control "PCM"
}

And now its all working, apart from the lack of volume control in the
client, but I can live with that.

Thanks for your help, and for listening too.

Sharon.
-- 
A taste of linux = http://www.sharons.org.uk/taste/index.html
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
Debian Wheezy, LXDE 2, LibreOffice 3.5.4.2
Registered Linux user 334501 

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux