Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Issue with pipewire bluetooth (cant connect to paired device)
@ 2021-03-18 17:52 Eluminae
  2021-03-18 18:12 ` ericonr
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Eluminae @ 2021-03-18 17:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1766 bytes --]

New issue by Eluminae on void-packages repository

https://github.com/void-linux/void-packages/issues/29570

Description:

### System

An up to date voidlinux

* xuname:  
  *Void 5.10.23_1 x86_64 GenuineIntel uptodate rrrmFFFF*
* package:  
  *pipewire-0.3.23_1*
  *bluez-5.55_1*

### Expected behavior

Having pipewire + bluez setup, I should be able to connect my bluetooth headphone and use it

### Actual behavior

```
[bluetooth]# connect 98:xx:3D:A6:xx:1C
Attempting to connect to 98:xx:3D:A6:xx:1C
Failed to connect: org.bluez.Error.Failed
```

The exact same command with pulseaudio instead of pipewire works like a charm.

### Steps to reproduce the behavior

```
$ sudo xbps-install pipewire bluez
$ sudo ln -s /etc/sv/bluetoothd /var/service/
$ pulseaudio -k # make sure pulseaudio is stopped
$ sudo vim /etc/pipewire/pipewire.conf # make sure to uncomment both context.exec at the end
$ pipewire & # or in another terminal
$ bluetoothctl
[bluetooth]# power on
[bluetooth]# scan on
...
[bluetooth]# pair xx:xx:xx:xx:xx:xx
...
# here you will be connected a very short time then disconnected
[bluetooth]# connect xx:xx:xx:xx:xx:xx
Attempting to connect to xx:xx:xx:xx:xx:xx
Failed to connect: org.bluez.Error.Failed
```

I already tries to remove then re-pair the bluetooth device, or make any kind of combinaison. I got two devices that got the exact same issue. I got the issue with two different machines. Anyway, it works very well with pulseaudio.

Pipewire log this line very early

```
[E][000000903.740297][bluez-monitor.c:572 sm_bluez5_monitor_start()] can't load api.bluez5.enum.dbus: No such file or directory
```

I think maybe it miss something to works correctly with bluez through dbus.

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

* Re: Issue with pipewire bluetooth (cant connect to paired device)
  2021-03-18 17:52 [ISSUE] Issue with pipewire bluetooth (cant connect to paired device) Eluminae
@ 2021-03-18 18:12 ` ericonr
  2021-03-18 18:43 ` st3r4g
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: ericonr @ 2021-03-18 18:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 303 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/29570#issuecomment-802176310

Comment:
I believe @paper42 uses bluetooth with PW... Requesting help :p 

I can't find that `api.bluez5.enum.dbus`  file anywhere, not sure it's actually necessary...

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

* Re: Issue with pipewire bluetooth (cant connect to paired device)
  2021-03-18 17:52 [ISSUE] Issue with pipewire bluetooth (cant connect to paired device) Eluminae
  2021-03-18 18:12 ` ericonr
@ 2021-03-18 18:43 ` st3r4g
  2021-03-18 18:50 ` st3r4g
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: st3r4g @ 2021-03-18 18:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 173 bytes --]

New comment by st3r4g on void-packages repository

https://github.com/void-linux/void-packages/issues/29570#issuecomment-802199753

Comment:
do you have `libspa-bluetooth`?

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

* Re: Issue with pipewire bluetooth (cant connect to paired device)
  2021-03-18 17:52 [ISSUE] Issue with pipewire bluetooth (cant connect to paired device) Eluminae
  2021-03-18 18:12 ` ericonr
  2021-03-18 18:43 ` st3r4g
@ 2021-03-18 18:50 ` st3r4g
  2021-03-18 19:03 ` Eluminae
  2021-03-18 19:04 ` [ISSUE] [CLOSED] " Eluminae
  4 siblings, 0 replies; 6+ messages in thread
From: st3r4g @ 2021-03-18 18:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 189 bytes --]

New comment by st3r4g on void-packages repository

https://github.com/void-linux/void-packages/issues/29570#issuecomment-802199753

Comment:
Install `libspa-bluetooth` and restart pipewire

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

* Re: Issue with pipewire bluetooth (cant connect to paired device)
  2021-03-18 17:52 [ISSUE] Issue with pipewire bluetooth (cant connect to paired device) Eluminae
                   ` (2 preceding siblings ...)
  2021-03-18 18:50 ` st3r4g
@ 2021-03-18 19:03 ` Eluminae
  2021-03-18 19:04 ` [ISSUE] [CLOSED] " Eluminae
  4 siblings, 0 replies; 6+ messages in thread
From: Eluminae @ 2021-03-18 19:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 182 bytes --]

New comment by Eluminae on void-packages repository

https://github.com/void-linux/void-packages/issues/29570#issuecomment-802212259

Comment:
precise and effective. perfect ! :+1: 

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

* Re: [ISSUE] [CLOSED] Issue with pipewire bluetooth (cant connect to paired device)
  2021-03-18 17:52 [ISSUE] Issue with pipewire bluetooth (cant connect to paired device) Eluminae
                   ` (3 preceding siblings ...)
  2021-03-18 19:03 ` Eluminae
@ 2021-03-18 19:04 ` Eluminae
  4 siblings, 0 replies; 6+ messages in thread
From: Eluminae @ 2021-03-18 19:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1769 bytes --]

Closed issue by Eluminae on void-packages repository

https://github.com/void-linux/void-packages/issues/29570

Description:

### System

An up to date voidlinux

* xuname:  
  *Void 5.10.23_1 x86_64 GenuineIntel uptodate rrrmFFFF*
* package:  
  *pipewire-0.3.23_1*
  *bluez-5.55_1*

### Expected behavior

Having pipewire + bluez setup, I should be able to connect my bluetooth headphone and use it

### Actual behavior

```
[bluetooth]# connect 98:xx:3D:A6:xx:1C
Attempting to connect to 98:xx:3D:A6:xx:1C
Failed to connect: org.bluez.Error.Failed
```

The exact same command with pulseaudio instead of pipewire works like a charm.

### Steps to reproduce the behavior

```
$ sudo xbps-install pipewire bluez
$ sudo ln -s /etc/sv/bluetoothd /var/service/
$ pulseaudio -k # make sure pulseaudio is stopped
$ sudo vim /etc/pipewire/pipewire.conf # make sure to uncomment both context.exec at the end
$ pipewire & # or in another terminal
$ bluetoothctl
[bluetooth]# power on
[bluetooth]# scan on
...
[bluetooth]# pair xx:xx:xx:xx:xx:xx
...
# here you will be connected a very short time then disconnected
[bluetooth]# connect xx:xx:xx:xx:xx:xx
Attempting to connect to xx:xx:xx:xx:xx:xx
Failed to connect: org.bluez.Error.Failed
```

I already tries to remove then re-pair the bluetooth device, or make any kind of combinaison. I got two devices that got the exact same issue. I got the issue with two different machines. Anyway, it works very well with pulseaudio.

Pipewire log this line very early

```
[E][000000903.740297][bluez-monitor.c:572 sm_bluez5_monitor_start()] can't load api.bluez5.enum.dbus: No such file or directory
```

I think maybe it miss something to works correctly with bluez through dbus.

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

end of thread, other threads:[~2021-03-18 19:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-18 17:52 [ISSUE] Issue with pipewire bluetooth (cant connect to paired device) Eluminae
2021-03-18 18:12 ` ericonr
2021-03-18 18:43 ` st3r4g
2021-03-18 18:50 ` st3r4g
2021-03-18 19:03 ` Eluminae
2021-03-18 19:04 ` [ISSUE] [CLOSED] " Eluminae

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).