can anyone tell me how to enable the mouse(/dev/input/mice) and touchscreen(dev/input/event0) while running an application before Qutopia??
Enable both mouse and touchscreen
The keywords are "environment variables". These can be set in a script that is run during init. The only example I can point to is the /etc/profile.environment file in the Pengutronix BSP. /etc/profile appears to call this file, but I don't see what runs /etc/profile Good luck!
A shell (/bin/sh) reads in the "/etc/profile" when it is started as a "login shell" (refer "man sh"). That is why sometimes scripts must source "/etc/profile" by themselfs because their shell is no login shell (when started from startup scripts in "/etc/init.d" for example)
Thank you. Found this: https://www.gnu.org/software/bash/manual/html_node/Bash-Startup-Files.html