Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jan 2011 18:32:38 -0800
From:      Maksim Yevmenkin <maksim.yevmenkin@gmail.com>
To:        David DEMELIER <demelier.david@gmail.com>
Cc:        freebsd-bluetooth@freebsd.org
Subject:   Re: Bluetooth mouse does not connect after reboot
Message-ID:  <AANLkTi=X7hRcS7-3EE_U6XvG9ai3d878NULv%2BdmxkA-U@mail.gmail.com>
In-Reply-To: <AANLkTimZ77-RjqPYh94EXgrHCnz=8BMoYZHNB0-WvKCx@mail.gmail.com>
References:  <4D36ED39.7070807@gmail.com> <AANLkTimZ77-RjqPYh94EXgrHCnz=8BMoYZHNB0-WvKCx@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 22, 2011 at 11:07 AM, David DEMELIER
<demelier.david@gmail.com> wrote:
> 2011/1/19 David Demelier <demelier.david@gmail.com>:
>> Hello,
>>
>> I've successfully setup a Logitech v470 mouse using bthidd / hcsecd. The
>> problem is each time /var/db/bthidd.hids is created the mouse does not
>> connect anymore and if I remove this file and restart bthidd it works, t=
hing
>> which is quite boring.
>>
>> In hcsecd.conf I have :
>>
>> device {
>> =A0 =A0 =A0 =A0bdaddr =A000:1f:20:0f:62:31;
>> =A0 =A0 =A0 =A0name =A0 =A0"Logitech V470";
>> =A0 =A0 =A0 =A0key =A0 =A0 nokey;
>> =A0 =A0 =A0 =A0pin =A0 =A0 "0000";
>> }
>>
>> and in bthidd.conf :
>>
>> device {
>> =A0 =A0 =A0 =A0bdaddr =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A000:1f:20:0f:62:=
31;
>> =A0 =A0 =A0 =A0control_psm =A0 =A0 =A0 =A0 =A0 =A0 0x11;
>> =A0 =A0 =A0 =A0interrupt_psm =A0 =A0 =A0 =A0 =A0 0x13;
>> =A0 =A0 =A0 =A0reconnect_initiate =A0 =A0 =A0true;
>> =A0 =A0 =A0 =A0battery_power =A0 =A0 =A0 =A0 =A0 true;
>> =A0 =A0 =A0 =A0normally_connectable =A0 =A0false;
>> =A0 =A0 =A0 =A0hid_descriptor =A0 =A0 =A0 =A0 =A0{
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A00x05 0x01 0x09 0x02 0xa1 0x01 0x85 0x02
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A00x09 0x01 0xa1 0x00 0x05 0x09 0x19 0x01
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A00x29 0x08 0x15 0x00 0x25 0x01 0x75 0x01
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A00x95 0x08 0x81 0x02 0x05 0x01 0x09 0x30
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A00x09 0x31 0x16 0x01 0xf8 0x26 0xff 0x07
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A00x75 0x0c 0x95 0x02 0x81 0x06 0x09 0x38
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A00x15 0x81 0x25 0x7f 0x75 0x08 0x95 0x01
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A00x81 0x06 0x05 0x0c 0x0a 0x38 0x02 0x75
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A00x08 0x95 0x01 0x81 0x06 0xc0 0xc0 0x06
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A00x00 0xff 0x09 0x01 0xa1 0x01 0x85 0x10
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A00x75 0x08 0x95 0x06 0x15 0x00 0x26 0xff
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A00x00 0x09 0x01 0x81 0x00 0x09 0x01 0x91
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A00x00 0xc0
>> =A0 =A0 =A0 =A0};
>> }
>>
>> If you have any clue how to fix this. Thanks.
>>
>> --
>> David Demelier
>>
>
> I'm sad, it seems I cannot setup my bluetooth mouse for two computer.
> Maybe the mouse save the "known" bluetooth dongle so it doesn't attach
> to an other computer "unknown"

yes, that is how it usually works. "connect" button puts mouse into
"paring" mode where it "pairs" with a particular host. after "pairing"
is complete, mouse will connect to the same host and will not accept
connections from other hosts. the same (well almost the same)
situation is with bluetooth headsets. "almost" here means that the
some headsets can "remember" multiple (usually about 5) hosts. the
logic is to connect to the last known/active one, and if it fails, try
others in order. i'm guessing your mouse can only "remember" one host.
i'm afraid there is nothing can be done here. except "re-pairing"
(i.e. pressing connect button) mouse to each host every time you
switch computers.

thanks,
max



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=X7hRcS7-3EE_U6XvG9ai3d878NULv%2BdmxkA-U>