Date: Mon, 14 Mar 2011 21:42:38 +0100 From: David Demelier <demelier.david@gmail.com> To: Maksim Yevmenkin <maksim.yevmenkin@gmail.com> Cc: freebsd-bluetooth@freebsd.org Subject: Re: Bluetooth mouse does not connect after reboot Message-ID: <4D7E7DBE.7080601@gmail.com> In-Reply-To: <AANLkTi=X7hRcS7-3EE_U6XvG9ai3d878NULv%2BdmxkA-U@mail.gmail.com> References: <4D36ED39.7070807@gmail.com> <AANLkTimZ77-RjqPYh94EXgrHCnz=8BMoYZHNB0-WvKCx@mail.gmail.com> <AANLkTi=X7hRcS7-3EE_U6XvG9ai3d878NULv%2BdmxkA-U@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 23/01/2011 03:32, Maksim Yevmenkin wrote: > 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, thing >>> which is quite boring. >>> >>> In hcsecd.conf I have : >>> >>> device { >>> bdaddr 00:1f:20:0f:62:31; >>> name "Logitech V470"; >>> key nokey; >>> pin "0000"; >>> } >>> >>> and in bthidd.conf : >>> >>> device { >>> bdaddr 00:1f:20:0f:62:31; >>> control_psm 0x11; >>> interrupt_psm 0x13; >>> reconnect_initiate true; >>> battery_power true; >>> normally_connectable false; >>> hid_descriptor { >>> 0x05 0x01 0x09 0x02 0xa1 0x01 0x85 0x02 >>> 0x09 0x01 0xa1 0x00 0x05 0x09 0x19 0x01 >>> 0x29 0x08 0x15 0x00 0x25 0x01 0x75 0x01 >>> 0x95 0x08 0x81 0x02 0x05 0x01 0x09 0x30 >>> 0x09 0x31 0x16 0x01 0xf8 0x26 0xff 0x07 >>> 0x75 0x0c 0x95 0x02 0x81 0x06 0x09 0x38 >>> 0x15 0x81 0x25 0x7f 0x75 0x08 0x95 0x01 >>> 0x81 0x06 0x05 0x0c 0x0a 0x38 0x02 0x75 >>> 0x08 0x95 0x01 0x81 0x06 0xc0 0xc0 0x06 >>> 0x00 0xff 0x09 0x01 0xa1 0x01 0x85 0x10 >>> 0x75 0x08 0x95 0x06 0x15 0x00 0x26 0xff >>> 0x00 0x09 0x01 0x81 0x00 0x09 0x01 0x91 >>> 0x00 0xc0 >>> }; >>> } >>> >>> 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 Hello Maksim, Sorry to talk about this again, but If it's possible I found a solution: Can we set a fake mac address for the bluetooth nic? For example, if I use the same mac address on my laptop and my desktop it will try to pair it so I just need to connect my mouse to it :) But I don't know how to change the mac address... Cheers, -- David Demelier
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D7E7DBE.7080601>