LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Has anyone got Bluetooth headset to work under Slackware 14 (http://www.linuxquestions.org/questions/slackware-14/has-anyone-got-bluetooth-headset-to-work-under-slackware-14-a-4175434696/)

bimboleum 10-30-2012 12:39 AM

Has anyone got Bluetooth headset to work under Slackware 14
 
Hey,
I am trying to get my bluetooth (Motorola H375) headset to work under Slackware 14 (64 bit) on my thinkpad w530.

I run xfce and the bluetooth device manager that comes with xfce.

I can pair the headset with the adapter.
hcitool ouput shows:-

Code:

root=>hcitool con
Connections:
        > ACL 00:0B:2E:57:C9:EC handle 12 state 1 lm MASTER AUTH ENCRYPT

aplay -L shows

Code:

root=>aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
btheadset
    BT Headset
default:CARD=PCH
    HDA Intel PCH, ALC269VC Analog
    Default Audio Device
sysdefault:CARD=PCH
    HDA Intel PCH, ALC269VC Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC269VC Analog
    Front speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC269VC Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC269VC Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC269VC Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC269VC Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC269VC Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers

and my /etc/asound.conf is:-
Code:

pcm.btheadset {
    type plug
    slave {
        pcm {
            type bluetooth
            device 00:0B:2E:57:C9:EC
            profile "auto"
        }
    }

    hint {
        show on
        description "BT Headset"
    }
}

ctl.btheadset {
  type bluetooth
}

If I try to play a tune e.g

aplay -D btheadset <some random mp3 file>

all I get is a high-pitched hum through the headset.

if I try to switch the headset to slave role using hcitool I get:-

Code:

root=>hcitool sr 00:0B:2E:57:C9:EC s
Switch role request failed: Input/output error

So can anyone give me a hint as to what is wrong .. I am obviously part way there in that I can successfuly connect to my headset but I cannot work out what else needs to happen to get a successful connection.

I must add that this headset used to work fine under 13.37 (32 bit) on my old t61.

It exhibits the same (broken) behaviour under Slackware 14 (64 bit)on the t61.

cheers
pete

pete hilton
saruman@ruvolo-hilton.org

guanx 10-30-2012 03:59 AM

My "/etc/asound.conf" is
Code:

@hooks [
        {
                func load
                files [
                        "/etc/alsa/bluetooth.conf"
                ]
                errors false
        }
]


ml4711 10-30-2012 04:40 AM

Quote:

If I try to play a tune e.g

aplay -D btheadset <some random mp3 file>

all I get is a high-pitched hum through the headset.

aplay on my system (slackware 12.2.0) does not play mp3
try with some .wav file

thegato 11-04-2012 01:44 AM

Does anyone have any more in depth info on this?

Did you have to do anything else to get it to work?

I'm getting the same trouble with only a horrid noise coming out of my headset. Using both methods listed above.

EDIT:

I believe I've found the issue. The headset is meant for voice only so it can only send/recieve at 8000 Hz. Anything higher results in that awful noise spewing through the headset. Try this:

For reference all I needed to do was add the commented section from /etc/alsa/bluetooth.conf into /etc/asound.conf , I did not need to edit bluetooth.conf
I use blueman-manager to pair and connect to my headset.

Make sure Enable=Socket is set in /etc/bluetooth/audio.conf

in a console do

arecord -D bluetooth test.wav and sing into the headset mic. It should default to 8000Hz but you can set -r 8000 if you want.

aplay -D bluetooth test.wav and you should hear your wonderful singing.

I hope that solves it for you, however disappointing. To get better quality audio you'd need a non-phone headset.


All times are GMT -5. The time now is 09:43 AM.