Date: Mon, 18 Apr 2011 09:27:53 +0200 From: martinko <gamato@users.sf.net> To: freebsd-usb@freebsd.org Cc: freebsd-bluetooth@freebsd.org Subject: Re: no modules / services needed for BT mouse support (?) Message-ID: <iogp5q$o5s$1@dough.gmane.org> In-Reply-To: <AANLkTi=Y0ju2L4Mw1QkL7oxsishzjB6Y3UzSRPbL%2BPmy@mail.gmail.com> References: <illh5i$h23$1@dough.gmane.org> <AANLkTi=89iKHFJh7X%2B3pNqhym89423uZLq4XbPVCGgh_@mail.gmail.com> <4D7F6AE3.1060503@users.sf.net> <AANLkTi=Y0ju2L4Mw1QkL7oxsishzjB6Y3UzSRPbL%2BPmy@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?iogp5q$o5s$1>