K700i


Table of Contents
Linux and the SonyEricsson K700i

Linux and the SonyEricsson K700i

by Kris Buytaert

It was about time to upgrade my Ericsson T39m, after a good experience with 2 other Ericsons before it was only normal that for my next phone I would go for a SonyEricsson.

After 10 seconds figuring out how to work with the device itselve I started looking on how to connect to it from my linux box. (A Dell Inspiron 8600 with Bluetooth).

Im running a Fedora Core 3 on the laptop and Gnome is my default desktop. First I wanted to find out if my Linux laptop saw my K700i

[root@mine2 bluez-utils-2.10]# hcitool  scan
Scanning ...
        00:0F:DE:C3:9D:40       K700i
[root@mine2 bluez-utils-2.10]# hcigto
[root@mine2 bluez-utils-2.10]# hcitool info
Usage:
        info <bdaddr>
[root@mine2 bluez-utils-2.10]# hcitool info 00:0F:DE:C3:9D:40
Requesting information ...
        BD Address:  00:0F:DE:C3:9D:40
        Device Name: K700i
        LMP Version: 1.1 (0x1) LMP Subversion: 0x9240
        Manufacturer: Philips Semiconductors (37)
        Features: 0xff 0x3b 0x01 0x00 0x00 0x00 0x00 0x00
                <3-slot packets> <5-slot packets> <encryption> <slot offset>
                <timing accuracy> <role switch> <hold mode> <sniff mode>
                <park state> <RSSI> <SCO link> <HV2 packets> <HV3 packets>
                <CVSD>
Perfect, it found the device. Then my next concern whas that I wanted a different ringtone, and while searching I also found a couple of nice themes that I wanted to install. Seems like you need gnome-bluetooth for that.
root@mine2 ~]# yum install gnome-bluetooth
Setting up Install Process
Setting up Repo:  base
repomd.xml                100% |=========================| 1.1 kB    00:00
Setting up Repo:  updates-released
repomd.xml                100% |=========================|  951 B    00:00
Reading repository metadata in from local files
base      : ################################################## 2622/2622
primary.xml.gz            100% |=========================| 291 kB    08:58
MD Read   : ################################################## 700/700
updates-re: ################################################## 700/700
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for gnome-bluetooth to pack into transaction set.
gnome-bluetooth-0.5.1-5.F 100% |=========================|  12 kB    00:06
---> Package gnome-bluetooth.i386 0:0.5.1-5.FC3.1 set to be installed
--> Running transaction check
--> Processing Dependency: libbtctl.so.1 for package: gnome-bluetooth
--> Processing Dependency: libopenobex-1.0.so.1 for package: gnome-bluetooth
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for libbtctl to pack into transaction set.
libbtctl-0.4.1-3.i386.rpm 100% |=========================| 3.8 kB    00:00
---> Package libbtctl.i386 0:0.4.1-3 set to be installed
---> Downloading header for openobex to pack into transaction set.
openobex-1.0.1-1.i386.rpm 100% |=========================| 9.5 kB    00:00
---> Package openobex.i386 0:1.0.1-1 set to be installed
--> Running transaction check

Dependencies Resolved
Transaction Listing:
  Install: gnome-bluetooth.i386 0:0.5.1-5.FC3.1

Performing the following to resolve dependencies:
  Install: libbtctl.i386 0:0.4.1-3
  Install: openobex.i386 0:1.0.1-1
Is this ok [y/N]: y
Downloading Packages:
gnome-bluetooth-0.5.1-5.F 100% |=========================| 231 kB    06:44
libbtctl-0.4.1-3.i386.rpm 100% |=========================|  40 kB    00:00
openobex-1.0.1-1.i386.rpm 100% |=========================|  50 kB    00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: openobex 100 % done 1/3
Installing: libbtctl 100 % done 2/3
Installing: gnome-bluetooth 100 % done 3/3

Installed: gnome-bluetooth.i386 0:0.5.1-5.FC3.1
Dependency Installed: libbtctl.i386 0:0.4.1-3 openobex.i386 0:1.0.1-1
Complete!
This gives you a couple of programs of which the most interresting 2 are gnome-obex-send and gnome-obex-server Sending a file (mp3,mid,thm etc) to the mobile phone is easy.
[sdog@mine2 Themes]$ gnome-obex-send ThinkLinux30186.thm
After which a pop up shows you a list of the Bluetooth devices it finds, you click on your mobile phone and the output continues
Browsing 00:0F:DE:C3:9D:40 ...
Service Name: OBEX Object Push
Service RecHandle: 0x10005
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 6
  "OBEX" (0x0008)
Service Class ID List:
  "OBEX Object Push" (0x1105)
** Message: device 00:0F:DE:C3:9D:40 (OBEX Object Push) port 6
If you then save the file on your mobile you have just transferred your first theme to your mobile (PS. A good place for themes,ringtones,games,software etc is http://www.myk700.lasyk.net/)

The K700i contains a Camera and you might want to transfer files back to your Linux host. Just start gnome-obex-server and send a file from your phone to your laptop using bluetooth. A popup will ask you wether you want to accept the files or not.

Updated versions of this article will contain information on how to sync your calendar/addressbook etc from Evolution.