Hi!
Haven't been here for a while because finally the NBR is usable on my Eee. However, I still have a touch-screen project based on a rather slow Via C7 and of course crunchbang came right back to mind for the job. Currently it is running a gentoo but I found myself spending more time on compiling than on actually using the computer while offering not much speed advantage over jaunty.
If I do all the steps to use the touchscreen manually, it works quite well, so I really need your experience with structure. Here is my problem (somebody using the serial port for a legacy mouse or other input device should have the same issue):
The touch screen is connected via a serial controller. Thus HAL does not recognise and handle it.
To attach the touch screen as an HAL-enabled input device, there is a small application called "inputattach" which works fine (not ubuntu but debian version).
The modules "elo" (for the touchscreen) and "serport" are added to /etc/modules for this to work.
What I do manually is this:
boot into X
open a terminal and inside, a sudo screen session
try to start inputattach -elo /dev/ttyS0: It sometimes wont connect the first or second time - don't know why
What is maybe special about inputattach: When successfully connected, it does not terminate but stay in foregrounddetach the the screen session
restart HAL by sudo /etc/init.d/hal restart
restart GDM by logging off
When logging back on, it will read the fdi file I created (evtouch driver with long-click = right-click etc.) and work quite OK.
My question is: Where do I call the inputattach for this to work automatically. I think it has to be
- after modules
- before HAL and GDM
- with super user rights
- able to repeat itself until successfully attached (not terminating)
My knowledge about the start-up process is limited and even more so my scripting skills. But I'm willing to try almost everything that can be undone. :-)
Thank you all in advance.