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

'bluetoothd -P input' not working on Ubuntu 22.04 #9

Closed
guliteb opened this issue Sep 26, 2022 · 2 comments
Closed

'bluetoothd -P input' not working on Ubuntu 22.04 #9

guliteb opened this issue Sep 26, 2022 · 2 comments

Comments

@guliteb
Copy link

guliteb commented Sep 26, 2022

I am using Ubuntu 22.04. BlueZ is native installed. When I run 'sudo bluetoothd -P input', it shows ''D-Bus setup failed: Name already in use'. And then running 'sudo python3 main.py' resulted in 'Address already in use'.

How should I resolve this failure?

Thanks.

@Alkaid-Benetnash
Copy link
Owner

Can you double check whether the Ubuntu has also started another bluetoothd?
Like normally many distros that I have seen will have a systemctl status bluetooth service running in the background by default. If you found one, you have to stop it or change its startup options.

@guliteb
Copy link
Author

guliteb commented Sep 28, 2022

Thanks. It works after I run systemctl stop bluetooth and manually start sudo bluetoothd -P input.

@guliteb guliteb closed this as completed Sep 28, 2022
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

No branches or pull requests

2 participants