Skip to contentSkip to conversation

alsaplugin into btsco

Bluez-devel Brad Midgley 2 participants 4 messages Nov 19, 2005 – Nov 30, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#1 lore raw

Hi Brad,

Quoted 7 lines

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:

Quoted 7 lines

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#2 lore raw

Marcel

Quoted 4 lines
Quoted 2 lines

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#3 lore raw

Hi Brad,

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel