From: "Shuming [范書銘]" <shumingf@realtek.com>
To: Mark Brown <broonie@kernel.org>,
Curtis Malainey <cujomalainey@google.com>,
Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Cc: "Oder Chiou" <oder_chiou@realtek.com>,
"Jack Yu" <jack.yu@realtek.com>,
"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
"lars@metafoo.de" <lars@metafoo.de>,
"Jimmy Cheng-Yi Chiang" <cychiang@google.com>,
"lgirdwood@gmail.com" <lgirdwood@gmail.com>,
"jairaj.arava@intel.com" <jairaj.arava@intel.com>,
"Derek [方德義]" <derek.fang@realtek.com>,
"Flove(HsinFu)" <flove@realtek.com>,
"sathya.prakash.m.r@intel.com" <sathya.prakash.m.r@intel.com>,
"Curtis Malainey" <cujomalainey@chromium.org>,
"Lu, Brent" <brent.lu@intel.com>,
"bard.liao@intel.com" <bard.liao@intel.com>
Subject: RE: [PATCH 1/2] ASoC: rt711: remap buttons
Date: Wed, 30 Jun 2021 06:01:52 +0000 [thread overview]
Message-ID: <5c038789fe1f4903af3283bf47cfc9b5@realtek.com> (raw)
In-Reply-To: <CAOReqxhY2zZJ4zsHvhHhDFuFawUnVtrcuuHiJ1g_n_0+7cMPcw@mail.gmail.com>
> > >
> > > swap wrt. spec:
> > > sof_sdw_rt711.c: snd_jack_set_key(jack->jack, SND_JACK_BTN_0,
> KEY_PLAYPAUSE);
> > > sof_sdw_rt711.c- snd_jack_set_key(jack->jack, SND_JACK_BTN_1,
> KEY_VOICECOMMAND);
> > > sof_sdw_rt711.c- snd_jack_set_key(jack->jack, SND_JACK_BTN_2,
> KEY_VOLUMEUP);
> > > sof_sdw_rt711.c- snd_jack_set_key(jack->jack, SND_JACK_BTN_3,
> KEY_VOLUMEDOWN);
> > >
> > > kbl_rt5663_max98927.c: snd_jack_set_key(jack->jack, SND_JACK_BTN_0,
> > > KEY_PLAYPAUSE);
> > > kbl_rt5663_max98927.c- snd_jack_set_key(jack->jack, SND_JACK_BTN_1,
> > > KEY_VOICECOMMAND);
> > > kbl_rt5663_max98927.c- snd_jack_set_key(jack->jack, SND_JACK_BTN_2,
> > > KEY_VOLUMEUP);
> > > kbl_rt5663_max98927.c- snd_jack_set_key(jack->jack, SND_JACK_BTN_3,
> > > KEY_VOLUMEDOWN);
> > >
> > > Brent, Curtis, Jimmy, can you comment on the order?
> >
> > Sorry for the late reply, I couldn't figure out why this slipped by my
> > email filter, I guess I should look closer next time. Soraka has been
> > checked (kbl_rt5663_max98927) and yes the mapping does appear to be
> > incorrect, volume up key returns voice command in evtest. Sathya will
> > have to check the headset button mapping, on rt711 but my guess is it
> > is also incorrect.
>
> I stand corrected, misread the datasheet. So rt711 and rt5663 are correct
> based on datasheet specs but when grabbing an off the shelf headphone they
> did not work with the volume up. Hmm, I wonder if this split is "what usually
> works" and "what is correct."
Thanks for your reply, Curtis.
This patch just changes the mapping to let the button function work properly.
Hi Mark,
Do I need to resend the patch? Or any comments?
> ------Please consider the environment before printing this e-mail.
next prev parent reply other threads:[~2021-06-30 6:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-17 9:08 [PATCH 1/2] ASoC: rt711: remap buttons shumingf
2021-06-17 12:39 ` Mark Brown
[not found] ` <d6374c5158c844d69b4f546fd741f07f@realtek.com>
2021-06-17 13:27 ` Mark Brown
2021-06-17 14:23 ` Pierre-Louis Bossart
2021-06-24 18:06 ` Curtis Malainey
2021-06-25 18:31 ` Curtis Malainey
2021-06-30 6:01 ` Shuming [范書銘] [this message]
2021-06-30 13:07 ` Mark Brown
2021-06-25 0:56 ` Lu, Brent
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=5c038789fe1f4903af3283bf47cfc9b5@realtek.com \
--to=shumingf@realtek.com \
--cc=alsa-devel@alsa-project.org \
--cc=bard.liao@intel.com \
--cc=brent.lu@intel.com \
--cc=broonie@kernel.org \
--cc=cujomalainey@chromium.org \
--cc=cujomalainey@google.com \
--cc=cychiang@google.com \
--cc=derek.fang@realtek.com \
--cc=flove@realtek.com \
--cc=jack.yu@realtek.com \
--cc=jairaj.arava@intel.com \
--cc=lars@metafoo.de \
--cc=lgirdwood@gmail.com \
--cc=oder_chiou@realtek.com \
--cc=pierre-louis.bossart@linux.intel.com \
--cc=sathya.prakash.m.r@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