Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 07-02-2019, 05:09 PM   #1
mafi
Junior Member
mafi began at the beginning.
 
mafi's Avatar
 
Posts: 4
Karma: 10
Join Date: Jun 2019
Location: Austria, Villach
Device: Kobo
Turn Clara into Kiosk Mode

Hi, i want to disable the touch functionality of my Clara. The idea is to create a solution/app and run it in Kiosk mode.

I was successful with the weather forecast app (yawk) and are now able to build my own python applications.

Any (dirty ) suggestions are welcome!

Best Regards,
Martin
mafi is offline   Reply With Quote
Old 07-02-2019, 05:13 PM   #2
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Since you mentioned dirty... I imagine patching Nickel so it grabs a bogus input device *could* work? (It depends on how gracefully it would handle that unexpected behavior).

But then that's an all-or-nothing approach, which might not be practical.
NiLuJe is offline   Reply With Quote
Advert
Old 07-02-2019, 05:29 PM   #3
mafi
Junior Member
mafi began at the beginning.
 
mafi's Avatar
 
Posts: 4
Karma: 10
Join Date: Jun 2019
Location: Austria, Villach
Device: Kobo
Okay and how? Is there a Nickel "config file"
mafi is offline   Reply With Quote
Old 07-02-2019, 06:33 PM   #4
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Nope, binary patching .

Speaking of, a slightly less permanent approach could be to just patch out the EVIOCGRAB, and do that on your end, since I assume if you grab it, Nickel then gets the shaft (easy enough to double-check with two different evtest instances, the first one not grabbing, while the second one does. That does require Nickel to be down, since it currently does grab ;p).

I think @frostschutz has some experience with that, IIRC.

----

Otherwise, you could simply bypass Nickel, and boot into a custom app where you handle input as you see fit .
NiLuJe is offline   Reply With Quote
Old 07-02-2019, 06:34 PM   #5
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
you can grab the touchscreen, my flashcard addon does it (runs an app with seamless transition, read book, study flashcard, read book, study ...)

if you want to kill the touchscreen entire I guess you could unbind the driver too but that's a one-way road

or you can just kill nickel altogether...? or replace the init (process 1) for a complete takeover [my MagicMemory addon kinda does that]

Last edited by frostschutz; 07-02-2019 at 06:37 PM.
frostschutz is offline   Reply With Quote
Advert
Old 07-02-2019, 06:36 PM   #6
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Speaking of killing, I also do not remember what happens if you simply SIGSTOP it...
NiLuJe is offline   Reply With Quote
Old 07-02-2019, 06:40 PM   #7
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
I stop it as well (I think sickel along with it, I think there was a reboot problem at some point)

In general it works well but since you're shooting blindly it can be stopped in unopportune times (device was just about to standby, or wakeup, or go into usb mode, and bam - stopped).

but still fine, can't have everything ;-)
frostschutz is offline   Reply With Quote
Reply

Tags
clara, kiosk, python, touch

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there anyway to turn off Sleep mode ? Yasuo Amazon Kindle 7 12-28-2017 03:08 AM
Kobo - Night light doesn't turn off in sleep mode voidIndigo Devices 3 06-05-2017 02:08 PM
Free (nook/Kindle/Kobo UK) The Little Kiosk by the Sea [Literary Fiction w/Romance] ATDrake Deals and Resources (No Self-Promotion or Affiliate Links) 0 10-18-2015 03:40 PM
Kindle 3, how to turn off PDF margin cropping in landscape mode? songer Amazon Kindle 0 06-19-2011 08:00 PM
PDA soft and e-book vending machine - soon to replace the kiosk next door? Alexander Turcic News 6 07-03-2005 01:27 PM


All times are GMT -4. The time now is 01:09 AM.


MobileRead.com is a privately owned, operated and funded community.