View Single Post
Old 01-28-2024, 02:24 PM   #34
elinkser
Addict
elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.
 
Posts: 242
Karma: 146236
Join Date: Oct 2022
Device: Kobo Clara HD
***UPDATE***
MISSION ABORT
There sre no "Mark6" devices (which the Aura One is) listed as supported by rmkit.
(Libra H2O and Clara HD are "Mark7", implying a different set of hardware control commands.)
We gave it a shot, but I've gotta bow out here.
Maybe Raisjn will add suport if he knows you're interested?

***

That looks fine.
I get the same messages:
READING CONFIG FROM /home/root/.config/remux/remux.conf
No such file or directory

But then I would still see a menu in a rectangular box after the swipe:

Code:
Nickel                    66MB   
animation_demo                   
dumbskull                              
input_demo                            
mines                                      
remux                                      
rpncalc                                    
wordlet                                    
                               NEXT
Maybe check your install directories?

/opt is a symbolic link to /mnt/onboard/.adds/rmkit and should have same contents.

# ls /opt
bin/
enable_remux

# ls /mnt/onboard/.adds/rmkit
bin/
enable_remux

# ls /mnt/onboard/.adds/rmkit/bin/
apps/
remux.sh

# ls /mnt/onboard/.adds/rmkit/bin/apps
animation_demo
dumbskull
input_demo
mines
remux
rpncalc
wordlet



Maybe try copying the input_demo I uploaded to Post # 1 to the /mnt/onboard/.adds/rmkit/bin/apps/ folder?
input_demo

Or try running the individual app directly from a second SSH screen:
# /mnt/onboard/.adds/rmkit/bin/apps/input_demo
(while remux is still running in the first screen.)



***




I uploaded a new version of remux that defaults to allowing unrecognized devices to run (so you no longer need to specify RMKIT_KOBO_ANY=1 on the command line.

Conversely, setting RMKIT_KOBO_RESTRICT=1 allows only recognized devices to run.


Default touch settings are now:
invert_y = false
invert_x = false
swap_xy = false
//rotation %= 4

These can be overridden by setting any of:
INV_Y=1
INV_X=1
SWP_XY=1
ROT_4=1

So, the Clara HD for example, could be run with:
# INV_X=1 ROT_4=1 sh /opt/bin/remux.sh


$ nano -l src/rmkit/util/machine_id.cpy
Code:
68         switch KOBO_CUR_VERSION:
69 //          case util::KOBO_DEVICE_ID_E::DEVICE_KOBO_CLARA_HD:
70 //            debug "RUNNING ON CLARA HD"
71 //            break
72           case util::KOBO_DEVICE_ID_E::DEVICE_KOBO_LIBRA_H2O:
73             debug "RUNNING ON LIBRA H2O"
74             break
...
79             if getenv("RMKIT_KOBO_RESTRICT") != NULL:
80               debug "*** UNRECOGNIZED KOBO DEVICE, EXITING ***"
81               debug "SETTING 'RMKIT_KOBO_RESTRICT=1' DISALLOWS RUNNNING ON UNSUPPORTED KOBOS"
82               exit(1)
83               break
84
85             debug "*** UNRECOGNIZED KOBO DEVICE, TOUCH MAY NOT WORK ***"
86             break
$ nano -l src/rmkit/input/events.cpy
Code:
 
179       version := util::get_kobo_version()
180       rotation := util::rotation::get()
181       invert_y = false
182       invert_x = false
183       swap_xy = false
184       if getenv("INV_Y") != NULL:
185         invert_y = true
186       if getenv("INV_X") != NULL:
187         invert_x = true
188       if getenv("SWP_XY") != NULL:
189         swap_xy = true
190       if getenv("ROT_4") != NULL:
191         rotation %= 4
192       switch version:
193         case util::KOBO_DEVICE_ID_E::DEVICE_KOBO_CLARA_HD:

***

Last edited by elinkser; 01-29-2024 at 08:30 PM. Reason: abort
elinkser is offline