linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RFCOMM connection failing
@ 2013-12-16 15:55 Patrick Valsecchi
  2014-01-01  8:34 ` Patrick Valsecchi
  0 siblings, 1 reply; 2+ messages in thread
From: Patrick Valsecchi @ 2013-12-16 15:55 UTC (permalink / raw)
  To: linux-bluetooth

Hi,

I'm trying to connect my PC:
     Linux ... 3.11.0-14-generic #21-Ubuntu SMP ... x86_64 x86_64 x86_64 
GNU/Linux
     0a5c:2198 Broadcom Corp. Bluetooth 3.0 Device

To connect with my bluetooth dive computer:
     Shearwater Petrel

It fails with a "Transport endpoint is not connected (107)" most of the 
time or go further but seem to have corrupted RFCOMM payload.

If I pass the USB device to a W7 VM (virtualbox) and try from them, the 
communication works like charm.

So I went ahead and sniffed the USB communication in both cases using 
wireshark. The two dumps () can be found here (UsbDumpFrom*.pcapng, can 
be open using wireshark):
https://cloud.thus.ch/public.php?service=files&t=de2eabf30c82efa08cf546ff5045e585

Basically the Linux one is just stopping at frame 203 where it sends a 
RFCOMM SABM, gets the answer and reports an error to the user. The 
windows dump show the same RFCOMM SABM command in frame 191 and gets the 
same answer but continues and everything works.

On IRC aholler told me you guys would prefer to get a btmon dump with 
bluez v5. So I went ahead, installed bluez 5.12 and generated a dump 
(yes, the comm still fails the same way) that you can find in the same 
location as the dumps.

I'm stuck there. Can somebody help me go further?

Thanks

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: RFCOMM connection failing
  2013-12-16 15:55 RFCOMM connection failing Patrick Valsecchi
@ 2014-01-01  8:34 ` Patrick Valsecchi
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick Valsecchi @ 2014-01-01  8:34 UTC (permalink / raw)
  To: linux-bluetooth

Hi,

Can somebody tell me if I should send this email on some other mailing list?

Thanks.

On 16. 12. 13 16:55, Patrick Valsecchi wrote:
> Hi,
>
> I'm trying to connect my PC:
>     Linux ... 3.11.0-14-generic #21-Ubuntu SMP ... x86_64 x86_64 
> x86_64 GNU/Linux
>     0a5c:2198 Broadcom Corp. Bluetooth 3.0 Device
>
> To connect with my bluetooth dive computer:
>     Shearwater Petrel
>
> It fails with a "Transport endpoint is not connected (107)" most of 
> the time or go further but seem to have corrupted RFCOMM payload.
>
> If I pass the USB device to a W7 VM (virtualbox) and try from them, 
> the communication works like charm.
>
> So I went ahead and sniffed the USB communication in both cases using 
> wireshark. The two dumps () can be found here (UsbDumpFrom*.pcapng, 
> can be open using wireshark):
> https://cloud.thus.ch/public.php?service=files&t=de2eabf30c82efa08cf546ff5045e585 
>
>
> Basically the Linux one is just stopping at frame 203 where it sends a 
> RFCOMM SABM, gets the answer and reports an error to the user. The 
> windows dump show the same RFCOMM SABM command in frame 191 and gets 
> the same answer but continues and everything works.
>
> On IRC aholler told me you guys would prefer to get a btmon dump with 
> bluez v5. So I went ahead, installed bluez 5.12 and generated a dump 
> (yes, the comm still fails the same way) that you can find in the same 
> location as the dumps.
>
> I'm stuck there. Can somebody help me go further?
>
> Thanks
> -- 
> To unsubscribe from this list: send the line "unsubscribe 
> linux-bluetooth" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-01  8:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-16 15:55 RFCOMM connection failing Patrick Valsecchi
2014-01-01  8:34 ` Patrick Valsecchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).