switchboard-plug-bluetooth icon indicating copy to clipboard operation
switchboard-plug-bluetooth copied to clipboard

Second user unable to disable bluetooth

Open ayoungethan opened this issue 3 years ago • 1 comments

What Happened?

User B is unable to disable bluetooth if User A is already logged in with bluetooth active. Dmesg spammed with "Bluetooth: hci0: MSFT filter_enable is already on" as accounts fight for control over bluetooth (https://github.com/elementary/switchboard-plug-bluetooth/issues/177)? Is there a way to give all users permissions to access all bluetooth devices?

Steps to Reproduce

  1. Log into one user account
  2. Log into another user account
  3. Try to disable bluetooth in the second account
  4. Watch the bluetooth indicator struggle and toggle back and forth as the accounts fight for bluetooth control!

Expected Behavior

  1. Log into one user account
  2. Log into second user account
  3. Disable bluetooth in second user account
  4. Bluetooth is disabled for that user's session until they re-enable it, without affecting the first user's session (which is currently paused)

OS Version

6.x (Odin)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

No response

ayoungethan avatar Mar 03 '22 02:03 ayoungethan

$ fuser /dev/rfkill 
/dev/rfkill:          3324  3489
$ ps aux | grep 3324
ayounge+    1262  0.0  0.0 168812  3324 ?        S    12:20   0:00 (sd-pam)
ayounge+    3324  0.0  0.0 494992  6092 ?        Sl   12:21   0:00 /usr/libexec/gsd-rfkill
ayounge+   11356  0.0  0.0  46932   724 pts/0    S+   14:01   0:00 grep --color=auto 3324
$ ps aux | grep 3489
ayounge+    3489  0.0  0.2 1402472 65312 ?       Sl   12:21   0:01 io.elementary.wingpanel
ayounge+   11365  0.0  0.0  46932  2672 pts/0    S+   14:01   0:00 grep --color=auto 3489

ayoungethan avatar Mar 31 '22 20:03 ayoungethan