From owner-freebsd-bluetooth@FreeBSD.ORG Mon Mar 14 17:00:09 2011 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99D921065678 for ; Mon, 14 Mar 2011 17:00:09 +0000 (UTC) (envelope-from gofdb-freebsd-bluetooth@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id C63578FC14 for ; Mon, 14 Mar 2011 17:00:06 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PzB7k-0008H7-BD for freebsd-bluetooth@freebsd.org; Mon, 14 Mar 2011 18:00:04 +0100 Received: from 200.41.broadband11.iol.cz ([90.178.41.200]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 14 Mar 2011 18:00:04 +0100 Received: from gamato by 200.41.broadband11.iol.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 14 Mar 2011 18:00:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-bluetooth@freebsd.org From: martinko Date: Mon, 14 Mar 2011 17:53:06 +0100 Lines: 20 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 200.41.broadband11.iol.cz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.16) Gecko/20110124 SeaMonkey/2.0.11 Cc: freebsd-usb@freebsd.org Subject: no modules / services needed for BT mouse support (?) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Mar 2011 17:00:09 -0000 Hallo, I had a Logitech bluetooth mouse connected via USB BT dongle. In the past I used to load ng_ubt and bthidd and hcsecd to make the mouse work. The same I did for a friend on old PC-BSD. But it appears that since moving to the version 8.x we no longer need to load any of the above and the mouse works out-of-box. Unfortunately it does not respond to wheel movement (pressing it does generate middle click). Now this all is a bit surprising for me. And I'm not sure which part of the system is responsible for the behaviour -- kernel, USB stack, HAL, X11, .. ? Also, I'd like to know how to make wheel working again. Any ideas pls ? Cheers, M. PS: It's also possible that it has to do with change of computer.. (?) From owner-freebsd-bluetooth@FreeBSD.ORG Mon Mar 14 18:24:15 2011 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1107106564A for ; Mon, 14 Mar 2011 18:24:15 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 86C4C8FC0A for ; Mon, 14 Mar 2011 18:24:15 +0000 (UTC) Received: by iyj12 with SMTP id 12so6179118iyj.13 for ; Mon, 14 Mar 2011 11:24:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=XQTZXAdbSEVyUEIFaLW3JeUxybF3phzFGruh0pzUXHo=; b=Eu7AoNT5XFefQdzAEU8bQwT37rUn5EHtzdDUW0sE/oW05mO0kFKOJzXVA6WyOHar0k U0cHsTui1c/zaKGvq7gUze6Ik1ovgTI74VmE0xtQaMAXPBhKQGXmV0KWZTmx59BHMNmC QL7hUo91vtcd1jKrRloaOMpTNMAkZ4h8VhqaM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Rf2f4MAd1++FNEhy7bbTkWaU1Kp1hWWgMPyNx6ZayhwMX4mTWA42v61Ab78tGE7q51 t0gYB4JS8ywnnYkcgu7HgcRXlTFu3IlT/ozy3BbYGxjYoSyNoDCgaOKTDHeF25vDatAG M8M9chOUwF8OuFJbVrCwWounfomd8TpDYwHig= MIME-Version: 1.0 Received: by 10.42.156.131 with SMTP id z3mr5081143icw.305.1300127054913; Mon, 14 Mar 2011 11:24:14 -0700 (PDT) Received: by 10.43.60.201 with HTTP; Mon, 14 Mar 2011 11:24:14 -0700 (PDT) In-Reply-To: References: Date: Mon, 14 Mar 2011 11:24:14 -0700 Message-ID: From: Maksim Yevmenkin To: martinko Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-bluetooth@freebsd.org, freebsd-usb@freebsd.org Subject: Re: no modules / services needed for BT mouse support (?) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Mar 2011 18:24:15 -0000 2011/3/14 martinko : > Hallo, > > I had a Logitech bluetooth mouse connected via USB BT dongle. In the past I > used to load ng_ubt and bthidd and hcsecd to make the mouse work. The same > I did for a friend on old PC-BSD. But it appears that since moving to the > version 8.x we no longer need to load any of the above and the mouse works > out-of-box. Unfortunately it does not respond to wheel movement (pressing > it does generate middle click). are we talking about freebsd or pc-bsd here? i'm confused :) there were no changes in this area in freebsd. you still need to load ng_ubt(4) to recognize local bluetooth device (i.e. bluetooth dongle connected to your computer). usually its done via loader.conf, i.e. put something like ng_ubt_load="YES" into /boot/loader.conf. devd(8) will start/stop bluetooth stack as soon as it detects ng_ubt(4) device arrival/departure. bthidd(8), hcsecd(8) etc. are bluetooth service daemons, and, those needs to be started. usually one puts something like hcsecd_enable="YES" bthidd_enable="YES" into /etc/rc.conf to start bluetooth services. assuming all of the above is in place, and, mouse was paired previously, then it will work "out-of-the-box" > Now this all is a bit surprising for me. And I'm not sure which part of the > system is responsible for the behaviour -- kernel, USB stack, HAL, X11, .. ? ng_ubt(4) driver for usb bluetooth devices devd(8) responds to events and starts/stops bluetooth stack > Also, I'd like to know how to make wheel working again. can you please provide hid descriptor? thanks max From owner-freebsd-bluetooth@FreeBSD.ORG Mon Mar 14 21:17:46 2011 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87CAC1065670 for ; Mon, 14 Mar 2011 21:17:46 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 13D338FC0C for ; Mon, 14 Mar 2011 21:17:45 +0000 (UTC) Received: by fxm11 with SMTP id 11so3908797fxm.13 for ; Mon, 14 Mar 2011 14:17:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=PL7f8as9kcba6hnQ4mBDbf6HYUNglcGpLHhRA0DfGsQ=; b=DjvuylDhnDrtMuOKGt0yHe5EE936i7WNFW9VDUujrv3KTDC0/vwRgpp6xJFcDJYKZs K/CXDGYn7m7fkZQuJSvm8FuXOXyPR3LDBuu8TbWl0Vm8ITcdrJnoLH6qonjHg00OEkaq g1EozWJFsI7kmUIV8GxBf6tYwqtOzj+9pQ/hE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=U0dvXQJ59Ntt5cpwH30Ulkml5m+d2m1rNaxgpHC8jBAVy1V9Hd7etEiwJ9Vd9+mCr+ iFdBvM67MqJPhxdd8Nr24cdMGzaxLL7NSVYnCF8iE4WW/B9lNor1UwhY0DLdtL/NDeSj pRiUFxIZkURxmyrqnW8ewZLQ3BcpJUo4CCvO4= Received: by 10.223.2.205 with SMTP id 13mr2489344fak.138.1300135424014; Mon, 14 Mar 2011 13:43:44 -0700 (PDT) Received: from Melon.malikania.fr (65.21.102-84.rev.gaoland.net [84.102.21.65]) by mx.google.com with ESMTPS id n1sm71854fam.16.2011.03.14.13.43.40 (version=SSLv3 cipher=OTHER); Mon, 14 Mar 2011 13:43:41 -0700 (PDT) Message-ID: <4D7E7DBE.7080601@gmail.com> Date: Mon, 14 Mar 2011 21:42:38 +0100 From: David Demelier User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110306 Thunderbird/3.1.9 MIME-Version: 1.0 To: Maksim Yevmenkin References: <4D36ED39.7070807@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-bluetooth@freebsd.org Subject: Re: Bluetooth mouse does not connect after reboot X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Mar 2011 21:17:46 -0000 On 23/01/2011 03:32, Maksim Yevmenkin wrote: > On Sat, Jan 22, 2011 at 11:07 AM, David DEMELIER > wrote: >> 2011/1/19 David Demelier: >>> 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 From owner-freebsd-bluetooth@FreeBSD.ORG Mon Mar 14 23:09:52 2011 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14ACF106567F for ; Mon, 14 Mar 2011 23:09:52 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id C0DED8FC0A for ; Mon, 14 Mar 2011 23:09:51 +0000 (UTC) Received: by iyj12 with SMTP id 12so32231iyj.13 for ; Mon, 14 Mar 2011 16:09:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=iMkPoMGqzjyCvBYBTcPrkBXmCJiFSZ89iQKUh/fm9ks=; b=Xp3cAMn8BM3rhFMhnHh6JLx2cfzS+igDzP8+0tkfdsFpwQNNwSkhlc3mQYdV17GK20 YUJtsTC63QCpTkVhKOiA3B21/v9BD4BFfllRuI6WC+y8KA3ORkDxDGhWlx+7c2hS+0zv 7H1m1Ao8KiPOh3Hxa4czTAK9Cq5Lspo+whXDU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Q+BtYQ7zaL96rGZMjR2XysGQu2TMyQMFdVxviaTWg88a8EJffjBZreVgo0JNgUD7jI 1/7lwGz2AVOp5+ERGR/OtIt6HuC0AvE4mfUIO6MHauZuJWoLq3x6qnSJ84xiN43ORtQc fe4f+rpNxzo7/UQ34QOVvtge8Qxi7XAJ9rPpY= MIME-Version: 1.0 Received: by 10.42.215.19 with SMTP id hc19mr124844icb.238.1300144191132; Mon, 14 Mar 2011 16:09:51 -0700 (PDT) Received: by 10.43.60.201 with HTTP; Mon, 14 Mar 2011 16:09:51 -0700 (PDT) In-Reply-To: <4D7E7DBE.7080601@gmail.com> References: <4D36ED39.7070807@gmail.com> <4D7E7DBE.7080601@gmail.com> Date: Mon, 14 Mar 2011 16:09:51 -0700 Message-ID: From: Maksim Yevmenkin To: David Demelier Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-bluetooth@freebsd.org Subject: Re: Bluetooth mouse does not connect after reboot X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Mar 2011 23:09:52 -0000 David, > 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... well, technically, there is no "standard" way to change bluetooth bd_addr (mac) address. i'm sure there are vendor specific hci commands that would allow you to change bd_addr, but, like i said, those are vendor specific commands and would be, well, specific, to each particular bluetooth chip. another problem is that having the same bd_addr on two different devices is problematic. especially if those devices are in the rf proximity and active. finally, its not just bd_addr, its actually the link key. not only you have to ensure the same bd_addr but also the same link key. and, yes, the same pair of devices will produce different link key every time you pair them. one possible solution is to pair mouse to a specific detachable bluetooth dongle. after paring is complete, obtain link key and program it directly into the dongle using hci write_stored_link_key command. after that, just move the detachable bluetooth dongle with the mouse, i.e. connect the dongle to the computer you want to use mouse with. thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Tue Mar 15 13:56:20 2011 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 732E3106566C; Tue, 15 Mar 2011 13:56:20 +0000 (UTC) (envelope-from gamato@users.sf.net) Received: from smtp-out4.iol.cz (smtp-out4.iol.cz [194.228.2.92]) by mx1.freebsd.org (Postfix) with ESMTP id EF2348FC0C; Tue, 15 Mar 2011 13:56:19 +0000 (UTC) Received: from antivir6.iol.cz (unknown [192.168.30.215]) by smtp-out4.iol.cz (Postfix) with ESMTP id AB00BCE46A2; Tue, 15 Mar 2011 13:34:29 +0000 (UTC) Received: from localhost (antivir6.iol.cz [127.0.0.1]) by antivir6.iol.cz (Postfix) with ESMTP id 2CF98720036; Tue, 15 Mar 2011 14:34:29 +0100 (CET) X-Virus-Scanned: amavisd-new at iol.cz Received: from antivir6.iol.cz ([127.0.0.1]) by localhost (antivir6.iol.cz [127.0.0.1]) (amavisd-new, port 10224) with LMTP id pYB1nI5V6lv4; Tue, 15 Mar 2011 14:34:29 +0100 (CET) Received: from port8.iol.cz (unknown [192.168.30.98]) by antivir6.iol.cz (Postfix) with ESMTP id 07992720032; Tue, 15 Mar 2011 14:34:29 +0100 (CET) X-SBRS: None X-SBRS-none: None X-RECVLIST: MTA-OUT-IOL X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AngHAC8Hf01asinI/2dsb2JhbAAMhSvkHIViBIxd Received: from 200.41.broadband11.iol.cz (HELO [192.168.11.3]) ([90.178.41.200]) by port8.iol.cz with ESMTP; 15 Mar 2011 14:34:28 +0100 Message-ID: <4D7F6AE3.1060503@users.sf.net> Date: Tue, 15 Mar 2011 14:34:27 +0100 From: mato User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.16) Gecko/20110124 SeaMonkey/2.0.11 MIME-Version: 1.0 To: Maksim Yevmenkin References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-bluetooth@freebsd.org, freebsd-usb@freebsd.org Subject: Re: no modules / services needed for BT mouse support (?) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Mar 2011 13:56:20 -0000 Maksim Yevmenkin wrote: > 2011/3/14 martinko: > >> Hallo, >> >> I had a Logitech bluetooth mouse connected via USB BT dongle. In the past I >> used to load ng_ubt and bthidd and hcsecd to make the mouse work. The same >> I did for a friend on old PC-BSD. But it appears that since moving to the >> version 8.x we no longer need to load any of the above and the mouse works >> out-of-box. Unfortunately it does not respond to wheel movement (pressing >> it does generate middle click). >> > are we talking about freebsd or pc-bsd here? i'm confused :) > > there were no changes in this area in freebsd. you still need to load > ng_ubt(4) to recognize local bluetooth device (i.e. bluetooth dongle > connected to your computer). usually its done via loader.conf, i.e. > put something like > > ng_ubt_load="YES" > > into /boot/loader.conf. > > devd(8) will start/stop bluetooth stack as soon as it detects > ng_ubt(4) device arrival/departure. > > bthidd(8), hcsecd(8) etc. are bluetooth service daemons, and, those > needs to be started. usually one puts something like > > hcsecd_enable="YES" > bthidd_enable="YES" > > into /etc/rc.conf to start bluetooth services. > > assuming all of the above is in place, and, mouse was paired > previously, then it will work "out-of-the-box" > > >> Now this all is a bit surprising for me. And I'm not sure which part of the >> system is responsible for the behaviour -- kernel, USB stack, HAL, X11, .. ? >> > ng_ubt(4) driver for usb bluetooth devices > devd(8) responds to events and starts/stops bluetooth stack > > >> Also, I'd like to know how to make wheel working again. >> > can you please provide hid descriptor? > > thanks > max > Hi Max, Thank you for your reply. Probably I wasn't clear. I am aware of how to enable BT mouse in FreeBSD, I used it for several years. I did the same for PC-BSD and it worked as expected. But now, with the same mouse on a friend's computer running (latest) PC-BSD, I do no need to do anything and it works. There is no ng_ubt loaded, yet I see /dev/ums0 and mouse works both in console and X11. The issue is that its wheel does not work. So I was confused as to how it can work out-of-box and why wheel is dead. One idea that occured to me is that BIOS recognises and emulates it (dongle + mouse), though that sounds strange. Btw, when I tried to set it up as usual (and as you wrote above), it stopped working (on that PC-BSD machine). Hm.. M. From owner-freebsd-bluetooth@FreeBSD.ORG Fri Mar 18 18:36:40 2011 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 716D5106566B; Fri, 18 Mar 2011 18:36:40 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2DA5D8FC08; Fri, 18 Mar 2011 18:36:39 +0000 (UTC) Received: by iyj12 with SMTP id 12so5063145iyj.13 for ; Fri, 18 Mar 2011 11:36:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=5BSvaHiSuiHzCbtYKkqzI+IcHnuaGpwfJxJXQ6EUT48=; b=nw3nvoFI0KSrMPBfDhg0dj3CNU62HaV36x9iI68rkox13owCMp0Tf6vpUUSMFL3IK+ 7EoYmakJBVeF8MNVGe5BJ/l65R1nC9Th/qw/D4xz40E83ezPz3xi97RBwt4l17J2Lrp9 njXPs46Xk1cPvonAJOTsLFIavnhJKL4ffzUSc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Ds/Zfvz5UqNvwLA6J8+OPj/sAjGRxThEV3bJ35BCArk2TrWvHTy59moLkfiUY/gVTg bMbGVyr/otUusTD23Q3E9bewHIAS9o4iZwjYkw/5Yj0/ttyv8CZ4ELoiLVQOtb5/DaEn NY9eQWLnTsr8QmcPnMDT9/oB5pwEhjb5JD0hw= MIME-Version: 1.0 Received: by 10.42.145.72 with SMTP id e8mr1918667icv.506.1300473399285; Fri, 18 Mar 2011 11:36:39 -0700 (PDT) Received: by 10.43.60.201 with HTTP; Fri, 18 Mar 2011 11:36:39 -0700 (PDT) In-Reply-To: <4D7F6AE3.1060503@users.sf.net> References: <4D7F6AE3.1060503@users.sf.net> Date: Fri, 18 Mar 2011 11:36:39 -0700 Message-ID: From: Maksim Yevmenkin To: mato Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-bluetooth@freebsd.org, freebsd-usb@freebsd.org Subject: Re: no modules / services needed for BT mouse support (?) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Mar 2011 18:36:40 -0000 Hello, sorry for the delay > Probably I wasn't clear. I am aware of how to enable BT mouse in FreeBSD, I > used it for several years. I did the same for PC-BSD and it worked as > expected. ok > But now, with the same mouse on a friend's computer running (latest) PC-BSD, > I do no need to do anything and it works. There is no ng_ubt loaded, yet I > see /dev/ums0 and mouse works both in console and X11. The issue is that > its wheel does not work. well, i would guess that the mouse is recognized as usb mouse. this could happen when bluetooth usb dongle connected to the computer is operating in so called "hid mode". in this mode, bluetooth dongle is NOT appearing as bluetooth device but rather than usb mouse, and, possibly, as keyboard as well. > So I was confused as to how it can work out-of-box and why wheel is dead. if my guess above is correct, then it works out-of-the-box because ums(4) (usb mouse) drivers attaches to it, and, moused(8) picks it up as usb mouse. i'm guessing the wheel does not work because moused(8) needs to be told about it. > One idea that occured to me is that BIOS recognises and emulates it (dongle > + mouse), though that sounds strange. sorry, i'm not sure i understand what do you mean. if bluetooth dongle is in fact in hid mode then it will look like usb mouse. > Btw, when I tried to set it up as usual (and as you wrote above), it stopped > working (on that PC-BSD machine). can you please check if you even have bluetooth device in this case? what does # ngctl li shows? thanks max