Date: Wed, 20 Apr 2005 13:18:59 -0700 From: Maksim Yevmenkin <maksim.yevmenkin@savvis.net> To: Ronald Klop <ronald-freebsd8@klop.yi.org> Cc: freebsd-bluetooth@freebsd.org Subject: Re: bthidd Message-ID: <4266B933.2010003@savvis.net> In-Reply-To: <opspjrr8qx8527sy@smtp.local> References: <opsn65wosp8527sy@smtp.local> <42444AB4.7080300@savvis.net> <opsocok7yo8527sy@smtp.local> <42483D9F.2090805@savvis.net> <opsoge2fqk8527sy@smtp.local> <opspjmf0198527sy@smtp.local> <4266B2DA.50609@savvis.net> <opspjrr8qx8527sy@smtp.local>
index | next in thread | previous in thread | raw e-mail
Ronald, >> looks like the phone has both keyboard and the mouse part. do you >> know if phone sends mouse events (if you move joystick i guess)? how >> about running 'hcidump' while pressing buttons on the phone? >> >>> # bthidcontrol -a phone query > /etc/bluetooth/bthidd.conf >>> # bthidd -d >>> <select 'control external device' on my phone> >>> bthidd[786]: Accepted control connection from 00:0f:de:78:93:d8 >>> bthidd[786]: Accepted interrupt connection from 00:0f:de:78:93:d8 >> >> that looks fine. it means there is a hid session between phone and >> the computer. please use hcidump to see if there is any hid events >> going from the phone. >> >>> And now I'm stuck. I don't see a new device in /dev or a msg in >>> dmesg/console. >> >> there wont be any device. the mouse part *might* work. btw try to run >> bthidd on console (not on xterm). > > I understand more now. I need to run moused to make it work. With moused > I can use my phone to control the mouse-pointer and mouse-buttons on > the console. I think I need to set up X11 to use moused for this to > work on X also. Does this work? right, i assumed you ran moused(8). so, basically here is what i do 1) run moused(8) 2) specify 'Option "Device" "/dev/sysmouse"' in my /etc/X11/XF86Config 3) run bthidd(8) on the console. now i can control mouse pointer in both console and X with both (wired and wireless) mice. thanks for the hcidump. it shows that phone sends both mouse and keyboard events. thanks, maxhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4266B933.2010003>
