2016-01-17 09:42:04

by Andrey Aleksandrovich

[permalink] [raw]
Subject: Possibly Bug in recent Bluez

Hi, I have Gentoo Linux, KDE on laptop with Bluetooth.
And I find out that it doesn't working after some time ago.

# dmesg | grep 4-1.5
[ 475.204004] usb 4-1.5: New USB device found, idVendor=8086, idProduct=0189
[ 475.204014] usb 4-1.5: New USB device strings: Mfr=0, Product=0,
SerialNumber=0

# lsusb | grep 009
Bus 004 Device 009: ID 8086:0189 Intel Corp.

# cat /var/log/everything/current | grep bluetoothd
Jan 16 18:52:51 [bluetoothd] Bluetooth daemon 5.37
Jan 16 18:52:51 [bluetoothd] Starting SDP server
Jan 16 18:52:51 [bluetoothd] Bluetooth management interface 1.9 initialized
Jan 16 18:52:51 [bluetoothd] Failed to obtain handles for "Service
Changed" characteristic
Jan 16 18:52:51 [bluetoothd] Not enough free handles to register service
Jan 16 18:52:51 [bluetoothd] Error adding Link Loss service
Jan 16 18:52:51 [bluetoothd] Not enough free handles to register service
Jan 16 18:52:51 [bluetoothd] Current Time Service could not be registered
Jan 16 18:52:51 [bluetoothd] gatt-time-server: Input/output error (5)
Jan 16 18:52:51 [bluetoothd] Not enough free handles to register service
Jan 16 18:52:51 [bluetoothd] Sap driver initialization failed.
Jan 16 18:52:51 [bluetoothd] sap-server: Operation not permitted (1)

It doesn't affect only me, here is some links:
https://bugzilla.redhat.com/show_bug.cgi?id=1259827
https://bugs.gentoo.org/show_bug.cgi?id=566004
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1499858


2016-01-21 22:35:31

by Szymon Janc

[permalink] [raw]
Subject: Re: Possibly Bug in recent Bluez

Hi Marcel,

On Thursday 21 January 2016 12:14:55 Marcel Holtmann wrote:
> Hi Szymon,
>
> >>> Hi, I have Gentoo Linux, KDE on laptop with Bluetooth.
> >>> And I find out that it doesn't working after some time ago.
> >>>
> >>> # dmesg | grep 4-1.5
> >>> [ 475.204004] usb 4-1.5: New USB device found, idVendor=8086,
> >>> idProduct=0189 [ 475.204014] usb 4-1.5: New USB device strings: Mfr=0,
> >>> Product=0, SerialNumber=0
> >>>
> >>> # lsusb | grep 009
> >>> Bus 004 Device 009: ID 8086:0189 Intel Corp.
> >>>
> >>> # cat /var/log/everything/current | grep bluetoothd
> >>> Jan 16 18:52:51 [bluetoothd] Bluetooth daemon 5.37
> >>> Jan 16 18:52:51 [bluetoothd] Starting SDP server
> >>> Jan 16 18:52:51 [bluetoothd] Bluetooth management interface 1.9
> >>> initialized
> >>> Jan 16 18:52:51 [bluetoothd] Failed to obtain handles for "Service
> >>> Changed" characteristic
> >>> Jan 16 18:52:51 [bluetoothd] Not enough free handles to register service
> >>> Jan 16 18:52:51 [bluetoothd] Error adding Link Loss service
> >>> Jan 16 18:52:51 [bluetoothd] Not enough free handles to register service
> >>> Jan 16 18:52:51 [bluetoothd] Current Time Service could not be
> >>> registered
> >>> Jan 16 18:52:51 [bluetoothd] gatt-time-server: Input/output error (5)
> >>> Jan 16 18:52:51 [bluetoothd] Not enough free handles to register service
> >>> Jan 16 18:52:51 [bluetoothd] Sap driver initialization failed.
> >>> Jan 16 18:52:51 [bluetoothd] sap-server: Operation not permitted (1)
> >>
> >> At least sap-server plugin shouldn't be enabled at all (unless you run it
> >> on supported platform ie STE u8500, which you most likely don't). So
> >> this is a (quite common it seems) packaging bug.
> >
> > Ahh, it looks like this is enabled by common 'experimental flag.
>
> is anybody using this feature any more? Or can we just get rid of it?

I really have no idea. Only real SAP driver we have is for STE U8500 platform
which is probably dead HW. Nobody else ever tried to submit support for any
other platform. Still SAP profile seems to be in use (there was 1.1.1 updated
spec adopted on December 2015).


--
pozdrawiam
Szymon Janc

2016-01-21 11:14:55

by Marcel Holtmann

[permalink] [raw]
Subject: Re: Possibly Bug in recent Bluez

Hi Szymon,

>>> Hi, I have Gentoo Linux, KDE on laptop with Bluetooth.
>>> And I find out that it doesn't working after some time ago.
>>>
>>> # dmesg | grep 4-1.5
>>> [ 475.204004] usb 4-1.5: New USB device found, idVendor=8086,
>>> idProduct=0189 [ 475.204014] usb 4-1.5: New USB device strings: Mfr=0,
>>> Product=0, SerialNumber=0
>>>
>>> # lsusb | grep 009
>>> Bus 004 Device 009: ID 8086:0189 Intel Corp.
>>>
>>> # cat /var/log/everything/current | grep bluetoothd
>>> Jan 16 18:52:51 [bluetoothd] Bluetooth daemon 5.37
>>> Jan 16 18:52:51 [bluetoothd] Starting SDP server
>>> Jan 16 18:52:51 [bluetoothd] Bluetooth management interface 1.9
>>> initialized
>>> Jan 16 18:52:51 [bluetoothd] Failed to obtain handles for "Service
>>> Changed" characteristic
>>> Jan 16 18:52:51 [bluetoothd] Not enough free handles to register service
>>> Jan 16 18:52:51 [bluetoothd] Error adding Link Loss service
>>> Jan 16 18:52:51 [bluetoothd] Not enough free handles to register service
>>> Jan 16 18:52:51 [bluetoothd] Current Time Service could not be registered
>>> Jan 16 18:52:51 [bluetoothd] gatt-time-server: Input/output error (5)
>>> Jan 16 18:52:51 [bluetoothd] Not enough free handles to register service
>>> Jan 16 18:52:51 [bluetoothd] Sap driver initialization failed.
>>> Jan 16 18:52:51 [bluetoothd] sap-server: Operation not permitted (1)
>>
>> At least sap-server plugin shouldn't be enabled at all (unless you run it on
>> supported platform ie STE u8500, which you most likely don't). So this is a
>> (quite common it seems) packaging bug.
>
> Ahh, it looks like this is enabled by common 'experimental flag.

is anybody using this feature any more? Or can we just get rid of it?

Regards

Marcel


2016-01-18 15:03:31

by Szymon Janc

[permalink] [raw]
Subject: Re: Possibly Bug in recent Bluez

Hi,

On Monday 18 of January 2016 12:40:40 Szymon Janc wrote:
> Hi,
>
> On Sunday 17 of January 2016 11:42:04 Andrey Aleksandrovich wrote:
> > Hi, I have Gentoo Linux, KDE on laptop with Bluetooth.
> > And I find out that it doesn't working after some time ago.
> >
> > # dmesg | grep 4-1.5
> > [ 475.204004] usb 4-1.5: New USB device found, idVendor=8086,
> > idProduct=0189 [ 475.204014] usb 4-1.5: New USB device strings: Mfr=0,
> > Product=0, SerialNumber=0
> >
> > # lsusb | grep 009
> > Bus 004 Device 009: ID 8086:0189 Intel Corp.
> >
> > # cat /var/log/everything/current | grep bluetoothd
> > Jan 16 18:52:51 [bluetoothd] Bluetooth daemon 5.37
> > Jan 16 18:52:51 [bluetoothd] Starting SDP server
> > Jan 16 18:52:51 [bluetoothd] Bluetooth management interface 1.9
> > initialized
> > Jan 16 18:52:51 [bluetoothd] Failed to obtain handles for "Service
> > Changed" characteristic
> > Jan 16 18:52:51 [bluetoothd] Not enough free handles to register service
> > Jan 16 18:52:51 [bluetoothd] Error adding Link Loss service
> > Jan 16 18:52:51 [bluetoothd] Not enough free handles to register service
> > Jan 16 18:52:51 [bluetoothd] Current Time Service could not be registered
> > Jan 16 18:52:51 [bluetoothd] gatt-time-server: Input/output error (5)
> > Jan 16 18:52:51 [bluetoothd] Not enough free handles to register service
> > Jan 16 18:52:51 [bluetoothd] Sap driver initialization failed.
> > Jan 16 18:52:51 [bluetoothd] sap-server: Operation not permitted (1)
>
> At least sap-server plugin shouldn't be enabled at all (unless you run it on
> supported platform ie STE u8500, which you most likely don't). So this is a
> (quite common it seems) packaging bug.

Ahh, it looks like this is enabled by common 'experimental flag.

> > It doesn't affect only me, here is some links:
> > https://bugzilla.redhat.com/show_bug.cgi?id=1259827
> > https://bugs.gentoo.org/show_bug.cgi?id=566004
> > https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1499858
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-bluetooth"
> > in the body of a message to [email protected]
> > More majordomo info at http://vger.kernel.org/majordomo-info.html

--
BR
Szymon Janc

2016-01-18 11:40:40

by Szymon Janc

[permalink] [raw]
Subject: Re: Possibly Bug in recent Bluez

Hi,

On Sunday 17 of January 2016 11:42:04 Andrey Aleksandrovich wrote:
> Hi, I have Gentoo Linux, KDE on laptop with Bluetooth.
> And I find out that it doesn't working after some time ago.
>
> # dmesg | grep 4-1.5
> [ 475.204004] usb 4-1.5: New USB device found, idVendor=8086,
> idProduct=0189 [ 475.204014] usb 4-1.5: New USB device strings: Mfr=0,
> Product=0, SerialNumber=0
>
> # lsusb | grep 009
> Bus 004 Device 009: ID 8086:0189 Intel Corp.
>
> # cat /var/log/everything/current | grep bluetoothd
> Jan 16 18:52:51 [bluetoothd] Bluetooth daemon 5.37
> Jan 16 18:52:51 [bluetoothd] Starting SDP server
> Jan 16 18:52:51 [bluetoothd] Bluetooth management interface 1.9 initialized
> Jan 16 18:52:51 [bluetoothd] Failed to obtain handles for "Service
> Changed" characteristic
> Jan 16 18:52:51 [bluetoothd] Not enough free handles to register service
> Jan 16 18:52:51 [bluetoothd] Error adding Link Loss service
> Jan 16 18:52:51 [bluetoothd] Not enough free handles to register service
> Jan 16 18:52:51 [bluetoothd] Current Time Service could not be registered
> Jan 16 18:52:51 [bluetoothd] gatt-time-server: Input/output error (5)
> Jan 16 18:52:51 [bluetoothd] Not enough free handles to register service
> Jan 16 18:52:51 [bluetoothd] Sap driver initialization failed.
> Jan 16 18:52:51 [bluetoothd] sap-server: Operation not permitted (1)

At least sap-server plugin shouldn't be enabled at all (unless you run it on
supported platform ie STE u8500, which you most likely don't). So this is a
(quite common it seems) packaging bug.

> It doesn't affect only me, here is some links:
> https://bugzilla.redhat.com/show_bug.cgi?id=1259827
> https://bugs.gentoo.org/show_bug.cgi?id=566004
> https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1499858
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth"
> in the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html

--
BR
Szymon Janc

2016-01-17 12:56:43

by Luiz Augusto von Dentz

[permalink] [raw]
Subject: Re: Possibly Bug in recent Bluez

Hi Andrey,

On Sun, Jan 17, 2016 at 11:42 AM, Andrey Aleksandrovich
<[email protected]> wrote:
> Hi, I have Gentoo Linux, KDE on laptop with Bluetooth.
> And I find out that it doesn't working after some time ago.
>
> # dmesg | grep 4-1.5
> [ 475.204004] usb 4-1.5: New USB device found, idVendor=8086, idProduct=0189
> [ 475.204014] usb 4-1.5: New USB device strings: Mfr=0, Product=0,
> SerialNumber=0
>
> # lsusb | grep 009
> Bus 004 Device 009: ID 8086:0189 Intel Corp.
>
> # cat /var/log/everything/current | grep bluetoothd
> Jan 16 18:52:51 [bluetoothd] Bluetooth daemon 5.37
> Jan 16 18:52:51 [bluetoothd] Starting SDP server
> Jan 16 18:52:51 [bluetoothd] Bluetooth management interface 1.9 initialized
> Jan 16 18:52:51 [bluetoothd] Failed to obtain handles for "Service
> Changed" characteristic
> Jan 16 18:52:51 [bluetoothd] Not enough free handles to register service
> Jan 16 18:52:51 [bluetoothd] Error adding Link Loss service
> Jan 16 18:52:51 [bluetoothd] Not enough free handles to register service
> Jan 16 18:52:51 [bluetoothd] Current Time Service could not be registered
> Jan 16 18:52:51 [bluetoothd] gatt-time-server: Input/output error (5)
> Jan 16 18:52:51 [bluetoothd] Not enough free handles to register service
> Jan 16 18:52:51 [bluetoothd] Sap driver initialization failed.
> Jan 16 18:52:51 [bluetoothd] sap-server: Operation not permitted (1)
>
> It doesn't affect only me, here is some links:
> https://bugzilla.redhat.com/show_bug.cgi?id=1259827
> https://bugs.gentoo.org/show_bug.cgi?id=566004
> https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1499858
> --

These are deprecated plugins, we will probably be reworking/removing
them shortly.

--
Luiz Augusto von Dentz