* Problems with bluez
@ 2019-05-28 14:36 Matteo Formigli
2019-05-28 18:54 ` Luiz Augusto von Dentz
0 siblings, 1 reply; 6+ messages in thread
From: Matteo Formigli @ 2019-05-28 14:36 UTC (permalink / raw)
To: linux-bluetooth
Hi all!
I am using Ubuntu 16.04 and there is no way to make the bluetooth work.
Every time I try to pair to my bluetooth headset bluez crashes. I really
don't know where to start solving this problem and I really hope that
someone on this list can help me.
Thanks in advance for your help!
Matteo
P.s. The following is the output of the dpkg --status of the bluez packgage
:~$ dpkg --status bluez
Package: bluez
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 4119
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Multi-Arch: foreign
Version: 5.37-0ubuntu5.1
Replaces: bluez-alsa, bluez-audio (<= 3.36-3), bluez-input,
bluez-network, bluez-serial, bluez-utils (<= 3.36-3), udev (<< 170-1)
Depends: libc6 (>= 2.15), libdbus-1-3 (>= 1.9.14), libglib2.0-0 (>=
2.31.8), libreadline6 (>= 6.0), libudev1 (>= 196), init-system-helpers
(>= 1.18~), lsb-base (>= 4.1+Debian11ubuntu7), kmod, udev (>= 170-1), dbus
Breaks: udev (<< 170-1)
Conflicts: bluez-alsa, bluez-audio (<= 3.36-3), bluez-utils (<= 3.36-3)
Conffiles:
/etc/bluetooth/input.conf
/etc/bluetooth/main.conf
/etc/bluetooth/network.conf
/etc/bluetooth/proximity.conf
/etc/dbus-1/system.d/bluetooth.conf
/etc/init.d/bluetooth
/etc/init/bluetooth.conf
Description: Bluetooth tools and daemons
This package contains tools and system daemons for using Bluetooth
devices.
.
BlueZ is the official Linux Bluetooth protocol stack. It is an Open
Source
project distributed under GNU General Public License (GPL).
Homepage: http://www.bluez.org
Original-Maintainer: Debian Bluetooth Maintainers
<pkg-bluetooth-maintainers@lists.alioth.deb
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problems with bluez
2019-05-28 14:36 Problems with bluez Matteo Formigli
@ 2019-05-28 18:54 ` Luiz Augusto von Dentz
2019-05-28 20:10 ` Matteo Formigli
0 siblings, 1 reply; 6+ messages in thread
From: Luiz Augusto von Dentz @ 2019-05-28 18:54 UTC (permalink / raw)
To: Matteo Formigli; +Cc: linux-bluetooth
Hi Matteo,
On Tue, May 28, 2019 at 9:38 PM Matteo Formigli
<matteo.formigli@gmail.com> wrote:
>
> Hi all!
>
>
> I am using Ubuntu 16.04 and there is no way to make the bluetooth work.
> Every time I try to pair to my bluetooth headset bluez crashes. I really
> don't know where to start solving this problem and I really hope that
> someone on this list can help me.
Maybe it would help if you update your version of BlueZ, or better yet
update your ubuntu, if that still doesn't work then we may have a look
at some logs and HCI traces.
> Thanks in advance for your help!
>
> Matteo
>
> P.s. The following is the output of the dpkg --status of the bluez packgage
>
> :~$ dpkg --status bluez
> Package: bluez
> Status: install ok installed
> Priority: optional
> Section: admin
> Installed-Size: 4119
> Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
> Architecture: amd64
> Multi-Arch: foreign
> Version: 5.37-0ubuntu5.1
> Replaces: bluez-alsa, bluez-audio (<= 3.36-3), bluez-input,
> bluez-network, bluez-serial, bluez-utils (<= 3.36-3), udev (<< 170-1)
> Depends: libc6 (>= 2.15), libdbus-1-3 (>= 1.9.14), libglib2.0-0 (>=
> 2.31.8), libreadline6 (>= 6.0), libudev1 (>= 196), init-system-helpers
> (>= 1.18~), lsb-base (>= 4.1+Debian11ubuntu7), kmod, udev (>= 170-1), dbus
> Breaks: udev (<< 170-1)
> Conflicts: bluez-alsa, bluez-audio (<= 3.36-3), bluez-utils (<= 3.36-3)
> Conffiles:
> /etc/bluetooth/input.conf
> /etc/bluetooth/main.conf
> /etc/bluetooth/network.conf
> /etc/bluetooth/proximity.conf
> /etc/dbus-1/system.d/bluetooth.conf
> /etc/init.d/bluetooth
> /etc/init/bluetooth.conf
> Description: Bluetooth tools and daemons
> This package contains tools and system daemons for using Bluetooth
> devices.
> .
> BlueZ is the official Linux Bluetooth protocol stack. It is an Open
> Source
> project distributed under GNU General Public License (GPL).
> Homepage: http://www.bluez.org
> Original-Maintainer: Debian Bluetooth Maintainers
> <pkg-bluetooth-maintainers@lists.alioth.deb
>
--
Luiz Augusto von Dentz
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problems with bluez
2019-05-28 18:54 ` Luiz Augusto von Dentz
@ 2019-05-28 20:10 ` Matteo Formigli
2019-05-29 12:22 ` Luiz Augusto von Dentz
0 siblings, 1 reply; 6+ messages in thread
From: Matteo Formigli @ 2019-05-28 20:10 UTC (permalink / raw)
To: Luiz Augusto von Dentz; +Cc: linux-bluetooth
Hi Luiz!
First, thanks for your answer! For now I can't upgrade my ubuntu, but I
already tried to upgrade bluez launching classic shell commands such as
apt-get update, upgrade and dist-upgrade. But bluez remains at version
5.37. I have to tell you that I tried to uninstall bluez and than
reinstall it. It was a gamble and maybe it went wrong, but I'm not sure.
About the logs and the HCI traces I don't have knowledge to provide you
what you want on my own. Can you tell me what commands i have to put in
the terminal?
Thanks in advance for your help!
Matteo
Il 28/05/19 20:54, Luiz Augusto von Dentz ha scritto:
> Hi Matteo,
>
> On Tue, May 28, 2019 at 9:38 PM Matteo Formigli
> <matteo.formigli@gmail.com> wrote:
>> Hi all!
>>
>>
>> I am using Ubuntu 16.04 and there is no way to make the bluetooth work.
>> Every time I try to pair to my bluetooth headset bluez crashes. I really
>> don't know where to start solving this problem and I really hope that
>> someone on this list can help me.
> Maybe it would help if you update your version of BlueZ, or better yet
> update your ubuntu, if that still doesn't work then we may have a look
> at some logs and HCI traces.
>
>> Thanks in advance for your help!
>>
>> Matteo
>>
>> P.s. The following is the output of the dpkg --status of the bluez packgage
>>
>> :~$ dpkg --status bluez
>> Package: bluez
>> Status: install ok installed
>> Priority: optional
>> Section: admin
>> Installed-Size: 4119
>> Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
>> Architecture: amd64
>> Multi-Arch: foreign
>> Version: 5.37-0ubuntu5.1
>> Replaces: bluez-alsa, bluez-audio (<= 3.36-3), bluez-input,
>> bluez-network, bluez-serial, bluez-utils (<= 3.36-3), udev (<< 170-1)
>> Depends: libc6 (>= 2.15), libdbus-1-3 (>= 1.9.14), libglib2.0-0 (>=
>> 2.31.8), libreadline6 (>= 6.0), libudev1 (>= 196), init-system-helpers
>> (>= 1.18~), lsb-base (>= 4.1+Debian11ubuntu7), kmod, udev (>= 170-1), dbus
>> Breaks: udev (<< 170-1)
>> Conflicts: bluez-alsa, bluez-audio (<= 3.36-3), bluez-utils (<= 3.36-3)
>> Conffiles:
>> /etc/bluetooth/input.conf
>> /etc/bluetooth/main.conf
>> /etc/bluetooth/network.conf
>> /etc/bluetooth/proximity.conf
>> /etc/dbus-1/system.d/bluetooth.conf
>> /etc/init.d/bluetooth
>> /etc/init/bluetooth.conf
>> Description: Bluetooth tools and daemons
>> This package contains tools and system daemons for using Bluetooth
>> devices.
>> .
>> BlueZ is the official Linux Bluetooth protocol stack. It is an Open
>> Source
>> project distributed under GNU General Public License (GPL).
>> Homepage: http://www.bluez.org
>> Original-Maintainer: Debian Bluetooth Maintainers
>> <pkg-bluetooth-maintainers@lists.alioth.deb
>>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problems with bluez
2019-05-28 20:10 ` Matteo Formigli
@ 2019-05-29 12:22 ` Luiz Augusto von Dentz
2019-05-29 12:59 ` Matteo Formigli
2019-05-30 7:13 ` Matteo Formigli
0 siblings, 2 replies; 6+ messages in thread
From: Luiz Augusto von Dentz @ 2019-05-29 12:22 UTC (permalink / raw)
To: Matteo Formigli; +Cc: linux-bluetooth
Hi Matteo,
On Tue, May 28, 2019 at 11:10 PM Matteo Formigli
<matteo.formigli@gmail.com> wrote:
>
> Hi Luiz!
>
> First, thanks for your answer! For now I can't upgrade my ubuntu, but I
> already tried to upgrade bluez launching classic shell commands such as
> apt-get update, upgrade and dist-upgrade. But bluez remains at version
> 5.37. I have to tell you that I tried to uninstall bluez and than
> reinstall it. It was a gamble and maybe it went wrong, but I'm not sure.
>
> About the logs and the HCI traces I don't have knowledge to provide you
> what you want on my own. Can you tell me what commands i have to put in
> the terminal?
5.37 is quite old so there is a high risk there something new, like
LE/GATT connection, that happens to be unstable at that point. You can
use btmon to collect the the HCI traces:
> sudo btmon -t
You can also check the daemon logs with:
> sudo journalctl --unit=bluetooth.service
> Thanks in advance for your help!
>
> Matteo
>
> Il 28/05/19 20:54, Luiz Augusto von Dentz ha scritto:
> > Hi Matteo,
> >
> > On Tue, May 28, 2019 at 9:38 PM Matteo Formigli
> > <matteo.formigli@gmail.com> wrote:
> >> Hi all!
> >>
> >>
> >> I am using Ubuntu 16.04 and there is no way to make the bluetooth work.
> >> Every time I try to pair to my bluetooth headset bluez crashes. I really
> >> don't know where to start solving this problem and I really hope that
> >> someone on this list can help me.
> > Maybe it would help if you update your version of BlueZ, or better yet
> > update your ubuntu, if that still doesn't work then we may have a look
> > at some logs and HCI traces.
> >
> >> Thanks in advance for your help!
> >>
> >> Matteo
> >>
> >> P.s. The following is the output of the dpkg --status of the bluez packgage
> >>
> >> :~$ dpkg --status bluez
> >> Package: bluez
> >> Status: install ok installed
> >> Priority: optional
> >> Section: admin
> >> Installed-Size: 4119
> >> Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
> >> Architecture: amd64
> >> Multi-Arch: foreign
> >> Version: 5.37-0ubuntu5.1
> >> Replaces: bluez-alsa, bluez-audio (<= 3.36-3), bluez-input,
> >> bluez-network, bluez-serial, bluez-utils (<= 3.36-3), udev (<< 170-1)
> >> Depends: libc6 (>= 2.15), libdbus-1-3 (>= 1.9.14), libglib2.0-0 (>=
> >> 2.31.8), libreadline6 (>= 6.0), libudev1 (>= 196), init-system-helpers
> >> (>= 1.18~), lsb-base (>= 4.1+Debian11ubuntu7), kmod, udev (>= 170-1), dbus
> >> Breaks: udev (<< 170-1)
> >> Conflicts: bluez-alsa, bluez-audio (<= 3.36-3), bluez-utils (<= 3.36-3)
> >> Conffiles:
> >> /etc/bluetooth/input.conf
> >> /etc/bluetooth/main.conf
> >> /etc/bluetooth/network.conf
> >> /etc/bluetooth/proximity.conf
> >> /etc/dbus-1/system.d/bluetooth.conf
> >> /etc/init.d/bluetooth
> >> /etc/init/bluetooth.conf
> >> Description: Bluetooth tools and daemons
> >> This package contains tools and system daemons for using Bluetooth
> >> devices.
> >> .
> >> BlueZ is the official Linux Bluetooth protocol stack. It is an Open
> >> Source
> >> project distributed under GNU General Public License (GPL).
> >> Homepage: http://www.bluez.org
> >> Original-Maintainer: Debian Bluetooth Maintainers
> >> <pkg-bluetooth-maintainers@lists.alioth.deb
> >>
> >
--
Luiz Augusto von Dentz
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problems with bluez
2019-05-29 12:22 ` Luiz Augusto von Dentz
@ 2019-05-29 12:59 ` Matteo Formigli
2019-05-30 7:13 ` Matteo Formigli
1 sibling, 0 replies; 6+ messages in thread
From: Matteo Formigli @ 2019-05-29 12:59 UTC (permalink / raw)
To: Luiz Augusto von Dentz; +Cc: linux-bluetooth
Hi Luiz!
Thanks for your advice. Now I am in a public library with a lot of
bluetooth devices around so I think the btmon has quite an unreadable
output. I will try to do it at home this evening. Instead I am postin
here the output for the deamon logs:
:~$ sudo journalctl --unit=bluetooth.service
-- Logs begin at mer 2019-05-29 14:39:16 CEST, end at mer 2019-05-29
14:53:13 CEST. --
mag 29 14:39:17 Sigmund-Lenovo systemd[1]: Starting Bluetooth service...
mag 29 14:39:17 Sigmund-Lenovo bluetoothd[1144]: Bluetooth daemon 5.37
mag 29 14:39:17 Sigmund-Lenovo systemd[1]: Started Bluetooth service.
mag 29 14:39:17 Sigmund-Lenovo bluetoothd[1144]: Starting SDP server
mag 29 14:39:17 Sigmund-Lenovo bluetoothd[1144]: Bluetooth management
interface 1.10 initialized
mag 29 14:39:17 Sigmund-Lenovo bluetoothd[1144]: Failed to obtain
handles for "Service Changed" characteristic
mag 29 14:39:17 Sigmund-Lenovo bluetoothd[1144]: Not enough free handles
to register service
mag 29 14:39:17 Sigmund-Lenovo bluetoothd[1144]: Error adding Link Loss
service
mag 29 14:39:17 Sigmund-Lenovo bluetoothd[1144]: Not enough free handles
to register service
mag 29 14:39:17 Sigmund-Lenovo bluetoothd[1144]: Not enough free handles
to register service
mag 29 14:39:17 Sigmund-Lenovo bluetoothd[1144]: Not enough free handles
to register service
mag 29 14:39:17 Sigmund-Lenovo bluetoothd[1144]: Current Time Service
could not be registered
mag 29 14:39:17 Sigmund-Lenovo bluetoothd[1144]: gatt-time-server:
Input/output error (5)
mag 29 14:39:17 Sigmund-Lenovo bluetoothd[1144]: Not enough free handles
to register service
mag 29 14:39:17 Sigmund-Lenovo bluetoothd[1144]: Not enough free handles
to register service
mag 29 14:39:17 Sigmund-Lenovo bluetoothd[1144]: Sap driver
initialization failed.
mag 29 14:39:17 Sigmund-Lenovo bluetoothd[1144]: sap-server: Operation
not permitted (1)
mag 29 14:39:23 Sigmund-Lenovo bluetoothd[1144]: Endpoint registered:
sender=:1.43 path=/MediaEndpoint/A2DPSource
mag 29 14:39:23 Sigmund-Lenovo bluetoothd[1144]: Endpoint registered:
sender=:1.43 path=/MediaEndpoint/A2DPSink
mag 29 14:39:54 Sigmund-Lenovo bluetoothd[1144]: Endpoint registered:
sender=:1.78 path=/MediaEndpoint/A2DPSource
mag 29 14:39:54 Sigmund-Lenovo bluetoothd[1144]: Endpoint registered:
sender=:1.78 path=/MediaEndpoint/A2DPSink
mag 29 14:39:54 Sigmund-Lenovo bluetoothd[1144]: RFCOMM server failed
for Headset Voice gateway: rfcomm_bind: Address already in use (98)
mag 29 14:40:11 Sigmund-Lenovo bluetoothd[1144]: Endpoint unregistered:
sender=:1.43 path=/MediaEndpoint/A2DPSource
mag 29 14:40:11 Sigmund-Lenovo bluetoothd[1144]: Endpoint unregistered:
sender=:1.43 path=/MediaEndpoint/A2DPSink
It seems that there are a lot of things that does not work... In any
case do you think that bluez 5.37 is the last version of bluez
compatible with my ubuntu 16.04 or there is some kind of broken package
in my system?
Thanks a lot!
Regards,
Matteo
Il 29/05/19 14:22, Luiz Augusto von Dentz ha scritto:
> Hi Matteo,
>
> On Tue, May 28, 2019 at 11:10 PM Matteo Formigli
> <matteo.formigli@gmail.com> wrote:
>> Hi Luiz!
>>
>> First, thanks for your answer! For now I can't upgrade my ubuntu, but I
>> already tried to upgrade bluez launching classic shell commands such as
>> apt-get update, upgrade and dist-upgrade. But bluez remains at version
>> 5.37. I have to tell you that I tried to uninstall bluez and than
>> reinstall it. It was a gamble and maybe it went wrong, but I'm not sure.
>>
>> About the logs and the HCI traces I don't have knowledge to provide you
>> what you want on my own. Can you tell me what commands i have to put in
>> the terminal?
> 5.37 is quite old so there is a high risk there something new, like
> LE/GATT connection, that happens to be unstable at that point. You can
> use btmon to collect the the HCI traces:
>
>> sudo btmon -t
> You can also check the daemon logs with:
>
>> sudo journalctl --unit=bluetooth.service
>> Thanks in advance for your help!
>>
>> Matteo
>>
>> Il 28/05/19 20:54, Luiz Augusto von Dentz ha scritto:
>>> Hi Matteo,
>>>
>>> On Tue, May 28, 2019 at 9:38 PM Matteo Formigli
>>> <matteo.formigli@gmail.com> wrote:
>>>> Hi all!
>>>>
>>>>
>>>> I am using Ubuntu 16.04 and there is no way to make the bluetooth work.
>>>> Every time I try to pair to my bluetooth headset bluez crashes. I really
>>>> don't know where to start solving this problem and I really hope that
>>>> someone on this list can help me.
>>> Maybe it would help if you update your version of BlueZ, or better yet
>>> update your ubuntu, if that still doesn't work then we may have a look
>>> at some logs and HCI traces.
>>>
>>>> Thanks in advance for your help!
>>>>
>>>> Matteo
>>>>
>>>> P.s. The following is the output of the dpkg --status of the bluez packgage
>>>>
>>>> :~$ dpkg --status bluez
>>>> Package: bluez
>>>> Status: install ok installed
>>>> Priority: optional
>>>> Section: admin
>>>> Installed-Size: 4119
>>>> Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
>>>> Architecture: amd64
>>>> Multi-Arch: foreign
>>>> Version: 5.37-0ubuntu5.1
>>>> Replaces: bluez-alsa, bluez-audio (<= 3.36-3), bluez-input,
>>>> bluez-network, bluez-serial, bluez-utils (<= 3.36-3), udev (<< 170-1)
>>>> Depends: libc6 (>= 2.15), libdbus-1-3 (>= 1.9.14), libglib2.0-0 (>=
>>>> 2.31.8), libreadline6 (>= 6.0), libudev1 (>= 196), init-system-helpers
>>>> (>= 1.18~), lsb-base (>= 4.1+Debian11ubuntu7), kmod, udev (>= 170-1), dbus
>>>> Breaks: udev (<< 170-1)
>>>> Conflicts: bluez-alsa, bluez-audio (<= 3.36-3), bluez-utils (<= 3.36-3)
>>>> Conffiles:
>>>> /etc/bluetooth/input.conf
>>>> /etc/bluetooth/main.conf
>>>> /etc/bluetooth/network.conf
>>>> /etc/bluetooth/proximity.conf
>>>> /etc/dbus-1/system.d/bluetooth.conf
>>>> /etc/init.d/bluetooth
>>>> /etc/init/bluetooth.conf
>>>> Description: Bluetooth tools and daemons
>>>> This package contains tools and system daemons for using Bluetooth
>>>> devices.
>>>> .
>>>> BlueZ is the official Linux Bluetooth protocol stack. It is an Open
>>>> Source
>>>> project distributed under GNU General Public License (GPL).
>>>> Homepage: http://www.bluez.org
>>>> Original-Maintainer: Debian Bluetooth Maintainers
>>>> <pkg-bluetooth-maintainers@lists.alioth.deb
>>>>
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problems with bluez
2019-05-29 12:22 ` Luiz Augusto von Dentz
2019-05-29 12:59 ` Matteo Formigli
@ 2019-05-30 7:13 ` Matteo Formigli
1 sibling, 0 replies; 6+ messages in thread
From: Matteo Formigli @ 2019-05-30 7:13 UTC (permalink / raw)
To: Luiz Augusto von Dentz; +Cc: linux-bluetooth
Hi!
As I promised the following is the output of the sudo btmon -t:
Bluetooth monitor ver 5.37
= New Index: 2C:33:7A:F2:01:56 (BR/EDR,USB,hci0) [hci0]
09:05:50.702817
= Open Index: 2C:33:7A:F2:01:56 [hci0]
09:05:50.702817
= Index Info: 2C:33:7A:F2:01:56 (Broadcom Corporation) [hci0]
09:05:50.702817
< HCI Command: Create Connection (0x01|0x0005) plen 13 [hci0]
09:07:08.192394
Address: CD:AF:51:0C:34:BF (OUI CD-AF-51)
Packet type: 0xcc18
DM1 may be used
DH1 may be used
DM3 may be used
DH3 may be used
DM5 may be used
DH5 may be used
Page scan repetition mode: R2 (0x02)
Page scan mode: Mandatory (0x00)
Clock offset: 0x0000
Role switch: Allow slave (0x01)
> HCI Event: Command Status (0x0f) plen 4 [hci0]
09:07:08.193165
Create Connection (0x01|0x0005) ncmd 1
Status: Success (0x00)
> HCI Event: Connect Complete (0x03) plen 11 [hci0]
09:07:38.841272
Status: LMP Response Timeout / LL Response Timeout (0x22)
Handle: 12
Address: CD:AF:51:0C:34:BF (OUI CD-AF-51)
Link type: ACL (0x01)
Encryption: Disabled (0x00)
@ Connect Failed: CD:AF:51:0C:34:BF (0) status 0x08
< HCI Command: LE Set Random Add.. (0x08|0x0005) plen 6 [hci0]
09:08:08.321207
Address: 17:0A:49:B4:38:4A (Non-Resolvable)
> HCI Event: Command Complete (0x0e) plen 4 [hci0]
09:08:08.322317
LE Set Random Address (0x08|0x0005) ncmd 1
Status: Success (0x00)
< HCI Command: LE Set Scan Param.. (0x08|0x000b) plen 7 [hci0]
09:08:08.322367
Type: Active (0x01)
Interval: 11.250 msec (0x0012)
Window: 11.250 msec (0x0012)
Own address type: Random (0x01)
Filter policy: Accept all advertisement (0x00)
> HCI Event: Command Complete (0x0e) plen 4 [hci0]
09:08:08.323311
LE Set Scan Parameters (0x08|0x000b) ncmd 1
Status: Success (0x00)
< HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2 [hci0]
09:08:08.323344
Scanning: Enabled (0x01)
Filter duplicates: Enabled (0x01)
> HCI Event: Command Complete (0x0e) plen 4 [hci0]
09:08:08.324311
LE Set Scan Enable (0x08|0x000c) ncmd 1
Status: Success (0x00)
@ Discovering: 0x01 (7)
< HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2 [hci0]
09:08:13.460023
Scanning: Disabled (0x00)
Filter duplicates: Disabled (0x00)
> HCI Event: Command Complete (0x0e) plen 4 [hci0]
09:08:13.462277
LE Set Scan Enable (0x08|0x000c) ncmd 1
Status: Success (0x00)
< HCI Command: Inquiry (0x01|0x0001) plen 5 [hci0]
09:08:13.462302
Access code: 0x9e8b33 (General Inquiry)
Length: 5.12s (0x04)
Num responses: 0
> HCI Event: Command Status (0x0f) plen 4 [hci0]
09:08:13.468275
Inquiry (0x01|0x0001) ncmd 1
Status: Success (0x00)
> HCI Event: Inquiry Complete (0x01) plen 1 [hci0]
09:08:18.591332
Status: Success (0x00)
@ Discovering: 0x00 (7)
< HCI Command: LE Set Random Add.. (0x08|0x0005) plen 6 [hci0]
09:08:24.326331
Address: 3C:0B:A7:7E:04:DA (Non-Resolvable)
> HCI Event: Command Complete (0x0e) plen 4 [hci0]
09:08:24.327311
LE Set Random Address (0x08|0x0005) ncmd 1
Status: Success (0x00)
< HCI Command: LE Set Scan Param.. (0x08|0x000b) plen 7 [hci0]
09:08:24.327329
Type: Active (0x01)
Interval: 11.250 msec (0x0012)
Window: 11.250 msec (0x0012)
Own address type: Random (0x01)
Filter policy: Accept all advertisement (0x00)
> HCI Event: Command Complete (0x0e) plen 4 [hci0]
09:08:24.328350
LE Set Scan Parameters (0x08|0x000b) ncmd 1
Status: Success (0x00)
< HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2 [hci0]
09:08:24.328381
Scanning: Enabled (0x01)
Filter duplicates: Enabled (0x01)
> HCI Event: Command Complete (0x0e) plen 4 [hci0]
09:08:24.329293
LE Set Scan Enable (0x08|0x000c) ncmd 1
Status: Success (0x00)
@ Discovering: 0x01 (7)
Thanks in advance,
Matteo
Il 29/05/19 14:22, Luiz Augusto von Dentz ha scritto:
> Hi Matteo,
>
> On Tue, May 28, 2019 at 11:10 PM Matteo Formigli
> <matteo.formigli@gmail.com> wrote:
>> Hi Luiz!
>>
>> First, thanks for your answer! For now I can't upgrade my ubuntu, but I
>> already tried to upgrade bluez launching classic shell commands such as
>> apt-get update, upgrade and dist-upgrade. But bluez remains at version
>> 5.37. I have to tell you that I tried to uninstall bluez and than
>> reinstall it. It was a gamble and maybe it went wrong, but I'm not sure.
>>
>> About the logs and the HCI traces I don't have knowledge to provide you
>> what you want on my own. Can you tell me what commands i have to put in
>> the terminal?
> 5.37 is quite old so there is a high risk there something new, like
> LE/GATT connection, that happens to be unstable at that point. You can
> use btmon to collect the the HCI traces:
>
>> sudo btmon -t
> You can also check the daemon logs with:
>
>> sudo journalctl --unit=bluetooth.service
>> Thanks in advance for your help!
>>
>> Matteo
>>
>> Il 28/05/19 20:54, Luiz Augusto von Dentz ha scritto:
>>> Hi Matteo,
>>>
>>> On Tue, May 28, 2019 at 9:38 PM Matteo Formigli
>>> <matteo.formigli@gmail.com> wrote:
>>>> Hi all!
>>>>
>>>>
>>>> I am using Ubuntu 16.04 and there is no way to make the bluetooth work.
>>>> Every time I try to pair to my bluetooth headset bluez crashes. I really
>>>> don't know where to start solving this problem and I really hope that
>>>> someone on this list can help me.
>>> Maybe it would help if you update your version of BlueZ, or better yet
>>> update your ubuntu, if that still doesn't work then we may have a look
>>> at some logs and HCI traces.
>>>
>>>> Thanks in advance for your help!
>>>>
>>>> Matteo
>>>>
>>>> P.s. The following is the output of the dpkg --status of the bluez packgage
>>>>
>>>> :~$ dpkg --status bluez
>>>> Package: bluez
>>>> Status: install ok installed
>>>> Priority: optional
>>>> Section: admin
>>>> Installed-Size: 4119
>>>> Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
>>>> Architecture: amd64
>>>> Multi-Arch: foreign
>>>> Version: 5.37-0ubuntu5.1
>>>> Replaces: bluez-alsa, bluez-audio (<= 3.36-3), bluez-input,
>>>> bluez-network, bluez-serial, bluez-utils (<= 3.36-3), udev (<< 170-1)
>>>> Depends: libc6 (>= 2.15), libdbus-1-3 (>= 1.9.14), libglib2.0-0 (>=
>>>> 2.31.8), libreadline6 (>= 6.0), libudev1 (>= 196), init-system-helpers
>>>> (>= 1.18~), lsb-base (>= 4.1+Debian11ubuntu7), kmod, udev (>= 170-1), dbus
>>>> Breaks: udev (<< 170-1)
>>>> Conflicts: bluez-alsa, bluez-audio (<= 3.36-3), bluez-utils (<= 3.36-3)
>>>> Conffiles:
>>>> /etc/bluetooth/input.conf
>>>> /etc/bluetooth/main.conf
>>>> /etc/bluetooth/network.conf
>>>> /etc/bluetooth/proximity.conf
>>>> /etc/dbus-1/system.d/bluetooth.conf
>>>> /etc/init.d/bluetooth
>>>> /etc/init/bluetooth.conf
>>>> Description: Bluetooth tools and daemons
>>>> This package contains tools and system daemons for using Bluetooth
>>>> devices.
>>>> .
>>>> BlueZ is the official Linux Bluetooth protocol stack. It is an Open
>>>> Source
>>>> project distributed under GNU General Public License (GPL).
>>>> Homepage: http://www.bluez.org
>>>> Original-Maintainer: Debian Bluetooth Maintainers
>>>> <pkg-bluetooth-maintainers@lists.alioth.deb
>>>>
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-05-30 7:13 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-28 14:36 Problems with bluez Matteo Formigli
2019-05-28 18:54 ` Luiz Augusto von Dentz
2019-05-28 20:10 ` Matteo Formigli
2019-05-29 12:22 ` Luiz Augusto von Dentz
2019-05-29 12:59 ` Matteo Formigli
2019-05-30 7:13 ` Matteo Formigli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).