[CentOS] BlueZ

Tue May 1 18:09:54 UTC 2007
clorden at altern.org <clorden at altern.org>

Hello all.
Does anyone know how to get bluetooth working on CentOS 5?
I can't pair any device. Things work perfectly on CentOS 4.  Here is what 
happens:

root at miho ~]# /etc/rc.d/init.d/bluetooth start
Starting Bluetooth services:                               [  OK  ]
[root at miho ~]# hcitool scan
Scanning ...
        00:12:EE:XX:XX:XX       K750i

[root at miho ~]# hcitool cc 00:12:EE:XX:XX:XX
[root at miho ~]# hcitool auth 00:12:EE:XX:XX:XX
HCI authentication request failed: Input/output error

I got no PIN requester on either phone and PC.
On the same time on another console I have:

[root at miho ~]# hcidump
HCI sniffer - Bluetooth packet analyzer ver 1.32
device: hci0 snap_len: 1028 filter: 0xffffffff

(scan)
< HCI Command: Inquiry (0x01|0x0001) plen 5
> HCI Event: Command Status (0x0f) plen 4
> HCI Event: Inquiry Result with RSSI (0x22) plen 15
> HCI Event: Inquiry Result with RSSI (0x22) plen 15
> HCI Event: Inquiry Result with RSSI (0x22) plen 15
> HCI Event: Inquiry Result with RSSI (0x22) plen 15
> HCI Event: Inquiry Result with RSSI (0x22) plen 15
> HCI Event: Inquiry Result with RSSI (0x22) plen 15
> HCI Event: Inquiry Result with RSSI (0x22) plen 15
> HCI Event: Inquiry Result with RSSI (0x22) plen 15
> HCI Event: Inquiry Result with RSSI (0x22) plen 15
> HCI Event: Inquiry Result with RSSI (0x22) plen 15
> HCI Event: Inquiry Result with RSSI (0x22) plen 15
> HCI Event: Inquiry Result with RSSI (0x22) plen 15
> HCI Event: Inquiry Complete (0x01) plen 1

(connect)
< HCI Command: Create Connection (0x01|0x0005) plen 13
> HCI Event: Command Status (0x0f) plen 4
> HCI Event: Connect Complete (0x03) plen 11
< HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2
> HCI Event: Command Status (0x0f) plen 4
< HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
> HCI Event: Read Remote Supported Features (0x0b) plen 11
> HCI Event: Command Complete (0x0e) plen 6
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
> HCI Event: Command Status (0x0f) plen 4
> HCI Event: Max Slots Change (0x1b) plen 3
> HCI Event: Remote Name Req Complete (0x07) plen 255

(auth)
< HCI Command: Authentication Requested (0x01|0x0011) plen 2
> HCI Event: Link Key Request (0x17) plen 6
> HCI Event: Command Status (0x0f) plen 4
< HCI Command: Link Key Request Negative Reply (0x01|0x000c) plen 6
> HCI Event: Command Complete (0x0e) plen 10
> HCI Event: PIN Code Request (0x16) plen 6
< HCI Command: PIN Code Request Negative Reply (0x01|0x000e) plen 6
> HCI Event: Auth Complete (0x06) plen 3
> HCI Event: Command Complete (0x0e) plen 10



On CentOS 4 things work perfectly:

[root at miho ~]# hcidump
HCIDump - HCI packet analyzer ver 1.11
device: hci0 snap_len: 1028 filter: 0xffffffff

(scan)
< HCI Command: Inquiry (0x01|0x0001) plen 5
> HCI Event: Command Status (0x0f) plen 4
> HCI Event: Inquiry Result (0x02) plen 15
> HCI Event: Inquiry Result (0x02) plen 15
> HCI Event: Inquiry Result (0x02) plen 15
> HCI Event: Inquiry Result (0x02) plen 15
> HCI Event: Inquiry Result (0x02) plen 15
> HCI Event: Inquiry Result (0x02) plen 15
> HCI Event: Inquiry Result (0x02) plen 15
> HCI Event: Inquiry Result (0x02) plen 15
> HCI Event: Inquiry Result (0x02) plen 15
> HCI Event: Inquiry Result (0x02) plen 15
> HCI Event: Inquiry Result (0x02) plen 15
> HCI Event: Inquiry Result (0x02) plen 15
> HCI Event: Inquiry Result (0x02) plen 15
> HCI Event: Inquiry Result (0x02) plen 15
> HCI Event: Inquiry Result (0x02) plen 15
> HCI Event: Inquiry Result (0x02) plen 15
> HCI Event: Inquiry Result (0x02) plen 15
> HCI Event: Inquiry Result (0x02) plen 15
> HCI Event: Inquiry Result (0x02) plen 15
> HCI Event: Inquiry Complete (0x01) plen 1
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
> HCI Event: Command Status (0x0f) plen 4
> HCI Event: Remote Name Req Complete (0x07) plen 255

(connect)
< HCI Command: Create Connection (0x01|0x0005) plen 13
> HCI Event: Command Status (0x0f) plen 4
> HCI Event: Connect Complete (0x03) plen 11
< HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
> HCI Event: Command Complete (0x0e) plen 6
> HCI Event: Max Slots Change (0x1b) plen 3

(auth)
< HCI Command: Authentication Requested (0x01|0x0011) plen 2
> HCI Event: Link Key Request (0x17) plen 6
> HCI Event: Command Status (0x0f) plen 4
< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22
> HCI Event: Command Complete (0x0e) plen 10
> HCI Event: PIN Code Request (0x16) plen 6
< HCI Command: PIN Code Request Reply (0x01|0x000d) plen 23
> HCI Event: Command Complete (0x0e) plen 10
> HCI Event: Link Key Notification (0x18) plen 23
> HCI Event: Auth Complete (0x06) plen 3

Does anyone have any idea!? Something seems to have changed with the new BlueZ 
version (2.10 vs. 3.7)...

Thanks!

--Clorden