Had some luck after sleeping on it. I was able to get dbus and the bluetooth service to run. Currently, I am using the bluetooth keyboard on the remote terminal, so I'll have to get a spair before I can try the pairing process.
These are my exact steps so far:
1. Start with fresh image of raspBMC.
2. Leave USB bluetooth dongle unplugged during the first run process.
3. Grab a coffee.
4. After raspBMC is done and sitting idle, I power it down and plug in the USB bluetooth dongle.
5. Power raspBMC back up, and then log into remote ssh terminal from another computer.
6. Now I run the following commands, in this order:
Switch to root:
- Code: Select all
sudo bash
Do something to make dbus run (still get LSB errors, but I continue on...):
- Code: Select all
update-rc.d -f dbus defaults
Update package listing, but do not upgrade:
- Code: Select all
apt-get update
Only install "bluez", and not "bluetooth" since the later will drop a bunch of packages and services that are not needed and seem to break things:
- Code: Select all
apt-get install bluez
Now check bluetooth status:
- Code: Select all
service bluetooth status
Woot, it's running, so I check more:
- Code: Select all
hciconfig
Woot, the USB bluetooth dongle is in an UP state:
For my dongle, I have to turn off SSP since the encryption interfears with my keyboard's pairing process:
- Code: Select all
hciconfig hci0 sspmode 0
A quick check to see if bluetooth actually is working:
- Code: Select all
hcitool scan
Devices show up.
My next step will be to go through the pairing process after work, but I'll need to grab another keyboard for that. For those steps I plan to do:
- Code: Select all
sudo bluez-simple-agent hci0 XX:XX:XX:XX:XX:XX
Enter a passkey at terminal and press ENTER:
Then enter same pass key on keyboard and press ENTER:
sudo bluez-test-device trusted XX:XX:XX:XX:XX:XX yes
sudo bluez-test-input connect XX:XX:XX:XX:XX:XX
Should be paired.