2012-11-9 ??6:18 ? <poljarinho at gmail.com> ??? > > On Fri, Nov 09, 2012 at 11:03:14AM +0800, Raymond Yau wrote: > > > > > > If we know if a certain port is available/unavailable, we can print > > > that out, as a help to the user (and as debugging for ourselves). > > > > but the port has three state: yes, no and unknown > > Yes thats true, if we don't know the state of the port we don't print > out anything. > > > > > A profile is also available/unavailable if all ports which have that > > > profile is available/unavailable. > > > > for surround 5.1, does it meant that pulseaudio have to check the > > availability of the green, black and orange > > > > many professional sound card does not support jack detection since it > > produce noise during the detection > > > > spdif jack does not has any jack detection > > > > We check all the ports that belong to a certain profile. So yes if we > have a surround profile we check all the surround ports for their state. iec958-stereo-output: Digital Output (S/PDIF) (priority 0, available: unknown) properties: is there any simple way to find out the cause of no sound problem of spdif of ad1989b on ubuntu 12.10 ? driver (No hda jack detect kcontrol) or pa 's spdif port priority https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1076224 active profile: <output:iec958-stereo+input:analog-stereo> sinks: alsa_output.pci-0000_00_1b.0.iec958-stereo/#6: Built-in Audio Digital Stereo (IEC958) sources: alsa_input.pci-0000_00_1b.0.analog-stereo/#1: Built-in Audio Analog Stereo alsa_output.pci-0000_00_1b.0.iec958-stereo.monitor/#8: Monitor of Built-in Audio Digital Stereo (IEC958) ports: analog-output: Analog Output (priority 9900, available: unknown) properties: analog-output-headphones: Headphones (priority 9000, available: unknown) properties: analog-input-microphone-front: Front Microphone (priority 8500, available: unknown) properties: analog-input-microphone: Microphone (priority 8700, available: unknown) properties: analog-input-linein: Line In (priority 8100, available: unknown) properties: iec958-stereo-input: iec958-stereo-input (priority 0, available: unknown) properties: iec958-stereo-output: Digital Output (S/PDIF) (priority 0, available: unknown) properties: -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20121109/7131c7c3/attachment.html>