You are not logged in.

#1 2006-04-09 09:23:19

murkus
Member
From: Europe/Helsinki
Registered: 2004-03-19
Posts: 254

bluetooth connection to symbian60 series phone

I've tried to make connection to my new Nokia N70 phone via bluetooth. I've been able to find the phone via gnome-bluetooh-manager but I'm not been able to do file transfers.

:!: Nautilus doesn't recognise the bluetooth:/// location.
:!: I'm not able to make a pair with my phone and computer

 #  hciconfig
hci0:   Type: USB
        BD Address: 00:10:DC:EA:5B:56 ACL MTU: 192:8 SCO MTU: 64:8
        UP RUNNING PSCAN ISCAN
        RX bytes:3074 acl:3 sco:0 events:71 errors:0
        TX bytes:288 acl:3 sco:0 commands:26 errors:0
 #  hcitool dev
Devices:
        hci0    00:10:DC:EA:5B:56
 #  hcitool inq
Inquiring ...
        00:17:4B:17:07:54       clock offset: 0x7401    class: 0x50020c
 #  hcitool scan
Scanning ...
        00:17:4B:17:07:54       murkus N70

What should I try? I'm fairly newbie when it comes to bluetooth..

.murkus

Offline

#2 2006-04-09 10:05:12

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,838

Re: bluetooth connection to symbian60 series phone

The pairing problem has to be sorted first - no point looking at anything else until that's working. I don't use gnome-bluetooth, so the following is based on the base bluetooth install only.

Have a look in /etc/bluetooth/hcid.conf to confirm that the options {} section has

# PIN helper
pin_helper /etc/bluetooth/givepin;

in it. You then need to create the givepin script:

# givepin
#!/bin/sh
echo "PIN:0000"

and put in the PIN you want instead of 0000. The script should be root:root, mode 710, for security.

If you want to see what happens next, open another terminal, and tail your everything.log in it - that's optional, but informative. In the first window, try a connection:

hcitool cc 00:17:4B:17:07:54

The PC will send the PIN in the script to the phone, and the phone should pop up a dialog looking for the same pin. Enter it, and you have a successful pair. The log will show a few messages confirming all this, and

hcitool con

will show that the connection is active. You can now disconnect:

hcitool dc 00:17:4B:17:07:54

Hopefully, that will help with the higher-level stuff in gnome-bluetooth. smile

Offline

#3 2006-04-09 10:21:33

murkus
Member
From: Europe/Helsinki
Registered: 2004-03-19
Posts: 254

Re: bluetooth connection to symbian60 series phone

Apr  9 13:20:28 pinkku hcid[3867]: Bluetooth HCI daemon
Apr  9 13:20:28 pinkku hidd[3871]: Bluetooth HID daemon
Apr  9 13:20:28 pinkku sdpd[3869]: init_server: binding UNIX socket: Permission denied
Apr  9 13:20:28 pinkku sdpd[3869]: main: Server initialization failed

Offline

#4 2006-04-09 10:53:27

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,838

Re: bluetooth connection to symbian60 series phone

I'm presuming that's the response to

/etc/rc.d/bluetooth start

- right? Obvious question - did you run it as root?

Offline

#5 2006-04-09 11:03:07

murkus
Member
From: Europe/Helsinki
Registered: 2004-03-19
Posts: 254

Re: bluetooth connection to symbian60 series phone

Tomk, Thanks for your help! much appreciated smile

I rechecked, I did it as sudo and afterwards tried with su. I got forward. Now my problem is that phone does recognise the

hcitool dc 00:17:4B:17:07:54

command, but still doesn't make a pair. I've got the same password in /etc/bluetooth/pin and in the phone.

Offline

#6 2006-04-09 11:12:25

murkus
Member
From: Europe/Helsinki
Registered: 2004-03-19
Posts: 254

Re: bluetooth connection to symbian60 series phone

Ok, I got it working. sort of. 

bluetooth:/// still gives error in nautilus but transfer from commannd line with gnome-obex-send works.

It seems that repeated restarts of /etc/rc.d/bluetooth did the trick. beats me why.. :-|

Thanks for your help, tomk! :-D

Offline

#7 2006-04-09 11:14:15

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,838

Re: bluetooth connection to symbian60 series phone

hcitool dc is the disconnect command. Did hcitool cc work?

Offline

#8 2006-04-09 11:23:43

murkus
Member
From: Europe/Helsinki
Registered: 2004-03-19
Posts: 254

Re: bluetooth connection to symbian60 series phone

Actually I had to run hcitool cc and then from phone select "find devices" Without both it didn't work.

Offline

#9 2006-04-09 11:25:34

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,838

Re: bluetooth connection to symbian60 series phone

OK - so you have a pair now?

Offline

#10 2006-04-09 11:37:51

murkus
Member
From: Europe/Helsinki
Registered: 2004-03-19
Posts: 254

Re: bluetooth connection to symbian60 series phone

tomk wrote:

OK - so you have a pair now?

Yes, and I'm able to transfer files from commandline. I don't know why it doesn't work with nautilus though.

Offline

Board footer

Powered by FluxBB