[Bug 1004830] New: gnome tells me I have no bluetooth adapter when I have bluetooth devices connected
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830 Bug ID: 1004830 Summary: gnome tells me I have no bluetooth adapter when I have bluetooth devices connected Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.2 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: GNOME Assignee: bnc-team-gnome@forge.provo.novell.com Reporter: msuchanek@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- I tried connecting bluetooth headphones to PC. After some fiddling I found that I have to - install pulseaudio BT module - restart pulseaudio (if running) - install firmware for dongle - insert dongle - bring hci0 interface up with hciconfig - connect device with bluetoothctl - switch pulseaudio sink to headphones In spite of this gnome-control-center bluetooth applet tells me I have no bluetooth hardware whatsoever (not even a dongle). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830#c1
Dominique Leuenberger
gnome-control-center -v bluetooth
and paste the output here (with the dongle connectedl the entire bluetoothctl and hciconfig stuff should not be needed: GNOME should handle that when it manages to find the hardware) As for - install pulseaudio BT module This module is recommended by the GNOME Basis pattern already; a default GNOME install should get this -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830#c2
Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830#c3
Michal Suchanek
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830#c4
Michal Suchanek
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830#c5
Sebastian Parschauer
Bus 003 Device 010: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
$ hciconfig -a hci0 hci0: Type: Primary Bus: USB BD Address: 00:11:B1:07:A3:62 ACL MTU: 192:8 SCO MTU: 64:8 UP RUNNING RX bytes:600 acl:0 sco:0 events:39 errors:0 TX bytes:425 acl:0 sco:0 commands:37 errors:0 Features: 0xff 0xff 0x8f 0xf8 0x18 0x18 0x00 0x80 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH HOLD SNIFF PARK Link mode: SLAVE ACCEPT Name: 'myhostname' Class: 0x1c0104 Service Classes: Rendering, Capturing, Object Transfer Device Class: Computer, Desktop workstation HCI Version: 1.2 (0x2) Revision: 0x639 LMP Version: 1.2 (0x2) Subversion: 0x639 Manufacturer: Cambridge Silicon Radio (10) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830#c6
--- Comment #6 from Sebastian Parschauer
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830#c7
Sebastian Parschauer
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830#c8
Michal Suchanek
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830#c9
--- Comment #9 from Sebastian Parschauer
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830#c10
--- Comment #10 from Dominique Leuenberger
It also works with blueman for me. A workaround might be installing and using that one. It uses the BlueZ API. Especially if you don't run GNOME, then this should work fine for you.
But as all other tools work properly, this is a GNOME bug and should be fixed.
huh? GNOME control center is the control center for GNOME. The desktop file for gnome-control-center contains: OnlyShowIn=GNOME;Unity; Not running inside GNOME, there is really no reason one would believe it would work without having its infrastructure around -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830#c11
--- Comment #11 from Michal Suchanek
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830#c12
Dominique Leuenberger
If it needs a service to run it should start it.
Clearly it does not need the gnome-shell/unity running to display.
Nobody is going to fix it - the .desktop file says g-c-c needs GNOME (or Unity) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830#c13
Sebastian Parschauer
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830#c14
Dominique Leuenberger
I'm running GNOME and it is broken for me. So reopening.
ok - your issue is valid then; sorry
I've even located the bug in panels/bluetooth/cc-bluetooth-panel.c:
145 if (self->priv->has_airplane_mode == FALSE) { 146 g_debug ("No Bluetooth available"); 147 sensitive = FALSE; 148 powered = FALSE; 149 page = BLUETOOTH_NO_DEVICES_PAGE; ... 166 } else { 167 g_debug ("Bluetooth is available and powered"); 168 sensitive = TRUE; 169 powered = TRUE; 170 page = BLUETOOTH_WORKING_PAGE; 171 }
As my workstation has no airplane mode, this will always show no devices for me.
airplane mode can be a physical switch or a software switch and is calculated like: v = g_dbus_proxy_get_cached_property (self->priv->rfkill, "BluetoothHasAirplaneMode"); self->priv->has_airplane_mode = g_variant_get_boolean (v); rfkill info comes from /dev/rfkill and can be inspected using the rfkill tool (sudo zypper in rfkill, sudo rfkill list) Anything special in the BT entry? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830#c15
--- Comment #15 from Sebastian Parschauer
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830#c16
--- Comment #16 from Dominique Leuenberger
$ sudo rfkill list 5: hci0: Bluetooth Soft blocked: no Hard blocked: no
Looks normal... what about: gdbus introspect --session --dest org.gnome.SettingsDaemon.Rfkill --object-path /org/gnome/SettingsDaemon/Rfkill --only-properties -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830#c17
--- Comment #17 from Sebastian Parschauer
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830#c18
--- Comment #18 from Dominique Leuenberger
$ gdbus introspect --session --dest org.gnome.SettingsDaemon.Rfkill --object-path /org/gnome/SettingsDaemon/Rfkill --only-properties node /org/gnome/SettingsDaemon/Rfkill { @org.freedesktop.DBus.GLib.CSymbol("gsd_rfkill_manager") interface org.gnome.SettingsDaemon.Rfkill { properties: readwrite b AirplaneMode = false; readonly b HardwareAirplaneMode = false; readonly b HasAirplaneMode = false; readonly b ShouldShowAirplaneMode = false; readwrite b BluetoothAirplaneMode = false; readonly b BluetoothHardwareAirplaneMode = false; readonly b BluetoothHasAirplaneMode = false;
Interesting - that is likely gnome-settings-daemon to mis-represent the BT adapters rfkill capability here -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830#c19
--- Comment #19 from Michal Suchanek
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830#c20
--- Comment #20 from Michal Suchanek
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830#c21
--- Comment #21 from Dominique Leuenberger
gdbus introspect --session --dest org.gnome.SettingsDaemon.Rfkill --object-path /org/gnome/SettingsDaemon/Rfkill --only-properties Error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SettingsDaemon.Rfkill was not provided by any .service files
you don't run a GNOME session - there is no GNOME settings daemon running. Let's not pollute this bug further with this, shall we? I'd like to focus on the people having a valid problem -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830#c22
--- Comment #22 from Michal Suchanek
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830#c23
Sebastian Parschauer
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830#c24
--- Comment #24 from Sebastian Parschauer
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830#c25
--- Comment #25 from Sebastian Parschauer
http://bugzilla.opensuse.org/show_bug.cgi?id=1004830
Dominique Leuenberger
participants (1)
-
bugzilla_noreply@novell.com