OpenQNX :: The QNX Community Portal

May 13, 2008 - 02:27 PM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 85 unlogged users and 3 registered users online.

You can log-in or register for a user account here.

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
Qnxonian
22 Post subject: Changing the hostname --> touchscreen doesn't work  PostPosted: 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.
 
 View user's profile Send private message  
Reply with quote Back to top
RoverFan
Post subject: RE: Changing the hostname --> touchscreen doesn  PostPosted: 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)?
 
 View user's profile Send private message  
Reply with quote Back to top
Qnxonian
Post subject: RE: Changing the hostname --> touchscreen doesn  PostPosted: 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.)
 
 View user's profile Send private message  
Reply with quote Back to top
Qnxonian
Post subject: RE: Changing the hostname --> touchscreen doesn  PostPosted: 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? Smile
 
 View user's profile Send private message  
Reply with quote Back to top
jinma
Post subject: RE: Changing the hostname --> touchscreen doesn  PostPosted: 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
 
 View user's profile Send private message  
Reply with quote Back to top
qnxloader
Post subject: RE: Changing the hostname --> touchscreen doesn  PostPosted: 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.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters.
Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.