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

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 03-15-2019, 03:05 PM   #1
ventilatorr
Junior Member
ventilatorr can extract oil from cheeseventilatorr can extract oil from cheeseventilatorr can extract oil from cheeseventilatorr can extract oil from cheeseventilatorr can extract oil from cheeseventilatorr can extract oil from cheeseventilatorr can extract oil from cheeseventilatorr can extract oil from cheeseventilatorr can extract oil from cheese
 
Posts: 2
Karma: 1226
Join Date: Mar 2019
Device: kindle pw4
Question I made a basic remote desktop

I made a very basic remote desktop for my PW4. You need a webserver and python.

There are 3 cgi scripts, a html file, and a python script:
  1. screen.cgi takes a screenshot and returns the path
  2. power.cgi presses the power button
  3. touch.cgi sends coordinates to sendtouch.py
  4. sendtouch.py writes events to the touchscreen
  5. index.html shows the screenshot you can click on

The only problem is that fake touches don't prevent the screensaver. I could use some advice on how to fix that .
Attached Files
File Type: zip rd.zip (2.1 KB, 12 views)

Last edited by ventilatorr; 03-15-2019 at 03:09 PM. Reason: added files...
ventilatorr is offline   Reply With Quote
Old 03-15-2019, 08:12 PM   #2
knc1
99.44/100% On Holiday
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 16,670
Karma: 17654322
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Maybe use the "Disable Screensaver" command?
Our search function should find that for you.
knc1 is offline   Reply With Quote
Old 03-17-2019, 12:49 PM   #3
PoP
 curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.
 
PoP's Avatar
 
Posts: 2,292
Karma: 37799999
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₂ PW3₅.₁₀.₃
^ @ventilatorr

Code:
lipc-set-prop com.lab126.powerd preventScreenSaver 1 #Disable ScreenSaver

lipc-set-prop com.lab126.powerd preventScreenSaver 0 #Enable ScreenSaver
PoP is offline   Reply With Quote
Old 03-19-2019, 11:13 AM   #4
PoP
 curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.
 
PoP's Avatar
 
Posts: 2,292
Karma: 37799999
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₂ PW3₅.₁₀.₃
@ventilatorr

Thanks for the ingenious desktop!

On the PW3 event1 must be written to (not event2).

I changed sendtouch.py at line 11 for the click coordinates to be passed to the Kindle:
Code:
    outfile_path = "/dev/input/event" + "1"
PoP is offline   Reply With Quote
Old 03-22-2019, 08:25 AM   #5
tiandongxv
Junior Member
tiandongxv began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Feb 2016
Device: kindle voyage
Can you provide detailed and feasible options?
I don’t know how to use them.
tiandongxv is offline   Reply With Quote
Old 03-22-2019, 05:29 PM   #6
ventilatorr
Junior Member
ventilatorr can extract oil from cheeseventilatorr can extract oil from cheeseventilatorr can extract oil from cheeseventilatorr can extract oil from cheeseventilatorr can extract oil from cheeseventilatorr can extract oil from cheeseventilatorr can extract oil from cheeseventilatorr can extract oil from cheeseventilatorr can extract oil from cheese
 
Posts: 2
Karma: 1226
Join Date: Mar 2019
Device: kindle pw4
Quote:
Originally Posted by tiandongxv View Post
Can you provide detailed and feasible options?
I don’t know how to use them.
Do you mean instuctions? If so search the forum for jailbreaking, the webserver, and Python.
ventilatorr is offline   Reply With Quote
Old 03-23-2019, 01:58 AM   #7
tiandongxv
Junior Member
tiandongxv began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Feb 2016
Device: kindle voyage
Quote:
Originally Posted by ventilatorr View Post
Do you mean instuctions? If so search the forum for jailbreaking, the webserver, and Python.


Yes!
Could you upload the video,I want see how to turn pages, thanks!
tiandongxv is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
KindleVNC: A kindlet to view and control your remote PC desktop tsinghoo Kindle Developer's Corner 54 01-25-2019 03:36 PM
[KT2] remote code exploit in Basic Kindle 2014 / webkit? Funeral_Chris Kindle Developer's Corner 1 10-28-2014 03:33 PM
Splashtop Remote Desktop app Surveyah enTourage eDGe 1 03-21-2012 05:45 PM
Android Remote Desktop Connection app (RDP client) borisb enTourage Archive 0 05-13-2010 06:48 PM


All times are GMT -4. The time now is 06:14 AM.


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