Jump to content

Troubleshooting Bluetooth Adapter Detection Issue in Python Project Script on Ubuntu

I'm having an issue with a Python project script on my Ubuntu system, involving Bluetooth communication with an Android/Linux system. The script, titled project-script.py, is engineered to configure a Bluetooth adapter and execute a range of Bluetooth commands. However, I am running into an issue where the script is unable to recognize my Bluetooth adapter 'hci1

 

 

The error message that appears is:

Unable to find adapter 'hci1', aborting.

The output when I attempt to execute the script is as follows:

vboxuser@ubuntu:~/Downloads/hi_my_name_is_keyboard-main$ ./project-script.py -i hci1 -t 5C:F3:70:AA:07:BD
[2024-01-15 15:37:39.259] executing 'sudo service bluetooth restart'
[sudo] password for vboxuser:
[2024-01-15 15:37:45.538] configuring Bluetooth adapter
[2024-01-15 15:37:45.550] calling RegisterProfile
[2024-01-15 15:37:45.558] running dbus loop
[2024-01-15 15:37:45.560] Unable to find adapter 'hci1', aborting.

I have made sure that the Bluetooth adapter is correctly plugged in and is recognized by the system. Additionally, I have restarted the Bluetooth service and checked that all necessary permissions and dependencies are in place. Despite these measures, the 'hci1' adapter remains undetected by the script.

Edited by Meme time
wanted to better clarify my post
Link to comment
Share on other sites

Link to post
Share on other sites

I am going to go on a massive limb as guess you already made sure your bluetooth adapter is passed to your VM and you also made sure it is detected and is HCI1?

mY sYsTeM iS Not pErfoRmInG aS gOOd As I sAW oN yOuTuBe. WhA t IS a GoOd FaN CuRVe??!!? wHat aRe tEh GoOd OvERclok SeTTinGS FoR My CaRd??  HoW CaN I foRcE my GpU to uSe 1o0%? BuT WiLL i HaVE Bo0tllEnEcKs? RyZEN dOeS NoT peRfORm BetTer wItH HiGhER sPEED RaM!!dId i WiN teH SiLiCON LotTerrYyOu ShoUlD dEsHrOuD uR GPUmy SYstEm iS UNDerPerforMiNg iN WarzONEcan mY Pc Run WiNdOwS 11 ?woUld BaKInG MY GRaPHics card fIX it? MultimETeR TeSTiNG!! aMd'S GpU DrIvErS aRe as goOD aS NviDia's YOU SHoUlD oVERCloCk yOUR ramS To 5000C18

 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×