public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Guennadi Liakhovetski <gl@dsa-ac.de>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] [REGRESSION] last working kernel 2.6.18
Date: Tue, 7 Aug 2007 17:25:08 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.63.0708071721480.8578@pcgl.dsa-ac.de> (raw)
In-Reply-To: <Pine.LNX.4.63.0708071702431.8578@pcgl.dsa-ac.de>

On Tue, 7 Aug 2007, Guennadi Liakhovetski wrote:

> 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 

Just looked with hcidump, and it looks like it just sends the disconnect 
request now... Here's the dump from 2.6.18:

1186499898.489550 < HCI Command: Create Connection (0x01|0x0005) plen 13
1186499898.496035 > HCI Event: Command Status (0x0f) plen 4
1186499901.854045 > HCI Event: Connect Complete (0x03) plen 11
1186499901.854072 < HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2
1186499901.864062 > HCI Event: Command Status (0x0f) plen 4
1186499901.869054 > HCI Event: Page Scan Repetition Mode Change (0x20) plen 7
1186499901.874058 > HCI Event: Max Slots Change (0x1b) plen 3
1186499901.904065 > HCI Event: Command Status (0x0f) plen 4
1186499901.904086 < HCI Command: Write Link Policy Settings (0x02|0x000d) plen 41186499901.914055 > HCI Event: Command Complete (0x0e) plen 6
1186499901.914073 < HCI Command: Remote Name Request (0x01|0x0019) plen 10
1186499901.924061 > HCI Event: Command Status (0x0f) plen 4
1186499901.929055 > HCI Event: Read Remote Supported Features (0x0b) plen 11
1186499901.998030 > HCI Event: Remote Name Req Complete (0x07) plen 255

and under 2.6.22:

1186499587.139648 < HCI Command: Create Connection (0x01|0x0005) plen 13
1186499587.148291 > HCI Event: Command Status (0x0f) plen 4
1186499590.061422 > HCI Event: Connect Complete (0x03) plen 11
1186499590.061513 < HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2
1186499590.069417 > HCI Event: Command Status (0x0f) plen 4
1186499590.071418 > HCI Event: Page Scan Repetition Mode Change (0x20) plen 7
1186499590.074423 > HCI Event: Max Slots Change (0x1b) plen 3
1186499590.107440 > HCI Event: Command Status (0x0f) plen 4
1186499590.107522 < HCI Command: Write Link Policy Settings (0x02|0x000d) plen 41186499590.114417 > HCI Event: Command Complete (0x0e) plen 6
1186499590.114497 < HCI Command: Remote Name Request (0x01|0x0019) plen 10
1186499590.120445 > HCI Event: Command Status (0x0f) plen 4
1186499590.127424 > HCI Event: Read Remote Supported Features (0x0b) plen 11
1186499590.164446 > HCI Event: Remote Name Req Complete (0x07) plen 255
1186499592.059386 < HCI Command: Disconnect (0x01|0x0006) plen 3
1186499592.063548 > HCI Event: Command Status (0x0f) plen 4
1186499592.091548 > HCI Event: Disconn Complete (0x05) plen 4

So, the only questions that remain are "why", and "how do I keep the 
connection"?

Thanks
Guennadi
---------------------------------
Guennadi Liakhovetski, Ph.D.
DSA Daten- und Systemtechnik GmbH
Pascalstr. 28
D-52076 Aachen
Germany

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

  reply	other threads:[~2007-08-07 15:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-07 15:07 [Bluez-users] [REGRESSION] last working kernel 2.6.18 Guennadi Liakhovetski
2007-08-07 15:25 ` Guennadi Liakhovetski [this message]
2007-08-07 15:32 ` Marcel Holtmann
2007-08-07 15:56   ` Guennadi Liakhovetski
2007-08-07 16:05     ` Marcel Holtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.63.0708071721480.8578@pcgl.dsa-ac.de \
    --to=gl@dsa-ac.de \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox