News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Bluetooth Keyboard - Auto-Connect?

Started by tmwillett, April 25, 2011, 04:46:28 AM

Previous topic - Next topic

tmwillett

I have a mini bluetooth keyboard that I can manually pair by typing:

hidd --connect 98:9A:10:12:09:E8

However, I have to do this every time to make it work.  Once I turn the keyboard off, or reload the MD/Core, it has to be manually paired again.  LMCE detects the keyboard when I turn it on via plug and play, but wants to put it under one of the mobile phone categories (Symbian S60 v1/v2, Windows Mobile Smartphone, Windows Mobile Smartphone 2005, Java Mobile phone).  I've added the above command to my /etc/rc.local file, but that doesn't allow it to be auto-detected.  How do I get it added to the plug and play list so it can be automatically added each time it's turned on?  Any ideas?  I'm not a programmer, but if someone can point me in the right direction, I can usually hack together a solution.  Any help is much appreciated.

Thanks

tschak909

Currently the Bluetooth Dongle DCE device only supports mobile phones. I very much want to rewrite this device from scratch to support various device profiles, and to configure them appropriately, but as the lead developer, I currently have a lot on my place... Of course, we would welcome any help to rewrite this device. :)

-Thom

tmwillett

Can you point me to the right section within the SVN so I can take a look at the code and see if I can figure it out?  I've never written anything for Linux, but I am willing to try and see what I can pull together.

tmwillett

Disregard.  I found the area within the SVN for the bluetooth dongle.  If I get it working, I'll be sure to let you know.

tschak909

the current Bluetooth Dongle code also references code in VIPShared...But you can completely dump that and start from scratch.

Feel free to DCEGen and sql2cpp a new device, and work from that.

-Thom

lordrahl

I am going to resurrect this post.

Did this ever get resolved?

I can connect with hidd --connect
But I have to do it every time I boot the computer.

_if_

just for now you could put it in your MDs rc.local