Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
alexkOffline
15 Post subject: Lost bluetooth on recent upgrade (Solved)  PostPosted: 03.08.2014, 21:32



Joined: 2010-10-01
Posts: 192

Status: Offline
I lost all Bluetooth functions after an upgrade around two weeks ago. Further upgrades haven't brought it back. I can't connect to any bluetooth device. Bluetooth Manager won't even launch and no bluez-tools function:
      Code:
# bt-adapter -l
bt-adapter: bluez service is not found
Did you forget to run bluetoothd?

# bt-device -l
bt-device: bluez service is not found
Did you forget to run bluetoothd?

# ps aux | grep -i blu
root /usr/lib/bluetooth/bluetoothd
alex /usr/lib/bluetooth/obexd
alex /usr/bin/bluedevil-monolithic
alex /usr/bin/python /usr/bin/blueman-applet
maureen /usr/lib/bluetooth/obexd
maureen /usr/bin/bluedevil-monolithic
maureen /usr/bin/python /usr/bin/blueman-applet

# hcitool dev
Devices:
        hci0    00:02:72:24:12:F8

dmesg:
usb 3-1.5: new full-speed USB device number 7 using ehci-pci
usb 3-1.5: New USB device found, idVendor=0a5c, idProduct=2198
usb 3-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 3-1.5: Product: Broadcom Bluetooth 3.0 Device
usb 3-1.5: Manufacturer: Broadcom Corp
usb 3-1.5: SerialNumber: 0002722412F8
Switched to clocksource tsc
...
Bluetooth: Core ver 2.16
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
...
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: BNEP socket layer initialized
...
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11

# lsusb | grep -i blu
Bus 003 Device 007: ID 0a5c:2198 Broadcom Corp. Bluetooth 3.0 Device

# dpkg -l '*blue*' | grep ii
ii  bluedevil                   2.0~rc1-2                  amd64        KDE Bluetooth stack
ii  blueman                     1.23-git201406261335-deb-1 amd64        Graphical bluetooth manager
ii  bluetooth                   5.21-2                     all          Bluetooth support
ii  bluez                       5.21-2                     amd64        Bluetooth tools and daemons
ii  bluez-alsa:amd64            4.101-4.1                  amd64        Bluetooth ALSA support
ii  bluez-compat                4.101-4.1                  amd64        BlueZ 3.x compatibility binaries
ii  bluez-firmware              1.2-3                      all          Firmware for Bluetooth devices
ii  bluez-gstreamer             4.101-4.1                  amd64        Bluetooth GStreamer support
ii  bluez-hcidump               5.21-2                     amd64        Analyses Bluetooth HCI packets
ii  bluez-obexd                 5.21-2                     amd64        bluez obex daemon
ii  bluez-test-scripts          5.21-2                     all          BlueZ test scripts
ii  bluez-tools                 0.1.38+git662e-3           amd64        Set of tools to manage Bluetooth devices for linux
ii  libbluedevil2:amd64         2.0~rc1-2                  amd64        Qt wrapper for bluez
ii  libbluetooth3:amd64         5.21-2                     amd64        Library to use the BlueZ Linux Bluetooth stack
ii  **removed**-skin-blue           1.6-2                      all          blue skin for **removed**
ii  pulseaudio-module-bluetooth 5.0-4                      amd64        Bluetooth module for PulseAudio sound server
ii  python-bluez                0.20-1                     amd64        Python wrappers around BlueZ for rapid bluetooth development

$ blueman-manager
Loading configuration plugins
Using gconf config backend
_________
Load (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:54)
['Services', 'PulseAudioProfile']
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:127)
loading <class>
_________
__load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:127)
loading <class>
_________
pa_context_event (/usr/lib/python2.7/dist-packages/blueman/main/PulseAudioUtils.py:306)
1
blueman-manager version 1.23 starting
_________
pa_context_event (/usr/lib/python2.7/dist-packages/blueman/main/PulseAudioUtils.py:306)
2
_________
on_bluez_name_owner_changed (/usr/bin/blueman-manager:112)
org.bluez owner changed to  :1.3
Using gconf config backend
_________
SetAdapter (/usr/lib/python2.7/dist-packages/blueman/gui/DeviceList.py:276)
None
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 604, in msg_reply_handler
    reply_handler(*message.get_args_list(**get_args_opts))
  File "/usr/bin/blueman-manager", line 163, in on_bluez_name_owner_changed
    self.List = ManagerDeviceList(adapter=self.Config.props.last_adapter, inst=self)
  File "/usr/lib/python2.7/dist-packages/blueman/gui/manager/ManagerDeviceList.py", line 71, in __init__
    DeviceList.__init__(self, adapter, data)
  File "/usr/lib/python2.7/dist-packages/blueman/gui/DeviceList.py", line 108, in __init__
    self.SetAdapter(adapter)
  File "/usr/lib/python2.7/dist-packages/blueman/gui/DeviceList.py", line 307, in SetAdapter
    except dbus.DBusServiceUnknownError:
NameError: global name 'dbus' is not defined
_________                                                                                                                             
pa_context_event (/usr/lib/python2.7/dist-packages/blueman/main/PulseAudioUtils.py:306)                                               
3                                                                                                                                     
_________                                                                                                                             
pa_context_event (/usr/lib/python2.7/dist-packages/blueman/main/PulseAudioUtils.py:306)                                               
4                                                                                                                                     
_________                                                                                                                             
on_pa_ready (/usr/lib/python2.7/dist-packages/blueman/plugins/manager/PulseAudioProfile.py:27)                                       
connected                                                                                                                             
_________
<lambda> (/usr/lib/python2.7/dist-packages/blueman/main/PulseAudioUtils.py:318)
1
^CTraceback (most recent call last):
  File "/usr/bin/blueman-manager", line 299, in <module>
    Blueman()
  File "/usr/bin/blueman-manager", line 188, in __init__
    gtk.main()
KeyboardInterrupt

# infobash -v3
Host/Kernel/OS  "MSAK1" running Linux 3.11-4.slh.4-aptosid-amd64 x86_64 [ sidux 2009-02 Αιθήρ - kde-full - (200907141427) ]
CPU Info        4x Intel Core i5-2500K @ 6144 KB cache flags( sse3 ht nx lm vmx ) clocked at [ 2739.000 MHz ]
Videocard       Intel 2nd Generation Core Processor Family Integrated Graphics Controller     [  ]
Network cards   Intel 82579V Gigabit
                ATHEROS USB2.0 WLAN
Processes 280 | Uptime 6:30 | Memory 3544.0/15963.2MB | HDD WDC WD3200AAKS-0 Size 320GB (44%used) | Client Shell | Infobash v3.47


I'm running an older kernel (3.11-4.slh.4-aptosid-amd64) because I've been unable to connect to the web with recent 3.15 kernels.


Last edited by alexk on 03.09.2014, 02:55; edited 1 time in total
 
 View user's profile Send private message Yahoo Messenger  
Reply with quote Back to top
slhOffline
Post subject: RE: Lost bluetooth on recent upgrade  PostPosted: 05.08.2014, 01:04



Joined: 2010-08-25
Posts: 760

Status: Offline
Does "hcitool scan" find the device you want to connect to? Despite your problems with newer kernels, it's pretty important to cross-check with the current one - while it should not have direct impact on bluez, mixing up with old packages may introduce further problems.
 
 View user's profile Send private message  
Reply with quote Back to top
alexkOffline
Post subject: RE: Lost bluetooth on recent upgrade  PostPosted: 09.08.2014, 12:23



Joined: 2010-10-01
Posts: 192

Status: Offline
hcitool scan doesn't find any devices, also with the newest 3.16-0.slh.2-aptosid-amd64 kernel. Bluetooth Manager now launches but I'm still unable to connect to any bluetooth devices, same with Bluedevil and all bluez-tools complain "bluez service is not found" when bluetoothd is running.
      Code:
/usr/share/doc/bluez-test-scripts/examples$ ./test-adapter list
 [ /org/bluez/hci0 ]
    Name = MSAK1
    Powered = 1
    Modalias = usb:v1D6Bp0246d0515
    DiscoverableTimeout = 0
    Alias = AK1-0
    PairableTimeout = 0
    Discoverable = 1
    Address = 00:02:72:24:12:F8
    Discovering = 0
    Pairable = 1
    Class = 0x1c0104
    UUIDs = dbus.Array([dbus.String(u'00001200-0000-1000-8000-00805f9b34fb'), dbus.String(u'00001800-0000-1000-8000-00805f9b34fb'), dbus.String(u'00001801-0000-1000-8000-00805f9b34fb'), dbus.String(u'0000110e-0000-1000-8000-00805f9b34fb'), dbus.String(u'0000110c-0000-1000-8000-00805f9b34fb'), dbus.String(u'00001133-0000-1000-8000-00805f9b34fb'), dbus.String(u'00001132-0000-1000-8000-00805f9b34fb'), dbus.String(u'0000112f-0000-1000-8000-00805f9b34fb'), dbus.String(u'00001104-0000-1000-8000-00805f9b34fb'), dbus.String(u'00001106-0000-1000-8000-00805f9b34fb'), dbus.String(u'00001105-0000-1000-8000-00805f9b34fb'), dbus.String(u'00005005-0000-1000-8000-0002ee000001'), dbus.String(u'0000110a-0000-1000-8000-00805f9b34fb'), dbus.String(u'0000110b-0000-1000-8000-00805f9b34fb')], signature=dbus.Signature('s'), variant_level=1)
 
 View user's profile Send private message Yahoo Messenger  
Reply with quote Back to top
alexkOffline
Post subject: RE: Lost bluetooth on recent upgrade  PostPosted: 15.08.2014, 19:44



Joined: 2010-10-01
Posts: 192

Status: Offline
This error message pops up sporadically in KDE:
      Code:
Failed to apply network settings

org.freedesktop.DBus.Error.Spawn.ChildSignaled: Process org.blueman.Mechanism received signal 5

You might not be able to connect to the Bluetooth network via this machine
 
 View user's profile Send private message Yahoo Messenger  
Reply with quote Back to top
jheaton5Offline
Post subject: RE: Lost bluetooth on recent upgrade  PostPosted: 16.08.2014, 17:41



Joined: 2010-09-18
Posts: 34

Status: Offline
apt-listbugs has been reporting a bug for bluez for several days.
 
 View user's profile Send private message  
Reply with quote Back to top
alexkOffline
Post subject: RE: Lost bluetooth on recent upgrade  PostPosted: 03.09.2014, 02:54



Joined: 2010-10-01
Posts: 192

Status: Offline
Bluetooth is working again after a few dist-upgrades, except for bluez-tools, which still give the same "bluez service is not found" error. "hcitool scan" and "hcitool inq" only pick up one cell phone and not 4 other local bluetooth devices (a headset, speaker, tablet and cordless phone) but I'm able to connect to at least 3 devices. I'm still unable to connect to a bluetooth cordless phone that I used to be able to connect to as a headset device.
      Code:
$ hcitool con
Connections:
        < ACL 02:00:01:00:02:00 handle 11 state 1 lm MASTER AUTH ENCRYPT
$ hcitool inq
Inquiring ...
        8C:54:1D:19:9D:8F       clock offset: 0x2ffd    class: 0x5a0204
 
 View user's profile Send private message Yahoo Messenger  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio