BlueTooth Headset

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
sixtyfive
Newbie
Newbie
Posts: 3
Joined: Sat Sep 27, 2008 7:55 pm

BlueTooth Headset

Post by sixtyfive »

Hello Forum/List,

usually sound works quite well for me in WINE, but now trying to get my BlueTooth headphone to work (as opposed to the laptop's builtin speakers) I've run into a problem. My guess is it has to do with the delay occurs when a sound begins to play over these headphones, even though watching a movie in MPlayer at the same time to prevent that delay hasn't helped either.

It will probably be best if I show the error messages I get. Since they're quite lengthy, here's a Pastie: http://pastie.org/280597 (yes, StarCraft and all other Windows software I have installed work just fine using the built-in speakers).

My registry contains the following:

HKEY_CURRENT_USER\Software\Wine\Alsa Driver\
- AutoScanCards N
- DeviceCount 1
- DevicePCM1 bluetooth
- DeviceCTL1 bluetooth

My ~/.alsactl is configured accordingly. I am using the headphones with Rythmbox, Totem and MPlayer just fine.

Dunno whether I'm missing something or if this is a bug (as the nice people in #winehq suggest), but any help would be appreciated in any case :-)

Best regards,
Raphael Schmid
error420
Newbie
Newbie
Posts: 1
Joined: Mon May 12, 2008 10:33 pm

Post by error420 »

I've been trying on and off to get this working too. Has anyone been able to get thier bluetooth headset to work with wine? It works well with amarok and other linux programs but in wine there is no where to select the sound device as bluetooth. I think it may have something to do with getting alsa to make bluetooth headset default.
sixtyfive
Newbie
Newbie
Posts: 3
Joined: Sat Sep 27, 2008 7:55 pm

Post by sixtyfive »

Oh, getting ALSA to use the BT headset as the default device actually isn't that hard. Just put this in your ~/.asoundrc:

Code: Select all

pcm.bluetooth {
    type bluetooth
    device 00:18:E4:04:47:CB
    profile "hifi"
}

pcm.builtin {
    type hw
    card 0
    device 0
    channels 2
}

pcm.!default {
    type plug
    slave.pcm "bluetooth"
}
Problem's just that WINE doesn't seem to honour that somehow.

- R.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

sixtyfive wrote:Oh, getting ALSA to use the BT headset as the default device actually isn't that hard. Just put this in your ~/.asoundrc:
Why did you change registry then?
sixtyfive
Newbie
Newbie
Posts: 3
Joined: Sat Sep 27, 2008 7:55 pm

Post by sixtyfive »

Well, like I said, setting the BT headset as the default output device for ALSA does _not_ make it work for WINE. So I searched the web and found out about those registry keys. And tried that. But it didn't work, either. So I posted here in search of further help...
cyrxi
Newbie
Newbie
Posts: 1
Joined: Thu Nov 27, 2008 10:58 pm

Hope?

Post by cyrxi »

Has anyone figured this out yet?

I too am able to get audio to play through my stereo bluetooth headset in Amarok - and I can even get my headset to be the default output device as suggested above, however, wine still will not play audio through the headset. I was hoping to be able to use voice over the headset too for gaming, but I'm starting to lose hope...
Locked