Thread: DR1000 Porting VNC
View Single Post
Old 04-26-2011, 06:04 PM   #6
dima_tr
Groupie
dima_tr has learned how to read e-booksdima_tr has learned how to read e-booksdima_tr has learned how to read e-booksdima_tr has learned how to read e-booksdima_tr has learned how to read e-booksdima_tr has learned how to read e-booksdima_tr has learned how to read e-books
 
Posts: 175
Karma: 863
Join Date: Oct 2009
Location: Germany, Karlsruhe
Device: Iliad v2, DR800S (inlove)
I've managed creating a VNC port Working fine on my DR800S, so I expect it to behave nicely on DR1000 as well.

vnc+usbnet.zip contains VNC and some improved USBNET start/stop scripts. No rxvt, no onscreen keyboard etc. Please unpack it to your SD card so you'll have <sdcard>/Programs/....

DR1000 users please get g_ether.ko from here and put it into _usbnet folder.

If you want/need to use a VNC password to your host please create a password file and change the vnc.desktop for DR by adding
Code:
-passwd=pathToFile
. Path can be relative to Programs folder.

Important: everything works correctly in Portrate mode; there are stupid refresh jams in Landscape ... Will investigate further.


Here's the way I work with the thingy:
- connect your device via USB to host. Eject it on host.
- Start on DR from Programs folder usbnet-start.desktop. There's no visual confirmation at the moment, but everything should be fine
- on host execute sudo host-usbnet.sh (please read the script!)
- on DR execute vnc.desktop

Move the stylus around without touching the DR screen, you'll see the mouse cursor moving. If you want to move the view to the right/bottom/left/top then approach the stylus to the screen border.

To stop VNC press DR Menu button.
To stop USBNET launch usbnet-stop.desktop. Then you'll be able to use USB as usual.


The code is attached, it is RealVNC version 4.1.3. Required some minimal changes to compile it, plus in 2-3 places corrections (proper scroll bump, kick DR refreshes). As a small bonus you have RealVNC server compiled for DR, so it's possible to VNC host->device

I've been experimenting with Full Refreshes, but due to high ghosting I decided to stick to Partial Refreshes. Lower number of colors, but stable
Attached Files
File Type: zip vnc+usbnet.zip (534.8 KB, 954 views)
File Type: zip vnc-4_1_3-unixsrc-DR.zip (1.76 MB, 986 views)

Last edited by dima_tr; 04-27-2011 at 04:24 AM. Reason: typos
dima_tr is offline   Reply With Quote