I have a USB bluetooth dongle, mobile is SonyEricsson K608i, distro is Mandriva 2006.
First time I connected it worked fine - well, I had to launch gnome-phone-manager, select settings -> apply, and the phone worked fine as a bluetooth-modem.
Next bootup it doesn't work. I believe there's a problem with rfcomm, the channel is closed and refuses to connect.
In short, here's what I get:
[root@edgar ~]# rfcomm show
rfcomm0: 00:16:20:0A:72:C7 channel 1 closed (adress=phone)
[root@edgar ~]# rfcomm connect 0
Can't connect RFCOMM socket: Connection refused
[root@edgar ~]# hciconfig scan
hci0: Type: USB BD Address: 00:09:DD:10:76:B2 ACL MTU: 192:8 SCO MTU: 64:8 (adress=USB dongle)
UP RUNNING PSCAN ISCAN
RX bytes:2834 acl:36 sco:0 events:98 errors:0
TX bytes:1335 acl:32 sco:0 commands:38 errors:0
[root@edgar ~]# l2ping 00:16:20:0A:72:C7
Ping: 00:16:20:0A:72:C7 from 00:09:DD:10:76:B2
(data size 44) ... 44 bytes from 00:16:20:0A:72:C7 id 0 time 89.83ms
A little longer explanation: First time: I didn't change any hcid/rfcomm config-file. Just put in the dongle, used gnome-phone-manager and then dialup with kppp. Closing connection with kppp and /dev/rfcomm0 was deleted, had to use gnome-phone-manager again as above.
When next time it didn't work, I searched the 'net for info and changed my config-files (see bottom): Phone connects, request for PIN in phone and computer. Phone adds computer ok. Using kppp, phone says: "edgar wants to connect to Internet. Accept?"
Yes -> phone says ok, computer says "connection refused".
When issuing "rfcomm connect 0 ", the phone asks for permission to access, I press "Yes", phone says "connection refused by the other unit". Terminal output:
"Can't connect RFCOMM socket: Connection refused "
The PIN in /etc/bluetooth/pin is correct (four digits only).
My config files:
# RFCOMM configuration file.
# channel 1;
comment "Sony Ericsson k608i"; }
# HCI daemon configuration file.
name "Sony %h-%d";
iscan enable; pscan enable;
lp rswitch,hold,sniff,park; }
And please forgive me for not googling more before asking - it is
a bit difficult without a working internet connection...