Return-Path: Date: Thu, 27 Jul 2006 11:33:05 -0300 From: Nelson Murilo To: BlueZ development Message-ID: <20060727143305.GC28854@pangeia.com.br> References: <1153915377.6149.1.camel@anselm.venusberg.augustinnetz.de> Mime-Version: 1.0 In-Reply-To: <1153915377.6149.1.camel@anselm.venusberg.augustinnetz.de> Subject: Re: [Bluez-devel] HIDclient: Using a Bluez PC as virtual Bluetooth keyboard and mouse [repost] Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net Great job! I got tarball, ran make and copied hdi*.bin to /etc/bluetooth After run hdiclient, I get: = ./hidclient = HID keyboard/mouse service registered Opened event device [/dev/input/event0] Opened event device [/dev/input/event1] Opened event device [/dev/input/event2] Opened event device [/dev/input/event3] Bind error (PSM 19): Address already in use Failed to bind sockets (9/8) to PSM (17/19) # hciconfig hci0 version hci0: Type: USB BD Address: 00:02:C7:96:9C:74 ACL MTU: 192:8 SCO MTU: 64:8 HCI Ver: 1.2 (0x2) HCI Rev: 0x570 LMP Ver: 1.2 (0x2) LMP Subver: 0x= 570 Manufacturer: Cambridge Silicon Radio (10) Any hints? = On Wed, Jul 26, 2006 at 02:02:57PM +0200, Anselm Martin Hoffmeister wrote: > Hello list, > = > with this posting I publish a software that mimicks a Bluetooth HID > (keyboard and mouse combo device) on a Linux PC. Thus you can > remote-control other Bluez-equipped PCs, Widcomm-stack equipped windows > boxes, and basically any machine that knows how to talk to Bluetooth > keyboards in non-boot-protocol mode. > = > Source code is GNU GPLd, and can be found on > http://www.hoffmeister-online.de/bluez/hidclient-20060725.tar.bz2 > = > Short instructions (for root users): > Download the file and unpack it > # wget -q > http://www.hoffmeister-online.de/bluez/hidclient-20060725.tar.bz2 > # tar -xjvf hidclient-20060725.tar.bz2 > = > Run make and copy the hid-sdp-record.bin into /etc/bluetooth/ > = > Make sure bluez is installed (else the "make" will most probably fail > anyway) and the SDP daemon is running (which it should by default). > = > Change to a Linux textmode console (e.g. Ctrl+Alt+F1) and run > ./hidclient > from there. Then, startup the other machine and discover the "HID" > service available on your virtual-HID box. Connect to it. > = > Move the mouse, touch the keyboard, enjoy. > = > Hint: The bluetooth connection can be interrupted by pressing "Pause", > the program can be aborted altogether with LeftCtrl+LeftAlt+Pause > = > Beware, all keyboard and mouse input will simultaneously be read by your > virtual-HID computer as well! That's why running hidclient from a > textmode console is a good idea. > = > Code history: Developped as a practical work during the "Networks" > course at Rheinische Friedrich-Wilhelms-Universit=E4t, Bonn, Germany in > 2004/2005 for the Nokia-supported, GPLd, Affix Bluetooth stack. > Ported in July/2006 to bluez, several code cleanups and improvements. > = > Questions welcome. > = > Regards > Anselm > = > P.S: Sorry if you get this mail twice. My mail of 2006-07-25, 21:51 did > not come back through the list, hence the repost. > = > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share y= our > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Bluez-devel mailing list > Bluez-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bluez-devel ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDE= VDEV _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel