public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] HIDclient: Using a Bluez PC as virtual Bluetooth keyboard and mouse
@ 2006-07-25 19:51 Anselm Martin Hoffmeister
  2006-07-26 16:48 ` Collin R. Mulliner
  0 siblings, 1 reply; 3+ messages in thread
From: Anselm Martin Hoffmeister @ 2006-07-25 19:51 UTC (permalink / raw)
  To: BlueZ development

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

-------------------------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-07-27 14:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-25 19:51 [Bluez-devel] HIDclient: Using a Bluez PC as virtual Bluetooth keyboard and mouse Anselm Martin Hoffmeister
2006-07-26 16:48 ` Collin R. Mulliner
2006-07-27 14:51   ` Anselm Martin Hoffmeister

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox