alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Gabriele Martino <g.martino@gmx.com>
To: alsa-devel@alsa-project.org
Subject: Re: Intel HDA / ca0132: support for Alienware 15 Creative Sound Core3D-EX
Date: Thu, 30 Apr 2015 01:40:30 +0200	[thread overview]
Message-ID: <55416BEE.5090003@gmx.com> (raw)
In-Reply-To: <s5h8uda93pf.wl-tiwai@suse.de>

On 29/04/2015 20:42, Takashi Iwai wrote:
> At Wed, 29 Apr 2015 17:42:55 +0200,
> Gabriele Martino wrote:
>> On 29/04/2015 15:38, Takashi Iwai wrote:
>>> At Wed, 29 Apr 2015 00:47:16 +0200,
>>> Gabriele Martino wrote:
>>>> Thank you for your explanation.
>>>> I managed to fix the pin address, but as I told before the jack
>>>> detection is totally messed up.
>>>> "hdajacksensetest" fails with:
>>>> Ioctl call failed with error 16
>>> The error message looks irrelevant with the patch itself.
>>> Did you build with proper kernel configs?
>>> CONFIG_SND_HDA_HWDEP=y
>>> CONFIG_SND_HDA_RECONFIG=y
>>> CONFIG_SND_HDA_PATCH_LOADER=y
>> It should be ok:
>>
>> $ grep CONFIG_SND_HDA_ /usr/src/linux/.config | grep -v '^#'
>> CONFIG_SND_HDA_INTEL=m
>> CONFIG_SND_HDA_DSP_LOADER=y
>> CONFIG_SND_HDA_PREALLOC_SIZE=2048
>> CONFIG_SND_HDA_HWDEP=y
>> CONFIG_SND_HDA_RECONFIG=y
>> CONFIG_SND_HDA_INPUT_JACK=y
>> CONFIG_SND_HDA_PATCH_LOADER=y
>> CONFIG_SND_HDA_CODEC_HDMI=m
>> CONFIG_SND_HDA_I915=y
>> CONFIG_SND_HDA_CODEC_CA0132=m
>> CONFIG_SND_HDA_CODEC_CA0132_DSP=y
>> CONFIG_SND_HDA_GENERIC=m
>> CONFIG_SND_HDA_POWER_SAVE_DEFAULT=60
> OK, then it's something else.  Errno 16 is EBUSY, so something else
> must be accessing the same device (e.g. hwdep) and blocking the
> operation.
>
> Are you sure that you never see this error when a kernel is without
> the patch?
It was an error on my part, my apologies.
I did a full kernel clean and rebuild, and the error 16 went away.
But the jack detection is still broken.

hdajacksensetest -c 1 -a
Pin 0x0b (Internal Speaker): present = Yes
Pin 0x0c (Not connected): present = No
Pin 0x0d (Not connected): present = No
Pin 0x0e (Not connected): present = No
Pin 0x0f (Not connected): present = Yes
Pin 0x10 (Not connected): present = No
Pin 0x11 (Black Line In, Left side): present = No
Pin 0x12 (Internal Mic, Mobile-In): present = No
Pin 0x13 (Not connected): present = No
Pin 0x18 (Not connected): present = No

Pin 0x0f is still reported as not connected, but correctly detects the
jack if plugged.
If I turn off and on the "HP/Speaker Auto Detect" in alsamixer while
"HP/Speaker" is off, the correct output is detected.
If "HP/Speaker" is on, the behaviour is inconsistent.

Is there a configuration file? Where can I find the metadata "Black Line
In, Left side"?
I don't know if it is related, but pavucontrol detects only the
"speakers" port.
On my previous laptop (with Creative Recon 3Di, another ca0132 card) I
could choose between "speakers and "headphones".

Regards,
Gabriele

  reply	other threads:[~2015-04-29 23:40 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-25  0:50 Intel HDA / ca0132: support for Alienware 15 Creative Sound Core3D-EX Gabriele Martino
2015-04-27  9:09 ` Takashi Iwai
2015-04-27 18:08   ` Gabriele Martino
2015-04-27 18:51     ` Takashi Iwai
2015-04-27 22:17       ` Gabriele Martino
2015-04-28  6:15         ` Takashi Iwai
2015-04-28 22:47           ` Gabriele Martino
2015-04-29 13:38             ` Takashi Iwai
2015-04-29 15:42               ` Gabriele Martino
2015-04-29 18:42                 ` Takashi Iwai
2015-04-29 23:40                   ` Gabriele Martino [this message]
2015-04-30  5:51                     ` Takashi Iwai
2015-05-01  0:36                       ` Gabriele Martino
2015-05-03 23:53                       ` Gabriele Martino
2015-05-04 12:30                         ` Takashi Iwai
2015-05-04 23:28                           ` Gabriele Martino
2015-05-11 20:17                           ` Gabriele Martino
2015-05-18  9:39                             ` Takashi Iwai
2015-05-18 19:15                               ` Gabriele Martino
2015-05-19  4:59                                 ` Takashi Iwai
2015-04-29 13:40             ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55416BEE.5090003@gmx.com \
    --to=g.martino@gmx.com \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).