Bluetooth setup on Linux
- Warning - you need to be root to edit the rfcomm.conf file.
If you have a fairly modern Linux setup, then you need only do the following. If you need to manually add and configure Bluetooth, see the notes here: http://pyrorobotics.org/?page=Using_20the_20Hemisson_20Robot
First, find out the Bluetooth address of your IPRE fluke device. To do this, as root, enter hcitool scan like so:
% hcitool scan Scanning ... 00:0A:94:02:9E:0C rochester-0 0F:22:13:48:45:0A Pams Laptop 00:11:22:33:44:43 IPRE6-19324
Then, add an entry in /etc/bluetooth/rfcomm.conf file using that Bluetooth address:
rfcomm0 { # Automatically bind the device at startup bind yes; # Bluetooth address of the device device 11:22:33:44:55:66; #BorgDongle # RFCOMM channel for the connection channel 1; # Description of the connection comment "IPRE Scribbler Dongle"; }
Lastly, run rfcomm bind all like so:
% rfcomm bind all
You can then refer to your Scribbler via the comport named "/dev/rfcomm0" in the init() function call.
If you are getting "Permission Denied" error messages when attempting to access the bluetooth serial port, you may need to set up the default permissions on your rfcomm devices following these directions by Henry Walker.
- There is a conflict between the Ubuntu Modem Manager and the Fluke that can cause problems connecting. Typically the symptoms involve failing to connect on the first attempt, but (possible) success on subsequent attempts. Follow these directions to address this issue.
Ubuntu 8.10 detailed instructions
Andrea Castellani has provided the following detailed instructions for setting up Myro on Ubuntu verson 8.10. Media:Myro_setup_LINUX_Ubuntu.txt