[Pkg-pulseaudio-devel] Bug#452019: pulseaudio unloads module-oss immediately at startup

Haze Fields hazed at xs4all.nl
Mon Nov 19 20:52:43 UTC 2007


Package: pulseaudio
Version: 0.9.7-3
Severity: normal



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-3-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages pulseaudio depends on:
ii  adduser                       3.105      add and remove users and groups
ii  libasound2                    1.0.15-2   ALSA library
ii  libasyncns0                   0.3-1      Asyncronous name service
query lib
hi  libc6                         2.7-0exp8  GNU C Library: Shared libraries
ii  libcap1                       1:1.10-14  support for getting/setting
POSIX.
ii  libdbus-1-3                   1.1.1-3    simple interprocess messaging
syst
ii  libltdl3                      1.5.24-1   A system independent dlopen
wrappe
ii  liboil0.3                     0.3.12-1   Library of Optimized Inner Loops
ii  libpulsecore4                 0.9.7-3    PulseAudio sound server core
ii  libsamplerate0                0.1.2-5    audio rate conversion library
ii  libsndfile1                   1.0.17-4   Library for reading/writing
audio
ii  libwrap0                      7.6.dbs-14 Wietse Venema's TCP wrappers
libra

Versions of packages pulseaudio recommends:
ii  gstreamer0.10-pulseaudio [lib 0.9.5-2    GStreamer plugin for PulseAudio
ii  libao-pulse                   0.9.3-1    libao PulseAudio driver
ii  libasound2-plugins            1.0.15-1   ALSA library additional plugins
ii  padevchooser                  0.9.3-2    PulseAudio Device Chooser
ii  paprefs                       0.9.5-2    PulseAudio Preferences
ii  pulseaudio-esound-compat      0.9.7-3    PulseAudio ESD compatibility
layer
ii  pulseaudio-module-hal         0.9.7-3    HAL device detection module
for Pu
ii  pulseaudio-module-x11         0.9.7-3    X11 module for PulseAudio
sound se

-- no debconf information

I'm tring to get pulseaudio running on Sid AMD64 using 4front-tech's OSS
sound driver for an Audigy 2 ZS Platinum Pro card. I have uncommented
the OSS line (not the mmapped line because this has been apparently
removed upstream?) in default.pa but pulseaudio drops the sound card
immediately. I do not rule out user/config error as I can't really find
much about the OSS and pulseaudio combination.

My default.pa is the standard config but with the following 3 lines
uncommented:

load-module module-oss device="/dev/dsp" sink_name=output
source_name=input
set-default-sink output
set-default-source input

In daemon.conf I have set high-priority to 1

My user is a member of audio, pulse, pulse-rt and pulse-access.

I then do "pulseaudio --log-level=debug" and get:

I: core-util.c: Successfully gained nice level -11.
I: main.c: Page size is 4096 bytes
I: main.c: Dude, your kernel stinks! The chef's recommendation today is
Linux with high-resolution timers enabled!
D: oss-util.c: capabilities: BATCH DUPLEX MMAP MULTI REALTIME TRIGGER
I: module-oss.c: Hardware name is 'SB Audigy2 main'.
I: module-oss.c: Device opened in O_RDWR mode.
I: module-oss.c: Input -- 16 fragments of size 4096.
I: module-oss.c: Output -- 4 fragments of size 4096.
D: module-oss.c: Successfully mmap()ed input buffer.
I: source.c: Created source 0 "input" with sample spec "s16le 2ch
44100Hz"
D: module-oss.c: Successfully mmap()ed output buffer.
I: sink.c: Created sink 0 "output" with sample spec "s16le 2ch 44100Hz"
I: source.c: Created source 1 "output.monitor" with sample spec "s16le
2ch 44100Hz"
D: module-oss.c: Found hardware mixer track for playback.
D: module-oss.c: Found hardware mixer track for recording.
D: oss-util.c: Read mixer settings: 0: 100% 1: 100%
D: oss-util.c: Read mixer settings: 0:  75% 1:  75%
D: module-oss.c: Thread starting up
I: core-util.c: Successfully enabled SCHED_FIFO scheduling for thread.
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29
D: module-oss.c: trigger
D: module-oss.c: trigger: 2
E: module-oss.c: DSP shutdown.
D: module-oss.c: trigger
D: module-oss.c: trigger: 3
I: module.c: Loaded "module-oss" (index: #0; argument:
"device="/dev/dsp" sink_name=output source_name=input").
D: cli-command.c: Checking for existance of
'/usr/lib/pulse-0.9/modules//module-hal-detect.so': success
I: module-hal-detect.c: Trying capability alsa
I: module-hal-detect.c: Trying capability oss
I: module-hal-detect.c: Loaded 0 modules.
I: module.c: Loaded "module-hal-detect" (index: #1; argument: "").
I: module.c: Loaded "module-esound-protocol-unix" (index: #2; argument:
"socket="/tmp/.esd/socket"").
I: protocol-native.c: loading cookie from disk.
I: module.c: Loaded "module-native-protocol-unix" (index: #3; argument:
"").
I: module-volume-restore.c: starting with empty ruleset.
I: module.c: Loaded "module-volume-restore" (index: #4; argument: "").
I: module.c: Loaded "module-default-device-restore" (index: #5;
argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #6; argument: "").
D: cli-command.c: Checking for existance of
'/usr/lib/pulse-0.9/modules//module-x11-publish.so': success
D: module-x11-publish.c: using already loaded auth cookie.
I: module.c: Loaded "module-x11-publish" (index: #7; argument: "").
D: cli-command.c: Checking for existance of
'/usr/lib/pulse-0.9/modules//module-gconf.so': success
D: module-gconf.c: Loading module 'module-native-protocol-tcp' with args
'auth-anonymous=1' due to GConf configuration.
I: protocol-native.c: using already loaded auth cookie.
I: protocol-native.c: using already loaded auth cookie.
I: module.c: Loaded "module-native-protocol-tcp" (index: #8; argument:
"auth-anonymous=1").
D: module-gconf.c: Loading module 'module-esound-protocol-tcp' with args
'auth-anonymous=1' due to GConf configuration.
I: module.c: Loaded "module-esound-protocol-tcp" (index: #9; argument:
"auth-anonymous=1").
D: module-gconf.c: Loading module 'module-zeroconf-publish' with args ''
due to GConf configuration.
D: module-zeroconf-publish.c: Publishing services in Zeroconf
D: module-zeroconf-publish.c: Successfully created entry group for
haze at chaosx: OSS PCM on /dev/dsp (SB Audigy2 main) via DMA.
D: module-zeroconf-publish.c: Successfully created entry group for
haze at chaosx: OSS PCM on /dev/dsp (SB Audigy2 main) via DMA.
I: module.c: Loaded "module-zeroconf-publish" (index: #10; argument:
"").
I: module.c: Loaded "module-gconf" (index: #11; argument: "").
D: core-subscribe.c: dropped redundant event.
I: main.c: Daemon startup complete.
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus,
path=/org/freedesktop/DBus, member=NameAcquired
I: module.c: Unloading "module-oss" (index: #0).
D: module-rescue-streams.c: No sink inputs to move away.
D: module-zeroconf-publish.c: Removing entry group for haze at chaosx: OSS
PCM on /dev/dsp (SB Audigy2 main) via DMA.
D: module-rescue-streams.c: No source outputs to move away.
D: module-rescue-streams.c: No source outputs to move away.
D: module-zeroconf-publish.c: Removing entry group for haze at chaosx: OSS
PCM on /dev/dsp (SB Audigy2 main) via DMA.
D: module-oss.c: Thread shutting down
I: sink.c: Freeing sink 0 "output"
I: source.c: Freeing source 1 "output.monitor"
I: source.c: Freeing source 0 "input"
I: module.c: Unloaded "module-oss" (index: #0).
I: module-zeroconf-publish.c: Successfully established main service.
I: client.c: Created 0 "Native client (UNIX socket client)"
I: protocol-native.c: Got credentials: uid=1000 gid=1000 success=1
I: protocol-native.c: Enabled SHM for new connection
I: client.c: Client 0 changed name from "Native client (UNIX socket
client)" to "PulseAudio Manager"

END

That's as far as I get with pulseaudio. If you need more info, please
don't hesitate to contact me.

Regards,

Matthew








More information about the Pkg-pulseaudio-devel mailing list