All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] Automatically accepting pairing from a mouse?
@ 2005-03-03 23:48 Joe Emenaker
  2005-03-04  2:47 ` Marco Trudel
  2005-03-04 10:45 ` Marcel Holtmann
  0 siblings, 2 replies; 4+ messages in thread
From: Joe Emenaker @ 2005-03-03 23:48 UTC (permalink / raw)
  To: Bluez Users

[-- Attachment #1: Type: text/plain, Size: 1600 bytes --]

Please forgive the newbie question... I'm still a little new to how 
bluetooth devices interact.

I've got bluez-utils running on my debian laptop and I can use it to 
find my bluetooth mouse.
I can run "hcitool scan" and, provided that I've clicked the little 
"pairing" button on my mouse, the scan finds it.
Then, I can run "hidd --connect aa:bb:cc:dd:ee:ff" (not the actual hw 
address I use) and it connects!

However, I'd like to avoid having to open a konsole window and do this 
pairing every time I boot my laptop. Furthermore, the mouse I have likes 
to go to sleep after about 5-10 minutes of inactivity... at which point 
it requires pairing again.

It would be nice if I could just click the pairing button on my mouse 
and have the rest happen automatically.

In an attempt to do this, I've changed my "HIDD_OPTIONS=--master 
--server" to "HIDD_OPTIONS=-i aa:bb:cc:dd:ee:ff --server", but this 
doesn't seem to have done anything.

So now, I'm kinda stuck. I guess I'm looking for a bluetooth equivalent 
to "waproamd" for WiFi, where it periodically scans for available 
devices and connects to them if it has a configuration for it.

Is there anything in bluez-utils that does auto-scan-and-connect like that?

If not, what's the alternative? Do I have to find a mouse that can 
scan-and-connect from *it's* end?

Lastly, does anyone have any suggestions for a better mouse? My current 
one is pretty nifty, though. It has an on/off switch so that I can save 
batteries when the laptop is packed away. And it's a mini-style. But the 
timeout-sleep thing is just killing me....

- Joe

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3198 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-03-07 19:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-03 23:48 [Bluez-users] Automatically accepting pairing from a mouse? Joe Emenaker
2005-03-04  2:47 ` Marco Trudel
2005-03-04 10:45 ` Marcel Holtmann
2005-03-07 19:01   ` Joe Emenaker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.