From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 24 Jan 2008 19:12:54 +0530 (IST) From: pramod gurav To: BlueZ users MIME-Version: 1.0 Message-ID: <860396.82093.qm@web8411.mail.in.yahoo.com> Subject: Re: [Bluez-users] Headset half working using Bluez's ALSA plugin Reply-To: BlueZ users List-Id: BlueZ users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0755614655==" Sender: bluez-users-bounces@lists.sourceforge.net Errors-To: bluez-users-bounces@lists.sourceforge.net --===============0755614655== Content-Type: multipart/alternative; boundary="0-1321680657-1201182174=:82093" --0-1321680657-1201182174=:82093 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable hi gabriele,=0Ai have not worked much on BlueZ and alsa but i can see from = your information that you have not configured your kernel to support alsa. = have a kernel built with alsa configured.=0Abcoz i checked the file /usr/li= b/alsa-lib/libasound_module_pcm_bluetooth.so which u are missing=0Abut my k= ernel has as i hv alsa support. also i confirmed this by checking into anot= her system which dont hv alsa configured in it. =0ATry and c.=0Abest luck..= ..bye=0A=0APramod=0A=0A----- Original Message ----=0AFrom: Ing. Gabriele Obe= rhammer =0ATo: BlueZ users =0ASent: Thursday, 24 January, 2008 3:37:16 PM=0ASubject: Re: [Bl= uez-users] Headset half working using Bluez's ALSA plugin=0A=0AHi, I've suc= cessful compiled and installed 'utils' and 'libs' from=0A today =0Acvs but = now its worse then before, now playback doesn't work too :-(=0ANow In the p= references menu in gnome-applet there are no services =0Alisted, but my hea= dset pairs correctly.=0AHere's what I've done, please tell ma what's wrong:= =0A=0A1. checked out latest 'utils' and 'libs' directoryes from cvs=0A2. in= stalled all needed development headers=0A3. Compiled:=0A $ cd utils/=0A = $ sudo ./bootstrap=0A $ sudo ./configure --enable-all --prefix=3D/usr= /local/=0A $ sudo make=0A=0A $ cd ../libs/=0A $ sudo ./bootstrap= =0A $ sudo ./configure --prefix=3D/usr/local/=0A $ sudo make=0A=0A4. = uninstalled bluez-utils:=0A $ sudo apt-get remove bluez-utils=0A=0A5. un= installed libbluetooth2 (forcing needed to solve dependencies):=0A $ sud= o dpkg --force-all -r libbluetoot2=0A=0A6. Installed libs and utils:=0A = $ cd libs; sudo make install=0A $ cd utils; sudo make install=0A=0A7. Ed= ited '/etc/init.d/bluetooth' and modified all paths to pont to =0Acorrect l= ocations under /usr/local/{bin,sbin}=0A=0A8. rebooted (I know it's not need= ed but I did it)=0A=0A9. Now headset pairs, 'hcitool dev' correctly shows i= t but=0A $ mplayer -ao alsa:device=3Dbluetooth test.mp3=0A =0A giv= es:=0A=0A ....=0A [AO_ALSA] alsa-lib: pcm.c:2105:(snd_pcm_open_conf) = Cannot open=0A shared =0Alibrary /usr/lib/alsa-lib/libasound_module_pcm_blu= etooth.so=0A [AO_ALSA] Playback open error: No such file or directory=0A= ....=0A=0A=0A10. sadness ;(=0A=0A=0ACan someone help me or give me som= e link to documentation about correct=0A =0Aprocedures for cvs building?=0A= =0A=0ATnx :-)=0A=0A=0A----------------------------------------------------= ---------------------=0AThis SF.net email is sponsored by: Microsoft=0ADefy= all challenges. Microsoft(R) Visual Studio 2008.=0Ahttp://clk.atdmt.com/MR= T/go/vse0120000070mrt/direct/01/=0A________________________________________= _______=0ABluez-users mailing list=0ABluez-users@lists.sourceforge.net=0Aht= tps://lists.sourceforge.net/lists/listinfo/bluez-users=0A=0A=0A=0A=0A=0A=0A= Unlimited freedom, unlimited storage. Get it now, on http://help.yaho= o.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/ --0-1321680657-1201182174=:82093 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
hi gabriele,
i have not worked much on BlueZ and= alsa but i can see from your information that you have not configured your= kernel to support alsa. have a kernel built with alsa configured.
bcoz = i checked the file /usr/lib/alsa-lib/libasound_module_pcm_bluetooth.so whic= h u are missing
but my kernel has as i hv alsa support. also i confirmed= this by checking into another system which dont hv alsa configured in it. =
Try and c.
best luck...bye

Pramod

----- Origin= al Message ----
From: Ing. Gabriele Oberhammer <gabriele@naustech.com= >
To: BlueZ users <bluez-users@lists.sourceforge.net>
Sent: Thursday, 24 January, 2008 3:37:16 PM
Subject: Re: [Bluez-users] Headse= t half working using Bluez's ALSA plugin

Hi, I've successful compile= d and installed 'utils' and 'libs' from=0A today
cvs but now its worse = then before, now playback doesn't work too :-(
Now In the preferences me= nu in gnome-applet there are no services
listed, but my headset pairs c= orrectly.
Here's what I've done, please tell ma what's wrong:

1. = checked out latest 'utils' and 'libs' directoryes from cvs
2. installed = all needed development headers
3. Compiled:
    $ cd u= tils/
    $ sudo ./bootstrap
    $ sudo= ./configure --enable-all --prefix=3D/usr/local/
    $ su= do make

    $ cd ../libs/
    $ sud= o ./bootstrap
    $ sudo ./configure --prefix=3D/usr/loca= l/
    $ sudo make

4. uninstalled bluez-utils:
=     $ sudo apt-get remove bluez-utils

5. uninstalled = libbluetooth2 (forcing needed to solve dependencies):
   = $ sudo dpkg --force-all -r libbluetoot2

6. Installed libs and utils:
    $ c= d libs; sudo make install
    $ cd utils; sudo make insta= ll

7. Edited '/etc/init.d/bluetooth' and modified all paths to pont = to
correct locations under /usr/local/{bin,sbin}

8. rebooted (I = know it's not needed but I did it)

9. Now headset pairs, 'hcitool de= v' correctly shows it but
    $ mplayer -ao alsa:device= =3Dbluetooth test.mp3
   
    gives:
    ....
    [AO_ALSA] alsa-lib: pcm= ..c:2105:(snd_pcm_open_conf) Cannot open=0A shared
library /usr/lib/alsa= -lib/libasound_module_pcm_bluetooth.so
    [AO_ALSA] Play= back open error: No such file or directory
    ....

10. sadness  ;(


Can someone help me or give me some l= ink to documentation about correct=0A
procedures for cvs building?
<= br>
Tnx  :-)


-------------------------------------------= ------------------------------
This SF.net email is sponsored by: Micros= oft
Defy all challenges. Microsoft(R) Visual Studio 2008.
= http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
____________= ___________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

=

=0A=0A=0A
Forgot the famous= last words? Access your message archive online. Click here. --0-1321680657-1201182174=:82093-- --===============0755614655== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- 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/ --===============0755614655== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users --===============0755614655==--