The actual version of PulseAudio installed on Ubuntu 9.04 is 0.9.14. The first step is to install pulseaudio-module-jack.
From here you can download the module:
- pulseaudio-module-jack 0.9.14 x86
- pulseaudio-module-jack 0.9.14 amd64
After you've installed the module for your arch, you need to edit the default configuration of pulse - /etc/pulse/default.pa [sudo gedit /etc/pulse/default.pa]
Edit the config following the example below:
original default.pa:
### Load audio drivers statically (it's probably better to not load
### these drivers manually, but instead use module-hal-detect --
### see below -- for doing this automatically)
#load-module module-alsa-sink
#load-module module-alsa-source device=hw:1,0
#load-module module-oss device="/dev/dsp" sink_name=output source_name=input
#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
#load-module module-null-sink
#load-module module-pipe-sink
### Automatically load driver modules depending on the hardware available
.ifexists module-hal-detect.so
load-module module-hal-detect
.else
### Alternatively use the static hardware detection module (for systems that
### lack HAL support)
load-module module-detect
.endif |
default.pa edited:
### Load audio drivers statically (it's probably better to not load
### these drivers manually, but instead use module-hal-detect --
### see below -- for doing this automatically)
#load-module module-alsa-sink
#load-module module-alsa-source device=hw:1,0
#load-module module-oss device="/dev/dsp" sink_name=output source_name=input
#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
#load-module module-null-sink
#load-module module-pipe-sink
load-module module-jack-source
load-module module-jack-sink
### Automatically load driver modules depending on the hardware available
#.ifexists module-hal-detect.so
#load-module module-hal-detect
#.else
### Alternatively use the static hardware detection module (for systems that
### lack HAL support)
#load-module module-detect
#.endif |
The two lines with load-module are used to load the modules installed and you must comment HAL modules to avoid errors.
Nod edit /etc/default/jackd [sudo gedit /etc/default/jackd] to start jack daemon at the system startup:
set START_DAEMON=yes and USER with your username; example of my file:
# Set to "yes" to start jackd at boot
START_DAEMON=yes
# The jackd process will run under this user
USER=st4ck
# Options to pass to jackd
OPTIONS="-R -d alsa -d hw" |
Now reboot and test your audio. You can start qjackctl in a second moment without any problems.
PS: I've had some problems with Jackd at the system startup; I've resolved my problem editing file /etc/gdm/Init/Default. I've added two lines at the end of file before exit 0:
killall -9 pulseaudio
/etc/init.d/jackd restart |