Author Topic: Bluetooth Keyboard - Auto-Connect?  (Read 5251 times)

tmwillett

  • Veteran
  • ***
  • Posts: 63
    • View Profile
Bluetooth Keyboard - Auto-Connect?
« on: April 25, 2011, 04:46:28 am »
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
« Last Edit: April 25, 2011, 02:03:27 pm by tmwillett »

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Bluetooth Keyboard - Auto-Connect?
« Reply #1 on: April 26, 2011, 07:45:49 pm »
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

  • Veteran
  • ***
  • Posts: 63
    • View Profile
Re: Bluetooth Keyboard - Auto-Connect?
« Reply #2 on: April 26, 2011, 11:17:51 pm »
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

  • Veteran
  • ***
  • Posts: 63
    • View Profile
Re: Bluetooth Keyboard - Auto-Connect?
« Reply #3 on: April 26, 2011, 11:29:20 pm »
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

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Bluetooth Keyboard - Auto-Connect?
« Reply #4 on: April 27, 2011, 12:00:16 am »
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

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Bluetooth Keyboard - Auto-Connect?
« Reply #5 on: March 03, 2012, 10:59:18 pm »
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_

  • Guru
  • ****
  • Posts: 248
    • View Profile
Re: Bluetooth Keyboard - Auto-Connect?
« Reply #6 on: March 04, 2012, 11:13:04 am »
just for now you could put it in your MDs rc.local