2. step
When your bluetooth device in pair mode
write this command to xterm:
Code:
hcitool scan
Output like this:
Code:
Andy1210-N900:~# hcitool scan
Scanning ...
00:07:61:D0:5C:18 Bluetooth Laser Travel Mouse
This is your bluetooth device's MAC address
3. step
Modify this script and save to mouse.sh
Code:
#!/bin/bash
# Modify this, to your bluetooth device's MAC address (change : characters to _ characters)
DEVICE_MAC=00_07_61_D0_5C_18
# Do not modify anything after this line!
DEVICE_PATH=`dbus-send --system --print-reply --dest=org.bluez / org.bluez.Manager.DefaultAdapter | grep 'object path' | sed 's/ object path "//g' | sed '$s/.$//'`
dbus-send --system --dest=org.bluez --print-reply $DEVICE_PATH/dev_$DEVICE_MAC org.bluez.Input.Connect
Copy script to your N900 and run with "sh mouse.sh" command!
Or "chmod +x mouse.sh" then "./mouse.sh"
ENJOY!
__________________
Nokia N950 - PR1.3
OpenSUSE 12.2 / Windows 8
If your N900 don't connect automatically to your bluetooth keyboard or mouse, you can use my script!
1. step
http://wiki.maemo.org/Fremantle_Unsu...tooth_profiles
2. step
When your bluetooth device in pair mode
write this command to xterm:
3. step
Modify this script and save to mouse.sh
Or "chmod +x mouse.sh" then "./mouse.sh"
ENJOY!
Nokia N950 - PR1.3
OpenSUSE 12.2 / Windows 8
Last edited by Andy1210; 2010-06-30 at 16:18.