Linux bluetooth development
 help / color / mirror / Atom feed
From: "Christopher J. Bottaro" <cjbottaro@alumni.cs.utexas.edu>
To: bluez-users@lists.sourceforge.net
Subject: [Bluez-users] Re: newbie: automatic pairing with a mouse
Date: Thu, 02 Jun 2005 16:25:58 -0500	[thread overview]
Message-ID: <d7ntaf$gdl$1@sea.gmane.org> (raw)
In-Reply-To: 1117744047.13834.21.camel@pegasus

<posted & mailed>

Marcel Holtmann wrote:

> Hi Christoper,
> 
>> I have a laptop with internal bluetooth and an IOGear bluetooth mouse. 
>> The mouse pairs and works fine after I issue 'hidd --search', but if I
>> reboot my computer, I have to issue that command again for the mouse to
>> be paired
>> again.  Also, if I don't use my mouse for a few mins, it will de-pair and
>> I have to issue another 'hidd --search' to get it working again.
>> 
>> My question is how do I get my computer to automatically pair with the
>> mouse everytime the mouse is near it and turned on?
>> 
>> I am using Fedora Core 3, if that matters.
>> 
>> I have read a few posts about this, but I'm very newb to this whole
>> bluetooth thing.  Here is what I've tried so far:
>> 
>> 1) echo "HIDD_ENABLED=1\nHIDD_OPTIONS="--server" >
>> /etc/default/bluez-utils
>> 2) turning on authentication and encryption in hcid.conf.  This produced
>> a link_key file after pairing, but didn't alleviate my problem.
> 
> you must make sure that "hidd --server" is running as root to accept
> re-connections. I don't know how the Fedore Core init scripts are
> designed, but in general they should support it.

Thank you very much, that did it.  For anyone running Fedora Core, here are
the steps I took:
1)  echo HIDDARGS=\"--server\" > /etc/sysconfig/hidd
2)  chkconfig --level 35 hidd on

-- C
 
> Regards
> 
> Marcel
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by Yahoo.
> Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
> Search APIs Find out how you can build Yahoo! directly into your own
> Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005




-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

      reply	other threads:[~2005-06-02 21:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-02 19:48 [Bluez-users] newbie: automatic pairing with a mouse Christopher J. Bottaro
2005-06-02 20:27 ` Marcel Holtmann
2005-06-02 21:25   ` Christopher J. Bottaro [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='d7ntaf$gdl$1@sea.gmane.org' \
    --to=cjbottaro@alumni.cs.utexas.edu \
    --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