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

Re: New wheezy and problems setting up alsa for mpd



On 9 January 2013 03:07, Chris Bannister <cbannister@slingshot.co.nz> wrote:
[Please don't top post: http://catb.org/jargon/html/T/top-post.html]
[ fixed up as best I could.]
On Tue, Jan 08, 2013 at 06:02:39PM +0000, Sharon Kimble wrote:
> > On 8 January 2013 15:06, Chris Bannister <cbannister@slingshot.co.nz>wrote:
> >> On Tue, Jan 08, 2013 at 02:16:07PM +0000, Sharon Kimble wrote:
> >> > Jan 08 13:46 : output: Failed to open "MPD ALSA" [alsa]: Failed to open
> >> > ALSA device "default": Connection refused
> >> > Jan 08 13:46 : player_thread: problems opening audio device while
> >> playing "
> >> >
> >> http://bbcmedia.ic.llnwd.net/stream/bbcmedia_lc1_radio4extra_p?s=1357642801&e=1357657201&h=88c04b2945d4c29c3f3cb0b2e095ea50
> >> > "
> >> >
> >> > I am using 'ncmpcpp' as my client which has worked well in the past, but
> >> > this time alsa isn't cooperating and it plain doesn't work!
> >> >
> >> > Can anyone help me in getting my mpd/ncmpcpp to work with alsa please?
> >>
> >> Can you play a local file, OK?  I mean like
> >> "aplay /usr/share/sounds/alsa/Front_Left.wav"
> >> "aplay /usr/share/sounds/alsa/Front_Right.wav"
>
> Thanks for this, but "Yes" to both. I do have sound, I've just watched
> a
> video in 'Movie Player' with good sound, its just it doesn't seem to
> happen
> in mpd/ncmpcpp, and I really miss my steaming radio on mpd. :(
                                       ^^^^^^^^ :)

As I have no experience with mpd (yet) I don't know what may be causing
this, but ...

* Can you play local files with mpd/ncmpcpp?
No 
* Can you play streaming radio on mpd from another url?
No 
* Is it only the mpd/ncmpcpp combination, IOW, what about trying another
  client.
As the client is only the front-end for mpd, and mpd itself isn't working then no other client works, and I've tried several. 
I've also done this ;-
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

This is from the mpd log ;-
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM Generic_1
Jan 09 12:05 : output: Failed to open "MPD ALSA" [alsa]: Failed to open ALSA device "Generic_1": No such file or directory
Jan 09 12:05 : player_thread: problems opening audio device while playing "Ave Maria - Sacred Arias and Choruses/01 Various - Bach - Jesu bleibet meine Freude.mp3"

Which leads me to think that mpd isn't finding the sound card, but I don't know how else to enter it. I've tried various permutations of 0, 1, Generic, and Generic_1 but it still refuses to play. After each change of the mpd config I'm doing a 'service mpd restart' but it is not playing ball and working.

I've even tried this, from the mpd.config;-
audio_output {
        type            "alsa"
        name            "MPD ALSA"
#device "Generic_1"
        mixer_type      "software"
        mixer_device    "default"
        mixer_control   "PCM"
}
In the hope that it would load the default sound card, but it didn't work.

I put into Google:

mpd streaming radio "permission denied"

and got back quite a few hits - maybe one of those will help?
Web Results 1 - 10 of about 26,000 for mpd streaming radio "permission denied". (0.35 seconds)

Ah well, back to googling then, thanks anyway.
 
P.S. Probably not a good idea to use 'steaming radio' as a search term. :-D

But it raised a chuckle though :)

Thanks
Sharon. 
--
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the
oppressing." --- Malcolm X


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 20130109030723.GA21730@tal" target="_blank">http://lists.debian.org/[🔎] 20130109030723.GA21730@tal




--
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




Reply to: