| Author |
Message |
|
|
|
Post subject: Changing the hostname --> touchscreen doesn't work
Posted: Jun 30, 2006 - 09:53 AM
|
|
Active Member
Joined: Aug 12, 2005
Posts: 19
|
|
Hello,
I've on problem:
I've to write a script, which changes the hostname (amongst others) of a system automatically.
So the script replaces the value in /etc/net.cfg. After that the system is rebooted.
The effect is, that the touchscreen of the system doesn't work anymore.
So I changed the script: Before rebooting, the file /etc/system/trap/calib.<OLD-HOSTNAME> (which
contains the calibration-settings of the touchscreen) is copied to /etc/system/trap/calib.<NEW-HOSTNAME>.
Sadly, this has no effect.
When I call "calib" (the tool which creates the .../calib.*-file with user-interaction) the
touchscreen works, but only until I reboot the system.
When I change the hostname with phlip everything works. But it must be done automatically.
Are there any further files, which has to be changed?
Or:
Is there another way to change the hostname? (Perhapps with ifconfig or something similar???)
Thanx a lot in advance. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Changing the hostname --> touchscreen doesn
Posted: Jun 30, 2006 - 04:13 PM
|
|
Active Member
Joined: Jul 31, 2002
Posts: 53
|
|
| Is the input.<HOSTNAME> file (located in /etc/system/trap) used when using the touchscreen (I suspect that it is)? |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Changing the hostname --> touchscreen doesn
Posted: Jul 03, 2006 - 06:51 AM
|
|
Active Member
Joined: Aug 12, 2005
Posts: 19
|
|
Thanx for your answer.
I guess not. There is no input.<hostname>-file in my /etc/system/trap (in both cases: when it does and doesn't work.) |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Changing the hostname --> touchscreen doesn
Posted: Aug 08, 2006 - 01:58 PM
|
|
Active Member
Joined: Aug 12, 2005
Posts: 19
|
|
I'm still having the above problem.
Anybody out there with an idea?  |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Changing the hostname --> touchscreen doesn
Posted: May 01, 2008 - 08:29 PM
|
|
Senior Member
Joined: Oct 28, 2004
Posts: 265
|
|
| run "calib" and calibrate the touch screen and it will create a new calib.hostname file for your touchscreen driver |
_________________ Matthew Jin
Software Engineer
|
| |
|
|
|
 |
|
|
Post subject: RE: Changing the hostname --> touchscreen doesn
Posted: May 05, 2008 - 05:49 AM
|
|
Senior Member
Joined: Oct 06, 2003
Posts: 147
|
|
| try "sync" before reboot, use "hostname" utility instead of rewrite net.cfg. |
|
|
| |
|
|
|
 |
|
|