Giter VIP home page Giter VIP logo

Comments (9)

toxicrecker avatar toxicrecker commented on August 15, 2024 2

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.

Alkaid-Benetnash avatar Alkaid-Benetnash commented on August 15, 2024 1

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.

 avatar commented on August 15, 2024

Update: Phone sees the device, but pairing gives errors

from emubthid.

Alkaid-Benetnash avatar Alkaid-Benetnash commented on August 15, 2024

Hi, if you still have issues pairing, maybe share more information about the errors you saw.

from emubthid.

Alkaid-Benetnash avatar Alkaid-Benetnash commented on August 15, 2024

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.

toxicrecker avatar toxicrecker commented on August 15, 2024

I will get back to this with all the information you asked for and a video of what happens.

from emubthid.

hrdl-github avatar hrdl-github commented on August 15, 2024

I needed to run bluetoothctl pairable on before pairing (bluez 5.70, Arch Linux).

from emubthid.

jal-frezie avatar jal-frezie commented on August 15, 2024

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.

Alkaid-Benetnash avatar Alkaid-Benetnash commented on August 15, 2024

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:

  1. Be sure to update the MAC address of your bluetooth controller in the source code. This step is very important.
  2. 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.