Bluetooth headset, Alsa - no soundcard in /proc/asound/cards (but headset works)
I trying to make my bluetooth headset work... I'm working on the output part first - microphone will come later.
I've found some python code in Bluez Trac which seems to work, I can hear audio from the headset.
I've also added these lines to my .asoundrc file:
Also, if I run
Then, I think I can say that "bluetooth" is recognized as an alsa device (or card, I don't know if it's the same thing).
My problem is that I want to be able to set dynamically (i.e. when I need it) the headset as default alsa device. I've tested the ALSA_CARD environment variable, and it seems to work. What I need is the of the headset name as alsa sees it.
I thought that exporting ALSA_CARD=bluetooth would work, but it doesn't.
If I run
If I cat /proc/asound/cards (when the headset is being used, to make sure), I get
(By the way, if I set ALSA_CARD to "I82801DBICH4", sound works again).
So, why doesn't /proc/asound/cards list the headset too?
If it did, I could use its name to set ALSA_CARD accordingly.
P.S. I opened a thread (http://www.linuxquestions.org/questi...doubts-706830/) about my bluetooth headset some days ago, but nobody replied. Moreover, the thread's title is not so clear (I'm sorry), so I think moderators can delete it.
Same problem here!
This is my .asoundrc file
When I start the system (Ubuntu 9.04, by the way) it sounds through the bluetooth headset, but when I list /proc/asound/pcm I cant see it.
When I run this command:
aplay -v -D bluetooth something.wav
sometimes it works and sometimes it displays the following error:
aplay: pcm_write:1442: error de escritura: Error de entrada/salida
(writing error:I/O error)
Im starting to think that is a bluetooth problem and it doesnt have to do with ALSA. How can I confirm this?
|All times are GMT -5. The time now is 11:46 AM.|