← Back to team overview

dx-packages team mailing list archive

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

 

It doesn't disappear anymore, but turning bluetooth off using the
indicator only brings down the interface (hci0 on my PC) and it doesn't
actually power off the adapter (according to rfkill). Is that the
desired behavior?

-- 
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