From: Swarup Mohalik <mohalik@india.hp.com>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] rfcomm
Date: Sat, 24 Jul 2004 07:47:34 +0530 [thread overview]
Message-ID: <4101C6BE.3010707@india.hp.com> (raw)
In-Reply-To: 1090583514.4791.42.camel@pegasus
[-- Attachment #1: Type: text/plain, Size: 4196 bytes --]
I have upgraded the bluez-modules. But the problem persists:
To recap,
***********************************************************
Problem:
lx1 runs rctest -s <bt_addr of lx2>
lx2 freezes
No problem with l2test.
***********************************************************
The current configuration of lx2 is :
usb dongles twin pack from amazing tech
==================================
Linux RH 8.0 running 2.6.0. kernel
# Bluetooth support
#
CONFIG_BT=m
CONFIG_BT_L2CAP=m
CONFIG_BT_SCO=m
CONFIG_BT_RFCOMM=m
CONFIG_BT_RFCOMM_TTY=y
CONFIG_BT_BNEP=m
CONFIG_BT_BNEP_MC_FILTER=y
CONFIG_BT_BNEP_PROTO_FILTER=y
#
# Bluetooth device drivers
#
CONFIG_BT_HCIUSB=m
CONFIG_BT_USB_SCO=y
# CONFIG_BT_USB_ZERO_PACKET is not set
# CONFIG_BT_HCIUART is not set
# CONFIG_BT_HCIVHCI is not set
[root@ebnt9638 bluetooth]# lsmod
Module Size Used by
hci_usb 17152 2
rfcomm 45720 0
l2cap 31232 5 rfcomm
bluetooth 56420 7 hci_usb,rfcomm,l2cap
uhci_hcd 36232 0
ehci_hcd 26880 0
I have the following as well:
bluez-libs-2.8
bluez-utils-2.8
=============================================
hcidump (as root) data:
root@ebnt9638 swarup]# hcidump
HCIDump - HCI packet analyzer ver 1.9
device: hci0 snap_len: 1028 filter: 0xffffffff
> HCI Event: Connect Request (0x04) plen 10
< HCI Command: Accept Connection Request (0x01|0x0009) plen 7
> 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: Max Slots Change (0x1b) plen 3
> HCI Event: Command Complete (0x0e) plen 6
< HCI Command: Change Connection Packet Type (0x01|0x000f) plen 4
> HCI Event: Command Status (0x0f) plen 4
> ACL data: handle 0x0028 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 3 scid 0x0040
> HCI Event: Connection Packet Type Changed (0x1d) plen 5
< ACL data: handle 0x0028 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0040 result 0 status 0
> ACL data: handle 0x0028 flags 0x02 dlen 16
L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 4
MTU 1024
< ACL data: handle 0x0028 flags 0x02 dlen 14
L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 0 clen 0
< ACL data: handle 0x0028 flags 0x02 dlen 16
L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 4
MTU 1024
> HCI Event: Number of Completed Packets (0x13) plen 5
> HCI Event: Number of Completed Packets (0x13) plen 5
> HCI Event: Number of Completed Packets (0x13) plen 5
> ACL data: handle 0x0028 flags 0x02 dlen 14
L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 0 clen 0
> ACL data: handle 0x0028 flags 0x02 dlen 8
L2CAP(d): cid 0x40 len 4 [psm 3]
RFCOMM(s): SABM: cr 1 dlci 0 pf 1 ilen 0 fcs 0x1c
=============================================
At this point the machine freezes !!
Swarup
Marcel Holtmann wrote:
>Hi Swarup,
>
>
>
>>I have bluez with bluez-utils-2.7 on two RH 8.0 systems (lx1 and lx2).
>>
>>
>
>please upgrade to bluez-utils-2.8 first. What kernel do you use?
>
>
>
>>When I start rctest -r on lx1 without starting rctest -s on lx2, lx2 hangs
>>and I have to switch it off and on to restart. This happens EVERY TIME
>>I try this.
>>
>>
>
>I don't get the point how lx2 can hang when you listen at lx1. Are these
>two different machines or two dongles connected to the same machine?
>
>
>
>>This does not happen when I run l2test in any way. Does it prove that
>>there is a problem with RFCOMM? I have not seen this problem in
>>the mailing list. If I have missed it, please inform.
>>
>>
>
>Actually I don't know. Show us "hcidump -x" from both machines.
>
>Regards
>
>Marcel
>
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by BEA Weblogic Workshop
>FREE Java Enterprise J2EE developer tools!
>Get your free copy of BEA WebLogic Workshop 8.1 today.
>http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
>_______________________________________________
>Bluez-users mailing list
>Bluez-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/bluez-users
>
>
>
>
[-- Attachment #2: Type: text/html, Size: 6221 bytes --]
next prev parent reply other threads:[~2004-07-24 2:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200401302209.52396.raydar@nwlink.com>
2004-07-23 11:37 ` [Bluez-users] rfcomm Swarup Mohalik
2004-07-23 11:51 ` Marcel Holtmann
2004-07-23 12:07 ` Swarup Mohalik
2004-07-24 2:17 ` Swarup Mohalik [this message]
2004-07-24 8:58 ` Marcel Holtmann
[not found] ` <410616CA.7090102@india.hp.com>
2004-07-27 8:52 ` Marcel Holtmann
2007-09-18 16:36 Gene Imes
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=4101C6BE.3010707@india.hp.com \
--to=mohalik@india.hp.com \
--cc=bluez-users@lists.sourceforge.net \
--cc=marcel@holtmann.org \
/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