nixpkgs icon indicating copy to clipboard operation
nixpkgs copied to clipboard

Bluetooth fails to connect after resume

Open ivanovsaleksejs opened this issue 8 years ago • 5 comments

Issue description

After suspend-resume I'm trying to connect via blueman-manager but I'm getting an error:

fail org.freedesktop.DBus.Python.blueman.bluez.errors.DBusFailedError: DBusFailedError: Resource temporarily unavailable
 
/nix/store/39x33f2aw9jp5387wighw6z7790xzxjy-blueman-2.0.4/lib/python2.7/site-packages/blueman/gui/manager/ManagerProgressbar.py:165: Warning: Source ID 403 was not found when attempting to remove it
  GObject.source_remove(self.gsource)

After I run systemctl restart bluetooth I can connect again.

Steps to reproduce

  1. Enable bluetooth;
  2. Suspend and resume;
  3. Try to connect.

Technical details

  • system: "x86_64-linux"
  • host os: Linux 4.14.44, NixOS, 18.03.132645.43c77db3aa5 (Impala)
  • multi-user?: yes
  • sandbox: no
  • version: nix-env (Nix) 2.0.4
  • channels(root): "nixos-18.03.132645.43c77db3aa5"
  • channels(aleksejs): ""
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs

ivanovsaleksejs avatar Jun 13 '18 05:06 ivanovsaleksejs

Likely this bug, that I just ran into as well: https://bugzilla.redhat.com/show_bug.cgi?id=1534857

An upstream patch for this issue exists, and should probably be applied to our bluez.

joepie91 avatar Jun 22 '18 13:06 joepie91

See https://github.com/NixOS/nixpkgs/pull/45901. This problem is fixed with bluez-5.50

jraygauthier avatar Sep 01 '18 17:09 jraygauthier

Problem no longer occurs for me in 18.09.

joepie91 avatar Nov 18 '18 09:11 joepie91

@ivanovsaleksejs can you please check if this is still an issue for you? If not could you please close the issue? Thanks!

thorstenweber83 avatar Oct 17 '19 10:10 thorstenweber83

The problem does not appear anymore.

ivanovsaleksejs avatar Oct 17 '19 11:10 ivanovsaleksejs