You are not logged in.

#1 2010-08-19 17:49:57

nsarko
Member
Registered: 2010-08-19
Posts: 12

[SOLVED][Bluetooth Headset] Speaker works great, microphone not :(

Hello everyone,

Thanks to this topic, I manage to have ALSA recognize my bluetooth headset correctly (originally I use it on my phone, works great).

My problem now is : the speaker part is working correctly (I can hear sounds coming from mplayer or aplay on test files) but I can't record any sound ! The only thing I can get is a noisy, continuous scratch sound when I try very basic commands like :

arecord -D btheadset -f S16_BE blah.wav

My .asoundrc file :

pcm.btheadset {
    type plug
    slave {
        pcm {
            type bluetooth
            device 00:1D:82:B4:59:19
            profile "auto"
        }
    }

    hint {
        show on
        description "BT Headset"
    }
}

ctl.btheadset {
  type bluetooth
}

Is there any way to get that functionnal ? Am I doing something wrong ?

Thanks for your help.

Last edited by nsarko (2010-09-01 20:18:52)

Offline

#2 2010-08-19 17:54:26

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED][Bluetooth Headset] Speaker works great, microphone not :(

start alsamixer --
Go to your microphone level setting and then hit spacebar on the CAPTURE to enable it. You should see the word "CAPTURE" and "L R" in red


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2010-08-19 18:07:00

nsarko
Member
Registered: 2010-08-19
Posts: 12

Re: [SOLVED][Bluetooth Headset] Speaker works great, microphone not :(

Thanks for your answer, but unfortunatly, thas doesn't solve the problem sad

On Capture page of alsamixer, I have 2 capture stuff (named capture and capture 1). Enabling one or the other or both doesn't solve anything. I try to play with capture level without success sad

Offline

#4 2010-08-19 18:39:25

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,538

Re: [SOLVED][Bluetooth Headset] Speaker works great, microphone not :(

Did you press F6 to select the correct sound card?

Offline

#5 2010-08-19 19:56:46

nsarko
Member
Registered: 2010-08-19
Posts: 12

Re: [SOLVED][Bluetooth Headset] Speaker works great, microphone not :(

I only have one sound card so I can't select another one.

I retried using my headset with my phone (just to be sure there is no problem with it), and it functions normally… I _really_ can't figure out where the problem is…

Offline

#6 2010-08-19 19:59:29

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,538

Re: [SOLVED][Bluetooth Headset] Speaker works great, microphone not :(

As far as I know the bluetooth headset will be listed as a second sound card in alsa

Offline

#7 2010-08-19 20:05:21

nsarko
Member
Registered: 2010-08-19
Posts: 12

Re: [SOLVED][Bluetooth Headset] Speaker works great, microphone not :(

ouch… I'm currently seeing only one sound card… I thought this case was for old version of bluez, no ?

Offline

#8 2010-08-19 21:28:46

nsarko
Member
Registered: 2010-08-19
Posts: 12

Re: [SOLVED][Bluetooth Headset] Speaker works great, microphone not :(

I just tried to install and configure a basic pulseaudio settings too see if I can solve the problem : sound works great as usual on the speaker part of the headset, but I got the same result with the microphone…

The strangest part of those problem is that I don't see any way to control sound settings via alsamixer on the bluetooth headset… Is there a way to do this (eventually manually via .asoundrc file) ?

Offline

#9 2010-08-20 09:34:49

seiichiro0185
Member
From: Leipzig/Germany
Registered: 2009-04-09
Posts: 226
Website

Re: [SOLVED][Bluetooth Headset] Speaker works great, microphone not :(

Afaik there are no controls in alsa for BT-headsets. I have never had any at least.
For microphone input in skype I had to configure a "raw" BT headset device in my asoundrc (meaning a pcm with only the type, device and profile line, but without the plug  and hint stuff)
dunno if this is true for all audio recording through a BT headset, but at least in skype it works like for me like this.


My System: Dell XPS 13 | i7-7560U | 16GB RAM | 512GB SSD | FHD Screen | Arch Linux
My Workstation/Server: Supermicro X11SSZ-F | Xeon E3-1245 v6 | 64GB RAM | 1TB SSD Raid 1 + 6TB HDD ZFS Raid Z1 | Proxmox VE
My Stuff at Github: github
My Homepage: Seiichiros HP

Offline

#10 2010-08-20 16:29:18

nsarko
Member
Registered: 2010-08-19
Posts: 12

Re: [SOLVED][Bluetooth Headset] Speaker works great, microphone not :(

Can you please post me your configuration ?

Last edited by nsarko (2010-08-21 06:23:10)

Offline

#11 2010-08-21 06:23:37

nsarko
Member
Registered: 2010-08-19
Posts: 12

Re: [SOLVED][Bluetooth Headset] Speaker works great, microphone not :(

I found myself on http://ubuntuforums.org/archive/index.p … 44715.html

Following your advice, I try this configuration :

pcm.bluetoothraw {
    type bluetooth
}

pcm.bluetooth {
    type plug
    slave {
        pcm bluetoothraw
    }
}

and that does not the trick sad

Offline

#12 2010-08-21 18:43:07

seiichiro0185
Member
From: Leipzig/Germany
Registered: 2009-04-09
Posts: 226
Website

Re: [SOLVED][Bluetooth Headset] Speaker works great, microphone not :(

this config misses the "device <btaddress>" part in the bluetoothraw section. so it can't find the headset


My System: Dell XPS 13 | i7-7560U | 16GB RAM | 512GB SSD | FHD Screen | Arch Linux
My Workstation/Server: Supermicro X11SSZ-F | Xeon E3-1245 v6 | 64GB RAM | 1TB SSD Raid 1 + 6TB HDD ZFS Raid Z1 | Proxmox VE
My Stuff at Github: github
My Homepage: Seiichiros HP

Offline

#13 2010-08-21 19:33:56

nsarko
Member
Registered: 2010-08-19
Posts: 12

Re: [SOLVED][Bluetooth Headset] Speaker works great, microphone not :(

When you omit the adress, it takes the default bluetooth headset of the system. With this config, I got always the same problem : speaker works, microphone not.

Offline

#14 2010-09-01 20:20:27

nsarko
Member
Registered: 2010-08-19
Posts: 12

Re: [SOLVED][Bluetooth Headset] Speaker works great, microphone not :(

This was apparently a bug from Bluez. Since last update, no problem left \o/

Now, I just have to find a good configuration to enable Mumble to use my bluetooth headset !

Thanks for help everyone.

Offline

Board footer

Powered by FluxBB