07-02-2019, 06:09 PM | #1 |
Junior Member
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 |
07-02-2019, 06:13 PM | #2 |
BLAM!
Posts: 13,501
Karma: 26047188
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. |
Advert | |
|
07-02-2019, 06:29 PM | #3 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jun 2019
Location: Austria, Villach
Device: Kobo
|
Okay and how? Is there a Nickel "config file"
|
07-02-2019, 07:33 PM | #4 |
BLAM!
Posts: 13,501
Karma: 26047188
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 . |
07-02-2019, 07:34 PM | #5 |
Linux User
Posts: 2,281
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 07:37 PM. |
Advert | |
|
07-02-2019, 07:36 PM | #6 |
BLAM!
Posts: 13,501
Karma: 26047188
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...
|
07-02-2019, 07:40 PM | #7 |
Linux User
Posts: 2,281
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 ;-) |
Tags |
clara, kiosk, python, touch |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is there anyway to turn off Sleep mode ? | Yasuo | Amazon Kindle | 7 | 12-28-2017 04:08 AM |
Kobo - Night light doesn't turn off in sleep mode | voidIndigo | Devices | 3 | 06-05-2017 03: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 04:40 PM |
Kindle 3, how to turn off PDF margin cropping in landscape mode? | songer | Amazon Kindle | 0 | 06-19-2011 09:00 PM |
PDA soft and e-book vending machine - soon to replace the kiosk next door? | Alexander Turcic | News | 6 | 07-03-2005 02:27 PM |