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

2012-03-21 Thread Jesse Sung
Hi Mathieu, Sorry, didn't notice that it's deprecated. An updated patch is attached. And yes, please sponsor these patches, thank you. :) ** Patch added: "updated patch" https://bugs.launchpad.net/ubuntu/precise/+source/bluez/+bug/907818/+attachment/2908563/+files/11-explicitly_close.patch

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

2012-03-16 Thread Jesse Sung
This patch is not mandatory for this issue, but it fixes an error message when RFKILL switch is turned off: bluetoothd[5416]: sap/manager.c:sap_server_probe() path /org/bluez/5416/hci0 bluetoothd[5416]: sap-dummy interface org.bluez.SimAccessTest init failed on path /org/bluez/test bluetoothd[541

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

2012-03-16 Thread Jesse Sung
Patched bluez and gnome-bluetooth packages can be found at http://people.canonical.com/~jesse/lp907818/ Please give them a try to see if this issue is gone, and also make sure that they do not break anything on other platforms. :) Thank you. -- You received this bug notification because you are

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

2012-03-16 Thread Jesse Sung
On certain devices, module would be powered off after RFKILL enabled. When RFKILL is disabled again, update_menu_items() would be called with has_powered_adapter set to TRUE, but the bluetooth_applet_get_killswitch_state() still thinks RFKILL is in a blocked state and refuses to enable full men

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

2012-03-16 Thread Jesse Sung
This patch is for bluetoothd[5416]: audio/manager.c:gateway_server_init() audio.conf: Key file does not have key 'Master' bluetoothd[5416]: rfcomm_bind: Address already in use (98) bluetoothd[5416]: audio-gateway: Operation not permitted (1) ** Patch added: "patch for bluez" https://bugs.lau