From: Fabrice DELENTE <delentef@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: Re: Entering the PIN of a device?
Date: Tue, 14 Feb 2012 19:09:37 +0100 [thread overview]
Message-ID: <20120214180937.GA17364@smtp.free.fr> (raw)
In-Reply-To: <CANq1E4Q7UQjQNKPy0c-w4DX8dimuRNYB_mOsetMBNPaY44Ae5A@mail.gmail.com>
> Please answer directly to the mailing-list instead of directly to me
> ("Reply to All") if you want others to read your messages, too.
Sorry, I thought the CC to linux-bluetooth was enough!
> Then you need to use the kernel driver. The Wii Remote uses 2 L2CAP
> channels so don't try rfcomm.
Ok, I'll look into docs about L2CAP.
> The driver is located in ./drivers/hid/hid-wiimote* in the kernel
> sources. The user-space utilities are currently under
> development. See http://github.com/dvdhrm/xwiimote for more
> information. To use the Wii Remote you need to connect to the Wii
> Remote with a tool like simple-agent, gnome-bluetooth, blueman or
> similar. The kernel driver and BlueZ stack will directly detect the
> Wii Remote. See "dmesg" for information whether the device was
> detected. It should also show up as new directory in
> /sys/bus/hid/devices/<did>
Thanks for the info.
My trouble is that when I start simple-agent and then push 1+2 to pair
the wiimote with my laptop, simple-agent doesn't ask for the
PIN... should it happens automagically?
I have grepped the files in /var/lib/bluetooth, I have found my mote
BT address in the files but nothing clearly linked to the PIN key. I
read on wiimote-brew that it was the mote BT address in binary form?
Thanks again! :^)
--
F. Delente
next prev parent reply other threads:[~2012-02-14 18:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-14 16:45 Entering the PIN of a device? Fabrice DELENTE
2012-02-14 17:54 ` David Herrmann
[not found] ` <20120214175813.GA16393@smtp.free.fr>
[not found] ` <CANq1E4Q7UQjQNKPy0c-w4DX8dimuRNYB_mOsetMBNPaY44Ae5A@mail.gmail.com>
2012-02-14 18:09 ` Fabrice DELENTE [this message]
2012-02-14 18:15 ` David Herrmann
2012-02-14 18:23 ` Fabrice DELENTE
2012-02-14 22:47 ` Fabrice DELENTE
2012-02-15 11:16 ` David Herrmann
2012-02-15 11:25 ` Fabrice DELENTE
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=20120214180937.GA17364@smtp.free.fr \
--to=delentef@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).