For my birthday, I received an excellent SonyEricsson w810i. I used to have a SonyEricsson t630, which easily synchronized with Evolution via Bluetooth.(Calendar, Address book, ToDo’s) So I expected the same from the brand new SonyEricsson w810i. It seems that SonyEricsson are known to work good with Linux.
I will explain how to setup the phone and Ubuntu to synchronize your data between the phone and Evolution, to share files(jpg, mp3,…) between those two and to use the phone as a mouse controller. And all this is done via Bluetooth. So there is no need to carry any cables with you anymore to get your SonyEricsson w810i connected with Ubuntu.
The first thing we need to setup is Bluetooth on the Thinkpad. So, install the package, bluez-utils, with aptitude.(aptitude install bluez-utils) Then, I had to turn on the bluetooth device manually, so I run the command(as root(sudo su), sudo didn’t do the job) echo enable > /proc/acpi/ibm/bluetooth. It is also possible to use key combination Fn+F5, but this turns on/off wireless and bluetooth together.
To start the Bluetooth services, I ran the command sudo /etc/init.d/bluetooth restart. You can now verify that your Bluetooth device is working correctly by executing the command hciconfig -a(or hcitool dev). This command is very similar to the well-known command iwconfig (for the wireless device).
To discover other Bluetooth devices, you need to scan for available devices, this is done with hcitool scan(or hidd –search). This will give you the available devices by giving their Address(00:00:00:00:00:00) and the device name(for example: My Phone). Each device has its unique address.
To connect to another device, simply execute sudo hidd –connect 00:00:00:00:00:00. This is basically all there is to basic Bluetooth commands. I will now explain how I managed to use the phone as a mouse controller.(This might not be possible with every mobile phone, please check with the phone manufacturer if your phone supports this feature)
Use the SonyEricsson w810i as a Mouse Controller with Ubuntu
This feature is useful if you have a presentations and remotely want to go to the next slide. (or simply if you want to impress your friends and Mac Users, how sweet these devices work together) You can do with the phone whatever you could do with a (simple) mouse, you control the mouse pointer, left-click and right-click,etc. To get this to work simply, scan for devices to get the Address from your phone, and then execute the following command (replace your address):
Then the w810i asks me if I want to let my Thinkpad connect to the phone. Of course you have to answer ‘yes’. There are 3 modes of controller on the w810i, but I don’t know the difference between those modes.(Presenter, MediaPlayer, Desktop) But I guess the names are pretty self-explaining.
Synchronizing the w810i with Evolution(Calendar, Address book, Tasks)
I managed to sync the data on th Phone with the data from Evolution. I use the tool multiSync, which has several plugins and allows to sync many different types. So for example I also use this tool to sync Evolution Calendar with my Google Calendar. To set things up correctly, it took me quite some time. But, let’s start at the beginning. First, we need the following packages: multisync, libmultisync-plugin-irmc, libmultisync-plugin-irmc-bluetooth, libmultisync-plugin-evolution, multisync-gui(If you want a GUI, otherwise install msynctool) It might be possible that I left some packages out, so please inform me if you need to install additional packages.
Before you start, start Bluetooth on both devices. Then launch the multisync-gui from the Applications Menu. In multisync-gui, add a new group. You have to select evo2-sync(Evolution) as first member and irmc-sync(SE w810i) as second.(It might also work by interchanging the members!) Then, you must configure the members, So click ‘Edit’. Here comes an important point: Select Notes for disabled objects to sync, as actual SonyEricsson models does not support to sync Notes.(See the picture below) I spent several hours to find out that this is a necessary condition to sync new SE phones. Otherwise, synchronization is not possible.
The settings for the member ‘evo2-sync’, is straight forward, just specify the Address Book, calendar and Tasks of Evolution you want to sync with your Phone.
The settings for the Member ‘irmc-sync’ are as follows, where 00:00:00:00:00:00 is the Address of your phone
Now, simply push the refresh Button and your data gets synchronized. Possible conflicts are shown to you. For usage of the command line tool(msynctool) I refer you to the manual of the tool.(man msynctool).
File Sharing between w810i and Ubuntu
As the SonyEricsson has an integrated MemoryStick(512MB), it can easily be used as external card reader or to store some files on it. You can also transfer some photos(jpg) to your mobile phone, or some music files(mp3) via Bluetooth. Install the package gnome-bluetooth first. Then, let us have a look on how to transfer files from the phone to the Thinkpad:
Start Applications-> Bluetooth File Sharing(or gnome bluetooth). A small icon indicates that Ubuntu is ready to receive files via Bluetooth. On the phone, browse to the file you wish to transfer and select ‘More’-> ‘Send’->’Bluetooth’ and select the Thinkpad.
The other direction, again start the ‘Bluetooth File Sharing’ Application first. Then in Nautilus right-clik the file you want to transfer to the phone and select ‘Send To’. A dialog pops up and asking you which service to use. Select Bluetooth here. Important: There is a bug in Edgy Eft, so no devices are found here by default. There is a work around by executing the command
So that’s basically what I have done so far. As an outlook I want to get the gnome-phone-manager to work with the w810i. But there is again a Bug, which stops the gnome-phone-manager from connecting to the phone. The gnome-phone-manager would allow me to send my Text Messages from my Thinkpad, which means a full keyboard for entering the messages, and it would inform me that I received a new Text Message on the screen, so I can always mute the phone and still I am informed of new Messages.
Further, it would be possible to use the phone as a modem, but I am absolutely not interested in such a thing(as long as prices for data transfer are as high).