Changes with "newer" versions of BlueZ

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

 



I’m having several problems with "newer" versions of BlueZ – some (or even all) of which might be intentional, but I’m interested in solutions or workarounds.

Previously used bluez on a CentOS 5 system with the following versions:

	Linux 2.6.18-274.el5 
	bluez-libs-3.7-1.1
	bluez-hcidump-1.32-1
	bluez-utils-3.7-2.2.el5.centos

With that system everything worked fine, using five different usb bt adapters. I could l2ping an arbitrary bt device, create connections with hcitool cc that stayed active until I disconnected them again (all without pairing or authenticating).

Now I have two newer systems that run on bluez 3.36 (OpenWRT) and 4.96 (Ubuntu 11.10), and with both these systems the behavior has changed.

With 4.96 I cannot even l2ping another device. L2ping reports:

	Can't connect: Permission denied

Hcidump running during l2ping:

> HCI Event: Simple Pairing Complete (0x36) plen 7
    status 0x05 bdaddr 7C:C5:37:FC:27:B0
    Error: Authentication Failure
> HCI Event: Auth Complete (0x06) plen 3
    status 0x05 handle 43
    Error: Authentication Failure
< HCI Command: Disconnect (0x01|0x0006) plen 3
    handle 43 reason 0x13
    Reason: Remote User Terminated Connection

I tried setting hciconfig noauth but that doesn’t make any difference. What do I have to configure set to get l2ping working again like in the older bluez versions?

This still works in 3.36, but not in 4.96.

Another problem with both 3.36 and 4.96 is support for old bt adapters. 3.7 works fine with all my old adapters, 3.36 and 4.96 apparently can’t set link policy on those older adapters. Is there an easy workaround for this? If not I’ll just buy some more €10 adapters…

The third difference I noticed is with connections created with hcitool cc. On 3.7 that connection stays up until I disconnect again with hcitool dc. On 3.36 and 4.96 the connection is created but automatically disconnects after a second or two. This is probably all connected with authentication or permissions somehow, but again I’d like to be able to recreate the old behavior of 3.7.

I don’t know exactly which versions introduced those changes as I only have those three versions available on systems.

I’ll be happy to supply traces, debug logs etc. if it can help.

Regards,

Tom

��.n��������+%������w��{.n�����{����^n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�

[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux