maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [SFOS] [Announce] Rockpool - Pebble daemon for Sailfish (https://talk.maemo.org/showthread.php?t=96490)

taixzo 2016-07-28 16:49

Re: [Announce] Rockpool - Pebble daemon for Sailfish
 
I'm using a Nexus 5. I tried that, and now the watch says "connected" in the Pebble Bluetooth menu, but it still shows as "disconnected" in Rockpool (although the name of the watch is there now, and it shows an image of it).

abranson 2016-07-28 21:14

Re: [Announce] Rockpool - Pebble daemon for Sailfish
 
You don't by any chance have the old pebbled installed and running, do you? That was the case last time someone found themselves in that situation.

taixzo 2016-07-29 00:57

Re: [Announce] Rockpool - Pebble daemon for Sailfish
 
Quote:

Originally Posted by abranson (Post 1511120)
You don't by any chance have the old pebbled installed and running, do you? That was the case last time someone found themselves in that situation.

How do I check? I don't remember installing such, unless it came with the Sailfish image. (which it may have, there were several preinstalled apps.)

ruff 2016-07-29 12:33

Re: [Announce] Rockpool - Pebble daemon for Sailfish
 
Quote:

Originally Posted by taixzo (Post 1511130)
How do I check? I don't remember installing such, unless it came with the Sailfish image. (which it may have, there were several preinstalled apps.)

easiest way is to run cli (ssh/terminal) and do
Code:

ps axf|egrep 'pebble|rockpoold'
that should show
a) whether there's pebbled service running
b) how many instances of rockpoold are running

P.S. probably need to add a check for dbus before acquiring service path to avoid multiple instances running

mosen 2016-07-29 13:27

Re: [Announce] Rockpool - Pebble daemon for Sailfish
 
I have new observations on the "Rockpool crash/freeze when call ends on Jolla C"

Today i left my pebble at home but had rookpool service running.
I connected to my cheap Car Bluetooth, "Blaupunkt IF".
Got a call, ended it and had the same symptoms as if pebble was connected.
Jolla C froze for 2 minutes, i left it alone and it recovered without rebooting.
I stopped the service from Rockpool app -> developertools and tried again, no problem without rockpool running.
I will test with an Alpine unit in second car and Nokia Headset when i am @ home.

ruff 2016-07-29 14:12

Re: [Announce] Rockpool - Pebble daemon for Sailfish
 
yes, according to preliminary investigation the affected part is platform integration layer which is not bound to pebble connection. It is a glue between jolla's voicecall-ui/voicecall-manager which presumably causes the crash. I've just upgraded my os to 2.0.2.14 - will see if I experience same symptoms.

taixzo 2016-07-29 15:00

Re: [Announce] Rockpool - Pebble daemon for Sailfish
 
Quote:

Originally Posted by ruff (Post 1511179)
easiest way is to run cli (ssh/terminal) and do
Code:

ps axf|egrep 'pebble|rockpoold'
that should show
a) whether there's pebbled service running
b) how many instances of rockpoold are running

P.S. probably need to add a check for dbus before acquiring service path to avoid multiple instances running

I got this:

Code:

[nemo@Jolla ~]$ ps ax | egrep 'pebble|rockpoold'
 9038 pts/1    S+    0:00 egrep pebble|rockpoold
21948 ?        Ssl    0:04 /usr/bin/rockpoold                                         
22114 ?        Ss    0:00 /usr/bin/invoker -o --type=qt5 /usr/bin/rockpoold

Are 21948 and 22114 two different instances?

ruff 2016-07-29 15:31

Re: [Announce] Rockpool - Pebble daemon for Sailfish
 
Quote:

Originally Posted by taixzo (Post 1511196)
Are 21948 and 22114 two different instances?

No, they're representing the same service, invoker - to boost the process, and boosted process under maplauncher

when you watch is connected - in Bluetooth system settings is it also shown as connected?
or you can try in CLI
Code:

hcitool con
and see the connected devices.

taixzo 2016-07-29 18:31

Re: [Announce] Rockpool - Pebble daemon for Sailfish
 
Code:

hcitool con
returned nothing. I removed and re-paired the watch. Now, it shows
Code:

[nemo@Jolla ~]$ hcitool con
Connections:
        < ACL B0:B4:48:F6:EC:D2 handle 12 state 1 lm MASTER AUTH ENCRYPT

but now Rockpool is saying "No Pebble smartwatches configured yet."

Edit: I rebooted and now
Code:

hcitool con
is showing nothing again even though it shows the Pebble under "Paired devices." I'm thinking this is probably a bug with the Nexus 5 bluetooth. (Has anyone else with a Nexus 5 got Rockpool working?)

ruff 2016-07-29 19:05

Re: [Announce] Rockpool - Pebble daemon for Sailfish
 
Paired is not equal to connected. Paired means system knows the devce, knows how to connect to it (mac, profiles, auth key). Connected means the channel is actually established. Actual connection is triggered by rockpoold. If rockpoold does not see pebble it would not attempt to connect so paired but not connected after reboot is wrong but kind of expected based on your description.
To make a fresh start try following:
* stop rockpoold service (eg. disable in client)
* remove .local/share/rockpoold dir (eg. rm -rf .local/share/rockpoold) (this will remove all saved configuration of the rockpool. if any)
* Do not remove paired pebble in the system. Leave it as is. Or if you're not sure it's paired properly - you may again re-pair it, removing from both system and pebble existing connection.
* start rockpoold service again.

At this point rockpool should a) see it has no pebbles at all b) detect paired pebble in the system and add it internally, initiating connection.


All times are GMT. The time now is 04:17.

vBulletin® Version 3.8.8