Skip to contentSkip to conversation

newbie: automatic pairing with a mouse

Bluez-users Christopher J. Bottaro 2 participants 3 messages Jun 2, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi,
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.

Thank you for the help.

P.S. Yes, I've read the thread titled 'Automatically accepting pairing from a mouse?', but the suggested solution didn't work for me (nor made any sense to me).

-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#1 lore raw

Hi Christoper,

Quoted 9 lines

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?

Quoted 8 lines

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.

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
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#2 lore raw

<posted & mailed>

Quoted 17 lines · Marcel Holtmann

Hi Christoper,

Quoted 15 lines

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:

Quoted 8 lines
Quoted 4 lines

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

Quoted 7 lines

Regards

Marcel

Quoted 5 lines

-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users