View Single Post
Old 01-31-2024, 03:30 PM   #45
Clouds
Member
Clouds began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Aug 2017
Device: Kobo Aura One
Ok I wasn't too sharp on my previous comment...

Quote:
Weird that it doesn't see nickel now:
CURRENT APP IS _
Yeah it does recognize Nickel, but only when running remux.sh the first time. After killing it and starting it again Nickel isn't active anymore. Accidentally posted the output of a second try.

Quote:
As for the missing libs, yes, you will need binaries compiled for your old kernel and GLIBC version (like your remux) like I have uploaded in Post #1, 10, and 28.
Ah yes, of course. To make sure my rmkit install was done properly I had removed all of it and reinstalled it. And then I only put in your modified remux but left the original input_demo.

Anyway, with remux-0131 and input_demo-0131, I get the following results:

TLDR: input_demo works, swiping up/down in input_demo stops it, swiping up/down in Nickel to launch the menu doesn't do anything on screen yet.
# ps | grep remux
1141 root 0:00 sh /opt/bin/remux.sh
2259 root 0:00 grep remux
# kill -kill 1141
# ps | grep remux
2283 root 0:00 grep remux

# RMKIT_KOBO_ANY=1 sh /opt/bin/remux.sh
COULDNT OPEN machine id FILE 2
[FBInk] Detected a Kobo Aura One (373 => Daylight @ Mark 6)
[FBInk] Clock tick frequency appears to be 100 Hz
[FBInk] Screen density set to 300 dpi
[FBInk] Variable fb info: 1404x1872, 32bpp @ rotation: 3 (Counter Clockwise, 270°)
[FBInk] Fixed fb info: ID is "mxc_epdc_fb", length of fb mem: 10813440 bytes & line length: 5632 bytes
[FBInk] Canonical rotation: 0 (Upright, 0°)
[FBInk] Fontsize set to 32x32 (IBM base glyph size: 8x8)
[FBInk] Line length: 43 cols, Page size: 58 rows
[FBInk] Vertical fit isn't perfect, shifting rows down by 8 pixels
[FBInk] Pen colors set to #000000 for the foreground and #FFFFFF for the background
W: 1404 H: 1872 S: 1408
*** UNRECOGNIZED KOBO DEVICE, TOUCH MAY NOT WORK ***
OPENING /dev/input/event0 AS BUTTONS
OPENING /dev/input/event1 AS TOUCH
OPENING /dev/input/event2 : UNKNOWN EVENT DEVICE
OPENING /dev/input/event3 : UNKNOWN EVENT DEVICE
ERROR OPENING INPUT DEVICE /dev/input/event4
READING CONFIG FROM /home/root/.config/remux/remux.conf
No such file or directory
No such file or directory
No such file or directory
memory stats took 0.0329361
CURRENT APP IS Nickel
RESETTING BPP TO 32
STARTING SUSPEND THREAD
STARTING FIFO THREAD
LAST SUSPEND LOOP WAS 1706729118 AGO, RESETTING IDLE TIMER
SETTING UP GESTURES
SETTING LAUNCH GESTURES TO DEFAULT
ADDED SWIPE GESTURE:
command:
gesture: swipe
fingers:
min_events:
zone: 0 0 140 1872
direction: up
distance:
ADDED SWIPE GESTURE:
command:
gesture: swipe
fingers:
min_events:
zone: 1263 0 1404 1872
direction: up
distance:
ADDED SWIPE GESTURE:
command:
gesture: swipe
fingers:
min_events:
zone: 0 0 140 1872
direction: down
distance:
ADDED SWIPE GESTURE:
command:
gesture: swipe
fingers:
min_events:
zone: 1263 0 1404 1872
direction: down
distance:

Swiping up on the side gives no visible result on screen:
NOT SHOWING LAUNCHER IN LANDSCAPE
CURRENT APP IS Nickel
current app took 0.0108443
SENDING 19 TO GROUP -735 RET 0
SENDING 19 TO GROUP -614 RET 0
stopping apps took 0.02166
SNAPSHOTTING Nickel
COMP TOOK 0.243213 TOTAL SIZE 7194 KBYTES, 460461 ELEMENTS
No such file or directory
No such file or directory
No such file or directory
memory stats took 0.0307918
DISPLAYED LAUNCHER FOR 414 MS
NOT HIDING LAUNCHER BECAUSE INTERVAL < 500
NOT SHOWING LAUNCHER IN LANDSCAPE
CURRENT APP IS Nickel
current app took 0.0810063
SENDING 19 TO GROUP -735 RET 0
SENDING 19 TO GROUP -614 RET 0
stopping apps took 0.00908917
SNAPSHOTTING Nickel
COMP TOOK 0.160917 TOTAL SIZE 58 KBYTES, 3726 ELEMENTS
No such file or directory
No such file or directory
No such file or directory
memory stats took 0.0313472
DISPLAYED LAUNCHER FOR 384 MS
NOT HIDING LAUNCHER BECAUSE INTERVAL < 500


Starting input_demo in a second SSH window.
INV_X and INV_Y must be set for touch to work correctly:
# cd /mnt/onboard/.adds/rmkit/bin/apps/
# INV_X=1 INV_Y=1 RMKIT_KOBO_ANY=1 ./input_demo
COULDNT OPEN machine id FILE 2
[FBInk] Detected a Kobo Aura One (373 => Daylight @ Mark 6)
[FBInk] Clock tick frequency appears to be 100 Hz
[FBInk] Screen density set to 300 dpi
[FBInk] Variable fb info: 1404x1872, 32bpp @ rotation: 3 (Counter Clockwise, 270°)
[FBInk] Fixed fb info: ID is "mxc_epdc_fb", length of fb mem: 10813440 bytes & line length: 5632 bytes
[FBInk] Canonical rotation: 0 (Upright, 0°)
[FBInk] Fontsize set to 32x32 (IBM base glyph size: 8x8)
[FBInk] Line length: 43 cols, Page size: 58 rows
[FBInk] Vertical fit isn't perfect, shifting rows down by 8 pixels
[FBInk] Pen colors set to #000000 for the foreground and #FFFFFF for the background
W: 1404 H: 1872 S: 1408
*** UNRECOGNIZED KOBO DEVICE, TOUCH MAY NOT WORK ***
OPENING /dev/input/event0 AS BUTTONS
OPENING /dev/input/event1 AS TOUCH
OPENING /dev/input/event2 : UNKNOWN EVENT DEVICE
OPENING /dev/input/event3 : UNKNOWN EVENT DEVICE
ERROR OPENING INPUT DEVICE /dev/input/event4

Click, double click, long press, dragging, slider, text input, menu items all work.
The moving square in the box can be dragged around. It will follow the movement of my finger correctly, but it won't automatically jump to underneath my finger (although I suppose it's not supposed to do that anyway?)
SINGLE CLICK 616 942
DOUBLE CLICK 618 988
LONG PRESS 607 996
DRAG START
DRAGGING 612 975
DRAGGING 647 964
DRAGGING 675 955
DRAGGING 706 941
DRAG END
SELECTED 1 bar
MENU 2 SELECTED 1 Option E

Swiping up or down on either side of the screen stops (but doesn't kill) input_demo

First screen with remux running:
NOT SHOWING LAUNCHER IN LANDSCAPE
CURRENT APP IS input_demo
current app took 0.0615768
SENDING 19 TO GROUP -735 RET 0
SENDING 19 TO GROUP -2528 RET 0
SENDING 19 TO GROUP -2557 RET 0
SENDING 19 TO GROUP -2535 RET 0
SENDING 19 TO GROUP -2522 RET 0
SENDING 19 TO GROUP -2515 RET 0
SENDING 19 TO GROUP -2390 RET 0
SENDING 19 TO GROUP -2373 RET 0
SENDING 19 TO GROUP -2549 RET 0
SENDING 19 TO GROUP -2362 RET 0
SENDING 19 TO GROUP -2507 RET 0
SENDING 19 TO GROUP -614 RET 0
stopping apps took 0.018624
SNAPSHOTTING input_demo
COMP TOOK 0.175618 TOTAL SIZE 145 KBYTES, 9285 ELEMENTS
No such file or directory
No such file or directory
No such file or directory
memory stats took 0.0316689
DISPLAYED LAUNCHER FOR 387 MS
NOT HIDING LAUNCHER BECAUSE INTERVAL < 500
At the same time on the second screen with input_demo running:
[3]+ Stopped (signal) ./input_demo

I tried running remux with different commands, i.e.
# RMKIT_KOBO_ANY=1 sh /opt/bin/remux.sh
# RMKIT_KOBO_ANY=1 INV_X=1 ROT_4=1 sh /opt/bin/remux.sh
# RMKIT_KOBO_ANY=1 INV_X=1 INV_Y=1 sh /opt/bin/remux.sh
# RMKIT_KOBO_ANY=1 INV_X=1 INV_Y=1 ROT_4=1 sh /opt/bin/remux.sh

all with the same results: swiping doesn't launch anything.

I'm not sure if I'm supposed to try simple and drawing_demo from yesterday's post as well. I did anyway with different options (e.g. different combination of INV_X=1, INV_Y=1, ROT_4=1). In none of the tests anything visible happens on screen. Swiping up/down on the side of the screen does stop the application:

# INV_X=1 INV_Y=1 RMKIT_KOBO_ANY=1 ./simple
COULDNT OPEN machine id FILE 2
*** UNRECOGNIZED KOBO DEVICE, TOUCH MAY NOT WORK ***
SETTING SCREEN DEPTH 32
W: 1404 H: 1872 S: 1408
XRES 1404 YRES 1872 BPP 32 GRAYSCALE 0
OPENING /dev/input/event0 AS BUTTONS
OPENING /dev/input/event1 AS TOUCH
OPENING /dev/input/event2 : UNKNOWN EVENT DEVICE
OPENING /dev/input/event3 : UNKNOWN EVENT DEVICE
ERROR OPENING INPUT DEVICE /dev/input/event4

# INV_X=1 RMKIT_KOBO_ANY=1 ./drawing_demo
COULDNT OPEN machine id FILE 2
*** UNRECOGNIZED KOBO DEVICE, TOUCH MAY NOT WORK ***
SETTING SCREEN DEPTH 32
W: 1404 H: 1872 S: 1408
XRES 1404 YRES 1872 BPP 32 GRAYSCALE 0
OPENING /dev/input/event0 AS BUTTONS
OPENING /dev/input/event1 AS TOUCH
OPENING /dev/input/event2 : UNKNOWN EVENT DEVICE
OPENING /dev/input/event3 : UNKNOWN EVENT DEVICE

Last edited by Clouds; 01-31-2024 at 05:49 PM.
Clouds is offline