-
Notifications
You must be signed in to change notification settings - Fork 80
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
Device or resource busy #77
Comments
I have the same issue, please someone help us? |
1 similar comment
I have the same issue, please someone help us? |
I have the same issue on Arch Linux with kernel version |
I have same issue too |
Me too (on Fedora 36 with Pipewire). |
Python 3.10.4 But it worked on Ubuntu 20.04 earlier. |
Did you try disconnecting the device before running the script? Sorry for the late response. I'm currently super busy with work. |
I changed the version of |
For anyone else having this issue (which for me showed up after upgrading from debian bullseye to bookworm), I've found a workaround: Before reading battery level, disconnect from the device using bluetoothctl, then reconnect after. I've wrapped this in a shell script for ease of use. It's annoying that I can no longer read battery level during an active connection, but it's better than nothing! |
That's literally in the 'Readme' that no one reads 🤦♂️ |
I used the toggle button in settings to disconnect the device and connected it again. But, no matter what I do, I get this error again. :( Even used the " bluetoothctl " command as suggested above. Using Ubuntu 22.04. Thanks |
Fedora 36, after I disconnect "Jabra Evolve 65" it gets few lines of code further but still:
|
I had the same issue. It was resolved for me by following this advice, or rather the way it's done here. I.e.:
Now |
Tried this, no luck :( |
@meetdilip Enabling experimental features in BlueZ allows PulseAudio 16.0 and PipeWire 0.3.34 to report battery status for the device back to it, on recent versions. It does so based on the most common AT commands similar to this script, hence you won't need / should not use this script at all anymore (and BlueZ will itself propagate battery information if a battery GATT or similar is available). (You will need "some" utility that reads out the battery status from BlueZ and/or UPower1 over DBus, though. For i3blocks I've made my own: https://github.com/MarijnS95/i3blocks-contrib/blob/master/bluetooth-battery/bluetooth-battery, and other WMs may display extra battery icons for devices listed by UPower) @TheWeirdDev perhaps it is time to start pointing users towards this in the README, as it effectively deprecates this script and perhaps even conflicts with it? See the relevant changelog items in PulseAudio 16.0: And for PipeWire I'm unsure if it landed 0.3.34 or 0.3.24 already. Footnotes
|
Thanks a lot @Garbaz ! I've been looking for this for soo long... This not only solved the issue with this python script not being able to connect to some devices, but also added the missing bluetooth devices to the "Power" tab in GNOME Settings. Cheers! |
Not working on ubuntu 20.04 with pipewire configuration.
And without pipewire I cant use mic from bluetooth headset so cant switch back.
The text was updated successfully, but these errors were encountered: