Bug#597152: rplay-server: silently fails unless OSS support is working
Package: rplay-server
Version: 3.3.2-11.1
Severity: normal
*** Please type your report below this line ***
On a lenny system we used ALSA to configure sound.
We tried to play some .au (.snd) format files with rplay,
but this failed. rplay-client exited with no error status.
We were able to play the same files with sndfile-play.
% lsmod |grep snd
snd_hda_intel 326584 0
snd_pcm 63492 1 snd_hda_intel
snd_seq 42224 0
snd_timer 18568 2 snd_pcm,snd_seq
snd_seq_device 7148 1 snd_seq
snd 46404 5 snd_hda_intel,snd_pcm,snd_seq,snd_timer,snd_seq_device
soundcore 7136 1 snd
snd_page_alloc 8648 2 snd_hda_intel,snd_pcm
After stracing the interaction between -client and -server
we could see that the audio-device=/dev/dsp argument was
not being passed (along with all the other playing parameters).
e.g. (from the rplay-server strace)
9743 write(6, "+host=testbox version=3.3.2 uptime=00:05:38\r\n"..., 41) = 41
9743 time(NULL) = 1284607712
9743 select(1024, [0 3 4 5 6], [], NULL, {1, 0}) = 1 (in [6], left {1, 0})
9743 time(NULL) = 1284607712
9743 recv(6, "info sound=BoobookOwl.au\r\n"..., 1024, MSG_PEEK) = 26
9743 read(6, "info sound=BoobookOwl.au\r\n"..., 26) = 26
9743 open("/sounds/BoobookOwl.au", O_RDONLY|O_NONBLOCK) = 7
The workaround was
# modprobe snd-pcm-oss
# lsmod |grep snd
snd_pcm_oss 33568 0
snd_mixer_oss 13088 2 snd_pcm_oss
snd_hda_intel 326584 1
snd_pcm 63492 2 snd_pcm_oss,snd_hda_intel
snd_seq 42224 0
snd_timer 18568 2 snd_pcm,snd_seq
snd_seq_device 7148 1 snd_seq
snd 46404 7 snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_pcm,snd_seq,snd_timer,snd_seq_device
soundcore 7136 2 snd
snd_page_alloc 8648 2 snd_hda_intel,snd_pcm
# /etc/init.d/rplay-server restart
Since this package is orphaned it seems unreasonable to ask for ALSA support.
But it would be useful to document that the devices /dev/audio and /dev/dsp
are needed for the package to function correctly, in the README.Debian for -server.
e.g.
This package relies on OSS sound device support to function correctly,
i.e. /dev/dsp and /dev/audio must be present on your system before
rplay-server will be able to play sounds.
Kind regards
Vince
-- System Information:
Debian Release: 5.0.5
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-2-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages rplay-server depends on:
ii libc6 2.7-18lenny4 GNU C Library: Shared libraries
ii libgsm1 1.0.12-1 Shared libraries for GSM speech co
ii librplay3 3.3.2-11.1 Shared libraries for the rplay net
rplay-server recommends no packages.
Versions of packages rplay-server suggests:
ii mpg123 1.4.3-4lenny1 MPEG layer 1/2/3 audio player
pn vorbis-tools <none> (no description available)
-- no debconf information
--
Reply to: