One thing to mention: these 5 second polls only happen when bluetooth is
disabled via bluetooth applet. If it is disabled via rfkill switch
(which also disables wifi, and is not what I want), this polling does
not happen.

What does this code mean?

       res1 = acpi_evaluate_integer(handle, "BTST", NULL, &result);
        if (ACPI_FAILURE(res1))
                return res1;
        printk(KERN_INFO "toshiba_bluetooth: BTST result = 0x%08x\n", result);
        if (!(result & 0x01))
                return 0;

Does it test if the rfkill switch is on/off?
This may explain why the polling is not executed when disabled by switch. Then 
there is a second test missing, which tests if bluetooth is disabled by applet.

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

Title:
  toshiba_bluetooth re-enables every 5 secs even though BlueTooth is set
  to off in the Ubuntu BT menu Icon

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to