Thanks all, finally it works.
But it still has the issue that:
snd_pcm_hw_params() give the return value "1".
In BlueZ stack.
File: audio/pcm_bluetooth.c
Function: bluetooth_prepare()
If I hard code the return value to 0, it will be ok.
The function call write(data->pipefd[1], &c, 1) gives a positive return value cause the issue.
>-----Original Message-----
>From: bluez-devel-bounces@xxxxxxxxxxxxxxxxxxxxx
>[mailto:bluez-devel-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Zhao,
>Halley
>Sent: 2008年5月13日 10:22
>To: BlueZ development
>Subject: Re: I can't use 3.31 release,but 3.19 release works
>on the same platform
>
> My hcid is in /usr/local/lib/Bluetooth/plugins
> It is surprise, I will redo "configure ...., make && make install" to
>have a double check.
>
> hcid[32647]: Loading plugins /usr/local/lib/bluetooth/plugins
>
>
> >-----Original Message-----
> >From: bluez-devel-bounces@xxxxxxxxxxxxxxxxxxxxx
> >[mailto:bluez-devel-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of
>Zhao,
> >Halley
> >Sent: 2008年5月13日 9:00
> >To: BlueZ development
> >Subject: Re: I can't use 3.31 release,but 3.19 release
>works
> >on the same platform
> >
> > Great thanks. See below.
> >
> >
>root@azhao2ubtg2:/home/halley/Desktop/Bluez/3.31/bluez-utils-3.31#
> >hcid -d -n
> > hcid[32610]: Bluetooth HCI daemon
> > hcid[32610]: Enabling debug information
> > hcid[32610]: Could not become the primary owner of org.bluez
> > hcid[32610]: Unable to get on D-Bus
> >
> > halley@azhao2ubtg2:/usr/lib/alsa-lib$ hcid -d -n
> > hcid[32615]: Bluetooth HCI daemon
> > hcid[32615]: Enabling debug information
> > hcid[32615]: Could not become the primary owner of org.bluez
> > hcid[32615]: Unable to get on D-Bus
> >
> >
> > >-----Original Message-----
> > >From: bluez-devel-bounces@xxxxxxxxxxxxxxxxxxxxx
> > >[mailto:bluez-devel-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf
>Of Luiz
> > >Augusto von Dentz
> > >Sent: 2008年5月12日 22:41
> > >To: BlueZ development
> > >Subject: Re: I can't use 3.31 release,but 3.19
>release
> >works
> > >on the same platform
> > >
> > >Hi Halley,
> > >
> > >It looks like you have some problem in your configuration
>otherwise
> > >you shouldn't be getting this:
> > >
> > >ALSA lib pcm_bluetooth.c:1517:(audioservice_expect) Bogus
>message
> > >BT_GETCAPABILITIES_REQ received while BT_GETCAPABILITIES_RSP
>was
> > >expected
> > >
> > >Could you please send us the hcid output, then we can help
>configuring
> > >it correctly, also make sure you are really
> > >installing the new alsa plugin as marcel said.
> > >
> > >--
> > >Luiz Augusto von Dentz
> > >Engenheiro de Computação
> > >
> >
>
>>>---------------------------------------------------------------------
>-
> >-
> > >--
> > >This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> > >Don't miss this year's exciting event. There's still time to save
>$100.
> > >Use priority code J8TL2D2.
> >
>
>>>http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.co
>m
> >/
> > >javaone
> > >_______________________________________________
> > >Bluez-devel mailing list
> > >Bluez-devel@xxxxxxxxxxxxxxxxxxxxx
> > >https://lists.sourceforge.net/lists/listinfo/bluez-devel
>
>>----------------------------------------------------------------------
>-
> >--
> >This SF.net email is sponsored by: Microsoft
> >Defy all challenges. Microsoft(R) Visual Studio 2008.
> >http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> >_______________________________________________
> >Bluez-devel mailing list
> >Bluez-devel@xxxxxxxxxxxxxxxxxxxxx
> >https://lists.sourceforge.net/lists/listinfo/bluez-devel
>-----------------------------------------------------------------------
>--
>This SF.net email is sponsored by: Microsoft
>Defy all challenges. Microsoft(R) Visual Studio 2008.
>http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>_______________________________________________
>Bluez-devel mailing list
>Bluez-devel@xxxxxxxxxxxxxxxxxxxxx
>https://lists.sourceforge.net/lists/listinfo/bluez-devel
-------------------------------------------------------------------------This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________Bluez-devel mailing listBluez-devel@xxxxxxxxxxxxxxxxxxxxxxxxxx://lists.sourceforge.net/lists/listinfo/bluez-devel
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[Linux SCSI]
[XFree86]