Turn off Bluetooth also turns off wifi

Bug #658675 reported by Mark E
46
This bug affects 7 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Won't Fix
Low
Unassigned

Bug Description

Ubuntu 10.10 running on Compaq/HP Mini 311.
Using bluetooth icon on task bar, right click and select 'turn off bluetooth' would switch off bluetooth in Ubuntu 10.04.
In Ubuntu 10.10, right click bluetooth icon and select 'turn off bluetooth' switches off bluetooth and wifi.
---
Architecture: i386
DistroRelease: Ubuntu 10.10
NonfreeKernelModules: nvidia
Package: gnome-bluetooth 2.32.0-0ubuntu1
PackageArchitecture: i386
ProcEnviron:
 LANG=en_GB.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.35-22.34-generic 2.6.35.4
Tags: maverick
Uname: Linux 2.6.35-22-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Book 'em Dano (heymrdjd) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command, as it will automatically gather debugging information, in a terminal (Applications ¸ Accessories ¸ Terminal):

apport-collect 658675

This will help us to find and resolve the problem. Bear in mind that you may need to install the python-launchpadlib package from the universe repository. Additionally, when prompted to give apport-collect permissions for Launchpad you will need to give it at least the ability to "Change Non-Private" data as it will be adding information to your bug report.

Also input the following commands into a terminal:

uname -a > uname-a.log

cat /proc/version_signature > proc_version_signature.log

sudo lspci -vvnn > lspci-vvnn.log (those are 2 v's not a w)

dmesg > dmesg.log

and attach the individual logs as separate attachments to this report. Thanks in advance!

When reporting bugs in the future please use apport, either via the appropriate application's "Help -> Report a Problem" menu or using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

affects: ubuntu → gnome-bluetooth (Ubuntu)
Changed in gnome-bluetooth (Ubuntu):
status: New → Incomplete
Book 'em Dano (heymrdjd)
tags: added: maverick
Revision history for this message
Mark E (mellio11) wrote : Dependencies.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Mark E (mellio11) wrote : RE: [Bug 658675] Re: Turn off Bluetooth also turns off wifi

logs attached as requested

> Date: Fri, 15 Oct 2010 22:04:57 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: [Bug 658675] Re: Turn off Bluetooth also turns off wifi
>
> Thank you for taking the time to report this bug and helping to make
> Ubuntu better. Please execute the following command, as it will
> automatically gather debugging information, in a terminal (Applications
> ¸ Accessories ¸ Terminal):
>
> apport-collect 658675
>
> This will help us to find and resolve the problem. Bear in mind that you
> may need to install the python-launchpadlib package from the universe
> repository. Additionally, when prompted to give apport-collect
> permissions for Launchpad you will need to give it at least the ability
> to "Change Non-Private" data as it will be adding information to your
> bug report.
>
> Also input the following commands into a terminal:
>
> uname -a > uname-a.log
>
> cat /proc/version_signature > proc_version_signature.log
>
> sudo lspci -vvnn > lspci-vvnn.log (those are 2 v's not a w)
>
> dmesg > dmesg.log
>
> and attach the individual logs as separate attachments to this report.
> Thanks in advance!
>
> When reporting bugs in the future please use apport, either via the
> appropriate application's "Help -> Report a Problem" menu or using
> 'ubuntu-bug' and the name of the package affected. You can learn more
> about this functionality at https://wiki.ubuntu.com/ReportingBugs.
>
> ** Package changed: ubuntu => gnome-bluetooth (Ubuntu)
>
> ** Changed in: gnome-bluetooth (Ubuntu)
> Status: New => Incomplete
>
> --
> Turn off Bluetooth also turns off wifi
> https://bugs.launchpad.net/bugs/658675
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “gnome-bluetooth” package in Ubuntu: Incomplete
>
> Bug description:
> Ubuntu 10.10 running on Compaq/HP Mini 311.
> Using bluetooth icon on task bar, right click and select 'turn off bluetooth' would switch off bluetooth in Ubuntu 10.04.
> In Ubuntu 10.10, right click bluetooth icon and select 'turn off bluetooth' switches off bluetooth and wifi.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/gnome-bluetooth/+bug/658675/+subscribe

Revision history for this message
Book 'em Dano (heymrdjd) wrote :

To capture the syslog, type the following in a terminal:

    tail -n0 -f /var/log/syslog > /tmp/syslog

then turn on bluetooth and type in a terminal:

   logger "[ turned on bluetooth 'ubuntu']"

then turn off bluetooth and type in a terminal:

   logger "[ turned off bluetooth 'ubuntu']"

then attach syslog, which will be located in /tmp, to this bug report.

Revision history for this message
Mark E (mellio11) wrote :
  • syslog Edit (22.4 KiB, application/octet-stream)

syslog attached as requested.

Regards

Mark

> Date: Thu, 21 Oct 2010 06:43:46 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: [Bug 658675] Re: Turn off Bluetooth also turns off wifi
>
> To capture the syslog, type the following in a terminal:
>
> tail -n0 -f /var/log/syslog > /tmp/syslog
>
> then turn on bluetooth and type in a terminal:
>
> logger "[ turned on bluetooth 'ubuntu']"
>
> then turn off bluetooth and type in a terminal:
>
> logger "[ turned off bluetooth 'ubuntu']"
>
> then attach syslog, which will be located in /tmp, to this bug report.
>
> --
> Turn off Bluetooth also turns off wifi
> https://bugs.launchpad.net/bugs/658675
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “gnome-bluetooth” package in Ubuntu: Incomplete
>
> Bug description:
> Ubuntu 10.10 running on Compaq/HP Mini 311.
> Using bluetooth icon on task bar, right click and select 'turn off bluetooth' would switch off bluetooth in Ubuntu 10.04.
> In Ubuntu 10.10, right click bluetooth icon and select 'turn off bluetooth' switches off bluetooth and wifi.
> ---
> Architecture: i386
> DistroRelease: Ubuntu 10.10
> NonfreeKernelModules: nvidia
> Package: gnome-bluetooth 2.32.0-0ubuntu1
> PackageArchitecture: i386
> ProcEnviron:
> LANG=en_GB.utf8
> SHELL=/bin/bash
> ProcVersionSignature: Ubuntu 2.6.35-22.34-generic 2.6.35.4
> Tags: maverick
> Uname: Linux 2.6.35-22-generic i686
> UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
>
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/gnome-bluetooth/+bug/658675/+subscribe

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gnome-bluetooth (Ubuntu) because there has been no activity for 60 days.]

Changed in gnome-bluetooth (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Mohegan (jack-mohegan) wrote :

Same bug for me with Natty and hp mini 210 !

Changed in gnome-bluetooth (Ubuntu):
status: Expired → New
Revision history for this message
Matthew (gromituk) wrote :

And with me for HP dm1 - same behaviour in Natty as Maverick; worked in Lucid.

Revision history for this message
Matthew (gromituk) wrote :

Correction, sorry: don't know if it worked in Lucid as I didn't have the laptop then!

Revision history for this message
Michele Damiano Torelli (s3th) wrote : apport information

Architecture: i386
DistroRelease: Ubuntu 11.04
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
NonfreeKernelModules: wl
Package: gnome-bluetooth 2.91.2.is.2.32.0-0ubuntu3
PackageArchitecture: i386
ProcEnviron:
 LANGUAGE=it_IT:en
 PATH=(custom, user)
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Tags: natty
Uname: Linux 2.6.38-8-generic i686
UpgradeStatus: Upgraded to natty on 2011-05-14 (6 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

tags: added: natty
Revision history for this message
Michele Damiano Torelli (s3th) wrote : Dependencies.txt

apport information

Revision history for this message
Michele Damiano Torelli (s3th) wrote :

logs attached as requested

Revision history for this message
Michele Damiano Torelli (s3th) wrote :

logs attached as requested

Revision history for this message
Michele Damiano Torelli (s3th) wrote :

logs attached as requested

Revision history for this message
Michele Damiano Torelli (s3th) wrote :

logs attached as requested

Revision history for this message
Michele Damiano Torelli (s3th) wrote :

logs attached as requested

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue that you reported is one that should be reproducible with the live environment of the Desktop CD of the stable release - Oneiric Ocelot. It would help us greatly if you could test with it so we can work on getting it fixed. You can find out more about the development release at http://www.ubuntu.com/testing/ . Thanks again and we appreciate your help.

Changed in gnome-bluetooth (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Matthew (gromituk) wrote :

Sorry, I'm a bit confused about this. I can confirm that the problem is still there after an upgrade from 11.04 to 11.10, and all the editions your link points to are older than this.

Revision history for this message
Mark E (mellio11) wrote :

Tested bluetooth operation on HP Mini 311 with Ubuntu 11.10, upgraded from 11.04 .

Using bluetooth icon on the task bar and selecting 'turn off bluetooth' still causes bluetooth and wifi to switch off. Then selecting WiFi icon and selecting 'Enable wireless' causes WiFi to switch on with bluetooth remaining off. Selecting 'turn on bluetooth' causes bluetooth to switch back on. Cycle can be repeated with same results.

During my original testing the wifi could not be switched on when the bluetooth was switched off.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gnome-bluetooth (Ubuntu) because there has been no activity for 60 days.]

Changed in gnome-bluetooth (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Matthew (gromituk) wrote :

Problem hasn't gone away!

Changed in gnome-bluetooth (Ubuntu):
status: Expired → Incomplete
Revision history for this message
Donald Lhoëst (d-lhoest-y) wrote :

Problem is still present. I'm using a Dell Inspiron 14z with a clean install of Ubuntu 11.10 and Gnome3.

Turning off Bluetooth puts the computer into "Flight Mode" and therefore shuts Wifi down. The only way to connect back is to turn the flight mode off, turning Bluetooth on and only then wifi.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gnome-bluetooth (Ubuntu) because there has been no activity for 60 days.]

Changed in gnome-bluetooth (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Michele Damiano Torelli (s3th) wrote :

This bug is still present on Ubuntu 11.10 (Oneiric Ocelot)

Changed in gnome-bluetooth (Ubuntu):
status: Expired → Incomplete
Changed in gnome-bluetooth (Ubuntu):
assignee: nobody → Michele Damiano Torelli (s3th)
status: Incomplete → In Progress
affects: gnome-bluetooth (Ubuntu) → bcmwl (Ubuntu)
Changed in bcmwl (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Michele Damiano Torelli (s3th) wrote :

On some HP Mini models, the hp-wmi driver loads successfully but duplicates
wifi and bluetooth interfaces, already handled (respectively) by proprietary
driver Broadcom 802.11 STA wireless and bluetooth driver. When the user
soft-blocks any interface created by hp-wmi module, both will be turned off.

There's no need to load hp-wmi module if bcmwl module is installed.

If you want to fix this you have to add: "blacklist hp-wmi" to /etc/modprobe.d/blacklist-bcm43.conf
or
you can apply the attached patch in /etc/modprobe.d/ directory.

Revision history for this message
Matthew (gromituk) wrote :

Thank you - now I can switch wifi and Bluetooth on and off independently using the icons, although the hardware button still switches both on and off (DM1-1102sa). I notice a warning comment in blacklist-bcm43.conf saying that it is auto-generated.

I have also wondered for some time why it takes so long for the computer to start looking for networks on boot-up, resume or activation - about 20 seconds.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "This patch blacklists hp-wmi module" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Matthew (gromituk) wrote :

I'm afraid there may be more consequences of this action. This morning, my Bluetooth icon has disappeared.

Revision history for this message
Michele Damiano Torelli (s3th) wrote :

Make sure that the hardware button is enabled.

Revision history for this message
Matthew (gromituk) wrote :

As I said in my previous comment, the hardware button still disables both Bluetooth and Wifi, so yes, the hardware button is enabled or I wouldn't have been able to make the comment..

Revision history for this message
Michele Damiano Torelli (s3th) wrote :

Ok, so please can you apport more informations executing the following commands in a terminal:

apport-collect 658675

This will help us to find and resolve the problem. Bear in mind that you may need to install the python-launchpadlib package from the universe repository. Additionally, when prompted to give apport-collect permissions for Launchpad you will need to give it at least the ability to "Change Non-Private" data as it will be adding information to your bug report.

Also input the following commands into a terminal:

uname -a > uname-a.log

cat /proc/version_signature > proc_version_signature.log

sudo lspci -vvnn > lspci-vvnn.log (those are 2 v's not a w)

dmesg > dmesg.log

rfkill list > rfkill.log

and attach the individual logs as separate attachments to this report. Thanks in advance!

Revision history for this message
Michele Damiano Torelli (s3th) wrote :

Please attach also the result of the command:

lsusb -v > lsusb-v.log

Thank you.

Revision history for this message
Matthew (gromituk) wrote :

Thanks. apport-collect 658675 reported "Package bcmwl not installed and no hook available, ignoring" in the terminal (and apt-get can't find such a package) and the browser reported no additional information collected.

This information was collected with the blacklist line added and after the Bluetooth icon had disappeared, so dmesg should cover the period when that happened.

lsusb (I did it as root), interestingly, reports "Couldn't open device, some information will be missing".

Revision history for this message
Matthew (gromituk) wrote :
Revision history for this message
Matthew (gromituk) wrote :
Revision history for this message
Matthew (gromituk) wrote :
Revision history for this message
Matthew (gromituk) wrote :
Revision history for this message
Matthew (gromituk) wrote :
Revision history for this message
Michele Damiano Torelli (s3th) wrote :

This is interesting. Please provide also:

lsmod > lsmod.log

then do:

modprobe hp-wmi (as root)

and

lsmod > lsmod-with-hp-wmi.log

and

dpkg -l > dpkg-l.log

Thank you!

Revision history for this message
Matthew (gromituk) wrote :

Lo and behold, modprobing hp-wmi caused the Bluetooth icon to appear again (on).

Revision history for this message
Matthew (gromituk) wrote :
Revision history for this message
Matthew (gromituk) wrote :
Revision history for this message
Michele Damiano Torelli (s3th) wrote :

Yes, that is a normal behavior, but hp-wmi driver is not essential to make wifi and bt work correctly.

Please try to reboot your system and look if something changes.

Revision history for this message
Matthew (gromituk) wrote :

Rebooted, and all seems to be working well apart from the hardware button causing the Bluetooth icon to disappear as well as the wifi to disable. I don't know if Bluetooth is disabled when the icon disappears. Reappears when the hardware button is pressed again. The hp-wmi module is not loaded.

Revision history for this message
Michele Damiano Torelli (s3th) wrote :

Ok, that is normal. When you press the hardware button both Wifi and Bluetooth pass to the "hardware blocked" state and are really turned off (you can verify this with "rfkill list" command in Terminal).

Revision history for this message
Matthew (gromituk) wrote :

Thank you very much. I will look out for the Bluetooth icon disappearing again. Just now the concern that blacklist-bcm43.conf will be overwritten which will re-enable the module. And if you might have any idea what might be responsible for the 20 second wait before it starts to connect to a network. It's only done that for the last couple of releases.

Revision history for this message
Michele Damiano Torelli (s3th) wrote :

My pleasure to help, whenever possible.

It's true that blacklist file will be overwritten with the upgrade of the package, but I added a check to add that line if hp-wmi driver is in use in the fix that I proposed to the maintainer of the package. If you want, you can put it in a separate file (in the same directory) that will not be affected by the update of the package.

I do not know why it takes so long to initiate the connection, personally on my HP Mini 210 does not happen and I have no way of verifying.

Revision history for this message
Matthew (gromituk) wrote :

Bad news - it's after suspend that the Bluetooth icon disappears.

Revision history for this message
Michele Damiano Torelli (s3th) wrote :

Seems that the bluez package suffers from this bug:

http://bugs.launchpad.net/ubuntu/+source/bluez/+bug/657415

On my HP Mini all works now, without hp-wmi driver, also after suspend to RAM or hibernate. I think the two issues are separated but i can't debug your problem because i have no way to work on it.

Revision history for this message
Michele Damiano Torelli (s3th) wrote :

After some testing, I think that the cause of this bug is not to be found in the package bcmwl, as mentioned above, rather than a defect in the hp-wmi kernel module that is causing the shutdown of both the WiFi and Bluetooth when one is turned off.

The solution I presented (ie to prevent loading the module hp-wmi) in previous posts is considered a workaround, although I confirm that the use of hp-wmi driver is not essential for the correct functioning of WiFi and Bluetooth.

Preconditions for the occurrence of the problem:
1) The hp-wmi kernel module loaded
2) The command "rfkill list" must show interfaces "hp-wifi" and "hp-bluetooth".

Steps to reproduce the bug:
1) In a terminal, run the following command:

bluetooth rfkill block
or
wifi rfkill block

2) This will cause the shutdown of both Wifi and Bluetooth

affects: bcmwl (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
status: Fix Committed → Confirmed
assignee: Michele Damiano Torelli (s3th) → nobody
Revision history for this message
Michele Damiano Torelli (s3th) wrote :

Oops I misspelled commands to reproduce the bug, the correct ones are:

rfkill block bluetooth
or
rfkill block wifi

I apologize for the error.

Revision history for this message
Brad Figg (brad-figg) wrote :

The bug originally expired after 60 days of activity (as it should have). The subsequent discussion about bluetooth and rfkill do not appear to be related to the original bug.

I am marking this bug "Won't Fix". If there is a similar bug or other bugs related to bluetooth and rfkill please open new bugs and do not re-open this one.

Changed in linux (Ubuntu):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.