Forum
BT Keyboard - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Hardware (/forum-7.html)
+--- Forum: Peripherals (/forum-27.html)
+--- Thread: BT Keyboard (/thread-275.html)



BT Keyboard - nsviper - 16th Jan, 2013 07:30 PM

Just in the process of trying out XBian on my Raspberry Pi - so far seems more stable to me than Openelec and Raspbian - haven't had the occasional boot issues I've had with the other 2.

So now I'm trying to get a Bluetooth mini keyboard working with it. The USB BT adapter is available and listed in the console when i run "lsusb", but when I try and run hcitool its saying its not installed.

So I had a look at the guide on http://www.ctheroux.com/2012/08/a-step-by-step-guide-to-setup-a-bluetooth-keyboard-and-mouse-on-the-raspberry-pi/ but when I do the apt-get install bluetooth bluez-utils blueman it comes up with a massive list of dependancies (about 100) that I'm not sure I want to install - I don't want to bork the xbian installation.

I have got the BT keyboard and adapter working previously on an HTPC install using XBMC's XBMCbuntu install so I'm ok with running linux commands etc via PuTTY.

Can anyone assist or point me in the right direction?

Are there any specific XBian steps to get BT running or am I ok to follow the instructions in the link above and install all those dependancies?

The reason I'm doing it is to get my Pi with a USB powered hub and a small USB disk drive (Freecom XXS 1TB) and the BT keyboard as a "mobile" media centre - the BT keyboard is incase any TV I plug it into doesn't support HDMI CEC.

Thanks in advance.


RE: BT Keyboard - nsviper - 18th Jan, 2013 10:58 PM

Anyone?


BT Keyboard - Koenkk - 19th Jan, 2013 04:20 AM

Try following those instructions first, let us know if it works Smile


RE: BT Keyboard - nsviper - 21st Jan, 2013 11:02 PM

Ok, so finally had a chance to play about with this.

Followed the instructions on the post (the 100 or so dependencies for the bluetooth install was a bit eek! but everything ran through ok), and in the console have got the bluetooth keyboard paired, trusted, and working, and can type on it in the console.

However, after reboot and going straight into XBMC, the keyboard is not working. Using TV Remote Control (HDMI-CEC) to EXIT from XBMC back to the xbian console and straight away the keyboard works fine.

So keyboard is good in the console but unresponsive once XBMC starts.

Not sure where to go next - Anyone got any ideas? Smile


RE: BT Keyboard - Koenkk - 22nd Jan, 2013 01:33 AM

@nvsiper does it working in XBMC when executing the following commands?
Code:
sudo service xbmc stop
sudo /etc/init.d/xbmc/xbmc.bin



RE: BT Keyboard - nsviper - 22nd Jan, 2013 04:28 AM

(22nd Jan, 2013 01:33 AM)Koenkk Wrote:  @nvsiper does it working in XBMC when executing the following commands?
Code:
sudo service xbmc stop
sudo /etc/init.d/xbmc/xbmc.bin

1st command stops XBMC running
2nd command says command not found

However, running /usr/local/lib/xbmc/xbmc/bin kicks xbmc into life....but no BT keyboard :/


RE: BT Keyboard - Koenkk - 22nd Jan, 2013 06:04 AM

Sorry made a mistake sudo /etc/init.d/xbmc/xbmc.bin should be sudo /usr/local/lib/xbmc/xbmc.bin.

Can you try if this solution solves the problem? https://github.com/OpenELEC/OpenELEC.tv/issues/306


RE: BT Keyboard - nsviper - 23rd Jan, 2013 03:35 AM

Me again Koenkk,

Checked that link and confirmed that DisablePlugins=input is already commented out in bluetooth's main.conf.

However for some bizarre reason, the KB suddenly started working in XBMC!!! So all is good Smile

Thanks for your help!

and then it stops again after an restart ! argh - ok will keep investigating :/


RE: BT Keyboard - nsviper - 23rd Jan, 2013 10:53 PM

It seems to be a timing issue.

By the look of it, if I turn on the BT keyboard just before XBMC kicks in (and after you see all the xbian status messaging starting up services etc) then the BT keyboard is available within XBMC.

But power it on too early or once XBMC has started and the BT keyboard doesn't work inside XBMC.