itctl and itgui both can't connect to socket #51

Closed
opened 2023-01-25 15:55:02 +00:00 by Janst1000 · 6 comments

I am trying to run itd on my laptop and but whenever I try to use any itctl command or use itgui I get the following error FTL Error while running app error="dial unix /tmp/itd/socket: connect: no such file or directory

When I run systemctl --user status itd it seems to be active though

 itd.service - InfiniTime Daemon (itd)
     Loaded: loaded (/usr/lib/systemd/user/itd.service; enabled; vendor preset:>
     Active: active (running) since Wed 2023-01-25 16:33:52 CET; 16min ago
   Main PID: 1694 (itd)
      Tasks: 14 (limit: 18891)
     Memory: 16.8M
        CPU: 94ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/itd.service
             └─1694 itd

Jan 25 16:33:52 rig systemd[1686]: Started InfiniTime Daemon (itd).

Am I just missing something here?

I am trying to run itd on my laptop and but whenever I try to use any itctl command or use itgui I get the following error `FTL Error while running app error="dial unix /tmp/itd/socket: connect: no such file or directory` When I run `systemctl --user status itd` it seems to be active though ``` itd.service - InfiniTime Daemon (itd) Loaded: loaded (/usr/lib/systemd/user/itd.service; enabled; vendor preset:> Active: active (running) since Wed 2023-01-25 16:33:52 CET; 16min ago Main PID: 1694 (itd) Tasks: 14 (limit: 18891) Memory: 16.8M CPU: 94ms CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/itd.service └─1694 itd Jan 25 16:33:52 rig systemd[1686]: Started InfiniTime Daemon (itd). ``` Am I just missing something here?
Owner

There aren't any log messages in your systemd output. That indicates to me that ITD is not connected to your PineTime. When it connects, you should get a notification on your PineTime. If it's not doing that, you can try connecting to it manually from your Bluetooth settings and then restarting ITD.

There aren't any log messages in your systemd output. That indicates to me that ITD is not connected to your PineTime. When it connects, you should get a notification on your PineTime. If it's not doing that, you can try connecting to it manually from your Bluetooth settings and then restarting ITD.

I am having the same issue, it seems - but my PineTime is indeed connected and paired.

[sincere-airplane@fedora ~]$ bluetoothctl devices Connected
Device 12:34:56:78:90:AB Pinetime-JF
[sincere-airplane@fedora ~]$ bluetoothctl devices Paired
Device 12:34:56:78:90:AB Pinetime-JF
[sincere-airplane@fedora ~]$ bluetoothctl devices Trusted
Device 12:34:56:78:90:AB Pinetime-JF

I get the following when I try to run itctl:

[sincere-airplane@fedora ~]$ itctl watch
3:36PM FTL Error while running app error="dial unix /tmp/itd/socket: connect: no such file or directory"

Running Fedora 36, with an ASUS USB-BT500 bluetooth module on a Dell OptiPlex 9020 full tower.

I am having the same issue, it seems - but my PineTime is indeed connected and paired. ```bash [sincere-airplane@fedora ~]$ bluetoothctl devices Connected Device 12:34:56:78:90:AB Pinetime-JF [sincere-airplane@fedora ~]$ bluetoothctl devices Paired Device 12:34:56:78:90:AB Pinetime-JF [sincere-airplane@fedora ~]$ bluetoothctl devices Trusted Device 12:34:56:78:90:AB Pinetime-JF ``` I get the following when I try to run `itctl`: ```bash [sincere-airplane@fedora ~]$ itctl watch 3:36PM FTL Error while running app error="dial unix /tmp/itd/socket: connect: no such file or directory" ``` Running Fedora 36, with an ASUS USB-BT500 bluetooth module on a Dell OptiPlex 9020 full tower.
Owner

Ah, the device is called Pinetime-JF for you. I believe that's what it used to be called a very long time ago. ITD doesn't support firmware that old, so it won't connect.

Ah, the device is called Pinetime-JF for you. I believe that's what it used to be called a very long time ago. ITD doesn't support firmware that old, so it won't connect.
Owner

I'm not sure if it would work if just the name ITD looks for is modified, that depends on how different the BLE services are

I'm not sure if it would work if just the name ITD looks for is modified, that depends on how different the BLE services are

I'm not sure if it would work if just the name ITD looks for is modified, that depends on how different the BLE services are

I'm not sure I want to gamble with "I'm not sure" with my sealed PineTime, so I might just have to scrounge up my old Android phone to install Gadgetbridge and get it up past 0.7.1 the way documented by the Pine64 wiki.

Still! Looking forward to giving ITD a shot once it's all updated and hunky dory! Your GUI application looks nice, and I'm always a fan of CLI access to my things. :)

> I'm not sure if it would work if just the name ITD looks for is modified, that depends on how different the BLE services are I'm not sure I want to gamble with "I'm not sure" with my sealed PineTime, so I might just have to scrounge up my old Android phone to install Gadgetbridge and get it up past 0.7.1 the way documented by the Pine64 wiki. Still! Looking forward to giving ITD a shot once it's all updated and hunky dory! Your GUI application looks nice, and I'm always a fan of CLI access to my things. :)
Author

Manually connecting to it worked for me now. Now I feel stupid for not having checked and tried that out beforehand. Thanks a lot for the help.

Manually connecting to it worked for me now. Now I feel stupid for not having checked and tried that out beforehand. Thanks a lot for the help.
Sign in to join this conversation.
No description provided.