Thread (5 messages) flat view 5 messages, 2 authors, 2007-08-07

Re: [Bluez-users] [REGRESSION] last working kernel 2.6.18

From: Marcel Holtmann <marcel@holtmann.org>
Date: 2007-08-07 15:32:14

Hi Guennadi,
Doing "hcitool cc" under 2.6.18 establishes a connection and keeps it 
open, which can be confirmed per "hcitool cc". Under 2.6.20 and 2.6.22 a 
connection gets established, but is immediately (within 1-2 seconds) 
broken. Is it a change in interfaces, is one supposed to connect 
differently now, or is there a bug somewhere? It is hard to believe, that 
such a bug could stay unnoticed and unfixed for at least 2 kernel 
releases, so, has anything been changed in the API? As a partner a Linux 
system with a 2.4.21 kernel is used. We have only tried thee three (.18, 
.20, and .22) kernel versions so far.
as mentioned multiple times in the past, the "hcitool cc" is not a
general purpose command. Nobody needs to create an ACL link. The kernel
does this for you in the background and you should let the kernel do its
job. It has to be the kernel since it has to track these connections and
the users of it. Unused ACL links will be disconnected. Period.

There are simply no excuses for creating low-level ACL links and there
is absolutely no need for it at all.

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
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