From: Bastien Nocera <hadess@hadess.net>
To: Stephen J <stephenjust@gmail.com>
Cc: alsa-devel@alsa-project.org, apterix@gmail.com,
Vinod Koul <vinod.koul@intel.com>,
Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>,
liam.r.girdwood@linux.intel.com, patches.audio@intel.com,
broonie@kernel.org, bugzilla@hadess.net
Subject: Re: [PATCH 0/3] ASoC: Intel: Add support for surface3 tablet
Date: Wed, 20 Jul 2016 18:12:49 +0200 [thread overview]
Message-ID: <1469031169.6761.67.camel@hadess.net> (raw)
In-Reply-To: <CAOvWGzj1sk2L5VYy7GVR-KNmimRmfexmejC1+E2zsAO196TB7w@mail.gmail.com>
On Wed, 2016-07-20 at 09:05 -0600, Stephen J wrote:
> On Jul 20, 2016 8:48 AM, "Bastien Nocera" <hadess@hadess.net> wrote:
> >
> > On Fri, 2016-07-08 at 15:39 +0530, Vinod Koul wrote:
> > > Surface3 tablet is CHT based device which used RT5645 codec. But
> the
> > > ACPI ID
> > > is 10EC5640 which belong to RT5640 codec :(
> > > So we add quirk support to load cht-machine driver for surface
> tablet
> > > combination, add the ACPI id and DMI fix for jack detect in codec
> and
> > > finally machine update.
> > >
> > > This fixes Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=
> 9800
> > > 1
> > > Please verify and send your tested-by.
> >
> >
> > Did anyone test this?
> At least I did
Fair enough.
> > I get this output:
> > Jul 20 16:20:32 surface kernel: rt5640 i2c-10EC5640:00: Device with
> ID register 0x6308 is not rt5640/39
> > Jul 20 16:20:34 surface kernel: cht-bsw-rt5645 cht-bsw-rt5645: snd-
> soc-dummy-dai <-> media-cpu-dai mapping ok
> > Jul 20 16:20:34 surface kernel: cht-bsw-rt5645 cht-bsw-rt5645: snd-
> soc-dummy-dai <-> deepbuffer-cpu-dai mapping ok
> > Jul 20 16:20:34 surface kernel: compress asoc: snd-soc-dummy-dai <-
> > compress-cpu-dai mapping ok
> > Jul 20 16:20:34 surface kernel: cht-bsw-rt5645 cht-bsw-rt5645:
> rt5645-aif1 <-> ssp2-port mapping ok
> > Jul 20 16:20:34 surface kernel: input: chtrt5645 Headset as
> /devices/pci0000:00/808622A8:00/cht-bsw-rt5645/sound/card0/input25
> >
> > With the early warning telling me it's probably not going through
> the
> > quirks, though the rest of the output makes me think otherwise.
> Both rt5640 and rt5645 drivers pick up the sound chip, but only the
> correct one succeeds.
Good then.
> >
> > After PulseAudio starts I get:
> > Jul 20 16:20:40 surface pulseaudio[1315]: [pulseaudio] module-alsa-
> card.c: Failed to find a working profile.
> > Jul 20 16:41:32 surface pulseaudio[1315]: [pulseaudio] module.c:
> Failed to load module "module-alsa-card" (argument: "device_id="0"
> name="platform-cht-bsw-rt5645" card_name="alsa_card.platform-cht-bsw-
> rt5645" namereg_fail=false tsched=yes fixed_latency_range=no
> ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-
> udev-detect.discovered=1""): initialization failed.
> > Jul 20 16:20:40 surface kernel: Audio Port: ASoC: no backend DAIs
> enabled for Audio Port
> > [and plenty more of that last line]
> >
> > $ journalctl -b | grep "Audio Port: ASoC: no backend DAIs enabled
> for Audio Port" | wc -l
> > 1802
> >
> > Ideas?
> Are you using the alsa-lib patch to add UCM configuration too [1]?
> Pulseaudio needs it to initialize properly (without other manual
> intervention described in the bugzilla ticket for these patches).
> [1] http://git.alsa-project.org/?p=alsa-lib.git;a=commit;h=b6c69d7067
> a1818e53da774bdbdc3023f299d579
Looks like I cocked up the patch application in my updated alsa-ucm
package. It works correctly afterwards, including the internal
microphone and speakers, and headset output (mic + headphones).
I also noticed that alsa-ucm isn't in the default Fedora package set.
Sorry about the spam.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
prev parent reply other threads:[~2016-07-20 16:12 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-08 10:09 [PATCH 0/3] ASoC: Intel: Add support for surface3 tablet Vinod Koul
2016-07-08 10:09 ` [PATCH 1/3] ASoC: Intel: Atom: Add quirk for Surface 3 Vinod Koul
2016-07-08 12:32 ` Applied "ASoC: Intel: Atom: Add quirk for Surface 3" to the asoc tree Mark Brown
2016-07-08 10:09 ` [PATCH 2/3] ASoC: rt5645: Add ACPI ID 10EC5640 Vinod Koul
2016-07-08 10:09 ` [PATCH 3/3] ASoC: Intel: Add surface3 entry in CHT-RT5645 machine Vinod Koul
2016-07-08 12:32 ` Applied "ASoC: Intel: Add surface3 entry in CHT-RT5645 machine" to the asoc tree Mark Brown
2016-07-19 14:56 ` [PATCH 3/3] ASoC: Intel: Add surface3 entry in CHT-RT5645 machine Bastien Nocera
2016-07-20 3:58 ` Vinod Koul
2016-07-20 11:27 ` Bastien Nocera
2016-07-20 11:33 ` Mokashi, SachinX
2016-07-20 11:51 ` Bastien Nocera
2016-07-20 14:47 ` [PATCH 0/3] ASoC: Intel: Add support for surface3 tablet Bastien Nocera
2016-07-20 15:05 ` Stephen J
2016-07-20 16:12 ` Bastien Nocera [this message]
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=1469031169.6761.67.camel@hadess.net \
--to=hadess@hadess.net \
--cc=alsa-devel@alsa-project.org \
--cc=apterix@gmail.com \
--cc=broonie@kernel.org \
--cc=bugzilla@hadess.net \
--cc=liam.r.girdwood@linux.intel.com \
--cc=patches.audio@intel.com \
--cc=pierre-louis.bossart@linux.intel.com \
--cc=stephenjust@gmail.com \
--cc=vinod.koul@intel.com \
/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