Trouble with bluetooth
|
4th Mar, 2013, 09:33 PM
Post: #5
|
|||
|
|||
RE: Trouble with bluetooth
Ok, my solution to this issue is at this moment a little bit dirty and i don't really like it. Since i have no other options to remote control my XBian other than a Bluetooth Keyboard and a Bluetooth mouse, i am ok with it.
Basically what You have to do before You start up XBMC is to make sure, keyboard and mouse are active. I installed the following set of packages for bluetooth: sudo apt-get install bluez bluez-compat sudo apt-get install python-gobject python-dbus I have than successfully paired mouse and keyboard with the Raspberry. I have switched off XBMC auto start via xbian-config, which lets You boot into a tty console on TV-screen. You should check at this stage, if the keyboard is properly reconnected when You try to login. I do not remember exactly, but i also have unconfigured the XBian splash-screen, because it obscures the tty-login. To disable th splash screen, modify /root/cmdline.txt. Take out the last item "splash". @CurlyMo: what is the meaning of "console=tty2" in this file? Does the XBMC run on tty2? I have changed this to tty1 for my purposes, but do not know, what impact this has... After this i modified /etc/inittab such way, that is does an autologin with mingetty to user xbian (apt-get install mingetty) and added a little loop to .bashrc, which waits for the user to wiggle the mouse and awake the keyboard. I am at office right now and have no access to give the sample script. Will do in the evening. After this i initiate XBMC startup within tty1. Then it works fine. Even if mouse and keyboard fall asleep, they reconnect properly in XBMC. What i do not like about this, is having an open console login to my raspian. Any user can leave XBMC and finds a valid session w/o password reconnect. Also we are leaving the path of the /etc/init.d/xbmc startup script. As long as XBMC does not hot-plug keyboard and mouse, i have to live with that. What i will check out, if it is possible, to insert the mouse and keyboard wakeup into /etc/init.d/xbmc, maybe with another splash-screen which tells user to wiggle the mouse and keyboard before XBMC fires up. Cheers dezi |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Trouble with bluetooth - Milhaus - 1st Mar, 2013, 12:21 AM
RE: Trouble with bluetooth - Koenkk - 2nd Mar, 2013, 03:35 AM
RE: Trouble with bluetooth - dezi - 4th Mar, 2013, 06:17 PM
RE: Trouble with bluetooth - CurlyMo - 4th Mar, 2013, 07:16 PM
RE: Trouble with bluetooth - dezi - 4th Mar, 2013 09:33 PM
RE: Trouble with bluetooth - CurlyMo - 4th Mar, 2013, 10:32 PM
RE: Trouble with bluetooth - CurlyMo - 6th Apr, 2013, 09:35 PM
RE: Trouble with bluetooth - Koenkk - 6th Apr, 2013, 09:53 PM
RE: Trouble with bluetooth - Koenkk - 8th Apr, 2013, 02:03 AM
RE: Trouble with bluetooth - isidro666 - 14th May, 2013, 05:37 AM
|