Ticket #39 (closed defect: fixed)
module-zeroconf-publish: invalid service name
| Reported by: | ZlatkO | Owned by: | lennart |
|---|---|---|---|
| Milestone: | 0.9.7 | Component: | module-zeroconf-* |
| Keywords: | Cc: |
Description
I'm using pulseaudio-0.9.5, avahi-0.6.13, dbus-0.92. On startup, pulseaudio logs the following error to /var/log/syslog:
Oct 12 18:47:02 disclosure pulseaudio[2700]: module-zeroconf-publish.c: avahi_entry_group_add_service_strlst(): Invalid service name
The service name in question (s->service_name in module-zeroconf-publish.c, line 199) is, without the quotes, "Monitor Source of ALSA PCM on hw:0 (ES1371 DAC2/ADC) on disclosure". Other pulseaudio services get published fine, and can be seen in avahi-discover, avahi-browse, service-discovery-applet, etc.:
[zlatko@disclosure]:~$ avahi-browse -a -t | grep Pulse | sort + eth0 IPv4 disclosure PulseAudio Sound Server local + eth0 IPv4 input_alsa_ens1371 on disclosure PulseAudio Sound Source local + eth0 IPv4 input_alsa_headset on disclosure PulseAudio Sound Source local + eth0 IPv4 input_alsa_nforce on disclosure PulseAudio Sound Source local + eth0 IPv4 input_oss_es1371 on disclosure PulseAudio Sound Source local + eth0 IPv4 input_oss_headset on disclosure PulseAudio Sound Source local + eth0 IPv4 input_oss_nforce on disclosure PulseAudio Sound Source local + eth0 IPv4 output_alsa_ens1371 on disclosure PulseAudio Sound Sink local + eth0 IPv4 output_alsa_headset on disclosure PulseAudio Sound Sink local + eth0 IPv4 output_alsa_nforce on disclosure PulseAudio Sound Sink local + eth0 IPv4 output_oss_es1371 on disclosure PulseAudio Sound Sink local + eth0 IPv4 output_oss_headset on disclosure PulseAudio Sound Sink local + eth0 IPv4 output_oss_nforce on disclosure PulseAudio Sound Sink local [zlatko@disclosure]:~$
I use a bunch of add-autoload-{sink,source} statements instead of module-hal-discover in order to get sane sink and source names. I couldn't find a way to rename the monitor sources, however, so I couldn't experiment with changing its service name to something more simple.
