we are running info-beamer standalone (licensed). Until yesterday everything worked fine. We could test our node that uses touch/mouse without any problems. Today after booting the Raspberry we cannot use touch or mouse anymore. No event is sent to the node.lua. Hardware is exactly the same as yesterday.
The usual logging in the service python script does not print anything in the output log. We run info beamer from bash with LOGLEVEL=3 for development.
Maybe is something related to our Raspbian installation having a read only filesystem?
root@raspberrypi(ro):~# lsusb
Bus 001 Device 007: ID 1ff7:0013 CVT Electronics.Co.,Ltd CVTouch Screen (HID)
Bus 001 Device 008: ID 0461:4de2 Primax Electronics, Ltd
first is touch screen, second is standard cabled mouse.
What can we check to discover why service is not called (or does not work)? Any idea?
Who is starting the python service and this time does not start it?
Oh. I just realized: The root depends on how your info-beamer directory is called. In the hosted environment, the info-beamer directory is at /space/root, so the top-level node is named root. If you put your code in /home/node or whatever, it ends up as node in that example and your service sends to the wrong target.
Yes that was it!
Thanks for the great work as always.
so we have to run
export NODE=node # "node" the name of our directory holding the node, can be anything you decide
cd /home/pi
. venv/bin/activate
cd /home/pi/node
python service
and it works!! Now we will wrap this up as a service!