Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 04-26-2016, 03:42 AM   #46
Staphoent
Connoisseur
Staphoent began at the beginning.
 
Posts: 61
Karma: 10
Join Date: Oct 2014
Device: PW3, PW2
I managed to get the terminal to access the vncviewer program file on my pw3, but I received this response:

[root@kindle kvncviewer]# ./luajit vncviewer.lua ./luajit: ./ffi/framebuffer_linux.lua:176: unknown smem_len value for the Kindle mxc eink driver stack traceback: [C]: in function 'error' ./ffi/framebuffer_linux.lua:176: in function 'open' vncviewer.lua:4: in main chunk [C]: at 0x0000c368


Can somebody please help me understand where I may be going round and I do not have a programming background and cannot make sense of this response
Staphoent is offline   Reply With Quote
Old 04-26-2016, 06:25 AM   #47
blkhawk
Bit Wrangler
blkhawk is far, far better than a slap in the face with a wet fish.blkhawk is far, far better than a slap in the face with a wet fish.blkhawk is far, far better than a slap in the face with a wet fish.blkhawk is far, far better than a slap in the face with a wet fish.blkhawk is far, far better than a slap in the face with a wet fish.blkhawk is far, far better than a slap in the face with a wet fish.blkhawk is far, far better than a slap in the face with a wet fish.blkhawk is far, far better than a slap in the face with a wet fish.blkhawk is far, far better than a slap in the face with a wet fish.blkhawk is far, far better than a slap in the face with a wet fish.blkhawk is far, far better than a slap in the face with a wet fish.
 
blkhawk's Avatar
 
Posts: 31
Karma: 93324
Join Date: Sep 2010
Device: Oasis
extract this file to the ffi directory and overwrite the framebuffer_linux.lua. This should fix the problem.
Attached Files
File Type: zip framebuffer_linux.zip (3.1 KB, 196 views)

Last edited by blkhawk; 04-26-2016 at 06:52 AM. Reason: updated the attched file
blkhawk is offline   Reply With Quote
Advert
Old 04-26-2016, 07:05 AM   #48
Staphoent
Connoisseur
Staphoent began at the beginning.
 
Posts: 61
Karma: 10
Join Date: Oct 2014
Device: PW3, PW2
Thanks for that, it seemed to help me get a few steps further. the display functioned for a split-second and gave this result:

[root@kindle kvncviewer]# ./luajit vncviewer.lua -password **** telnet 192.168.1
5.201
could not open input device /dev/input/event2 (possibly harmless)
26/04/2016 11:56:44 VNC server supports protocol version 5.0 (viewer 3.8)
26/04/2016 11:56:44 We have 5 security types to read
26/04/2016 11:56:44 0) Received security type 6
26/04/2016 11:56:44 1) Received security type 130
26/04/2016 11:56:44 2) Received security type 2
26/04/2016 11:56:44 Selecting security type 2 (2/5 in the list)
26/04/2016 11:56:44 3) Received security type 13
26/04/2016 11:56:44 4) Received security type 5
26/04/2016 11:56:44 Selected Security Scheme 2
26/04/2016 11:56:44 VNC authentication succeeded
26/04/2016 11:56:44 Desktop name "Users-Mac-mini"
26/04/2016 11:56:44 Connected to VNC server, using protocol version 3.8
26/04/2016 11:56:44 VNC server default format:
26/04/2016 11:56:44 32 bits per pixel.
26/04/2016 11:56:44 Least significant byte first in each pixel.
26/04/2016 11:56:44 TRUE colour: max red 255 green 255 blue 255, shift red 16 green 8 blue 0
./luajit: ./ffi/framebuffer_linux.lua:51: undeclared or implicit tag 'mxcfb_update_marker_data'
stack traceback:
[C]: in function 'new'
./ffi/framebuffer_linux.lua:51: in function 'einkWaitForCompleteFunc'
./ffi/framebuffer_linux.lua:251: in function 'refresh'
vncviewer.lua:99: in function 'cb'
./ffi/eventloop.lua:188: in function 'loop'
./ffi/input_kindle.lua:42: in function 'waitForEvent'
vncviewer.lua:315: in main chunk
[C]: at 0x0000c368

any help with regards to overcoming this problem will be great
Staphoent is offline   Reply With Quote
Old 04-26-2016, 09:57 AM   #49
Staphoent
Connoisseur
Staphoent began at the beginning.
 
Posts: 61
Karma: 10
Join Date: Oct 2014
Device: PW3, PW2
I have finally got this thing working on the pw3, it is however displaying only in portrait mode and thus using only half of the paperwhite screen. I have changed it to landscape on the Kindle however it makes no difference. can anybody advise me how to get it to display in landscape mode so that I can utilise all of the Kindle screen.

furthermore how do I access the variable options such as refresh rate and screen speed?
Staphoent is offline   Reply With Quote
Old 04-26-2016, 10:25 AM   #50
Staphoent
Connoisseur
Staphoent began at the beginning.
 
Posts: 61
Karma: 10
Join Date: Oct 2014
Device: PW3, PW2
Quote:
Originally Posted by ppoo View Post
My KT have hanged after using rotateFB 90 even though it has been in landscape mode. Without rotating, it works well.
More: It doesn't fit KT screen, there is still a gap between vncviewer window and main window.
how do you rotatefb 90?
Staphoent is offline   Reply With Quote
Advert
Old 05-23-2016, 09:41 AM   #51
pnth
Junior Member
pnth began at the beginning.
 
Posts: 1
Karma: 10
Join Date: May 2016
Device: kindle3
Disable local key input to Kindle

First, thank you so much for the great work, hawhill! I have been the user of kvncviewer since k2 and k3 and I am still currently using them.

I have just registered to ask a question. When I press a key in k3, it sends to the vncserver as desired but at the same time to the local kindle causing it to open up a search bar with the pressed character and the kindle interface reappear. I searched this forum and checked if there is any option to disable the local key input to kindle but no luck. Could anybody let me know if this is possible. I saw discussions about SendKeyEvent but no one seems had this problem. This function doesn't seem to have an option:

handleInput(channel, itype, code, value)

Thanks in advance for any input.
pnth is offline   Reply With Quote
Old 06-29-2016, 05:00 AM   #52
Staphoent
Connoisseur
Staphoent began at the beginning.
 
Posts: 61
Karma: 10
Join Date: Oct 2014
Device: PW3, PW2
This appl ahs been working briliantly for the past few months but for some reason out of nowhere yesterday it stopped connecting for my PW2 and PW3. It displays this when i run the commands that used to work:

Last login: Wed Jun 29 09:50:26 on ttys003
Users-Mac-mini:~ user$ telnet 192.168.15.244
Trying 192.168.15.244...
Connected to 192.168.15.244.
Escape character is '^]'.



Welcome to Kindle!

#################################################
# N O T I C E * N O T I C E * N O T I C E #
#################################################
Rootfs is mounted read-only. Invoke mntroot rw to
switch back to a writable rootfs.
#################################################
[root@kindle root]# cd /mnt/us/kvncviewer/
[root@kindle kvncviewer]# ./luajit vncviewer.lua -password 5007 telnet 192.168.1
5.201
[root@kindle kvncviewer]#

anybody have any idea what the problem might be?

Im on the latest mac os
Staphoent is offline   Reply With Quote
Old 07-02-2016, 06:16 AM   #53
Staphoent
Connoisseur
Staphoent began at the beginning.
 
Posts: 61
Karma: 10
Join Date: Oct 2014
Device: PW3, PW2
its now giving this response even if i use the brand new unedited folder of kvncviewere:

[root@kindle root]# cd /mnt/us/kvncviewer/
[root@kindle kvncviewer]# ./luajit vncviewer.lua -password 5007 telnet 192.168.1
5.201
./luajit: vncviewer.lua:1: unexpected symbol near '='
[root@kindle kvncviewer]#
Staphoent is offline   Reply With Quote
Old 07-02-2016, 06:58 AM   #54
knc1
Going Viral
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: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by Staphoent View Post
its now giving this response even if i use the brand new unedited folder of kvncviewere:

[root@kindle root]# cd /mnt/us/kvncviewer/
[root@kindle kvncviewer]# ./luajit vncviewer.lua -password 5007 telnet 192.168.1
5.201
./luajit: vncviewer.lua:1: unexpected symbol near '='
[root@kindle kvncviewer]#
so don't make us guess, what is the symbol near '=' ?
and is 'telnet 192.168.15.201' (which is the address of the PC's end of the cable suppose to be on the same command line as you show it? Why an opton escape (-) on password but not on telnet?)

Reads like either an altered file and/or PEBKAC - check your work.

Last edited by knc1; 07-02-2016 at 07:02 AM.
knc1 is offline   Reply With Quote
Old 07-02-2016, 08:34 AM   #55
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: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Wild guess: CR/LF issue?
NiLuJe is offline   Reply With Quote
Old 07-02-2016, 01:38 PM   #56
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by NiLuJe View Post
Wild guess: CR/LF issue?
That is an excellent WAG.
geekmaster is offline   Reply With Quote
Old 07-02-2016, 01:57 PM   #57
knc1
Going Viral
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: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Isn't that the same as a good WAFG?

It is what I meant by an 'altered file' above.
knc1 is offline   Reply With Quote
Old 07-03-2016, 01:11 PM   #58
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: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
And since there was mention of a "brand new folder" that I originally missed: I'd take a look at the software used to unpack said folder, because we've had many wild and funny (not) adventures with some archiving tools messing with line endings on unpack...
NiLuJe is offline   Reply With Quote
Old 07-03-2016, 03:36 PM   #59
Staphoent
Connoisseur
Staphoent began at the beginning.
 
Posts: 61
Karma: 10
Join Date: Oct 2014
Device: PW3, PW2
Quote:
Originally Posted by knc1 View Post
so don't make us guess, what is the symbol near '=' ?
and is 'telnet 192.168.15.201' (which is the address of the PC's end of the cable suppose to be on the same command line as you show it? Why an opton escape (-) on password but not on telnet?)

Reads like either an altered file and/or PEBKAC - check your work.
Im pretty sure its reffering to the 'rotate=' option because thats the only one ive changed.

Its now changed its resp9onse to this:

Welcome to Kindle!

#################################################
# N O T I C E * N O T I C E * N O T I C E #
#################################################
Rootfs is mounted read-only. Invoke mntroot rw to
switch back to a writable rootfs.
#################################################
[root@kindle root]# cd /mnt/us/kvncviewer/
[root@kindle kvncviewer]# ./luajit vncviewer.lua -password 5007 telnet 192.168.1
5.201
-sh: ./luajit: not found
[root@kindle kvncviewer]# ./luajit vncviewer.lua -password 5007 telnet 192.168.1
-sh: ./luajit: not found
[root@kindle kvncviewer]# 5.201
-sh: 5.201: not found
[root@kindle kvncviewer]# ./luajit vncviewer.lua password 5007 telnet 192.168.15
.201
-sh: ./luajit: not found
[root@kindle kvncviewer]#


excapt i know the file is clearly there.

my kindle is playing up like crazy
Staphoent is offline   Reply With Quote
Old 07-03-2016, 03:47 PM   #60
knc1
Going Viral
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: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by Staphoent View Post
Im pretty sure its reffering to the 'rotate=' option because thats the only one ive changed.

Its now changed its resp9onse to this:

Welcome to Kindle!

#################################################
# N O T I C E * N O T I C E * N O T I C E #
#################################################
Rootfs is mounted read-only. Invoke mntroot rw to
switch back to a writable rootfs.
#################################################
[root@kindle root]# cd /mnt/us/kvncviewer/
[root@kindle kvncviewer]# ./luajit vncviewer.lua -password 5007 telnet 192.168.1
5.201
-sh: ./luajit: not found
[root@kindle kvncviewer]# ./luajit vncviewer.lua -password 5007 telnet 192.168.1
-sh: ./luajit: not found
[root@kindle kvncviewer]# 5.201
-sh: 5.201: not found
[root@kindle kvncviewer]# ./luajit vncviewer.lua password 5007 telnet 192.168.15
.201
-sh: ./luajit: not found
[root@kindle kvncviewer]#


excapt i know the file is clearly there.

my kindle is playing up like crazy
Do a long list ('ls -l ./luajit') and copy&paste here into a pair of 'code' tags (use the 'advanced' editor).
knc1 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
KindleVNCviewer hack: full screen display? bbhuston Amazon Kindle 0 04-28-2012 11:19 PM


All times are GMT -4. The time now is 08:04 AM.


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