← Back to team overview

dx-packages team mailing list archive

[Bug 1126108] Re: Indicator disappears entirely when disabling / turning off bluetooth

 

Having similar problem in 16.04 as well, though the reason might be
different.

With everything enabled this is the output of rfkill:

2: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
5: Toshiba Bluetooth: Bluetooth
	Soft blocked: no
	Hard blocked: no
7: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no

When either the switch in System Settings or the Indicator menu is
turned Off Toshiba Bluetooth is soft blocked, hci0 disappears, and the
Indicator icon disappears. When the System Settings switch is On,
Toshiba Bluetooth unblocked, hci0 appears soft blocked, and the
Indicator icon appears with it's menu switch Off. When the Indicator
menu switch is On hci0 is unblocked.

It appears that each switch is grabbing the earliest bluetooth radio to
effect rather than just one.

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to indicator-bluetooth in Ubuntu.
https://bugs.launchpad.net/bugs/1126108

Title:
  Indicator disappears entirely when disabling / turning off bluetooth

Status in indicator-bluetooth package in Ubuntu:
  Fix Released

Bug description:
  Bug 1116289 made the BT indicator disappear when there is no hardware.
  However, with that version I now also have it disappear when my
  existing BT hardware is merely disabled. I. e. I disable BT from the
  indicator, then it disappears, leaving me no obvious method to turn it
  back on again. I can re-enabble it in control-center, and then the
  indicator comes back.

  I think when it sees no actual BT hardware it ought to check rfkill
  whether there is disabled BT hardware:

  $ grep -r . /sys/class/rfkill/rfkill0/{type,state,soft,persistent}
  /sys/class/rfkill/rfkill0/type:bluetooth
  /sys/class/rfkill/rfkill0/state:1
  /sys/class/rfkill/rfkill0/soft:0
  /sys/class/rfkill/rfkill0/persistent:1

  After disabling BT from the indicator, "soft" changes to 1:

  $ grep -r . /sys/class/rfkill/rfkill0/{type,state,soft,persistent}
  /sys/class/rfkill/rfkill0/type:bluetooth
  /sys/class/rfkill/rfkill0/state:0
  /sys/class/rfkill/rfkill0/soft:1
  /sys/class/rfkill/rfkill0/persistent:1

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: indicator-bluetooth 0.0.6-0ubuntu1
  ProcVersionSignature: Ubuntu 3.8.0-6.13-generic 3.8.0-rc7
  Uname: Linux 3.8.0-6-generic x86_64
  ApportVersion: 2.8-0ubuntu4
  Architecture: amd64
  Date: Fri Feb 15 12:08:26 2013
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2013-02-08 (7 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130207.1)
  MarkForUpload: True
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  SourcePackage: indicator-bluetooth
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/indicator-bluetooth/+bug/1126108/+subscriptions