From: Florian Echtler <floe@butterbrot.org>
To: David Herrmann <dh.herrmann@googlemail.com>
Cc: linux-bluetooth@vger.kernel.org, johan.hedberg@gmail.com
Subject: Re: [PATCH] wiimote: add Wii Balance Board detection
Date: Thu, 13 Sep 2012 20:47:48 +0200 [thread overview]
Message-ID: <50522A54.4050907@butterbrot.org> (raw)
In-Reply-To: <1347485573-23623-1-git-send-email-dh.herrmann@googlemail.com>
Confirmed to work, with patch applied against 4.101 Ubuntu package.
Florian
On 12.09.2012 23:32, David Herrmann wrote:
> Add the name of the Wii Balance Board so it can be paired with BlueZ like
> any other Wii Remote. Reported by Florian Echtler.
> ---
> plugins/wiimote.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/plugins/wiimote.c b/plugins/wiimote.c
> index 337d408..3d16966 100644
> --- a/plugins/wiimote.c
> +++ b/plugins/wiimote.c
> @@ -76,6 +76,7 @@ static ssize_t wii_pincb(struct btd_adapter *adapter, struct btd_device *device,
> name[sizeof(name) - 1] = 0;
>
> if (g_str_equal(name, "Nintendo RVL-CNT-01") ||
> + g_str_equal(name, "Nintendo RVL-WBC-01") ||
> (vendor == 0x057e && product == 0x0306)) {
> DBG("Forcing fixed pin on detected wiimote %s", addr);
> memcpy(pinbuf, &sba, 6);
>
--
SENT FROM MY DEC VT50 TERMINAL
next prev parent reply other threads:[~2012-09-13 18:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-12 21:32 [PATCH] wiimote: add Wii Balance Board detection David Herrmann
2012-09-13 18:47 ` Florian Echtler [this message]
2012-09-21 13:51 ` Johan Hedberg
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=50522A54.4050907@butterbrot.org \
--to=floe@butterbrot.org \
--cc=dh.herrmann@googlemail.com \
--cc=johan.hedberg@gmail.com \
--cc=linux-bluetooth@vger.kernel.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).