← Back to team overview

kernel-packages team mailing list archive

[Bug 219057] Re: Bluetooth does not coexist with WiFi

 

Hi!

Maybe this can be a workaround:
https://answers.launchpad.net/ubuntu/+question/239371

=====================
Try:

echo "options iwlwifi 11n_disable=1 bt_coex_active=0 power_save=0
auto_agg=0 swcrypto=1" | sudo tee /etc/modprobe.d/iwlwifi.conf >
/dev/null

As one big command. Reboot to test.
=====================


I also made a change to enable A2DP in my headset. Before, when I switched to A2DP it didn't worked.


=====================
This worked for me:

1) Open /etc/bluetooth/audio.conf

gksudo gedit /etc/bluetooth/audio.conf

2) find "Enable =..." under [General] and delete Socket fron the list

[General]
Enable = ....

3) Add this line:

Disable = Socket

4) Save

5) Restart the bluetooth service

sudo service bluetooth restart

6) Restar pulseaudio for good measure.

pulseaudio -k 
pulseaudio -D

7) Cross Your Fingers and try.

=====================


Now I can use my Sony SHB50 on Ubuntu with good sound (A2DP) and my WiFi is working fine.

My laptop is a Dell 3450

This is my Wifi Card:
02:00.0 Network controller: Intel Corporation Centrino Wireless-N 1030 [Rainbow Peak] (rev 34)

This is how PulseAudio detected my bluetooth device:

pacmd list-cards

    index: 2
	name: <bluez_card.94_CE_2C_F8_51_45>
	driver: <module-bluetooth-device.c>
	owner module: 24
	properties:
		device.description = "SBH50"
		device.string = "94:CE:2C:F8:51:45"
		device.api = "bluez"
		device.class = "sound"
		device.bus = "bluetooth"
		device.form_factor = "headset"
		bluez.path = "/org/bluez/542/hci0/dev_94_CE_2C_F8_51_45"
		bluez.class = "0x240404"
		bluez.name = "SBH50"
		device.icon_name = "audio-headset-bluetooth"
		device.intended_roles = "phone"
	profiles:
		hsp: Telefonía Duplex (HSP/HFP) (priority 20, available: unknown)
		a2dp: Reproducción de Alta Fidelidad (A2DP) (priority 10, available: yes)
		off: Apagado (priority 0, available: yes)
	active profile: <a2dp>
	sinks:
		bluez_sink.94_CE_2C_F8_51_45/#4: SBH50
	sources:
		bluez_sink.94_CE_2C_F8_51_45.monitor/#7: Monitor of SBH50
	ports:
		headset-output: Auriculares (priority 0, latency offset 0 usec, available: yes)
			properties:
				
		headset-input: Auriculares (priority 0, latency offset 0 usec, available: unknown)
			properties:

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to bluez in Ubuntu.
https://bugs.launchpad.net/bugs/219057

Title:
  Bluetooth does not coexist with WiFi

Status in “bluez” package in Ubuntu:
  Confirmed

Bug description:
  On my system bluetooth and wifi are unusable together. I have a built-
  in CSR-based bluetooth module in my laptop, and an Atheros wifi. Wifi
  transfers slow to a halt whenever there is BT traffic.

  For example, if I play a music file from another machine through the
  network using a BT headset, only the first few seconds of the file
  will play until the player runs out of buffered data. No further data
  is downloaded. Web pages also do not download, and I even lose
  connection to AP from time to time.

  At the same time, it looks like AFH is trying to work. If I monitor
  the value returned by 'hcitool afh', it changes. But this seems to
  have little effect on connection quality.

  Is this a problem with my hardware, or the AFH implementation? Is
  there a way to force bluetooth to not use the channels in use by WiFi?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/219057/+subscriptions