Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

bluetooth dongle running but blueman wont find it

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
melg2019
Posts: 3
Joined: 2019-02-04 20:10

bluetooth dongle running but blueman wont find it

#1 Post by melg2019 »

Hi again. I've put code tags in

Im trying to use a bluetooth usb dngle which is advertised as suitable for raspberry pi. The dongle is recognised by the computer but will not work with bluez and blueman

Dongle
Bluegiga BLED112 usb bluetooth dongle running factory default “usbcdc” firmware

computer
Packard Bell EasyNote TK36/SJV52_MV, BIOS V1.13 04/26/2011
debian buster kernel 4.19.0-1. LXDE

I have the exact same experience on an Asus x550ca running Stretch kernel 4.9 LXDE

I've installed the non free firmware bundle which contains drivers for the Intel 8051 chip in the dongle.

I have followed advice from loads of forums and tried both workarounds in the debian bluetooth wiki,
all without success

The computer finds dongle. Dongle has own bluetooth stack. Will run Jeff Rowberg's python scanner script on github as root. See terminal output below

But blueman wont find the dongle.
It says bluez wont start, please insert a dongle

Ive tried stopping and restarting Pulseaudio and bluetoothd, no luck

This is a link to the mfrs guide to using dongle with a raspberry pi
https://docs-emea.rs-online.com/webdocs ... 2eb651.pdf

My questions:
Is the problem with blueman because the dongle is busy with its built in software?

what do I have to do to make blueman recognise it?

Can I ever expect the dongle to work with a bluetooth speaker?


Here's terminal infos:

Code: Select all

root@debian:/home/mel# service bluetooth start
root@debian:/home/mel# service bluetooth status
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset
   Active: inactive (dead)
     Docs: man:bluetoothd(8)


mel@debian:~$ sudo blueman-manager
[sudo] password for mel: 
_________
Load (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:60)
['Services', 'PulseAudioProfile'] 
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.manager.Services.Services'> 
_________
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading <class 'blueman.plugins.manager.PulseAudioProfile.PulseAudioProfile'> 
_________
pa_context_event (/usr/lib/python3/dist-packages/blueman/main/PulseAudioUtils.py:341)
1 
/usr/bin/blueman-manager:67: DeprecationWarning: Gtk.Window.get_has_resize_grip is deprecated
  if self.window.get_has_resize_grip():
blueman-manager version 2.0.6 starting
_________
pa_context_event (/usr/lib/python3/dist-packages/blueman/main/PulseAudioUtils.py:341)
2 
_________
on_bluez_name_owner_changed (/usr/bin/blueman-manager:96)
org.bluez owner changed to   
/usr/bin/blueman-manager:100: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "parent" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  d = Gtk.MessageDialog(self.window, type=Gtk.MessageType.ERROR, buttons=Gtk.ButtonsType.CLOSE)
/usr/bin/blueman-manager:100: PyGTKDeprecationWarning: The keyword(s) "type" have been deprecated in favor of "message_type" respectively. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  d = Gtk.MessageDialog(self.window, type=Gtk.MessageType.ERROR, buttons=Gtk.ButtonsType.CLOSE)
_________
pa_context_event (/usr/lib/python3/dist-packages/blueman/main/PulseAudioUtils.py:341)
3 
_________
pa_context_event (/usr/lib/python3/dist-packages/blueman/main/PulseAudioUtils.py:341)
4 
_________
on_pa_ready (/usr/lib/python3/dist-packages/blueman/plugins/manager/PulseAudioProfile.py:29)
connected 
_________
<lambda> (/usr/lib/python3/dist-packages/blueman/main/PulseAudioUtils.py:353)
1 

Code: Select all

root@debian:/home/mel# lsusb
Bus 003 Device 003: ID 064e:a219 Suyin Corp. 1.3M WebCam (notebook emachines E730, Acer sub-brand)
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 2458:0001  [This is the dongle]
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub



root@debian:/home/mel# lsmod
Module                  Size  Used by
ctr                    16384  6
ccm                    20480  9
fuse                   90112  5
appletalk              28672  0
psnap                  16384  1 appletalk
llc                    16384  1 psnap
ax25                   49152  0
acer_wmi               20480  0
wmi_bmof               16384  0
mxm_wmi                16384  0
sparse_keymap          16384  1 acer_wmi
uvcvideo               81920  0
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_v4l2         20480  1 uvcvideo
videobuf2_common       36864  2 uvcvideo,videobuf2_v4l2
videodev              135168  3 uvcvideo,videobuf2_common,videobuf2_v4l2
evdev                  20480  14
media                  28672  2 uvcvideo,videodev
coretemp               16384  0
joydev                 20480  0
serio_raw              16384  0
pcspkr                 16384  0
cdc_acm                28672  0 [this is the driver]


root@debian:/home/mel# ls /dev/ttyA*
/dev/ttyACM0 


mel@debian:~$ sudo dmesg | grep ttyACM
[   11.888558] cdc_acm 5-2:1.0: ttyACM0: USB ACM device

mel@debian:~$ sudo dmesg |grep -i blue
[    3.694228] usb 5-2: Manufacturer: Bluegiga


root@debian:/home/mel# hcitool scan
Device is not available: No such device
This is the scanner script help from github

Code: Select all

mel@debian:~$ sudo ./bled112_scanner.py -h
[sudo] password for mel: 
Usage: bled112_scanner.py [options]

Bluetooth Smart Scanner script for Bluegiga BLED112 v2013-03-30

Options:
  -h, --help            show this help message and exit

  Serial Port Options:
    -p PORT, --port=PORT
                        Serial port device name (default /dev/ttyACM0)
    -b BAUD, --baud=BAUD
                        Serial port baud rate (default 115200)

  Scan Options:
    -i INTERVAL, --interval=INTERVAL
                        Scan interval width in units of 0.625ms (default 200)
    -w WINDOW, --window=WINDOW
                        Scan window width in units of 0.625ms (default 200)
    -a, --active        Perform active scan (default passive)
                        NOTE: active scans result in a 'scan response' request
                        being sent to the slave device, which should send a
                        follow-up scan response packet. This will result in
                        increased power consumption on the slave device.

  Filter Options:
    -u UUID, --uuid=UUID
                        Service UUID(s) to match
    -m ADDRESS, --mac=ADDRESS
                        MAC address(es) to match
    -r RSSI, --rssi=RSSI
                        RSSI minimum filter (-110 to -20), omit to disable

  Output Options:
    -q, --quiet         Quiet mode (suppress initial scan parameter display)
    -f, --friendly      Friendly mode (output in human-readable format)
    -d FIELDS, --display=FIELDS
                        Display fields and order (default 'trpsabd')
                          t = Unix time, with milliseconds
                          r = RSSI measurement (signed integer)
                          p = Packet type (0 = normal, 4 = scan response)
                          s = Sender MAC address (hexadecimal)
                          a = Address type (0 = public, 1 = random)
                          b = Bonding status (255 = no bond, else bond handle)
                          d = Advertisement data payload (hexadecimal)
Examples:

    bled112_scanner.py

	Default options, passive scan, display all devices

    bled112_scanner.py -p /dev/ttyUSB0 -d sd

	Use ttyUSB0, display only sender MAC address and ad data payload

    bled112_scanner.py -u 1809 -u 180D

	Display only devices advertising Health Thermometer service (0x1809)
	or the Heart Rate service (0x180D)

    bled112_scanner.py -m 00:07:80 -m 08:57:82:bb:27:37

	Display only devices with a Bluetooth address (MAC) starting with the
	Bluegiga OUI (00:07:80), or exactly matching 08:57:82:bb:27:37

Sample Output Explanation:

    1364699494.574 -57 0 000780814494 0 255 02010603030918

    't' (Unix time):	1364699464.574, 1364699591.128, etc.
    'r' (RSSI value):	-57, -80, -92, etc.
    'p' (Packet type):	0 (advertisement), 4 (scan response)
    's' (Sender MAC):	000780535BB4, 000780814494, etc.
    'a' (Address type):	0 (public), 1 (random)
    'b' (Bond status):	255 (no bond), 0 to 15 if bonded
    'd' (Data payload):	02010603030918, etc.
            See BT4.0 Core Spec for details about ad packet format

This is the scanner script when run as user

Code: Select all

mel@debian:~$ ./bled112_scanner.py
================================================================
BLED112 Scanner for Python v2013-04-07
================================================================
Serial port:	/dev/ttyACM0
Baud rate:	115200
Scan interval:	200 (250.00 ms)
Scan window:	200 (250.00 ms)
Scan type:	Passive
UUID filters:	None
MAC filter(s):	None
RSSI filter:	None
Display fields:	- Time
		- RSSI
		- Packet type
		- Sender MAC
		- Address type
		- Bond status
		- Payload data
Friendly mode:	Disabled
----------------------------------------------------------------
Starting scan for BLE advertisements...

================================================================
Port error (name='/dev/ttyACM0', baud='115200'): [Errno 13] could not open port /dev/ttyACM0: [Errno 13] Permission denied: '/dev/ttyACM0'
================================================================
This is the scanner script run as root

Code: Select all

mel@debian:~$ sudo ./bled112_scanner.py
[sudo] password for mel: 
================================================================
BLED112 Scanner for Python v2013-04-07
================================================================
Serial port:	/dev/ttyACM0
Baud rate:	115200
Scan interval:	200 (250.00 ms)
Scan window:	200 (250.00 ms)
Scan type:	Passive
UUID filters:	None
MAC filter(s):	None
RSSI filter:	None
Display fields:	- Time
		- RSSI
		- Packet type
		- Sender MAC
		- Address type
		- Bond status
		- Payload data
Friendly mode:	Disabled
----------------------------------------------------------------
Starting scan for BLE advertisements...
1549311330.520 -85 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311330.685 -88 0 68366914D00E 1 255 02011A0AFF4C00100503182D7EAA
1549311330.698 -88 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311330.883 -85 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311330.957 -84 0 68366914D00E 1 255 02011A0AFF4C00100503182D7EAA
1549311331.062 -90 0 6EB7D37D526F 1 255 02011A0AFF4C0010050718A03A3E
1549311331.227 -84 0 68366914D00E 1 255 02011A0AFF4C00100503182D7EAA
1549311331.250 -85 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311331.333 -91 0 6EB7D37D526F 1 255 02011A0AFF4C0010050718A03A3E
1549311331.427 -87 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311331.499 -91 0 68366914D00E 1 255 02011A0AFF4C00100503182D7EAA
1549311331.612 -85 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311331.787 -87 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311331.975 -85 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311332.038 -84 0 68366914D00E 1 255 02011A0AFF4C00100503182D7EAA
1549311332.163 -87 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311332.315 -91 0 68366914D00E 1 255 02011A0AFF4C00100503182D7EAA
1549311332.347 -85 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311332.531 -87 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311332.584 -91 0 68366914D00E 1 255 02011A0AFF4C00100503182D7EAA
1549311332.717 -85 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311332.862 -88 0 68366914D00E 1 255 02011A0AFF4C00100503182D7EAA
1549311332.904 -87 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311333.089 -85 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311333.131 -84 0 68366914D00E 1 255 02011A0AFF4C00100503182D7EAA
1549311333.273 -86 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311333.397 -91 0 68366914D00E 1 255 02011A0AFF4C00100503182D7EAA
1549311333.458 -85 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311333.633 -86 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311333.666 -92 0 68366914D00E 1 255 02011A0AFF4C00100503182D7EAA
1549311333.779 -93 0 6EB7D37D526F 1 255 02011A0AFF4C0010050718A03A3E
1549311333.814 -85 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311333.917 -90 0 6EB7D37D526F 1 255 02011A0AFF4C0010050718A03A3E
1549311333.948 -87 0 68366914D00E 1 255 02011A0AFF4C00100503182D7EAA
1549311334.000 -86 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311334.183 -85 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311334.216 -84 0 68366914D00E 1 255 02011A0AFF4C00100503182D7EAA
1549311334.369 -86 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311334.461 -93 0 6EB7D37D526F 1 255 02011A0AFF4C0010050718A03A3E
1549311334.485 -91 0 68366914D00E 1 255 02011A0AFF4C00100503182D7EAA
1549311334.557 -85 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311334.733 -91 0 6EB7D37D526F 1 255 02011A0AFF4C0010050718A03A3E
1549311334.734 -86 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311334.757 -88 0 68366914D00E 1 255 02011A0AFF4C00100503182D7EAA
1549311334.920 -85 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311335.024 -88 0 68366914D00E 1 255 02011A0AFF4C00100503182D7EAA
1549311335.108 -87 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311335.293 -85 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311335.294 -85 0 68366914D00E 1 255 02011A0AFF4C00100503182D7EAA
1549311335.469 -87 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311335.663 -85 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311335.818 -91 0 6EB7D37D526F 1 255 02011A0AFF4C0010050718A03A3E
1549311335.842 -88 0 68366914D00E 1 255 02011A0AFF4C00100503182D7EAA
1549311335.843 -87 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311336.027 -85 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311336.111 -84 0 68366914D00E 1 255 02011A0AFF4C00100503182D7EAA
1549311336.214 -85 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311336.376 -84 0 68366914D00E 1 255 02011A0AFF4C00100503182D7EAA
1549311336.398 -85 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311336.582 -85 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311336.635 -92 0 6EB7D37D526F 1 255 02011A0AFF4C0010050718A03A3E
1549311336.657 -89 0 68366914D00E 1 255 02011A0AFF4C00100503182D7EAA
1549311336.769 -82 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311336.907 -93 0 6EB7D37D526F 1 255 02011A0AFF4C0010050718A03A3E
1549311336.921 -86 0 68366914D00E 1 255 02011A0AFF4C00100503182D7EAA
1549311336.942 -86 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311337.126 -83 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311337.190 -84 0 68366914D00E 1 255 02011A0AFF4C00100503182D7EAA
1549311337.313 -85 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311337.447 -92 0 6EB7D37D526F 1 255 02011A0AFF4C0010050718A03A3E
1549311337.471 -89 0 68366914D00E 1 255 02011A0AFF4C00100503182D7EAA
1549311337.493 -83 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311337.676 -85 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
 1549311337.741 -89 0 68366914D00E 1 255 02011A0AFF4C00100503182D7EAA
1549311337.853 -82 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311337.995 -93 0 6EB7D37D526F 1 255 02011A0AFF4C0010050718A03A3E
1549311338.017 -87 0 68366914D00E 1 255 02011A0AFF4C00100503182D7EAA
1549311338.038 -85 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311338.221 -82 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311338.283 -85 0 68366914D00E 1 255 02011A0AFF4C00100503182D7EAA
1549311338.407 -85 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311338.560 -88 0 68366914D00E 1 255 02011A0AFF4C00100503182D7EAA
1549311338.585 -82 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311338.779 -85 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311338.832 -87 0 68366914D00E 1 255 02011A0AFF4C00100503182D7EAA
1549311338.955 -83 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311339.100 -87 0 68366914D00E 1 255 02011A0AFF4C00100503182D7EAA
1549311339.144 -85 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311339.330 -82 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311339.505 -85 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311339.641 -89 0 68366914D00E 1 255 02011A0AFF4C00100503182D7EAA
1549311339.685 -83 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311339.878 -85 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311339.923 -87 0 68366914D00E 1 255 02011A0AFF4C00100503182D7EAA
1549311340.055 -83 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311340.188 -85 0 68366914D00E 1 255 02011A0AFF4C00100503182D7EAA
1549311340.240 -85 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311340.271 -92 0 6EB7D37D526F 1 255 02011A0AFF4C0010050718A03A3E
1549311340.424 -82 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311340.466 -85 0 68366914D00E 1 255 02011A0AFF4C00100503182D7EAA
1549311340.608 -85 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311340.737 -89 0 68366914D00E 1 255 02011A0AFF4C00100503182D7EAA
1549311340.791 -84 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311340.974 -87 0 18EE691CA41C 0 255 02011A0BFF4C000906030000000000
1549311341.008 -89 0 68366914D00E 1 255 02011A0AFF4C00100503182D7EAA
1549311341.080 -92 0 6EB7D37D526F 1 255 02011A0AFF4C0010050718A03A3E
Is there any other info i can provide which would be helpful?

Many thanks
Mel
Last edited by melg2019 on 2019-02-09 13:23, edited 1 time in total.

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: bluetooth dongle running but blueman wont find it

#2 Post by bw123 »

https://wiki.debian.org/BluetoothUser
If you're using systemd:

$ systemctl status bluetooth
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled)
Active: active (running) since Fri 2015-01-16 21:25:19 JST; 1 day 16h ago

$ sudo systemctl start bluetooth
pls use code tags, your post is a mess. My guess would be bluetoothd isn't setup correctly.
resigned by AI ChatGPT

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: bluetooth dongle running but blueman wont find it

#3 Post by pylkko »

I don't want to read your post until you clean it up according to the guidelines. However, can you form a connection manually without blueman (with bluetoothctl?)

melg2019
Posts: 3
Joined: 2019-02-04 20:10

Re: bluetooth dongle running but blueman wont find it

#4 Post by melg2019 »

Thanks for your help. Sorry I didnt do the post right.
Hopefully this one is better
When i type bluetoothctl and press enter it moves up a line but no info is displayed:

Code: Select all

mel@debian:~$ bluetoothctl

I get the same result if i type bluetooth list. I never see the line starting with bluetooth in the square brackets.
does this mean my bluetooth isnt setup?. What should I post to show you my complete bluetooth setup?
Many thanks again
Mel

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: bluetooth dongle running but blueman wont find it

#5 Post by bw123 »

First hit here says might be modemmanager conflict?
https://duckduckgo.com/html/?q=linux+Bluegiga+BLED112

The way to investigate is probably journalctl command. You can run it as root, hit the / key to search for 'blue' or 'error' or whatnot, or just page up/down/end, or grep it from the command line...

Code: Select all

# journalctl | grep blue
Feb 04 20:04:09 debian NetworkManager[984]: <info>  [1549328649.5181] Loaded device plugin: NMBluezManager (/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-bluetooth.so)
dmesg is good too, but usually just certain kernel info and maybe it has more info that you grepped out? just run dmesg and search for Bluegiga and look near it, before and after...
resigned by AI ChatGPT

melg2019
Posts: 3
Joined: 2019-02-04 20:10

Re: bluetooth dongle running but blueman wont find it

#6 Post by melg2019 »

Thanks
I have run the journalctl command and get a large output!

Code: Select all

mel@debian:~$ sudo journalctl | grep blue
Feb 10 12:20:59 debian dbus-daemon[849]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service' requested by ':1.74' (uid=1000 pid=3766 comm="/usr/bin/python3 /usr/bin/blueman-applet ")
Feb 10 12:21:24 debian dbus-daemon[849]: [system] Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms)
Feb 10 12:21:24 debian pulseaudio[3826]: E: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.TimedOut: Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms)
Feb 10 12:23:30 debian sudo[4293]:      mel : TTY=pts/0 ; PWD=/home/mel ; USER=root ; COMMAND=/usr/bin/apt purge bluez blueman bluetooth
Feb 10 12:24:30 debian sudo[4767]:      mel : TTY=pts/0 ; PWD=/home/mel ; USER=root ; COMMAND=/usr/bin/apt install bluez blueman bluetooth
Feb 10 12:26:13 debian sudo[9740]:      mel : TTY=pts/0 ; PWD=/home/mel ; USER=root ; COMMAND=/usr/sbin/bluetoothd start
Feb 10 12:26:13 debian bluetoothd[9744]: Bluetooth daemon 5.50
Feb 10 12:26:13 debian bluetoothd[9744]: Starting SDP server
Feb 10 12:26:13 debian bluetoothd[9744]: Bluetooth management interface 1.14 initialized
Feb 10 12:26:13 debian dbus-daemon[849]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.121' (uid=0 pid=9744 comm="bluetoothd start ")
Feb 10 12:27:05 debian bluetoothd[9744]: Terminating
Feb 10 12:27:05 debian dbus-daemon[849]: [system] Rejected send message, 1 matched rules; type="error", sender=":1.86" (uid=1000 pid=3826 comm="/usr/bin/pulseaudio --daemonize=no ") interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.UnknownMethod" requested_reply="0" destination=":1.121" (uid=0 pid=9744 comm="bluetoothd start ")
Feb 10 12:27:05 debian bluetoothd[9744]: Stopping SDP server
Feb 10 12:27:05 debian bluetoothd[9744]: Exit
Feb 10 12:27:05 debian dbus-daemon[849]: [system] Rejected send message, 1 matched rules; type="error", sender=":1.86" (uid=1000 pid=3826 comm="/usr/bin/pulseaudio --daemonize=no ") interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.UnknownMethod" requested_reply="0" destination=":1.121" (uid=0 pid=9744 comm="bluetoothd start ")
Feb 10 12:27:07 debian sudo[9806]:      mel : TTY=pts/0 ; PWD=/home/mel ; USER=root ; COMMAND=/usr/sbin/bluetoothd start
Feb 10 12:27:07 debian bluetoothd[9807]: Bluetooth daemon 5.50
Feb 10 12:27:07 debian bluetoothd[9807]: Starting SDP server
Feb 10 12:27:07 debian dbus-daemon[849]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.124' (uid=0 pid=9807 comm="bluetoothd start ")
Feb 10 12:27:07 debian bluetoothd[9807]: Bluetooth management interface 1.14 initialized
Feb 10 12:27:36 debian dbus-daemon[3698]: [session uid=1000 pid=3698] Activating service name='org.blueman.Applet' requested by ':1.45' (uid=1000 pid=9824 comm="/usr/bin/python3 /usr/bin/blueman-manager ")
Feb 10 12:27:36 debian dbus-daemon[3698]: [session uid=1000 pid=3698] Successfully activated service 'org.blueman.Applet'
Feb 10 12:27:37 debian dbus-daemon[3698]: [session uid=1000 pid=3698] Activating via systemd: service name='org.bluez.obex' unit='obex.service' requested by ':1.47' (uid=1000 pid=9832 comm="/usr/bin/python3 /usr/bin/blueman-applet ")
Feb 10 12:27:37 debian dbus-daemon[3698]: [session uid=1000 pid=3698] Successfully activated service 'org.bluez.obex'
Feb 10 12:27:37 debian dbus-daemon[849]: [system] Activating service name='org.blueman.Mechanism' requested by ':1.127' (uid=1000 pid=9832 comm="/usr/bin/python3 /usr/bin/blueman-applet ") (using servicehelper)
Feb 10 12:27:37 debian org.blueman.Mechanism[849]: Unable to init server: Could not connect: Connection refused
Feb 10 12:27:37 debian org.blueman.Mechanism[849]: Unable to init server: Could not connect: Connection refused
Feb 10 12:27:37 debian blueman-mechanism[9838]: Starting blueman-mechanism
Feb 10 12:27:37 debian dbus-daemon[849]: [system] Successfully activated service 'org.blueman.Mechanism'
Feb 10 12:27:37 debian blueman-mechanism[9838]: /usr/lib/blueman/blueman-mechanism:94: PyGIDeprecationWarning: GObject.timeout_add is deprecated; use GLib.timeout_add instead
Feb 10 12:27:37 debian blueman-mechani[9838]: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
Feb 10 12:27:37 debian blueman-mechanism[9838]: loading RfKill
Feb 10 12:27:37 debian blueman-mechanism[9838]: loading Network
Feb 10 12:27:37 debian blueman-mechanism[9838]: loading Ppp
Feb 10 12:27:37 debian blueman-mechanism[9838]: loading Rfcomm
Feb 10 12:27:38 debian blueman-applet[9832]: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed
Feb 10 12:27:45 debian blueman-applet[9832]: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed
Feb 10 12:28:05 debian org.blueman.Applet[3698]: /usr/bin/blueman-assistant:22: DeprecationWarning: Importing dbus.glib to use the GLib main loop with dbus-python is deprecated.
Feb 10 12:28:05 debian org.blueman.Applet[3698]: Instead, use this sequence:
Feb 10 12:28:05 debian org.blueman.Applet[3698]:     from dbus.mainloop.glib import DBusGMainLoop
Feb 10 12:28:05 debian org.blueman.Applet[3698]:     DBusGMainLoop(set_as_default=True)
Feb 10 12:28:05 debian org.blueman.Applet[3698]:   import dbus.glib
Feb 10 12:28:05 debian org.blueman.Applet[3698]: /usr/bin/blueman-assistant:80: DeprecationWarning: Gtk.Assistant.set_page_header_image is deprecated
Feb 10 12:28:05 debian org.blueman.Applet[3698]:   self.assistant.set_page_header_image(pages[PAGE_INTRO], get_icon("blueman", 32))
Feb 10 12:28:05 debian org.blueman.Applet[3698]: /usr/bin/blueman-assistant:117: PyGTKDeprecationWarning: The keyword(s) "type" have been deprecated in favor of "message_type" respectively. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
Feb 10 12:28:05 debian org.blueman.Applet[3698]:   d = Gtk.MessageDialog(type=Gtk.MessageType.ERROR, )
Feb 10 12:28:14 debian blueman-mechanism[9838]: Exiting
Feb 10 12:28:36 debian org.blueman.Applet[3698]: /usr/bin/blueman-assistant:22: DeprecationWarning: Importing dbus.glib to use the GLib main loop with dbus-python is deprecated.
Feb 10 12:28:36 debian org.blueman.Applet[3698]: Instead, use this sequence:
Feb 10 12:28:36 debian org.blueman.Applet[3698]:     from dbus.mainloop.glib import DBusGMainLoop
Feb 10 12:28:36 debian org.blueman.Applet[3698]:     DBusGMainLoop(set_as_default=True)
Feb 10 12:28:36 debian org.blueman.Applet[3698]:   import dbus.glib
Feb 10 12:28:36 debian org.blueman.Applet[3698]: /usr/bin/blueman-assistant:80: DeprecationWarning: Gtk.Assistant.set_page_header_image is deprecated
Feb 10 12:28:36 debian org.blueman.Applet[3698]:   self.assistant.set_page_header_image(pages[PAGE_INTRO], get_icon("blueman", 32))
Feb 10 12:28:36 debian org.blueman.Applet[3698]: /usr/bin/blueman-assistant:117: PyGTKDeprecationWarning: The keyword(s) "type" have been deprecated in favor of "message_type" respectively. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
Feb 10 12:28:36 debian org.blueman.Applet[3698]:   d = Gtk.MessageDialog(type=Gtk.MessageType.ERROR, )
Feb 10 12:28:45 debian org.blueman.Applet[3698]: /usr/bin/blueman-adapters:10: PyGIWarning: Pango was imported without specifying a version first. Use gi.require_version('Pango', '1.0') before import to ensure that the right version gets loaded.
Feb 10 12:28:45 debian org.blueman.Applet[3698]:   from gi.repository import Pango
Feb 10 12:28:45 debian org.blueman.Applet[3698]: blueman-adapters version 2.0.8 starting
Feb 10 12:28:45 debian org.blueman.Applet[3698]: org.bluez owner changed to :1.124
Feb 10 12:37:28 debian bluetoothd[9807]: Terminating
Feb 10 12:37:28 debian dbus-daemon[849]: [system] Rejected send message, 1 matched rules; type="error", sender=":1.86" (uid=1000 pid=3826 comm="/usr/bin/pulseaudio --daemonize=no ") interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.UnknownMethod" requested_reply="0" destination=":1.124" (uid=0 pid=9807 comm="bluetoothd start ")
Feb 10 12:37:28 debian dbus-daemon[849]: [system] Rejected send message, 1 matched rules; type="error", sender=":1.86" (uid=1000 pid=3826 comm="/usr/bin/pulseaudio --daemonize=no ") interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.UnknownMethod" requested_reply="0" destination=":1.124" (uid=0 pid=9807 comm="bluetoothd start ")
Feb 10 12:37:28 debian bluetoothd[9807]: Stopping SDP server
Feb 10 12:37:28 debian bluetoothd[9807]: Exit
Its a bit mindblowing to me.
From here do you think the BLED112 could easily work in Debian?

The article you told me about in your reply involved getting a piece of hardware, making many changes and then running the dongle under wine. This seems like a very expensive and time consuming way to make a cheap dongle work. Would i be better just spending time trying to find a dongle that does work well in Debian? If so do you know of one?
Many thanks for your help
Mel

Post Reply