Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #182834 > unrolled thread

mplayer won't play audio CD

Started byRodolfo Medina <rodolfo.medina@gmail.com>
First post2017-06-29 23:00 +0200
Last post2017-07-08 19:50 +0200
Articles 20 on this page of 52 — 9 participants

Back to article view | Back to linux.debian.user


Contents

  mplayer won't play audio CD Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-06-29 23:00 +0200
    Re: mplayer won't play audio CD deloptes <deloptes@gmail.com> - 2017-06-30 08:00 +0200
      Re: mplayer won't play audio CD Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-06-30 09:30 +0200
      Re: mplayer won't play audio CD Brian <ad44@cityscape.co.uk> - 2017-06-30 12:30 +0200
        Re: mplayer won't play audio CD "Thomas Schmitt" <scdbackup@gmx.net> - 2017-06-30 12:40 +0200
          Re: mplayer won't play audio CD Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-06-30 13:30 +0200
            Re: mplayer won't play audio CD Brian <ad44@cityscape.co.uk> - 2017-06-30 18:00 +0200
              Re: mplayer won't play audio CD Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-07-01 02:20 +0200
                Re: mplayer won't play audio CD Brian <ad44@cityscape.co.uk> - 2017-07-01 12:30 +0200
                  Re: mplayer won't play audio CD Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-07-01 14:00 +0200
                    Re: mplayer won't play audio CD Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-07-01 14:20 +0200
                    Re: mplayer won't play audio CD Curt <curty@free.fr> - 2017-07-01 15:30 +0200
                      Re: mplayer won't play audio CD Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-07-01 15:40 +0200
                        Re: mplayer won't play audio CD Curt <curty@free.fr> - 2017-07-01 16:00 +0200
                        Re: mplayer won't play audio CD deloptes <deloptes@gmail.com> - 2017-07-01 16:30 +0200
                          Re: mplayer won't play audio CD Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-07-01 17:10 +0200
                            Re: mplayer won't play audio CD Curt <curty@free.fr> - 2017-07-01 17:40 +0200
                              Re: mplayer won't play audio CD Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-07-02 00:40 +0200
                            Re: mplayer won't play audio CD David Wright <deblis@lionunicorn.co.uk> - 2017-07-01 17:50 +0200
                              Re: mplayer won't play audio CD Curt <curty@free.fr> - 2017-07-01 18:10 +0200
                                Re: mplayer won't play audio CD David Wright <deblis@lionunicorn.co.uk> - 2017-07-01 18:50 +0200
                              Re: mplayer won't play audio CD Brian <ad44@cityscape.co.uk> - 2017-07-01 19:50 +0200
                                Re: mplayer won't play audio CD "Thomas Schmitt" <scdbackup@gmx.net> - 2017-07-01 20:50 +0200
                                Re: mplayer won't play audio CD David Wright <deblis@lionunicorn.co.uk> - 2017-07-01 23:50 +0200
                                Re: Einstellungen in Kontact "Thomas Schmitt" <scdbackup@gmx.net> - 2017-07-06 00:00 +0200
                              Re: mplayer won't play audio CD Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-07-02 01:30 +0200
                                Re: mplayer won't play audio CD Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-07-02 01:30 +0200
                                  Re: mplayer won't play audio CD David Wright <deblis@lionunicorn.co.uk> - 2017-07-02 02:00 +0200
                                    Re: mplayer won't play audio CD Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-07-02 03:30 +0200
                                      Re: mplayer won't play audio CD Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-07-02 03:40 +0200
                                      Re: mplayer won't play audio CD Curt <curty@free.fr> - 2017-07-02 11:40 +0200
                                        Re: mplayer won't play audio CD Brian <ad44@cityscape.co.uk> - 2017-07-02 13:30 +0200
                                          Re: mplayer won't play audio CD Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-07-02 16:20 +0200
                                            Re: mplayer won't play audio CD Curt <curty@free.fr> - 2017-07-02 17:10 +0200
                                            Re: mplayer won't play audio CD Brian <ad44@cityscape.co.uk> - 2017-07-02 18:20 +0200
                                              Re: mplayer won't play audio CD Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-07-02 19:40 +0200
          Re: mplayer won't play audio CD Curt <curty@free.fr> - 2017-06-30 13:30 +0200
    Re: mplayer won't play audio CD Curt <curty@free.fr> - 2017-06-30 11:30 +0200
      Re: mplayer won't play audio CD Wilko Fokken <wfokken@web.de> - 2017-07-07 22:50 +0200
        Re: mplayer won't play audio CD Greg Wooledge <wooledg@eeg.ccf.org> - 2017-07-07 23:20 +0200
        Re: mplayer won't play audio CD Wellington Terumi Uemura <wellingtonuemura@gmail.com> - 2017-07-08 04:40 +0200
          Re: mplayer won't play audio CD deloptes <deloptes@gmail.com> - 2017-07-08 09:10 +0200
            Re: mplayer won't play audio CD Wellington Terumi Uemura <wellingtonuemura@gmail.com> - 2017-07-08 12:10 +0200
              Re: mplayer won't play audio CD deloptes <deloptes@gmail.com> - 2017-07-08 13:10 +0200
                Re: mplayer won't play audio CD Wellington Terumi Uemura <wellingtonuemura@gmail.com> - 2017-07-08 13:40 +0200
                  Re: mplayer won't play audio CD deloptes <deloptes@gmail.com> - 2017-07-08 15:20 +0200
                    Re: mplayer won't play audio CD Wellington Terumi Uemura <wellingtonuemura@gmail.com> - 2017-07-08 16:20 +0200
                      Re: mplayer won't play audio CD deloptes <deloptes@gmail.com> - 2017-07-08 19:40 +0200
                        Re: mplayer won't play audio CD Wellington Terumi Uemura <wellingtonuemura@gmail.com> - 2017-07-10 03:50 +0200
          Re: mplayer won't play audio CD Wilko Fokken <wfokken@web.de> - 2017-07-08 15:00 +0200
            Re: mplayer won't play audio CD Wellington Terumi Uemura <wellingtonuemura@gmail.com> - 2017-07-08 16:30 +0200
              Re: mplayer won't play audio CD deloptes <deloptes@gmail.com> - 2017-07-08 19:50 +0200

Page 2 of 3 — ← Prev page 1 [2] 3  Next page →


#182925

FromDavid Wright <deblis@lionunicorn.co.uk>
Date2017-07-01 18:50 +0200
Message-ID<tYtKN-5A9-3@gated-at.bofh.it>
In reply to#182923
On Sat 01 Jul 2017 at 16:00:12 (+0000), Curt wrote:
> On 2017-07-01, David Wright <deblis@lionunicorn.co.uk> wrote:
> >
> > Secondly, most of the error messages involved alsa rather
> > than the CD player. How does root get on with playing
> > sound files from other sources?
> >
> 
> Actually, upon further reflection, the root error message from his
> original post was:
> 
>  XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by
>  uid 1000! (This could e g happen if you try to connect to a non-root
>  PulseAudio as a root user, over the native protocol. Don't do that.) 
> 
> which might mean the incriminated environment variable is being inherited from his
> user shell (if he used 'su' maybe).
> 
> So, in order obviate that, he should--well, you tell me.

# mplayer --noconfig=all --ao=alsa cdda://
                         ↑↑↑↑↑↑↑↑↑
should deal with that.

Without that parameter, I (mplayer2) get an extra line of output:

AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
AO: [pulse] Init failed: Connection refused ←--------
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)

Cheers,
David.

[toc] | [prev] | [next] | [standalone]


#182928

FromBrian <ad44@cityscape.co.uk>
Date2017-07-01 19:50 +0200
Message-ID<tYuGR-69Z-1@gated-at.bofh.it>
In reply to#182922
On Sat 01 Jul 2017 at 10:42:45 -0500, David Wright wrote:

> On Sat 01 Jul 2017 at 16:03:13 (+0100), Rodolfo Medina wrote:
> > deloptes <deloptes@gmail.com> writes:
> > 
> > > Rodolfo Medina wrote:
> > >
> > >> Are you calling me stupid...?  Thanks... ;-)
> > >
> > > just to be clear. You have had setup an alias for mplayer, correct? So
> > > everything people advised here was run via this alias 'mplayer -demuxer
> > > lavf'.
> > 
> > 
> > I'm sorry...  I apologize.  But the problem with root still remains...
> 
> First, it would seem sensible to clean up your first post by
> revealing the output from, say,
> 
> # mplayer --noconfig=all --ao=alsa cdda://

As someone whose use and knowledge of anything other than vlc is
minimal I did this on unstable and got

 Unknown option on command line: --noconfig=all
 Error parsing option on the command line: --noconfig=all
 
> Currently I don't have mplayer installed, only mplayer2.

How relevant is this statement to the issue?

  Package: mplayer2 (3:0.23.0-2) 
  transitional dummy package for mpv

  This is a transitional dummy package to get upgrading systems to
  install the mpv package. It can safely be removed once no other
  package depends on it. 

> I would point out that this command still reads input.conf
> files so you might want to move them out of the way too.
> 
> Secondly, most of the error messages involved alsa rather
> than the CD player. How does root get on with playing
> sound files from other sources?

Once Thomas Schmitt had disposed of the idea that mplayer requires a
cable between drive and sound card it comes down to software and not
hardware.

(I use cdplay from the cdtool package quite extensively, especially in
scripts. If the OP had been using cdtool, Curt's cable suggestion would
have very likely been correct as cdtool uses the analogue play method).

I installed mplayer on a machine (which has pulseaudio) yesterday. There
was no problem with playing an audio CD, but I did not go in for any
customisation, which is probably not the case with Rodolfo Medina.

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


#182931

From"Thomas Schmitt" <scdbackup@gmx.net>
Date2017-07-01 20:50 +0200
Message-ID<tYvCV-6RZ-3@gated-at.bofh.it>
In reply to#182928
Hi,

Brian wrote:
> Once Thomas Schmitt had disposed of the idea that mplayer requires a
> cable between drive and sound card it comes down to software and not
> hardware.

To be exacting, i only doubted the idea. It got disposed by the report
that a normal user (the desktop starting user ?) can have success.

The hardware is at least not yet proven to be faulty. I am not really
aware whether it was reported that one of the successful CD play attempts
was acoustically flawless. (E.g. by pure Grunge with all its fine nuances.)


> I installed mplayer on a machine (which has pulseaudio) yesterday. There
> was no problem with playing an audio CD

Did you try as superuser ?

I have the gutt feeling that user "root" is slowly being moved into
the role of the man who once was indispensible but now is just an
old fart whom the young agile people don't trust to do anything useful.

Curt noticed this message in the original message:
>  XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by
>  uid 1000! (This could e g happen if you try to connect to a non-root
>  PulseAudio as a root user, over the native protocol. Don't do that.) 

So if the software means that the superuser is not welcome, then this
should be discussed with the software's Debian maintainer or its upstream
developers.

The other messages in the original post
  https://lists.debian.org/debian-user/2017/06/msg01215.html
look like software or system management problems, too.
(But hey, i am no expert with software that causes flamewars whenever
 its name gets mentioned.)

-------------------------------------------------------------------------

Brian wrote:
> cdtool uses the analogue play method

It has been deprecated by MMC-5, which is the first MMC version mentioning
Blu-ray drives. So one could assume that BD drives would not support the
PLAY AUDIO command. Nevertheless, my newest two BD drives announce its
availability by feature 103h. Only my good old LG GGW-H20 does not offer it.
I assume the ASUS and the Optiarc burner have an audio socket at their
backside. The last one i had with front earphone socket was a Lite-On CD
burner from 2003.


Have a nice day :)

Thomas

[toc] | [prev] | [next] | [standalone]


#182940

FromDavid Wright <deblis@lionunicorn.co.uk>
Date2017-07-01 23:50 +0200
Message-ID<tYyr8-kz-5@gated-at.bofh.it>
In reply to#182928
On Sat 01 Jul 2017 at 18:46:27 (+0100), Brian wrote:
> On Sat 01 Jul 2017 at 10:42:45 -0500, David Wright wrote:
> 
> > On Sat 01 Jul 2017 at 16:03:13 (+0100), Rodolfo Medina wrote:
> > > deloptes <deloptes@gmail.com> writes:
> > > 
> > > > Rodolfo Medina wrote:
> > > >
> > > >> Are you calling me stupid...?  Thanks... ;-)
> > > >
> > > > just to be clear. You have had setup an alias for mplayer, correct? So
> > > > everything people advised here was run via this alias 'mplayer -demuxer
> > > > lavf'.
> > > 
> > > 
> > > I'm sorry...  I apologize.  But the problem with root still remains...
> > 
> > First, it would seem sensible to clean up your first post by
> > revealing the output from, say,
> > 
> > # mplayer --noconfig=all --ao=alsa cdda://
> 
> As someone whose use and knowledge of anything other than vlc is
> minimal I did this on unstable and got
> 
>  Unknown option on command line: --noconfig=all
>  Error parsing option on the command line: --noconfig=all
>  
> > Currently I don't have mplayer installed, only mplayer2.
> 
> How relevant is this statement to the issue?
> 
>   Package: mplayer2 (3:0.23.0-2) 
>   transitional dummy package for mpv
> 
>   This is a transitional dummy package to get upgrading systems to
>   install the mpv package. It can safely be removed once no other
>   package depends on it. 

I don't know. Actually I'm using
MPlayer2 2.0-728-g2c378c7-4+b1 (C) 2000-2012 MPlayer Team
which is a real package.

But the thrust of my post was two-fold: (1) get configuration
files out of the way, and (2) get pulseaudio out of the way.
I'm assuming people can handle reading the man page to adjust
the command line arguments (eg my long options _require_ --ao
and --noconfig to parse correctly; the OP seems to get away
with one hyphen).

Were I using stretch mplayer, I would have posted yesterday,
but the thread seemed to have wandered up blind alleys (group
membership, device aliases, etc) without addressing the error
messages posted (missing sound device files, alsa/sdl errors).

> > I would point out that this command still reads input.conf
> > files so you might want to move them out of the way too.
> > 
> > Secondly, most of the error messages involved alsa rather
> > than the CD player. How does root get on with playing
> > sound files from other sources?
> 
> Once Thomas Schmitt had disposed of the idea that mplayer requires a
> cable between drive and sound card it comes down to software and not
> hardware.
> 
> (I use cdplay from the cdtool package quite extensively, especially in
> scripts. If the OP had been using cdtool, Curt's cable suggestion would
> have very likely been correct as cdtool uses the analogue play method).

Yes, I've used cdplay on occasions, and it's a lot quieter than
cdda because the disc so slowly comparatively, though I always
use eject rather than cdeject as the latter has given me problems.

Of course, with a laptop, you're at the mercy of the constructor
as to whether the analogue link exists.

> I installed mplayer on a machine (which has pulseaudio) yesterday. There
> was no problem with playing an audio CD, but I did not go in for any
> customisation, which is probably not the case with Rodolfo Medina.

Linux sound is complex enough that, once things work well enough,
I prefer not to disturb them, which is why I beg your forbearance.

Cheers,
David.

[toc] | [prev] | [next] | [standalone]


#183238 — Re: Einstellungen in Kontact

From"Thomas Schmitt" <scdbackup@gmx.net>
Date2017-07-06 00:00 +0200
SubjectRe: Einstellungen in Kontact
Message-ID<u00v2-3uT-67@gated-at.bofh.it>
In reply to#182928
Hi,

Michael Fothergill quoted:
> Zieht den Bayern die Lederhosen aus

That's the traditional and well justified defamation of german soccer
club FC Bayern Muenchen.

We shall not forget to mention the profound analysis by Die Toten Hosen:

  What parents does one need to have
  to be so rotten
  to sign a contract
  with that [beep] club ?

  http://www.plyrics.com/lyrics/dietotenhosen/bayern.html


Michael Lange wrote:
> But... how do you know he is a Bayern München fan?? :-)

Hey. Since when does it need the presence of a Bayern fan to start
chanting derogative verses against the ball kicking money bags ?


Have a nice day :)

Thomas

[toc] | [prev] | [next] | [standalone]


#182947

FromRodolfo Medina <rodolfo.medina@gmail.com>
Date2017-07-02 01:30 +0200
Message-ID<tYzZV-1me-15@gated-at.bofh.it>
In reply to#182922
Thanks to all who kindly replied.


David Wright <deblis@lionunicorn.co.uk> writes:

> Secondly, most of the error messages involved alsa rather
> than the CD player. How does root get on with playing
> sound files from other sources?

Yes, the error message remains also with sound files, so it actually does not
concern cdda:


# mplayer beeth-symph3-klemperer_01.wav 
MPlayer 1.3.0 (Debian), built with gcc-6.3.0 (C) 2000-2016 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing beeth-symph3-klemperer_01.wav.
libavformat version 57.56.101 (external)
Audio only file format detected.
Load subtitles in ./
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! (This could e g happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
AO: [pulse] Init failed: Connection refused
Failed to initialize audio driver 'pulse'
XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! (This could e g happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
[AO_ALSA] alsa-lib: pcm_hw.c:1602:(snd_pcm_hw_open) open '/dev/snd/pcmC0D0p' failed (-2): No such file or directory
[AO_ALSA] alsa-lib: pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
[AO_ALSA] Playback open error: No such file or directory
Failed to initialize audio driver 'alsa'
[AO SDL] Samplerate: 44100Hz Channels: Stereo Format s16le
[AO SDL] using aalib audio driver.
[AO SDL] Unable to open audio: No available audio device
Failed to initialize audio driver 'sdl:aalib'
Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video


Exiting... (End of file)


> First, it would seem sensible to clean up your first post by
> revealing the output from, say,
>
> # mplayer --noconfig=all --ao=alsa cdda://
>
> Currently I don't have mplayer installed, only mplayer2.
> I would point out that this command still reads input.conf
> files so you might want to move them out of the way too.


The error remains:

# mplayer -noconfig all -ao alsa beeth-symph3-klemperer_01.wav 
MPlayer 1.3.0 (Debian), built with gcc-6.3.0 (C) 2000-2016 MPlayer Team
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing beeth-symph3-klemperer_01.wav.
libavformat version 57.56.101 (external)
Audio only file format detected.
Load subtitles in ./
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! (This could e g happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
[AO_ALSA] alsa-lib: pcm_hw.c:1602:(snd_pcm_hw_open) open '/dev/snd/pcmC0D0p' failed (-2): No such file or directory
[AO_ALSA] alsa-lib: pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
[AO_ALSA] Playback open error: No such file or directory
Failed to initialize audio driver 'alsa'
Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video


Exiting... (End of file)


Please note that if, instead of becoming root with `su', I log in as root, the
error message is smaller:

# mplayer cdda://
MPlayer 1.3.0 (Debian), built with gcc-6.3.0 (C) 2000-2016 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing cdda://.
Found audio CD with 12 tracks.
rawaudio file format detected.

Track 1
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
AO: [pulse] Init failed: Connection refused
Failed to initialize audio driver 'pulse'
[AO_ALSA] alsa-lib: pcm_hw.c:1602:(snd_pcm_hw_open) open '/dev/snd/pcmC0D0p' failed (-2): No such file or directory
[AO_ALSA] alsa-lib: pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
[AO_ALSA] Playback open error: No such file or directory
Failed to initialize audio driver 'alsa'
[AO SDL] Samplerate: 44100Hz Channels: Stereo Format s16le
[AO SDL] using aalib audio driver.
[AO SDL] Unable to open audio: No available audio device
Failed to initialize audio driver 'sdl:aalib'
Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video


Exiting... (End of file)


> Thirdly, what's in /dev/snd?
>
> # mplayer --noconfig=all --ao=alsa cdda://
> MPlayer2 2.0-728-g2c378c7-4+b1 (C) 2000-2012 MPlayer Team
> Cannot open file '/root/.mplayer/input.conf': No such file or directory
> Failed to open /root/.mplayer/input.conf.
> Cannot open file '/etc/mplayer/input.conf': No such file or directory
> Failed to open /etc/mplayer/input.conf.
>
> Playing cdda://.
> Found audio CD with 11 tracks.
> CD-Text (CD):
>
> Track 1
> CD-Text (track):
>
> Detected file format: rawaudio
> Selected audio codec: Uncompressed PCM [pcm]
> AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
> AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
> Video: no video
> Starting playback...
> A:   3.2 (03.2) of 4629.0 ( 1:17:09.0)  2.6% 
>
> Exiting... (Quit)
> # ls -lR /dev/snd
> /dev/snd:
> total 0
> drwxr-xr-x  2 root root       60 Jul  1 08:25 by-path
> crw-rw----+ 1 root audio 116,  2 Jul  1 08:25 controlC0
> crw-rw----+ 1 root audio 116,  5 Jul  1 08:25 hwC0D0
> crw-rw----+ 1 root audio 116,  4 Jul  1 08:28 pcmC0D0c
> crw-rw----+ 1 root audio 116,  3 Jul  1 10:28 pcmC0D0p
> crw-rw----+ 1 root audio 116,  1 Jul  1 08:26 seq
> crw-rw----+ 1 root audio 116, 33 Jul  1 08:25 timer
>
> /dev/snd/by-path:
> total 0
> lrwxrwxrwx 1 root root 12 Jul  1 08:25 pci-0000:00:1b.0 -> ../controlC0
> # 


My output seems to be the same as yours:

# ls -lR /dev/snd
/dev/snd:
total 0
drwxr-xr-x  2 root root       80 Jul  1 23:55 by-path
crw-rw----+ 1 root audio 116,  2 Jul  1 23:55 controlC0
crw-rw----+ 1 root audio 116,  5 Jul  1 23:55 controlC1
crw-rw----+ 1 root audio 116,  4 Jul  1 23:55 hwC0D0
crw-rw----+ 1 root audio 116,  9 Jul  1 23:55 hwC1D0
crw-rw----+ 1 root audio 116,  3 Jul  1 23:56 pcmC0D3p
crw-rw----+ 1 root audio 116,  7 Jul  1 23:56 pcmC1D0c
crw-rw----+ 1 root audio 116,  6 Jul  1 23:56 pcmC1D0p
crw-rw----+ 1 root audio 116,  8 Jul  1 23:55 pcmC1D2c
crw-rw----+ 1 root audio 116,  1 Jul  1 23:55 seq
crw-rw----+ 1 root audio 116, 33 Jul  1 23:55 timer

/dev/snd/by-path:
total 0
lrwxrwxrwx 1 root root 12 Jul  1 23:55 pci-0000:00:01.1 -> ../controlC0
lrwxrwxrwx 1 root root 12 Jul  1 23:55 pci-0000:00:14.2 -> ../controlC1




Thanks,

Rodolfo

[toc] | [prev] | [next] | [standalone]


#182948

FromRodolfo Medina <rodolfo.medina@gmail.com>
Date2017-07-02 01:30 +0200
Message-ID<tYzZV-1me-13@gated-at.bofh.it>
In reply to#182947
Rodolfo Medina <rodolfo.medina@gmail.com> writes:

> My output seems to be the same as yours:
>
> # ls -lR /dev/snd
> /dev/snd:
> total 0
> drwxr-xr-x  2 root root       80 Jul  1 23:55 by-path
> crw-rw----+ 1 root audio 116,  2 Jul  1 23:55 controlC0
> crw-rw----+ 1 root audio 116,  5 Jul  1 23:55 controlC1
> crw-rw----+ 1 root audio 116,  4 Jul  1 23:55 hwC0D0
> crw-rw----+ 1 root audio 116,  9 Jul  1 23:55 hwC1D0
> crw-rw----+ 1 root audio 116,  3 Jul  1 23:56 pcmC0D3p
> crw-rw----+ 1 root audio 116,  7 Jul  1 23:56 pcmC1D0c
> crw-rw----+ 1 root audio 116,  6 Jul  1 23:56 pcmC1D0p
> crw-rw----+ 1 root audio 116,  8 Jul  1 23:55 pcmC1D2c
> crw-rw----+ 1 root audio 116,  1 Jul  1 23:55 seq
> crw-rw----+ 1 root audio 116, 33 Jul  1 23:55 timer
>
> /dev/snd/by-path:
> total 0
> lrwxrwxrwx 1 root root 12 Jul  1 23:55 pci-0000:00:01.1 -> ../controlC0
> lrwxrwxrwx 1 root root 12 Jul  1 23:55 pci-0000:00:14.2 -> ../controlC1

Well, no, it's different: in mine there's no pcmC0D0c...

Rodolfo

[toc] | [prev] | [next] | [standalone]


#182950

FromDavid Wright <deblis@lionunicorn.co.uk>
Date2017-07-02 02:00 +0200
Message-ID<tYAsV-1KI-1@gated-at.bofh.it>
In reply to#182948
On Sun 02 Jul 2017 at 00:29:13 (+0100), Rodolfo Medina wrote:
> Rodolfo Medina <rodolfo.medina@gmail.com> writes:
> 
> > My output seems to be the same as yours:
> >
> > # ls -lR /dev/snd
> > /dev/snd:
> > total 0
> > drwxr-xr-x  2 root root       80 Jul  1 23:55 by-path
> > crw-rw----+ 1 root audio 116,  2 Jul  1 23:55 controlC0
> > crw-rw----+ 1 root audio 116,  5 Jul  1 23:55 controlC1
> > crw-rw----+ 1 root audio 116,  4 Jul  1 23:55 hwC0D0
> > crw-rw----+ 1 root audio 116,  9 Jul  1 23:55 hwC1D0
> > crw-rw----+ 1 root audio 116,  3 Jul  1 23:56 pcmC0D3p
> > crw-rw----+ 1 root audio 116,  7 Jul  1 23:56 pcmC1D0c
> > crw-rw----+ 1 root audio 116,  6 Jul  1 23:56 pcmC1D0p
> > crw-rw----+ 1 root audio 116,  8 Jul  1 23:55 pcmC1D2c
> > crw-rw----+ 1 root audio 116,  1 Jul  1 23:55 seq
> > crw-rw----+ 1 root audio 116, 33 Jul  1 23:55 timer
> >
> > /dev/snd/by-path:
> > total 0
> > lrwxrwxrwx 1 root root 12 Jul  1 23:55 pci-0000:00:01.1 -> ../controlC0
> > lrwxrwxrwx 1 root root 12 Jul  1 23:55 pci-0000:00:14.2 -> ../controlC1
> 
> Well, no, it's different: in mine there's no pcmC0D0c...

Any help from
https://bbs.archlinux.org/viewtopic.php?id=185675
?

Cheers,
David.

[toc] | [prev] | [next] | [standalone]


#182951

FromRodolfo Medina <rodolfo.medina@gmail.com>
Date2017-07-02 03:30 +0200
Message-ID<tYBS1-2Jo-3@gated-at.bofh.it>
In reply to#182950
David Wright <deblis@lionunicorn.co.uk> writes:

> On Sun 02 Jul 2017 at 00:29:13 (+0100), Rodolfo Medina wrote:
>> Rodolfo Medina <rodolfo.medina@gmail.com> writes:
>> 
>> > My output seems to be the same as yours:
>> >
>> > # ls -lR /dev/snd
>> > /dev/snd:
>> > total 0
>> > drwxr-xr-x  2 root root       80 Jul  1 23:55 by-path
>> > crw-rw----+ 1 root audio 116,  2 Jul  1 23:55 controlC0
>> > crw-rw----+ 1 root audio 116,  5 Jul  1 23:55 controlC1
>> > crw-rw----+ 1 root audio 116,  4 Jul  1 23:55 hwC0D0
>> > crw-rw----+ 1 root audio 116,  9 Jul  1 23:55 hwC1D0
>> > crw-rw----+ 1 root audio 116,  3 Jul  1 23:56 pcmC0D3p
>> > crw-rw----+ 1 root audio 116,  7 Jul  1 23:56 pcmC1D0c
>> > crw-rw----+ 1 root audio 116,  6 Jul  1 23:56 pcmC1D0p
>> > crw-rw----+ 1 root audio 116,  8 Jul  1 23:55 pcmC1D2c
>> > crw-rw----+ 1 root audio 116,  1 Jul  1 23:55 seq
>> > crw-rw----+ 1 root audio 116, 33 Jul  1 23:55 timer
>> >
>> > /dev/snd/by-path:
>> > total 0
>> > lrwxrwxrwx 1 root root 12 Jul  1 23:55 pci-0000:00:01.1 -> ../controlC0
>> > lrwxrwxrwx 1 root root 12 Jul  1 23:55 pci-0000:00:14.2 -> ../controlC1
>> 
>> Well, no, it's different: in mine there's no pcmC0D0c...
>
> Any help from
> https://bbs.archlinux.org/viewtopic.php?id=185675
> ?


Yes: it solved half a problem...  or maybe one since they were two... Thanks to
archlinux topic's suggestion (create .asoundrc and put `defaults.pcm.device 3'
in it), mplayer's finally plays as root, but its output is:


# mplayer -ao alsa beeth-symph3-klemperer_01.wav 
MPlayer 1.3.0 (Debian), built with gcc-6.3.0 (C) 2000-2016 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing beeth-symph3-klemperer_01.wav.
libavformat version 57.56.101 (external)
Audio only file format detected.
Load subtitles in ./
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! (This could e g happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...

, and there's no sound...

Rodolfo

[toc] | [prev] | [next] | [standalone]


#182952

FromRodolfo Medina <rodolfo.medina@gmail.com>
Date2017-07-02 03:40 +0200
Message-ID<tYC1I-2Ms-3@gated-at.bofh.it>
In reply to#182951
Rodolfo Medina <rodolfo.medina@gmail.com> writes:

> David Wright <deblis@lionunicorn.co.uk> writes:
>
>> On Sun 02 Jul 2017 at 00:29:13 (+0100), Rodolfo Medina wrote:
>>> Rodolfo Medina <rodolfo.medina@gmail.com> writes:
>>> 
>>> > My output seems to be the same as yours:
>>> >
>>> > # ls -lR /dev/snd
>>> > /dev/snd:
>>> > total 0
>>> > drwxr-xr-x  2 root root       80 Jul  1 23:55 by-path
>>> > crw-rw----+ 1 root audio 116,  2 Jul  1 23:55 controlC0
>>> > crw-rw----+ 1 root audio 116,  5 Jul  1 23:55 controlC1
>>> > crw-rw----+ 1 root audio 116,  4 Jul  1 23:55 hwC0D0
>>> > crw-rw----+ 1 root audio 116,  9 Jul  1 23:55 hwC1D0
>>> > crw-rw----+ 1 root audio 116,  3 Jul  1 23:56 pcmC0D3p
>>> > crw-rw----+ 1 root audio 116,  7 Jul  1 23:56 pcmC1D0c
>>> > crw-rw----+ 1 root audio 116,  6 Jul  1 23:56 pcmC1D0p
>>> > crw-rw----+ 1 root audio 116,  8 Jul  1 23:55 pcmC1D2c
>>> > crw-rw----+ 1 root audio 116,  1 Jul  1 23:55 seq
>>> > crw-rw----+ 1 root audio 116, 33 Jul  1 23:55 timer
>>> >
>>> > /dev/snd/by-path:
>>> > total 0
>>> > lrwxrwxrwx 1 root root 12 Jul  1 23:55 pci-0000:00:01.1 -> ../controlC0
>>> > lrwxrwxrwx 1 root root 12 Jul  1 23:55 pci-0000:00:14.2 -> ../controlC1
>>> 
>>> Well, no, it's different: in mine there's no pcmC0D0c...
>>
>> Any help from
>> https://bbs.archlinux.org/viewtopic.php?id=185675
>> ?
>
>
> Yes: it solved half a problem...  or maybe one since they were two... Thanks to
> archlinux topic's suggestion (create .asoundrc and put `defaults.pcm.device 3'
> in it), mplayer's finally plays as root, but its output is:
>
>
> # mplayer -ao alsa beeth-symph3-klemperer_01.wav 
> MPlayer 1.3.0 (Debian), built with gcc-6.3.0 (C) 2000-2016 MPlayer Team
> do_connect: could not connect to socket
> connect: No such file or directory
> Failed to open LIRC support. You will not be able to use your remote control.
>
> Playing beeth-symph3-klemperer_01.wav.
> libavformat version 57.56.101 (external)
> Audio only file format detected.
> Load subtitles in ./
> ==========================================================================
> Opening audio decoder: [pcm] Uncompressed PCM audio decoder
> AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
> Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
> ==========================================================================
> XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000!
> (This could e g happen if you try to connect to a non-root PulseAudio as a root
> user, over the native protocol. Don't do that.)
> AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
> Video: no video
> Starting playback...
>
> , and there's no sound...


...also with `-ao alsa'.

Rodolfo

[toc] | [prev] | [next] | [standalone]


#182958

FromCurt <curty@free.fr>
Date2017-07-02 11:40 +0200
Message-ID<tYJwd-846-11@gated-at.bofh.it>
In reply to#182951
On 2017-07-02, Rodolfo Medina <rodolfo.medina@gmail.com> wrote:
>
>==========================================================================
> XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! (This could e g happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
> AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
> Video: no video
> Starting playback...

XDG_RUNTIME_DIR=/run/user/0 mplayer ... ?

> , and there's no sound...
>
> Rodolfo
>
>


-- 
“Yeah yeah.” --Sidney Morgenbesser's retort to a speaker who said that although
there are many cases in which two negatives make a positive, he knew of no case
in which two positives made a negative.

[toc] | [prev] | [next] | [standalone]


#182964

FromBrian <ad44@cityscape.co.uk>
Date2017-07-02 13:30 +0200
Message-ID<tYLeG-19F-11@gated-at.bofh.it>
In reply to#182958
On Sun 02 Jul 2017 at 09:29:25 +0000, Curt wrote:

> On 2017-07-02, Rodolfo Medina <rodolfo.medina@gmail.com> wrote:
> >
> >==========================================================================
> > XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! (This could e g happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
> > AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
> > Video: no video
> > Starting playback...
> 
> XDG_RUNTIME_DIR=/run/user/0 mplayer ... ?

The message (from pulseaudio, I think) is valid. su has been used to
gain root so $XDG_RUNTIME_DIR is inherited from the user's shell.
XDG_RUNTIME_DIR should be specific for each user, not shared.

 export XDG_RUNTIME_DIR=""

can be run before mplayer to not see it.

> > , and there's no sound...

There is for me.

root@test:/home/brian# ls -lR /dev/snd
/dev/snd:
total 0
drwxr-xr-x  2 root root       60 Jul  2 11:54 by-path
crw-rw----+ 1 root audio 116,  2 Jul  2 11:54 controlC0
crw-rw----+ 1 root audio 116,  7 Jul  2 11:54 hwC0D2
crw-rw----+ 1 root audio 116,  4 Jul  2 11:56 pcmC0D0c
crw-rw----+ 1 root audio 116,  3 Jul  2 12:21 pcmC0D0p
crw-rw----+ 1 root audio 116,  5 Jul  2 11:56 pcmC0D1p
crw-rw----+ 1 root audio 116,  6 Jul  2 11:54 pcmC0D2c
crw-rw----+ 1 root audio 116,  1 Jul  2 11:54 seq
crw-rw----+ 1 root audio 116, 33 Jul  2 11:54 timer

/dev/snd/by-path:
total 0
lrwxrwxrwx 1 root root 12 Jul  2 11:54 pci-0000:00:1b.0 -> ../controlC0

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


#182975

FromRodolfo Medina <rodolfo.medina@gmail.com>
Date2017-07-02 16:20 +0200
Message-ID<tYNTb-37u-1@gated-at.bofh.it>
In reply to#182964
Brian <ad44@cityscape.co.uk> writes:

> On Sun 02 Jul 2017 at 09:29:25 +0000, Curt wrote:
>
>> On 2017-07-02, Rodolfo Medina <rodolfo.medina@gmail.com> wrote:
>> >
>> >==========================================================================
>> > XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid
>> > 1000! (This could e g happen if you try to connect to a non-root PulseAudio
>> > as a root user, over the native protocol. Don't do that.)
>> > AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
>> > Video: no video
>> > Starting playback...
 

No, neither

 XDG_RUNTIME_DIR=/run/user/0 mplayer ... ?

nor

 export XDG_RUNTIME_DIR=""

did help...

Thanks,

Rodolfo

[toc] | [prev] | [next] | [standalone]


#182977

FromCurt <curty@free.fr>
Date2017-07-02 17:10 +0200
Message-ID<tYOFz-3Ic-15@gated-at.bofh.it>
In reply to#182975
On 2017-07-02, Rodolfo Medina <rodolfo.medina@gmail.com> wrote:
>
> No, neither
>
>  XDG_RUNTIME_DIR=/run/user/0 mplayer ... ?
>
> nor
>
>  export XDG_RUNTIME_DIR=""
>
> did help...

Well I'm still reading that "pulseaudio in normal user mode will allow
only the active session as marked by ConsoleKit to access the audio
hardware." 

So it would seem that you'd have to run pulseaudio as a system-wide
instance for this to work (sound for your regular user and root through
pulseaudio, configured by each with pavucontrol).


> Thanks,
>
> Rodolfo
>
>


-- 
“Yeah yeah.” --Sidney Morgenbesser's retort to a speaker who said that although
there are many cases in which two negatives make a positive, he knew of no case
in which two positives made a negative.

[toc] | [prev] | [next] | [standalone]


#182979

FromBrian <ad44@cityscape.co.uk>
Date2017-07-02 18:20 +0200
Message-ID<tYPLk-4tt-1@gated-at.bofh.it>
In reply to#182975
On Sun 02 Jul 2017 at 15:10:34 +0100, Rodolfo Medina wrote:

> Brian <ad44@cityscape.co.uk> writes:
> 
> > On Sun 02 Jul 2017 at 09:29:25 +0000, Curt wrote:
> >
> >> On 2017-07-02, Rodolfo Medina <rodolfo.medina@gmail.com> wrote:
> >> >
> >> >==========================================================================
> >> > XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid
> >> > 1000! (This could e g happen if you try to connect to a non-root PulseAudio
> >> > as a root user, over the native protocol. Don't do that.)
> >> > AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
> >> > Video: no video
> >> > Starting playback...
>  
> 
> No, neither
> 
>  XDG_RUNTIME_DIR=/run/user/0 mplayer ... ?
> 
> nor
> 
>  export XDG_RUNTIME_DIR=""
> 
> did help...

Help with what? export.... is only intended to make the variable empty
so that the message above does not appear after a su to root. It does
not turn a non-working audio into a working one.

Your original problem (no CD audio as a user) has been solved. No audio
as root is an interesting problem but hardly critical. I have no issue
with audio as a user or as root when playing a CD. Reviewing any tweaks
you have made to the system is advised.

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


#182981

FromRodolfo Medina <rodolfo.medina@gmail.com>
Date2017-07-02 19:40 +0200
Message-ID<tYR0J-5cR-3@gated-at.bofh.it>
In reply to#182979
Brian <ad44@cityscape.co.uk> writes:

> On Sun 02 Jul 2017 at 15:10:34 +0100, Rodolfo Medina wrote:
>
>> Brian <ad44@cityscape.co.uk> writes:
>> 
>> > On Sun 02 Jul 2017 at 09:29:25 +0000, Curt wrote:
>> >
>> >> On 2017-07-02, Rodolfo Medina <rodolfo.medina@gmail.com> wrote:
>> >> >
>> >> >==========================================================================
>> >> >XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid
>> >> >1000! (This could e g happen if you try to connect to a non-root
>> >> >PulseAudio as a root user, over the native protocol. Don't do that.)
>> >> >AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample) Video: no video
>> >> >Starting playback...
>>  
>> 
>> No, neither
>> 
>>  XDG_RUNTIME_DIR=/run/user/0 mplayer ... ?
>> 
>> nor
>> 
>>  export XDG_RUNTIME_DIR=""
>> 
>> did help...
>
> Help with what? export.... is only intended to make the variable empty
> so that the message above does not appear after a su to root. It does
> not turn a non-working audio into a working one.
>
> Your original problem (no CD audio as a user) has been solved. No audio
> as root is an interesting problem but hardly critical. I have no issue
> with audio as a user or as root when playing a CD. Reviewing any tweaks
> you have made to the system is advised.


It's so...  All right.

Thanks,

Rodolfo

[toc] | [prev] | [next] | [standalone]


#182853

FromCurt <curty@free.fr>
Date2017-06-30 13:30 +0200
Message-ID<tY2hA-4Qj-33@gated-at.bofh.it>
In reply to#182850
On 2017-06-30, Thomas Schmitt <scdbackup@gmx.net> wrote:
> Hi,
>
> Curt wrote:
>>  mplayer -cdrom-device /dev/hdb cdda://1
>> or wherever the device exists on your machine.
>
> Unless on very old systems, i'd expect /dev/sr0, /dev/sr1, ...
>

Or wherever the device exists on your machine.

>> Maybe there's no audio cable between the cd drive and the sound card. 
>
> I doubt that mplayer would use the PLAY AUDIO command to let the drive
> send an analog signal to the sound card. I rather assume it uses READ CD
> to get the 16 bit digital audio data and then processes them like other
> input.
> So no audio cable from drive to sound card would be needed.
>

Oh, ok, ripping good.

> Brian wrote:
>> It is worth noting that local access to the /dev/sr* device does
>> not depend on being a member of the cdrom group, Using 'ls -l':
>>  brw-rw----+ root cdrom 11, 0 June 30 11:15 /dev/sr0
>> The "+" is a result of 70-uaccess.rules in /lib/udev/rules.d. It
>> indicates an Access Control List (ACL).
>
> ... which can be inquired by
>
>   $ getfacl /dev/sr0
>   ...
>   user:thomas:rw-
>   ...
>
> So my desktop user got an extra permission to read and write, regardless
> of group membership or "others" permission.
>
>
> Have a nice day :)
>
> Thomas
>
>


-- 
“Yeah yeah.” --Sidney Morgenbesser's retort to a speaker who said that although
there are many cases in which two negatives make a positive, he knew of no case
in which two positives made a negative.

[toc] | [prev] | [next] | [standalone]


#182847

FromCurt <curty@free.fr>
Date2017-06-30 11:30 +0200
Message-ID<tY0ps-3C8-9@gated-at.bofh.it>
In reply to#182834
On 2017-06-29, Rodolfo Medina <rodolfo.medina@gmail.com> wrote:
> Please help...  mplayer works fine when playing files (mp3, wav, etc), but
> fails in playing audio CDs.  When I launch it as a normal user I have:
>
> $ mplayer cdda://
> MPlayer 1.3.0 (Debian), built with gcc-6.3.0 (C) 2000-2016 MPlayer Team
> do_connect: could not connect to socket
> connect: No such file or directory
> Failed to open LIRC support. You will not be able to use your remote control.

How about giving it the full path:

 mplayer -cdrom-device /dev/media/cdrom cdda://1
 mplayer -cdrom-device /dev/hdb cdda://1

or wherever the device exists on your machine.

Also perhaps verify in a mixer program (alsamixer, e.g.) that cdrom audio output
isn't muted.

Maybe there's no audio cable between the cd drive and the sound card. 

;-)



-- 
“Yeah yeah.” --Sidney Morgenbesser's retort to a speaker who said that although
there are many cases in which two negatives make a positive, he knew of no case
in which two positives made a negative.

[toc] | [prev] | [next] | [standalone]


#183359

FromWilko Fokken <wfokken@web.de>
Date2017-07-07 22:50 +0200
Message-ID<u0Iml-KZ-7@gated-at.bofh.it>
In reply to#182847
On Fri, Jun 30, 2017 at 09:23:15AM +0000, Curt wrote:
> On 2017-06-29, Rodolfo Medina <rodolfo.medina@gmail.com> wrote:
> > Please help...  mplayer works fine when playing files (mp3, wav, etc), but
> > fails in playing audio CDs.  When I launch it as a normal user I have:
> >
> > $ mplayer cdda://
> > MPlayer 1.3.0 (Debian), built with gcc-6.3.0 (C) 2000-2016 MPlayer Team
> > do_connect: could not connect to socket
> > connect: No such file or directory
> > Failed to open LIRC support. You will not be able to use your remote control.
> 
> How about giving it the full path:
> 
>  mplayer -cdrom-device /dev/media/cdrom cdda://1
>  mplayer -cdrom-device /dev/hdb cdda://1
> 
> or wherever the device exists on your machine.
> 
> Also perhaps verify in a mixer program (alsamixer, e.g.) that cdrom audio output
> isn't muted.
> 
> Maybe there's no audio cable between the cd drive and the sound card. 
> 
> ;-)


Moin together,

having only recently succeded in running a movie DVD and a music CD using
mplayer via smplayer under Debian Jenny on my laptop "hp 6730b", I found
that my pulseaudio sound system needs to be activated BEFORE other
processes using sound are started.

[using 'ps ax', one can study the mplayer params set by smplayer]


In order to be able to refresh my sound system at any time, even after
processes using sound are already active, I'm using a simple alias
(from within a terminal):

alias pulse='sudo kill -9 $(pidof pulseaudio) && alsamixer -c0'


hope this may help a bit

W. Fokken

[toc] | [prev] | [next] | [standalone]


#183361

FromGreg Wooledge <wooledg@eeg.ccf.org>
Date2017-07-07 23:20 +0200
Message-ID<u0IPn-1bT-7@gated-at.bofh.it>
In reply to#183359
On Fri, Jul 07, 2017 at 10:27:03PM +0200, Wilko Fokken wrote:
> alias pulse='sudo kill -9 $(pidof pulseaudio) && alsamixer -c0'

man pkill, and stop using -9

[toc] | [prev] | [next] | [standalone]


Page 2 of 3 — ← Prev page 1 [2] 3  Next page →

Back to top | Article view | linux.debian.user


csiph-web