I presume that pcmC0D0c is for capture and p is for play. So, you could try:
sudo rm /dev/mixer
sudo ln -s /dev/snd/pcmC0D0p /dev/mixer
ls /dev/m*
I presume that pcmC0D0c is for capture and p is for play. So, you could try:
sudo rm /dev/mixer
sudo ln -s /dev/snd/pcmC0D0p /dev/mixer
ls /dev/m*
-------------------------------------
Oooh Shiny: PopularPages
Unumquodque potest reparantur. Patientia sit virtus.
I did as you suggested and rebooted. Still get the same message:
Code:Mar 18 09:28 : mixer: Failed to read mixer for 'My ALSA Device': no such mixer control: PCM
You seem to have gone backwards from post #8, where MPD ran successfully. What I would do is get audio working with something simple first, aplay or rhythmbox for example. Once that is verified, move on to MPD.
I'd also recommend envy24control, navigate to the analogue volume tab to set the levels. DAC means outputs and ADC means inputs, they are muted by default, but all other settings should be OK.
MPD works fine with Pulseaudio. ALSA is the problem. I have two profiles under MPD, Pusle and ALSA. When I use Pulse, audio is coming out of the card through S/PDIF without a problem. When I try to engage the second profile (ALSA) I get the error in the /var/log/mpd/mpd.log file.
The error states you just need to set a PCM, which you could do with a custom .asoundrc, something like this (I don't know whether you are after digital or analogue out, this has both):
http://alsa.opensrc.org/1712_.asoundrc#2007-06-30
An .asoundrc goes in your /home/username folder, it should not take any restart/reboot to take effect.
I used the asound file and now I get this when using ALSA through MPD:
And when I try to play a FLAC file in aplay, I get this:Code:mpd: /build/buildd/mpd-0.16.1+git20110227.2abad0f/./src/filter/convert_filter_plugin.c:143: convert_filter_set: Assertion `audio_format_valid(out_audio_format)' failed.
Code:ALSA lib pcm_hw.c:1401:(_snd_pcm_hw_open) Invalid value for card aplay: main:654: audio open error: No such file or directory
Last edited by ranperry; March 18th, 2011 at 04:44 PM.
Maybe that example was too fancy, try a simpler one:
Code:pcm.ice1712 { type hw card 0 device 0 } ctl.ice1712 { type hw card 0 }
Same thing....
Code:Mar 18 09:28 : mixer: Failed to read mixer for 'My ALSA Device': no such mixer control: PCM
You may need alternate channel mapping:
https://bugs.launchpad.net/ubuntu/+s...io/+bug/178442
ranparry
as far as I am concerned ALSA sucks BIG time! I battled with it on Maverick for two weeks and gave up! Spend your $50 wisely and get a fully supported OSS Linux Audio driver @ http://www.opensound.com/
see my posts on this ALSA crap: http://ubuntuforums.org/showthread.php?t=1705986
Last edited by laylow45; March 19th, 2011 at 08:32 AM.
Bookmarks