I want to make my laptop announce itself as a bluetooth keyboard or/and a bluetooth mouse. It would be nice to be able to connect the computer to my phone or my media computer using bluetooth.
Does anyone know of a good way to do this?
feedback
|
Questions on Server Fault are expected to generally relate to servers, networking, or desktop infrastructure, within the scope defined in the faq.
|
As said you should to configure your laptop to implement an HID device profile. If you are on Linux a good starting point could be libhid. HID Device Interface (hiddev) works very well, and is actually very easy to understand. There is a good PDF Reference for hiddev too. Also, the include file hiddev.h in /usr/include/linux was also very helpful of course. | |||
|
feedback
|
|
As far as i remember bluetooth devices implement a set of profiles, in order to act as a remote keyboard your laptop should appears as implementing the HID profile. It would probably require hacking the bluetooth driver of your laptop to enable such fonctionnality. | |||
|
feedback
|
|
If you're just looking to share the keyboard and mouse you might want to consider using Synergy. It's probably a lot easier than trying to get the bluetooth setup. From the website:
I use it to share my desktop's mouse and keyboard with my laptop when I am using both computers. | ||||
feedback
|
|
This would involve implementing the HID Device profile as opposed to the HID Host profile that most Bluetooth stacks implement. | |||
|
feedback
|
|
The closest I know that does what you want is BlueMaemo http://www.valeriovalerio.org/?page_id=174 It's for Nokia tablets, but those run Linux anyway. It shouldn't be too hard for someone to port it for use with a laptop. | |||
|
feedback
|
Hidclienthttp://anselm.hoffmeister.be/computer/hidclient/index.html.en
| |||
|
feedback
|
|
This little piece of code claims to do what you want. I assume this is what Marko was referring to (another answer). I'm looking for the same kind of thing: a quick way to use a real keyboard (for mostly email) on my mobile phone, without buying another piece of hardware. From the description:
I made a preliminary effort to compile it, but it won't work against BlueZ v4. However, the Ubuntu repositories have some packages for backwards compatibility with BlueZ 3, which gives me some hope. xkbd-bthid depends on BlueZ 2.4. I probably won't get further just now, since my bluetooth stack is currently messed up in Linux, but do post here if you manage to compile it. | |||
|
feedback
|
|
GIMX http://code.google.com/p/diyps3controller/ is able to make a laptop act as a BT HID device to connect to a PS3. Can even make a laptop behave as a HID over USB. | |||
|
feedback
|