* Re: [Bluez-devel] Connection with a phonestaysopenafterclosingRFCOMM channel
@ 2005-03-02 22:58 Victor Shcherbatyuk
2005-03-02 23:54 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: Victor Shcherbatyuk @ 2005-03-02 22:58 UTC (permalink / raw)
To: bluez-devel
Hi Marcel,
2.6.10-mh4 - did not help
lsmod - /proc/modules is empty, but i have no modules (everything i
need is compiled into kernel)...
l2cap:
72:FF:28:C6:10:00 42:E4:11:DE:0F:00 1 3 0x0040 0x0043 1024 251 0x0
00:00:00:00:00:00 00:00:00:00:00:00 4 19 0x0000 0x0000 48 48 0x0
00:00:00:00:00:00 00:00:00:00:00:00 4 17 0x0000 0x0000 48 48 0x0
00:00:00:00:00:00 00:00:00:00:00:00 4 1 0x0000 0x0000 672 0 0x0
00:00:00:00:00:00 00:00:00:00:00:00 4 3 0x0000 0x0000 1024 0 0x0
Am I missing something?
Regards,
Victor Shcherbatyuk.
----- Original Message -----
From: "Marcel Holtmann" <marcel@holtmann.org>
To: "BlueZ Mailing List" <bluez-devel@lists.sourceforge.net>
Sent: Wednesday, March 02, 2005 22:52
Subject: Re: [Bluez-devel] Connection with a
phonestaysopenafterclosingRFCOMM channel
> Hi Victor,
>
>> The /proc/bluetooth/rfcomm/{dlc,sock} are empty upon completion of the
program. hcitool con gives:
>> > ACL 00:0f:de:11:e4:42 handle 41 state 1 in SLAVE
>
> and what does /proc/bluetooth/l2cap show?
>
> In general if there are no more open RFCOMM channels, the DLCI 0 should
> be closed and this should close the L2CAP connection on PSM 3. Seems
> like we have a bug or a wrong reference counting somewhere. Please also
> check lsmod for the "Used by" numbers. Do you see something unexpected.
>
> Regards
>
> Marcel
>
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
--
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [Bluez-devel] Connection with a phonestaysopenafterclosingRFCOMM channel
2005-03-02 22:58 [Bluez-devel] Connection with a phonestaysopenafterclosingRFCOMM channel Victor Shcherbatyuk
@ 2005-03-02 23:54 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2005-03-02 23:54 UTC (permalink / raw)
To: BlueZ Mailing List
Hi Victor,
> 2.6.10-mh4 - did not help
so this is still a problem with the current Bluetooth subsystem.
> lsmod - /proc/modules is empty, but i have no modules (everything i
> need is compiled into kernel)...
Too bad, because I don't know of any other way to check the module
reference counting. If there is something wrong we would be sure that I
have to look for that.
> l2cap:
> 72:FF:28:C6:10:00 42:E4:11:DE:0F:00 1 3 0x0040 0x0043 1024 251 0x0
> 00:00:00:00:00:00 00:00:00:00:00:00 4 19 0x0000 0x0000 48 48 0x0
> 00:00:00:00:00:00 00:00:00:00:00:00 4 17 0x0000 0x0000 48 48 0x0
> 00:00:00:00:00:00 00:00:00:00:00:00 4 1 0x0000 0x0000 672 0 0x0
> 00:00:00:00:00:00 00:00:00:00:00:00 4 3 0x0000 0x0000 1024 0 0x0
The L2CAP PSM 3 for RFCOMM is still connected. It's actually that what I
expected.
> Am I missing something?
No, because we should simply close the DLCI 0 when no other RFCOMM
channel is open.
Regards
Marcel
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-03-02 23:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-02 22:58 [Bluez-devel] Connection with a phonestaysopenafterclosingRFCOMM channel Victor Shcherbatyuk
2005-03-02 23:54 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox