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

Genie not working after last upgrade #166

Open
Jab2870 opened this issue Feb 15, 2022 · 9 comments
Open

Genie not working after last upgrade #166

Jab2870 opened this issue Feb 15, 2022 · 9 comments

Comments

@Jab2870
Copy link

Jab2870 commented Feb 15, 2022

RM Version 2.12.1.527

I updated my remarkable and unfortunately genie has stopped working.

This is my normal config:

gesture=swipe
direction=up
fingers=3
zone=0 0.8 1 1
command=/opt/bin/iago

I have tried swapping the command for echo Testing and running the command manually and I get no output when performing the gesture.

@raisjn
Copy link
Member

raisjn commented Feb 15, 2022

are you running it with rm2fb-client? I'll look this evening

@Jab2870
Copy link
Author

Jab2870 commented Feb 17, 2022

Is rm2fb-client different from rm2fb?

@Eeems
Copy link
Contributor

Eeems commented Feb 17, 2022

Is rm2fb-client different from rm2fb?

Yes, rm2fb is the server that handles displaying changes to the screen. rm2fb-client is a utility that automatically handles sending update to the server for an application.

@raisjn
Copy link
Member

raisjn commented Feb 17, 2022

genie works for me on 2.12.1.527 - i tested out the three finger tap and thrree hold as well as the swipe up gesture using genie.example.conf

@raisjn
Copy link
Member

raisjn commented Feb 17, 2022

i also tested iago and it shows up for me. its likely that you don't have a compatible version of rm2fb. please try out the version from testing

@not-a-doctor-stromberg
Copy link
Contributor

I'm also having trouble with Genie since last upgrade. I'm also on 2.12.1.527, but the ddvk patch. Here's a video of a few simple gestures failing to be recognized (I know it's janky, happy to provide better debug info with guidance). Video shows two finger tap not being recognized and two finger swipe not being recognized until the end when I finally got one (laptop screen in video is showing journalctl -f -u genie.service).

Here's the genie.conf I was using:

gesture=swipe
fingers=2
command=echo "Two finger swipe up 100"
zone=0 0 1 1
direction=up
distance=100

gesture=swipe
fingers=1
command="One finger swipe up 100"
zone=0 0 1 1
direction=up
distance=100

gesture=tap
fingers=2
command=echo "Two finger tap anywhere"
zone=0 0 1 1
duration=0.5

Thanks for all the work on this project! Love genie!

@raisjn
Copy link
Member

raisjn commented Mar 10, 2022

can you try swiping with four fingers to clear the tap state? I will install the update and see what is happening this weekend

@raisjn
Copy link
Member

raisjn commented Mar 19, 2022

I tried again and genie is working fine for me - is there any other details you can add?

@Jab2870
Copy link
Author

Jab2870 commented Apr 3, 2022

Is there anything specific you want?

reMarkable: /opt/etc/ systemctl status genie
● genie.service - Gesture launcher
     Loaded: loaded (/lib/systemd/system/genie.service; enabled; vendor preset: disabled)
     Active: active (running) since Sun 2022-04-03 09:20:16 UTC; 2min 17s ago
   Main PID: 196 (genie)
     CGroup: /system.slice/genie.service
             └─196 /opt/bin/genie /opt/etc/genie.conf

Apr 03 09:20:16 reMarkable genie[196]: XRES 1404 YRES 1872 BPP 16 GRAYSCALE 0
Apr 03 09:20:16 reMarkable genie[196]: USING /opt/etc/genie.conf AS CONFIG FILE
Apr 03 09:20:16 reMarkable genie[196]: ADDED SWIPE GESTURE:
Apr 03 09:20:16 reMarkable genie[196]:   command: /opt/bin/iago
Apr 03 09:20:16 reMarkable genie[196]:   gesture: swipe
Apr 03 09:20:16 reMarkable genie[196]:   fingers: 3
Apr 03 09:20:16 reMarkable genie[196]:   min_events:
Apr 03 09:20:16 reMarkable genie[196]:   zone: 0 1497 1404 1872
Apr 03 09:20:16 reMarkable genie[196]:   direction: up
Apr 03 09:20:16 reMarkable genie[196]:   distance:
reMarkable: /opt/etc/ systemctl status rm2fb.service
● rm2fb.service - reMarkable 2 Framebuffer Server
     Loaded: loaded (/lib/systemd/system/rm2fb.service; enabled; vendor preset: disabled)
     Active: active (running) since Sun 2022-04-03 09:20:18 UTC; 3min 15s ago
   Main PID: 198 (rm2fb-server)
     CGroup: /system.slice/rm2fb.service
             └─198 rm2fb-server

Apr 03 09:20:16 reMarkable systemd[1]: Starting reMarkable 2 Framebuffer Server...
Apr 03 09:20:16 reMarkable xochitl[198]: STARTING RM2FB
Apr 03 09:20:16 reMarkable xochitl[198]: getInstance() at address: 0x3cda0c
Apr 03 09:20:16 reMarkable xochitl[198]: REPLACING THE IMAGE with shared memory
Apr 03 09:20:18 reMarkable xochitl[198]: Reading waveforms from /usr/share/remarkable/320_R393_AF6D11_ED103TC2C5_VB3300-KCD_TC.wbf
Apr 03 09:20:18 reMarkable xochitl[198]: Running INIT (135 phases)
Apr 03 09:20:18 reMarkable xochitl[198]: 1404 1872 16
Apr 03 09:20:18 reMarkable xochitl[198]: WAITING FOR SEND UPDATE ON MSG Q
Apr 03 09:20:18 reMarkable systemd[1]: Started reMarkable 2 Framebuffer Server.
reMarkable: /opt/etc/ opkg info rm2fb-client
Package: rm2fb-client
Version: 1:0.0.15-1
Depends: display (= 1:0.0.15-1)
Replaces: rm2fb
Conflicts: rm2fb
Status: install user installed
Section: devel
Architecture: rm2
Maintainer: raisjn <[email protected]>
Size: 916242
Filename: rm2fb-client_1_0.0.15-1_rm2.ipk
Description: Shim to make reMarkable 1 apps work on reMarkable 2
Installed-Time: 1648977483
reMarkable: /opt/etc/ opkg info genie
Package: genie
Version: 0.1.6-2
Depends: display, rm2fb-client
Status: install user installed
Section: utils
Architecture: rmall
Maintainer: raisjn <[email protected]>
Size: 40181
Filename: genie_0.1.6-2_rmall.ipk
Description: Gesture engine that connects commands to gestures
Installed-Time: 1648977442

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

4 participants