Thread (2 messages) 2 messages, 2 authors, 2007-09-10

[Bluez-users] input service leaking l2cap connections

flat view

From: Dick <hidden>
Date: 2007-09-07 14:33:34

Hi,

I still have some trouble with the input service and I think I've found
something related which is reproduceable.

If a device is reconnecting a lot the l2cap table in /sys/class/bluetooth/l2cap
is growing with connections (which aren't closed).

Try the following with a HID input device:

1. Start and configure the input service for the device
2. Start hcidump
3. Power off the input device
4. Wait until "Disconn complete" appear in hcidump
5. Power on the input device
6. Repeat from step 3

If you look at:
sort /sys/class/bluetooth/l2cap |uniq -c

You will see a huge number of connections from the input device.

greetings,
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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help