[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

strange bluetooth pairing woes



hi,

i'm having some weird troubles pairing my mobile phone with my pc.
bluetooth is up and running, i'm already using skype with a bluetooth
headset (bound with btsco on login) and i can also transfer files to my
phone with obexftp and transfer files from my phone to the pc. 
my phone's mac is bound automatically when bluetooth starts up
to /dev/rfcomm0. /dev/rfcomm is perm 660 with group dialout and i am
part of this group.
this is what works: i remove the paired device entry on my phone, remove
the paired device entry in /val/lib/bluetooth/.../linkkeys and
restart /etc/init.d/bluetooth. then i start kmobiletools and my phone
asks if i want to add my pc and asks for the pin. i click ok and my pc
asks for the same pin. then kmobiletools works, i also sent a sms to
myself to test it. when i close kmobiletools and open it again it claims
there was an error initializing the device, just if i had not paired
them or chose the wrong device. the mac of my phone and the
authentication string were succesfully added
to /var/lib/bluetooth/.../linkkeys.
obex file transfer showed me the same behaviour. when removing the
pairing before i could read the root directory of my phone but when
trying to get a level deeper or read the root directory again i get an
error. 
since today i cannot browse bluetooth devices in konqueror because of
bluetooth:/ not being a valid protocol. i don't know how this happend,
it worked yesterday. but that should not be the point here since the
shown behaviour was the same.
i'm using all this stuff on sid with gnome. i created a
symlink /etc/bluetooth/link_key -> /var/lib/bluetooth/.../linkkeys so i
could watch the paired devices in the paired devices manager of
kbluetoothd. and i also wonder why the addresses listed by the manager
do not match my devices addresses, wich are the phone, the headset and
the bt usb dongle (dbt-120). maybe they mean something else, i just
don't know. some config info follows below.

help appreciated, 
oliver


/etc/bluetooth/hcid.conf
options {
        autoinit yes;
        security user;ir once and deny successive attempts
        pairing multi;
        pin_helper /usr/bin/bluepin;
}

device {
        name "%h-%d";
        class 0xff0100;
        iscan enable;
        pscan enable;
        lm accept;
        lp rswitch,hold,sniff,park;
        auth disable;
        encrypt disable;
}

/etc/bluetooth/rfcomm.conf
rfcomm0 {
        bind yes;
        device 00:0E:07:6C:78:B9;
        channel 2;
        comment "K700i";
}

#/var/lib/bluetooth/00:13:46:05:A6:7A/linkkeys (permission is 600)
00:0D:44:0C:0F:75 AUTH-STRING-OF-HEADSET 0
00:0E:07:6C:78:B9 AUTH-STRING-OF-MOBILE 0

#hciconfig -a
hci0:   Type: USB
        BD Address: 00:13:46:05:A6:7A ACL MTU: 192:8 SCO MTU: 64:8
        UP RUNNING PSCAN ISCAN INQUIRY
        RX bytes:442 acl:0 sco:0 events:22 errors:0
        TX bytes:330 acl:0 sco:0 commands:19 errors:0
        Features: 0xff 0xff 0x8f 0x78 0x18 0x18 0x00 0x80
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: RSWITCH HOLD SNIFF PARK
        Link mode: SLAVE ACCEPT
        Name: 'flyricky-0'
        Class: 0xff0100
        Service Classes: Positioning, Networking, Rendering, Capturing
        Device Class: Computer, Uncategorized
        HCI Ver: 1.2 (0x2) HCI Rev: 0x632 LMP Ver: 1.2 (0x2) LMP Subver:
0x632
        Manufacturer: Cambridge Silicon Radio (10)



Reply to: