Comments (9)
Hello, I have a similar issue, I do not see the GUI window which I should be seeing according to the guide, pairing or anything gives no errors but it's simply stuck on "waiting for connection", no errors, nothing.
from emubthid.
And @jal-frezie ,
I don't have a wayland setup. But will be happy to merge your X window => TkInter changes.
If I understand correctly, Tkinter should provide generic I/O support agnostic to linux desktop environment so it also works with X.
Feel free to create another wayland issue/PR.
from emubthid.
Update: Phone sees the device, but pairing gives errors
from emubthid.
Hi, if you still have issues pairing, maybe share more information about the errors you saw.
from emubthid.
The part of the code in question is here
I understand that the GUI might not show up until the pairing is done. But I do not understand what you experienced.
Can you confirm that this program only has one instance running at the same time?
Also, the linux distro, kernel number, bluez version, etc. All those information could be helpful too.
from emubthid.
I will get back to this with all the information you asked for and a video of what happens.
from emubthid.
I needed to run bluetoothctl pairable on
before pairing (bluez 5.70, Arch Linux).
from emubthid.
I'm also stuck on 'waiting for connection'.
Ubuntu 24.04, gnome-flashback, kernel 6.8.0-31-generic, bluez 5.72
I see some 'CHG's in the bluetoothctl window when I start the script, but no new window.
Also when executing power on, I get the following in syslog:
2024-05-14T19:22:20.864413+01:00 xxxx bluetoothd[202858]: src/adv_monitor.c:btd_adv_monitor_power_down() Unexpected NULL btd_adv_monitor_manager object upon power down
2024-05-14T19:22:20.894605+01:00 xxxx blueman.desktop[21127]: blueman-applet 19.22.20 WARNING PowerManager:203 on_adapter_property_changed: adapter powered on while in off state, turning bluetooth on
2024-05-14T19:22:24.304126+01:00 xxxx blueman.desktop[6589]: blueman-applet 19.22.24 WARNING PowerManager:203 on_adapter_property_changed: adapter powered on while in off state, turning bluetooth on
...so I killed the processes 6589 and 21127 and tried again, the messages were gone but otherwise no difference
Once I get past this problem I intend to replace the X window with a Tkinter toplevel which should enable me to run it on a Wayland GUI
from emubthid.
Hi all who is stuck on "waiting for connection",
I just did a test with an up-to-date setup and updated the README to reflect the latest behavior.
But in brief, I think there are two issues you are facing:
- Be sure to update the MAC address of your bluetooth controller in the source code. This step is very important.
- The readme was misleading, the GUI window is actually expected to show up when you completed the whole pairing process with another device. The connection you were waiting for is basically the bluetooth connection from the client which needs a bt keyboard.
Hope it solves your problems!
from emubthid.
Related Issues (13)
- Errors running main.py HOT 3
- How do I do this? HOT 1
- for windows? HOT 1
- How to move cursor to exact coordinates HOT 1
- README: "input" plugin of bluetoothd should be disabled, not enabled
- Awesome project. Can we extend it? HOT 2
- Connection Reset by Peer for Apple Devices HOT 6
- 'bluetoothd -P input' not working on Ubuntu 22.04 HOT 2
- Question about how this is done HOT 1
- Enable bluetooth - making sure that bluetoothd has the plugin...
- ERRNO 98
- Mouse only seems to grab while button pressed. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emubthid.