Hi all,
I recently started to work with bluetooth-alsa (0.41) and a bluetake =
iPhono BT420 headset.
I made it work using a2play, but not using alsa-plugins. I also tried =
the latest cvs without success.
At first, I had the following message :=20
"Requested Capabilities for SEID =3D 1
Didn't receive SBC codec parameters (first) for SEID =3D 1"
As it worked with a2play, I went into the source code, and it appeared =
that pcm_a2dp.c uses O_NONBLOCK socket option. Removing the option =
allowed me to go further.
After that, I saw "DEBUG:a2dp_transfer" traces : but the write() call =
was failing with error=3DIncorrect parameter. I believe this has =
something to do with mtu because after reducing the transmitted size, =
the calls were succeeding, and the iphono started to make noise, but it =
really was not what I expected. I'm right saying there is no a2dp =
encapsulation for sbc blocks within the plugin?=20
Has anyone made the plugin work? Also, as I will have time to work with =
bt-alsa, I would be pleased to help. What must/can be done? What area =
can I investigate in order to have a2dp working with alsa?
I'm really new to bt, any help will be welcome, thank you,
Regards,
Fr=E9d=E9ric Dalleau
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Frederic
> it really was not what I expected. I'm right saying there is no a2dp
> encapsulation for sbc blocks within the plugin?
fyi, there is not any a2dp encapsulation for the plugin or for a2play...
a2dp negotiation happens over one l2cap and a separate l2cap is
negotiated for the sbc data.
Brad
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Frederic
> Has anyone made the plugin work? Also, as I will have time to work
> with bt-alsa, I would be pleased to help. What must/can be done? What
> area can I investigate in order to have a2dp working with alsa?
oh one more biggie... Marcel was working on this.
We need to keep the connection open for a few seconds after the client
closes it in case the client is going to turn around and open it again.
eg gxine opens, closes, opens, closes, opens then plays the media you
passed to it on the command line. this puts the headset in a strange
state sometimes; that last open fails and new connections won't work for
a while.
brad
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Frederic
> I recently started to work with bluetooth-alsa (0.41) and a bluetake
> iPhono BT420 headset. I made it work using a2play, but not using
> alsa-plugins. I also tried the latest cvs without success.
stick with cvs for this stuff. the 0.41 release will not work (esp plugin).
> Has anyone made the plugin work? Also, as I will have time to work
> with bt-alsa, I would be pleased to help. What must/can be done? What
> area can I investigate in order to have a2dp working with alsa?
Sergey did help us get it working. I've got a csr adapter on my computer
and I'm testing with an iphono mini set. It's possible he and I are
using different versions of a2dp_transfer (a2dp_transfer2 works better
for me and that's the one cvs-head uses)
I had to put in a bunch of i/o retries that Sergey didn't so the
behavior can differ a lot from setup to setup. Alsa interrupts our
system calls so we have to be careful about calls that take time like
initially connecting to the set.
There is plenty to be done... you need to get it working first :)
seriously, alsa plugin needs bulletproofing (eg we need to watch error
messages from write() and think about how to handle them gracefully). I
also noticed that after choosing pcm.headset, gxine wouldn't even launch
when my headset was off.
Brad
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
HI brad,
>Is the memory footprint acceptable when introducing the alsa dependency
>on your embedded platform? In my experience lib-alsa itself builds to
>about 800KB on arm. The difference in cpu load is probably negligible.
>
> =
>
Depends on what you need, at first I wanted to see how small it could be.
I had similar result by dropping alsa link from the daemon saved me a =
bit less than 1Mb ram usage as opposed to 2.6 with alsa or something =
like that.
-rwxr-xr-x 1 100 100 1188601 Jul 26 2006 =
/usr/lib/libasound.so.2.0.0
Do you min memory or disk footprint? As the daemon did not need alsa at =
all, it was one free megabit! But this may change one day ...
Is it related to the build problem Andrew had? If so I think the linking =
can be put back for now. I will do it manually if I really need it...
Fr=E9d=E9ric
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDE=
VDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel