[ENGLISH] KMobileTools and Bluetooth Phones

iManc's picture

Installation of the tools necessary to use Bluetooth phones with KMobileTools.


In the lastest 2.4.x and 2.6.x kernels Bluetooth support is already included, so we don't have to patch anything.
You only need to install some packages.

From the website www.bluez.org, Downloads section, get all the avaliable archives and install them in this order:


bluez-libs-2.9.tar.gz

bluez-utils-2.9.tar.gz

bluez-pin-0.23.tar.gz

bluez-firmware-1.0.tar.gz

bluez-hcidump-1.10.tar.gz

bluez-hciemu-1.0.tar.gz

in the usual way:


./configure

make

(this as root) make install



or you can go to http://www.bluez.org/packages.html to find some precompiled deb e rpm packages.
Now we need to launch two little daemons:



hcid

sdpd

>


When connecting our USB Bluetooth key, or any other adapter, check dmesg output to verify if your device is recognized.

The next step is to view your phone address.
Open bluetooth connection on your phone and type on your terminal:



hcitool scan

>


after a bit you'll read something similar to:


00:0E:07:CF:C2:C9 iManc T630



The first string is the phone address (depending from your model), the second is his name.

Now we need to create a device /dev/rfcomm0 that will associate with that address.
With:



mknod /dev/rfcomm0 c 216 0



create /dev/rfcomm0 if it's not present, and with:



rfcomm bind 0 1


associate it with your phone address..

To use qtmobiletools you should now only link /dev/mobile to /dev/rfcomm0:



ln -s /dev/rfcomm0 /dev/mobile



Or you can overwrite /dev/mobile if it exists with:



ln -sf /dev/rfcomm0 /dev/mobile


That's all, now your BlueTooth phone and KMobileTools can communicate!

This is a shared key.. on my

This is a shared key.. on my T630 I just go to Communication->Bluetooth->Personal devices->New..
it scans for near devices and find my pc. I select it and it asks for a key (1234 will be ok). At this point kbluetoothd asks for a key too on the pc..just put the same one..(1234)..

now..

which channel should we connect to the t630? I use channel 1 for minicom/kppp connection..is that ok? should I change it? has anyone succeded in using the T630 with kmobiletools and can share his/her configuration?