Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bt-audio depreciated #13

Open
ricitron opened this issue Sep 16, 2016 · 11 comments · May be fixed by #52
Open

bt-audio depreciated #13

ricitron opened this issue Sep 16, 2016 · 11 comments · May be fixed by #52

Comments

@ricitron
Copy link

Any plans to bring bt-audio back in the current version?

@khvzak
Copy link
Owner

khvzak commented Sep 22, 2016

Yes, I'm working on a new version

@dooty
Copy link

dooty commented Nov 14, 2016

To validate the Bluetooth headset in Linux ARM platform. What and which are the binaries required from Bluez

@appdev-w
Copy link
Collaborator

Thanks to khvzak for responding and announcing an new up and coming version. I have been occupied by other coding projects, but I look forward to the new version and to contributing further to the project, as it does need a significant overhaul.

@Notaduck
Copy link

Any news regarding the audio?

@mk-pmb
Copy link

mk-pmb commented Oct 21, 2017

Meanwhile, here's my current shim for bt-audio --connect= on Ubuntu Xenial:

  <<<"agent on
      trust $BT_DEV
       pair $BT_DEV
    connect $BT_DEV
    quit" bluetoothctl

Bash code, $BT_DEV is the MAC. Unusual indentation because additional spaces in the middle were parsed as part of the device name.

Output is misleading when you send all commands immediately because bluetoothctl doesn't have enough time to give good feedback. Nonetheless, a few moments after I run the above, audio playback works, so I don't care about adding delays. If you want that, e.g. to verify the success message, try something like ( sleep ; echo ; sleep ) | bluetoothctl.

@SergioGeeK7
Copy link

SergioGeeK7 commented Oct 24, 2017

Hi @mk-pmb , I'm using your bash and getting No agent is registered
Thanks

@mk-pmb
Copy link

mk-pmb commented Oct 24, 2017

In that case, try running bluetoothctl manually, and enter each command only when bluetoothctl is ready, i.e. had no output messages for a few seconds. This way you should be able to see which of the steps worked, which failed, and why.

PS: Also see my note about misleading output above. Use a tool like pavucontrol to check whether your BT audio device appears within 10 (maybe 30) seconds after what had looked like a failure.

@austinzuffi
Copy link

PS

pavucontrol worked for setting audio playback to my bluetooth audio device
anyone know how configure pulseaudio from command line?

@mk-pmb
Copy link

mk-pmb commented Feb 4, 2020

anyone know how configure pulseaudio from command line?

You could use pacmd and/or pactl.

@praveeenpatel
Copy link

[bluetooth]# scan on
Failed to start discovery: org.bluez.Error.NotReady

@praveeenpatel
Copy link

[bluetooth]# connect 0A:0A:BE:00:38:6C
Attempting to connect to 0A:0A:BE:00:38:6C
Failed to connect: org.bluez.Error.NotReady

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants