Skip to contentSkip to conversation

stale connections with input service (bluez-libs-3.15 / linux 2.6.22)

Bluez-users Dick 2 participants 2 messages Aug 27, 2007 Bluetooth drivers

lore
Share & tools
lore

Dick

author
#0 lore raw

Hi,

An update on the stale connections with the new input service.

Linux 2.6.23 didn't help much, it seemed even less stable. I still have the "stale" connections but it seems I can work around it be calling hciconfig hci0 reset until hcitool con gives me:

'Connections:
' > ACL 00:07:61:68:XX:XX handle 49 state 1 lm MASTER AUTH ENCRYPT
' > ACL 00:07:61:69:XX:XX handle 46 state 1 lm MASTER

Sometimes the connection is:
' > ACL 00:07:61:69:XX:XX handle ?? state ? lm SLAVE

Which gives me a working mice but the dinovo won't connect.

When I do a hciconfig hci0 reset (again) the connections come back OK.

I hope this will give someone a clue to write a fix :)

Dick

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#1 lore raw

Hi Dick,

Quoted 10 lines

An update on the stale connections with the new input service.

Linux 2.6.23 didn't help much, it seemed even less stable. I still have the "stale" connections but it seems I can work around it be calling hciconfig hci0 reset until hcitool con gives me:

'Connections:
' > ACL 00:07:61:68:XX:XX handle 49 state 1 lm MASTER AUTH ENCRYPT
' > ACL 00:07:61:69:XX:XX handle 46 state 1 lm MASTER

Quoted 8 lines

Sometimes the connection is:
' > ACL 00:07:61:69:XX:XX handle ?? state ? lm SLAVE

Which gives me a working mice but the dinovo won't connect.

When I do a hciconfig hci0 reset (again) the connections come back OK.

I hope this will give someone a clue to write a fix :)

without the output of "hcidump -X -V" when this happens, I have no idea what is wrong.

Regards

Marcel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users