Bluetooth connection up and down

Help
extract
2008-09-03
2013-04-26
  • extract
    extract
    2008-09-03

    PROBLEM:
    -------------------------
    Have phone paired with pc.
    Works fine (Constant connection).

    When I "start_proximity.sh", the bluetooth connection goes on and off.

    The "Detected Distance" is 2, then 255, back to 2 then 255 (over and over).

    If I set the time at 5 seconds and go out of the "distance zone" within 5 seconds, it says that it can not establish a connection and therefore does not lock.

    If I set the time lower than that, and stay inside the "distance zone", it locks when the distance jumps up to 255 like I stated above.
    ----------------------------

    QUESTIONS:
    ---------------------------
    Is there anything that can be done about this?
    Is this normal operation?
    ---------------------------

    I also get this in messages about once a second....
    -----------------
    "tail /var/log/messages":  (MAC's are substituted)

    hcid[1703]: link_key_request (sba=xx:xx:xx:xx:xx:xx, dba=xx:xx:xx:xx:xx:xx)
    -----------------

     
    • extract
      extract
      2008-09-03

      Disregard,  I saw the other guys problem and your solution.

      Sorry...

       
    • Hi,

      it could be a different problem on your connection. Are mobile phone and computer really paired correctly? Try the blueman tool to pair them correctly. Your syslog output is what I am wondering about...

      Bye
      Lars

       
  • Egor Kobylkin
    Egor Kobylkin
    2010-05-15

    Hi there, I seem to have the same problem. Here is what I see in the syslog

    May 15 19:19:53 barmaglot kernel: [252136.712293] kobject_add_internal failed for hci0:1 with -EEXIST, don't try to register things with the same name in the same directory.
    May 15 19:19:53 barmaglot kernel: [252136.712302] Pid: 29, comm: bluetooth Tainted: P        W  2.6.31-21-generic #59-Ubuntu
    May 15 19:19:53 barmaglot kernel: [252136.712307] Call Trace:
    May 15 19:19:53 barmaglot kernel: [252136.712314]  [<ffffffff8127a0ad>] kobject_add_internal+0x15d/0x200
    May 15 19:19:53 barmaglot kernel: [252136.712322]  [<ffffffff8127a278>] kobject_add_varg+0x38/0x60
    May 15 19:19:53 barmaglot kernel: [252136.712329]  [<ffffffff8127a354>] kobject_add+0x44/0x70
    May 15 19:19:53 barmaglot kernel: [252136.712337]  [<ffffffff81279eaa>] ? kobject_get+0x1a/0x30
    May 15 19:19:53 barmaglot kernel: [252136.712344]  [<ffffffff81323b28>] device_add+0x128/0x3d0
    May 15 19:19:53 barmaglot kernel: [252136.712351]  [<ffffffff81501390>] ? add_conn+0x0/0x90
    May 15 19:19:53 barmaglot kernel: [252136.712358]  [<ffffffff815013c6>] add_conn+0x36/0x90
    May 15 19:19:53 barmaglot kernel: [252136.712365]  [<ffffffff81073705>] run_workqueue+0x95/0x170
    May 15 19:19:53 barmaglot kernel: [252136.712373]  [<ffffffff81073884>] worker_thread+0xa4/0x120
    May 15 19:19:53 barmaglot kernel: [252136.712380]  [<ffffffff81078a30>] ? autoremove_wake_function+0x0/0x40
    May 15 19:19:53 barmaglot kernel: [252136.712388]  [<ffffffff810737e0>] ? worker_thread+0x0/0x120
    May 15 19:19:53 barmaglot kernel: [252136.712394]  [<ffffffff81078646>] kthread+0xa6/0xb0
    May 15 19:19:53 barmaglot kernel: [252136.712400]  [<ffffffff8101316a>] child_rip+0xa/0x20
    May 15 19:19:53 barmaglot kernel: [252136.712407]  [<ffffffff810785a0>] ? kthread+0x0/0xb0
    May 15 19:19:53 barmaglot kernel: [252136.712413]  [<ffffffff81013160>] ? child_rip+0x0/0x20
    May 15 19:19:53 barmaglot kernel: [252136.712419] add_conn: Failed to register connection device
    May 15 19:19:55 barmaglot bluetoothd[2379]: No matching connection found for handle 1
    May 15 19:19:56 barmaglot bluetoothd[2379]: link_key_request (sba=00:11:67:AC:B8:AC, dba=00:24:9F:D4:20:E7)
    May 15 19:19:57 barmaglot bluetoothd[2379]: Unable to add connection 1
    May 15 19:19:57 barmaglot kernel: [252140.543962] ------------[ cut here ]------------
    May 15 19:19:57 barmaglot kernel: [252140.543970] WARNING: at /build/buildd/linux-2.6.31/fs/sysfs/dir.c:487 sysfs_add_one+0xc5/0x130()
    May 15 19:19:57 barmaglot kernel: [252140.543972] Hardware name:  
    May 15 19:19:57 barmaglot kernel: [252140.543974] sysfs: cannot create duplicate filename '/devices/pci0000:00/0000:00:02.1/usb1/1-8/1-8.5/1-8.5:1.0/bluetooth/hci0/hci0:1'
    May 15 19:19:57 barmaglot kernel: [252140.543976] Modules linked in: sbp2 nls_iso8859_1 nls_cp437 vfat fat usb_storage isofs udf binfmt_misc bridge stp bnep vboxnetadp vboxnetflt vboxdrv snd_hda_codec_realtek snd_usb_audio snd_usb_lib arc4 ecb rt61pci crc_itu_t rt2x00pci rt2x00lib input_polldev ath5k snd_hda_intel mac80211 snd_hda_codec led_class ath snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq usblp snd_timer snd_seq_device iptable_filter ip_tables ppdev jfs x_tables btusb joydev parport_pc eeprom_93cx6 snd cfg80211 nvidia(P) lp psmouse serio_raw soundcore i2c_nforce2 snd_page_alloc amd64_edac_mod edac_core k8temp parport raid10 raid1 raid0 multipath linear raid456 hid_logitech ff_memless raid6_pq async_xor async_memcpy async_tx xor ohci1394 usbhid ieee1394 forcedeth