From owner-freebsd-usb@FreeBSD.ORG Mon Apr 18 07:28:09 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77AA9106564A for ; Mon, 18 Apr 2011 07:28:09 +0000 (UTC) (envelope-from gofdu-freebsd-usb@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id EE7F18FC0A for ; Mon, 18 Apr 2011 07:28:08 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QBisQ-0003Fp-Cb for freebsd-usb@freebsd.org; Mon, 18 Apr 2011 09:28:06 +0200 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, 18 Apr 2011 09:28:06 +0200 Received: from gamato by 200.41.broadband11.iol.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 18 Apr 2011 09:28:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-usb@freebsd.org From: martinko Date: Mon, 18 Apr 2011 09:27:53 +0200 Lines: 58 Message-ID: References: <4D7F6AE3.1060503@users.sf.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; 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 In-Reply-To: Cc: freebsd-bluetooth@freebsd.org Subject: Re: no modules / services needed for BT mouse support (?) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Apr 2011 07:28:09 -0000 Maksim Yevmenkin wrote: > 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 OK, this has been solved. After my tinkering described above the mouse stopped working even in Windows. I reinstalled drivers there and repaired successfully after all. Then in PC-BSD I returned to the setup I use with FreeBSD (loading modules/services) and removed caches and restarted and finally I got it working. Anyway, thank you for explanation of HID mode etc. With regards, Martin