[pulseaudio-tickets] [Bug 51354] Ports(Jack Detection) state error

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Oct 2 14:43:35 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=51354

Tanu Kaskinen <tanuk at iki.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |david.henningsson at canonical
                   |                            |.com

--- Comment #3 from Tanu Kaskinen <tanuk at iki.fi> ---
It would be nice to have the full log of pulseaudio -vvv. The log that is
attached doesn't start from the beginning, and doesn't contain the part where
the jack is probed.

Anyway, I think the most likely reason is that pa_alsa_find_jack() returns NULL
in jack_probe(). This is the code:

snd_hctl_elem_t* pa_alsa_find_jack(snd_hctl_t *hctl, const char* jack_name)
{           
    snd_ctl_elem_id_t *id;

    snd_ctl_elem_id_alloca(&id);
    snd_ctl_elem_id_clear(id);
    snd_ctl_elem_id_set_interface(id, SND_CTL_ELEM_IFACE_CARD);
    snd_ctl_elem_id_set_name(id, jack_name);

    return snd_hctl_find_elem(hctl, id);
}

So, if this function returns NULL, either the function is incorrect, or the bug
is in alsa.

I've added David to CC (I don't know if you already get all bug traffic anyway
- if you do, tell me so and I won't do this again).

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20121002/d518f0b0/attachment.html>


More information about the pulseaudio-bugs mailing list