touchscreen

Hi,
I use the Input utility to start the touchscreen from a shell.
But if you close the shell the Input process dies and touchscreen is
disabled. Why does this happen?

Thanks,
Shashank

Shashank wrote:

Hi,
I use the Input utility to start the touchscreen from a shell.
But if you close the shell the Input process dies and touchscreen is
disabled. Why does this happen?

Because Input gets a SIGHUP, when you close the terminal session. If
you don’t want this to happen then start Input with the nohup (No
SIGHUP) utility.

e.g. $ nohup Input …

Rennie

Why not just setup a trap file?
Non-standard input (i.e. not autodetect, cause you won’t find the
touchscreen) should be configured the same way a video card is, make a
trap file called input. and put it in the /etc/config/trap
directory, here is an exmple of my trap file, starting a keyboard and a
mouse, I had one that started a touchscreen, but can’t find it, the
principle is exactly the same.

kbd
-R fd -d/dev/kbd
devmse
-d/dev/mouse


Chris Nasr
cnasr[at]mechtronix[dot]ca
Mechtronix Systems Inc.