Re: Alsa and asoundrc

"Angus Ainslie" <[email protected]>
Newsgroups gmane.linux.bluez.user
Message-ID <[email protected]>
> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf 
> Of Marcel Holtmann
> Sent: Thursday, May 15, 2008 3:45 AM
> To: BlueZ users
> Subject: Re: [Bluez-users] Alsa and asoundrc
> 
> Hi Angus,
>
> not that I remember. Show your .asoundrc and post the output 
> from calling hcid -n -d. It might indicate what is going wrong.
> 
> Regards
> 
> Marcel
> 

Hi Marcel,

I don't think it was the .asoundrc but I included it at the end anyway.

The 2 problems I found were 

1) it wasn't finding libasound_module_pcm_bluetooth.so until I added
/usr/lib/alsa-lib to my LD_LIBRARY_PATH

2) Because the library wasn't found at boot the sound service needed to
be restarted.

Angus


asoundrc:

pcm.!default {
    type bluetooth
    device 00:07:A4:F1:AE:13
    profile "hifi"
}
pcm.headphones {
    type bluetooth
    device 00:07:A4:F1:AE:13
    profile "hifi"
}

-------------------------------------------------------------------------
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.