Toon 2 questions

If you don't know where to post, post here.

Moderators: marcelr, TheHogNL, Toonz

marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Toon 2 questions

Post by marcelr »

Not sure, will check tonight.
HansS
Starting Member
Starting Member
Posts: 34
Joined: Thu Feb 15, 2018 11:54 pm

Re: Toon 2 questions

Post 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 ;)
Toonz
Forum Moderator
Forum Moderator
Posts: 1871
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon 2 questions

Post by Toonz »

here you go...… just for viewing, controlling the screen is not possible

http://files.domoticaforum.eu/uploads/T ... p-neon.ipk
member of the Toon Software Collective
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Toon 2 questions

Post by marcelr »

HansS
Starting Member
Starting Member
Posts: 34
Joined: Thu Feb 15, 2018 11:54 pm

Re: Toon 2 questions

Post 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 ;)
Toonz
Forum Moderator
Forum Moderator
Posts: 1871
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon 2 questions

Post by Toonz »

member of the Toon Software Collective
HansS
Starting Member
Starting Member
Posts: 34
Joined: Thu Feb 15, 2018 11:54 pm

Re: Toon 2 questions

Post 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?
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Toon 2 questions

Post 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
WickedMaster
Member
Member
Posts: 76
Joined: Wed Nov 07, 2018 1:53 pm

Re: Toon 2 questions

Post 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?
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Toon 2 questions

Post 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 ...
WickedMaster
Member
Member
Posts: 76
Joined: Wed Nov 07, 2018 1:53 pm

Re: Toon 2 questions

Post 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
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Toon 2 questions

Post by marcelr »

I think that's quby's own. Not sure if it's any good, apparently not ...
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon 2 questions

Post 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 )
Member of the Toon Software Collective
Toonz
Forum Moderator
Forum Moderator
Posts: 1871
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon 2 questions

Post 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
member of the Toon Software Collective
Rtbravo
Starting Member
Starting Member
Posts: 1
Joined: Sun May 07, 2023 1:49 pm

Re: Toon 2 questions

Post 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
Last edited by Rtbravo on Sun May 07, 2023 1:56 pm, edited 1 time in total.
Post Reply

Return to “Toon miscellaneous”