Comment 4 for bug 205717

Revision history for this message
Victor Engmark (victor-engmark) wrote : Re: [Hardy] S/Pdif / digital output not available in pulseaudio

I'm having similar problems. Here's some relevant shell output:

I'm trying to play on the digital device:
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: AD198x Digital [AD198x Digital]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

So I set up Pulseaudio:
$ grep alsa-sink /etc/pulse/default.pa
load-module module-alsa-sink device=hw:0,1

But now I can't start the daemon:
$ pulseaudio -vD
I: main.c: Called SUID root and real-time/high-priority scheduling was requested in the configuration. However, we lack the necessary priviliges:
I: main.c: We are not in group 'pulse-rt' and PolicyKit refuse to grant us priviliges. Dropping SUID again.
I: main.c: For enabling real-time scheduling please acquire the appropriate PolicyKit priviliges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
I: main.c: Note that real-time/high-priority scheduling is NOT normally required. If you experience crackling or other sound anomalies, consider one or more of the above solutions.
I: main.c: High-priority scheduling enabled in configuration but now allowed by policy. Disabling forcibly.
E: main.c: daemon startup failed.

OK, adding group:
$ sudo addgroup username pulse-rt
Adding user `username' to group `pulse-rt' ...
Adding user username to group pulse-rt
Done.

But no luck:
$ pulseaudio -vD
[same error as before]

If I change /etc/pulse/default.pa to use device "0,0" the daemon starts, but of course I don't get any digital output.

PS: Using the "AD198x Digital" device in gnome-sound-properties kinda works, but with no sound mixing (yes, ESD is turned on).