Page 2 of 3

Re: Toon 2 questions

Posted: Thu Feb 07, 2019 9:44 am
by marcelr
Not sure, will check tonight.

Re: Toon 2 questions

Posted: Thu Feb 07, 2019 8:17 pm
by HansS
Great, thanks. Also, the vnc package is not for the Toon 2 architecture. I updated a previous post, but people might not have noticed that. There must be a package for Toon 2, since some of you are already using vnc to look at the Toon 2 screen ;)

Re: Toon 2 questions

Posted: Thu Feb 07, 2019 9:41 pm
by Toonz
here you go...… just for viewing, controlling the screen is not possible

http://files.domoticaforum.eu/uploads/T ... p-neon.ipk

Re: Toon 2 questions

Posted: Thu Feb 07, 2019 10:10 pm
by marcelr

Re: Toon 2 questions

Posted: Fri Feb 08, 2019 7:55 pm
by HansS
Thanks guys. Have cron back up and running, so my Grafana dashboard is working again. Toon 2 is much less cpu intensive, and has a lot more free memory.

Tried to install vnc, but it seems I miss some dependencies:

Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for x11vnc:
* libcrypto1.0.2 (>= 1.0.2p) * libssl1.0.2 (>= 1.0.2p) *

I know that I should be able to get them using vpn, from some feed address, but I guess the url's and versions are different for the fw I'm running? If you can point me in the right direction, or provide the packages, would be greatly appreciated ;)

Re: Toon 2 questions

Posted: Fri Feb 08, 2019 8:25 pm
by Toonz

Re: Toon 2 questions

Posted: Fri Feb 08, 2019 10:54 pm
by HansS
Thanks. But I need different ones I'm affraid:

"Not selecting libcrypto1.0.2 1.0.2p due to incompatible architecture."

Are there Toon 2 versions?

Re: Toon 2 questions

Posted: Fri Feb 08, 2019 10:55 pm
by marcelr
moved to the right architecture subdir:

http://files.domoticaforum.eu/index.php ... ipk/armv5e

(probably means that these are for toon 1 ;-) )
Will check for cortexa9hf-vfp-neon versions.

Edit: Done.

http://files.domoticaforum.eu/index.php ... f-vfp-neon

Re: Toon 2 questions

Posted: Tue Apr 09, 2019 2:03 pm
by WickedMaster
09/04/2019 12:02:54 x11vnc version: 0.9.13 lastmod: 2011-08-10 pid: 1174
09/04/2019 12:02:54 This x11vnc was built without X11 support (-rawfb only).
09/04/2019 12:02:54
09/04/2019 12:02:54 *** XOpenDisplay failed. No -display or DISPLAY.
09/04/2019 12:02:54 *** Trying ":0" in 4 seconds. Press Ctrl-C to abort.
09/04/2019 12:02:54 *** 1 2 3 4
09/04/2019 12:02:58 This x11vnc was built without X11 support (-rawfb only).
09/04/2019 12:02:58

09/04/2019 12:02:58 ***************************************
09/04/2019 12:02:58 *** XOpenDisplay failed (:0)

Any suggestions?

Re: Toon 2 questions

Posted: Tue Apr 09, 2019 9:28 pm
by marcelr
Is this x11vnc for toon1? That version uses a framebuffer device which is slightly different from toon2's framebuffer dev. Incompatible, I'm afraid ...

Re: Toon 2 questions

Posted: Tue Apr 09, 2019 10:49 pm
by WickedMaster
Installed the x11vnc_0.9.13-r3_cortexa9hf-vfp-neon.ipk file from files.domoticaforum.eu/index.php?cam=/T ... f-vfp-neon

Re: Toon 2 questions

Posted: Tue Apr 09, 2019 11:09 pm
by marcelr
I think that's quby's own. Not sure if it's any good, apparently not ...

Re: Toon 2 questions

Posted: Wed Apr 10, 2019 8:26 am
by TheHogNL
Currently x11vnc isn't working on a toon2

You can get the display to work (you just need to point to the correct framebuffer device) however the touch isn't working. X11vnc doesn't support multitouch and the toon only responds to multitouch (also a single touch is recorded as a multitouch response) messages.
There is a method to 'rewrite' single touch message to multitouch messages and let x11vnc use that as a input/filter/driver. I did try that once but due to lack of knowledge I could get it to work.

(to start it: x11vnc -rawfb map:/dev/fb0@1024x600x32 )

Re: Toon 2 questions

Posted: Wed Apr 10, 2019 9:20 am
by Toonz
WickedMaster wrote:Installed the x11vnc_0.9.13-r3_cortexa9hf-vfp-neon.ipk file from files.domoticaforum.eu/index.php?cam=/T ... f-vfp-neon
On a Toon 2 start with (viewing only):

Code: Select all

x11vnc -forever -shared -rawfb map:/dev/fb0@1024x600x32 -usepw -pipeinput UINPUT:touch,touch_always=1,abs,pressure=128,direct_abs=/dev/input/event0,direct_btn=/dev/input/event0,direct_rel=/dev/input/event0,direct_key=/dev/input/event0,nouinput

Re: Toon 2 questions

Posted: Sun May 07, 2023 1:53 pm
by Rtbravo
Thanks for all the info here, got vnc running on Toon 2 using it.

One thing i was missing here, but is crucial, add port 5900 to the iptables config, else you wont be able to connect.

Other question, someone made a pull request for the vnc lib to allow multitouch support. It is not merged yet, but if i can compile the vnc x11vnc package, i can apply the patch too. Was wondering is someone knows how the package was build?

Patch is here https://github.com/LibVNC/x11vnc/pull/218