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

Connect fail after using inkspace #257

Open
HoBoIs opened this issue Jul 25, 2020 · 4 comments
Open

Connect fail after using inkspace #257

HoBoIs opened this issue Jul 25, 2020 · 4 comments

Comments

@HoBoIs
Copy link

HoBoIs commented Jul 25, 2020

I have installed tuhi and it worked fine (at least the tuhi.devel) with a new bamboo slate witch was never used before. However after I used the slate with the windows incspace app (with the same computer) tuhi can't connect with it.
after a lot of
"DEBUG: tuhi: /org/bluez/hci0/dev_CC_ED_D3_2A_F1_20: call Register() on device"
message I get
"14:32:00 DEBUG: tuhi: CC:ED:D3:2A:F1:20: UUID 97660064cdb2 protocol: slate
14:32:00 DEBUG: tuhi.ble.CC:ED:D3:2A:F1:20: Connecting
14:32:00 DEBUG: tuhi: CC:ED:D3:2A:F1:20: UUID 97660064cdb2 protocol: slate
14:32:00 DEBUG: tuhi.ble.CC:ED:D3:2A:F1:20: Connecting
14:32:00 DEBUG: tuhi.ble.CC:ED:D3:2A:F1:20: Already connecting
14:32:00 DEBUG: tuhi.ble.CC:ED:D3:2A:F1:20: Connection established
14:32:03 DEBUG: tuhi.ble.CC:ED:D3:2A:F1:20: Disconnected
14:32:03 ERROR: DEBUG: tuhi: CC:ED:D3:2A:F1:20: disconnected
14:32:03 tuhi.ble.CC:ED:D3:2A:F1:20: Connection failed: g-io-error-quark: GDBus.Error:org.bluez.Error.Failed: Software caused connection abort (36)"
and it repeats every minute

ps.: I use Ubuntu 18.04.04

@whot
Copy link
Contributor

whot commented Jul 27, 2020

See the FAQ here please.

@HoBoIs
Copy link
Author

HoBoIs commented Jul 27, 2020

Tell me if I wrong, but ist't "call Register() on device" meens it tried to re-registrate it? if not, how do I force re-registrating?
If I remove the config for the device I get "INFO: tuhi: CC:ED:D3:2A:F1:20: device without config, must be registered first" when the led is green, "DEBUG: tuhi: /org/bluez/hci0/dev_CC_ED_D3_2A_F1_20: call Register() on device" when it is blue.

ps.: Naturally I tried the button on the slate. Its led was blinking, while the "call Register()" messages came.

@whot
Copy link
Contributor

whot commented Aug 26, 2020

so basically: tuhi should detect that the device needs to be registered when the blue LED is blinking and the GUI should call Register() when this happends. There may be some race condition happening or something else going wrong but right now everyone is ETIME and debugging this remotely is unlikely, sorry.

@whot whot changed the title Connect fail after using incspace Connect fail after using inkspace Aug 26, 2020
@MauricioAlgalan
Copy link

Delete the directory named as your mac addres device:

Example:

rm -r .local/share/tuhi/AA:BB:CC:DD:EE:FF

then start tuhi

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

3 participants