[Bug 907818] Re: Bluetooth is not fully re-initialized when rfkill switch is toggled

James M. Leddy 907818 at bugs.launchpad.net
Thu Dec 22 16:13:23 UTC 2011


Workaround
==========

61-rfkill-nm-disable-enable.rules
==========================

#the rfkill device number for wifi is inconsistent between platforms * is used
KERNEL!="rfkill*", GOTO="rfkill_nm_disable_enable_end"
ACTION!="change", GOTO="rfkill_nm_disable_enable_end"
#only switch once on wlan event to avoid doubling in the case of bluetooth event, related to rfkill switch
ENV{RFKILL_STATE}=="1" ENV{RFKILL_TYPE}=="wlan" RUN+="nm-disable-enable"
LABEL="rfkill_nm_disable_enable_end"

nm-disable-enable
===============
#!/bin/sh
service bluetooth restart

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

Title:
  Bluetooth is not fully re-initialized when rfkill switch is toggled

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



More information about the Ubuntu-bluetooth mailing list