linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-devel] alsaplugin into btsco
@ 2005-11-19  7:32 Brad Midgley
  2005-11-22 11:19 ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Brad Midgley @ 2005-11-19  7:32 UTC (permalink / raw)
  To: bluez-devel

Hi

I decided to move the alsa plugin stuff into btsco cvs. Build it with
 ./configure --enable-alsaplugin

I actually think there's something fundamentally wrong about how I'm
trying to make the bluetooth connection. The call that usually fails
looks like:

DEBUG: connect_l2cap: Can't connect to AD:32:30:3C:0D:00 on psm 25.
Interrupted system call(4)

There is something going on with an io signal or something with pthreads
that blows up the l2cap connection. I think we need to do the connection
in another thread or inside a different part of the alsa plugin
handler... any ideas?

Brad


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] alsaplugin into btsco
  2005-11-19  7:32 [Bluez-devel] alsaplugin into btsco Brad Midgley
@ 2005-11-22 11:19 ` Marcel Holtmann
  2005-11-30 20:47   ` Brad Midgley
  0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2005-11-22 11:19 UTC (permalink / raw)
  To: bluez-devel

Hi Brad,

> I decided to move the alsa plugin stuff into btsco cvs. Build it with
>  ./configure --enable-alsaplugin
> 
> I actually think there's something fundamentally wrong about how I'm
> trying to make the bluetooth connection. The call that usually fails
> looks like:
> 
> DEBUG: connect_l2cap: Can't connect to AD:32:30:3C:0D:00 on psm 25.
> Interrupted system call(4)
> 
> There is something going on with an io signal or something with pthreads
> that blows up the l2cap connection. I think we need to do the connection
> in another thread or inside a different part of the alsa plugin
> handler... any ideas?

try to use a non-blocking L2CAP socket.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] alsaplugin into btsco
  2005-11-22 11:19 ` Marcel Holtmann
@ 2005-11-30 20:47   ` Brad Midgley
  2005-11-30 21:43     ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Brad Midgley @ 2005-11-30 20:47 UTC (permalink / raw)
  To: bluez-devel

Marcel

>>DEBUG: connect_l2cap: Can't connect to AD:32:30:3C:0D:00 on psm 25.
>>Interrupted system call(4)

> try to use a non-blocking L2CAP socket.

is this set using opts.mode before the ioctl? I'm not having much luck
finding examples or docs.

Brad


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] alsaplugin into btsco
  2005-11-30 20:47   ` Brad Midgley
@ 2005-11-30 21:43     ` Marcel Holtmann
  0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2005-11-30 21:43 UTC (permalink / raw)
  To: bluez-devel

Hi Brad,

> >>DEBUG: connect_l2cap: Can't connect to AD:32:30:3C:0D:00 on psm 25.
> >>Interrupted system call(4)
> 
> > try to use a non-blocking L2CAP socket.
> 
> is this set using opts.mode before the ioctl? I'm not having much luck
> finding examples or docs.

use fcntl() and F_GETFL/F_SETFL as usual.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

end of thread, other threads:[~2005-11-30 21:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-19  7:32 [Bluez-devel] alsaplugin into btsco Brad Midgley
2005-11-22 11:19 ` Marcel Holtmann
2005-11-30 20:47   ` Brad Midgley
2005-11-30 21:43     ` Marcel Holtmann

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