public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Jouni.Lohikoski@iki.fi
Cc: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] Epox BT-MS02B Bluetooth HID mouse, authorization and encryption?
Date: Sun, 19 Sep 2004 16:18:50 +0200	[thread overview]
Message-ID: <1095603530.5562.7.camel@pegasus> (raw)
In-Reply-To: <20040919124431.GA485206@kosh.hut.fi>

Hi Jouni,

> I did try 0000, 1234, 1111 and 9999 then but none of them seem to work.
> 
> The trick is (or this time I was just lucky) the little grey button
> on the bottom of the mouse has to be pressed down whole time when 
> "hidd --search" is run on the Linux side. Only after the PIN code had 
> been entered and the hidd --search has succesfully connected to the mouse, 
> so BT pairing has been finished, the button can be released.
> 
> Maybe EPoX technical support can correct me or confirm me, when/if they
> reply after the weekend or some day to my request mail. I found it
> little odd the EPoX Bluetooth Mouse User's Guide, which came with the
> mouse, does not mention anything how the BT pairing should be done.
> 
> It would make sense though. When authorization is negotiated, the
> software on the mouse end of the peer checks if it accepts the PIN code 
> which is send by the host computer. The host computer must be the
> initiating party. If the grey button is then in that moment pressed down, 
> authorization is accepted (would think any code would do), if not, 
> the PIN confirmation request is rejected.

actually I tested it with my EPoX and I only had to press the grey
button once and use 1234 as pin code when I am in security mode 3. This
works for, but maybe you have to use virtual cable unplug first when
have bound it previously. In general the grey button should work as
virtual cable unplug, but sometimes when you presses it the mouse is in
progress with reconnect and that can cause some trouble in the lower
layers of the Bluetooth chip.

So for CSR mice the default pin code is 1234 and for Broadcom based mice
it is 0000. I need to put that on my webpage ;)

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

      reply	other threads:[~2004-09-19 14:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-17 20:26 [Bluez-users] Epox BT-MS02B Bluetooth HID mouse, authorization and encryption? Jouni.Lohikoski@iki.fi
2004-09-17 21:28 ` Marcel Holtmann
2004-09-18 17:20   ` Jouni.Lohikoski@iki.fi
2004-09-19  7:52 ` Paul Hedderly
2004-09-19 12:44   ` Jouni.Lohikoski@iki.fi
2004-09-19 14:18     ` Marcel Holtmann [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=1095603530.5562.7.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=Jouni.Lohikoski@iki.fi \
    --cc=bluez-users@lists.sourceforge.net \
    /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