All of lore.kernel.org
 help / color / mirror / Atom feed
* Bluetooth connect to Google Home?
@ 2018-01-19 18:09 Ken Mandelberg
  2018-01-19 18:47 ` Luiz Augusto von Dentz
  0 siblings, 1 reply; 3+ messages in thread
From: Ken Mandelberg @ 2018-01-19 18:09 UTC (permalink / raw)
  To: linux-bluetooth

The Google Home speakers offer bluetooth connectivity which works with 
Android phones and tablets. I don't have IOS devices but I presume they
work too.

When I try to pair with bluez based bluetooth on Linux on my very first 
try it wants a pin. I try one of the generic pins and it fails. 
Subsequent pairing attempts fail but never ask for a PIN again.

After a long timeout bluetoothctl shows

Failed to pair: org.bluez.Error.AuthenticationCanceled

Info shows

Device E4:F0:42:60:85:DF
	Name: Office speaker
	Alias: Office speaker
	Class: 0x5e0400
	Icon: audio-card
	Paired: no
	Trusted: no
	Blocked: no
	Connected: no
	LegacyPairing: no
	UUID: Audio Sink                (0000110b-0000-1000-8000-00805f9b34fb)
	UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
	UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
	UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
	UUID: Google                    (0000fe9f-0000-1000-8000-00805f9b34fb)

Any way to workaround?


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bluetooth connect to Google Home?
  2018-01-19 18:09 Bluetooth connect to Google Home? Ken Mandelberg
@ 2018-01-19 18:47 ` Luiz Augusto von Dentz
  2018-01-22  0:18   ` Ken Mandelberg
  0 siblings, 1 reply; 3+ messages in thread
From: Luiz Augusto von Dentz @ 2018-01-19 18:47 UTC (permalink / raw)
  To: Ken Mandelberg; +Cc: linux-bluetooth

Hi Ken,

On Fri, Jan 19, 2018 at 4:09 PM, Ken Mandelberg <km@mathcs.emory.edu> wrote:
> The Google Home speakers offer bluetooth connectivity which works with
> Android phones and tablets. I don't have IOS devices but I presume they
> work too.
>
> When I try to pair with bluez based bluetooth on Linux on my very first try
> it wants a pin. I try one of the generic pins and it fails. Subsequent
> pairing attempts fail but never ask for a PIN again.

Weird that would mean it is using legacy pairing which is very weird
considering most systems should already have 4.0 controllers, anyway
we could tell more from the HCI trace if you have it. (you can use
either btmon, hcidump to collect that.)

> After a long timeout bluetoothctl shows
>
> Failed to pair: org.bluez.Error.AuthenticationCanceled
>
> Info shows
>
> Device E4:F0:42:60:85:DF
>         Name: Office speaker
>         Alias: Office speaker
>         Class: 0x5e0400
>         Icon: audio-card
>         Paired: no
>         Trusted: no
>         Blocked: no
>         Connected: no
>         LegacyPairing: no
>         UUID: Audio Sink
> (0000110b-0000-1000-8000-00805f9b34fb)

At least A2DP should work with the above UUID.

>         UUID: A/V Remote Control Target
> (0000110c-0000-1000-8000-00805f9b34fb)
>         UUID: A/V Remote Control
> (0000110e-0000-1000-8000-00805f9b34fb)
>         UUID: PnP Information
> (00001200-0000-1000-8000-00805f9b34fb)
>         UUID: Google
> (0000fe9f-0000-1000-8000-00805f9b34fb)
>
> Any way to workaround?
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth"
> in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Luiz Augusto von Dentz

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bluetooth connect to Google Home?
  2018-01-19 18:47 ` Luiz Augusto von Dentz
@ 2018-01-22  0:18   ` Ken Mandelberg
  0 siblings, 0 replies; 3+ messages in thread
From: Ken Mandelberg @ 2018-01-22  0:18 UTC (permalink / raw)
  To: Luiz Augusto von Dentz; +Cc: linux-bluetooth

First of all I did go and use btmon to get a complete trace. Its a bit 
long so here is a url for it

     http://www.mathcs.emory.edu/~km/bt.out

For this trace, I deleted the google device from /var/lib/bluetooth and 
the cache, and restarted
bluetooth, so I would have it from the start. bluetoothctl turned scan 
on long enough to see the
device and then I did a pair that ended with

Failed to pair: org.bluez.Error.AuthenticationCanceled

While this trace is the typical failure, one time (out of many tries) it 
actually did pair, connect,
and played sound. Once I did a disconnect, it still showed paired, but 
then connect would fail.

These speakers work perfectly via bluetooth from android.



Luiz Augusto von Dentz wrote on 01/19/2018 01:47 PM:
> Hi Ken,
>
> On Fri, Jan 19, 2018 at 4:09 PM, Ken Mandelberg <km@mathcs.emory.edu> wrote:
>> The Google Home speakers offer bluetooth connectivity which works with
>> Android phones and tablets. I don't have IOS devices but I presume they
>> work too.
>>
>> When I try to pair with bluez based bluetooth on Linux on my very first try
>> it wants a pin. I try one of the generic pins and it fails. Subsequent
>> pairing attempts fail but never ask for a PIN again.
> Weird that would mean it is using legacy pairing which is very weird
> considering most systems should already have 4.0 controllers, anyway
> we could tell more from the HCI trace if you have it. (you can use
> either btmon, hcidump to collect that.)
>
>> After a long timeout bluetoothctl shows
>>
>> Failed to pair: org.bluez.Error.AuthenticationCanceled
>>
>> Info shows
>>
>> Device E4:F0:42:60:85:DF
>>          Name: Office speaker
>>          Alias: Office speaker
>>          Class: 0x5e0400
>>          Icon: audio-card
>>          Paired: no
>>          Trusted: no
>>          Blocked: no
>>          Connected: no
>>          LegacyPairing: no
>>          UUID: Audio Sink
>> (0000110b-0000-1000-8000-00805f9b34fb)
> At least A2DP should work with the above UUID.
>
>>          UUID: A/V Remote Control Target
>> (0000110c-0000-1000-8000-00805f9b34fb)
>>          UUID: A/V Remote Control
>> (0000110e-0000-1000-8000-00805f9b34fb)
>>          UUID: PnP Information
>> (00001200-0000-1000-8000-00805f9b34fb)
>>          UUID: Google
>> (0000fe9f-0000-1000-8000-00805f9b34fb)
>>
>> Any way to workaround?
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth"
>> in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-01-22  0:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-19 18:09 Bluetooth connect to Google Home? Ken Mandelberg
2018-01-19 18:47 ` Luiz Augusto von Dentz
2018-01-22  0:18   ` Ken Mandelberg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.