Features on Ubuntu
 Output Logs
If you want to change the ttyS output, create/update the file in /etc/init/ To use ttyS3, create ttyS3.conf. Update the below line to the correct ttyS number
exec /sbin/getty 115200 ttyS3
This can be configured while creating the filesystem by giving --ttyS3 in the rootstock command line. But if this needs to be changed later, follow the above.
To enable network access, modify /etc/network/interfaces and add the below 2 lines.
auto eth0 iface eth0 inet dhcp
This can also be done at the command prompt:
sudo ifconfig eth0 up sudo dhclient eth0
sudo ifconfig -a sudo dhclient ethX where 'X' is the number you see in ifconfig e.g. eth1
If you are behind a firewall and couldn't access the network, follow the below instructions.
(When you sudo apt-get install, you might get an error, Couldn't resolve http://ports.ubuntu.com)
Enable the proxy in /etc/profile (add the below line)
Also, update /etc/apt/apt.conf.d/01ubuntu - add the below line
Also, you can add other respositories available for your region in /etc/apt/sources.list deb http://archive.ubunut.com/ main universe
 Install Touchscreen Library and tools
Download and Install Touch screen Library(tslib) and tools.
If network has been enabled in Ubuntu, this can be done at the target(Zoom) itself.
sudo apt-get install xserver-xorg-input-tslib libts-bin
ts_calibrate utility is in the lib-ts package
Remove the Synaptics Driver
sudo apt-get remove xserver-xorg-input-synaptics
==== Add TouchScreen as InputDevice
Add the following sections to /etc/X11/xorg.conf file
Section "InputDevice" Identifier "touchscreen" Driver "tslib" Option "Device" "/dev/input/event1" Option "SendCoreEvents" "on" Option "Width" "480" Option "Height" "640" Option "SHMConfig" "true" EndSection
Section "ServerLayout" Identifier "Builtin Default Layout" # Screen "Builtin Default fbdev Screen 0" InputDevice "touchscreen" "CorePointer" EndSection
Note: Ubuntu Karmic(9.10) doesn't have xorg.conf by default giving room for autodetection.
Refer to How to create xorg.conf
 Calibrate Touch Screen
Now we have to calibrate the Touchscreen. X-server has to be stopped before doing this.
In the Terminal type: sudo /usr/sbin/gdm-stop
Type in the terminal...
export TSLIB_TSDEVICE TSLIB_CONFFILE TSLIB_CALIBFILE
Note: The above env variables for Touchscreen can also be added to /etc/profile
This will start the calibration Process for the Touchscreen. After that we have to restart the X-Server. sudo /usr/sbin/gdm-restart
This will start the X-Server. Now the Touchscreen should work
Shortcut/Hack: If you have the Zoom calibrated on another distro like Poky or Angstrom, you can copy /etc/pointercal file directly into /etc which will provide the calibration information.
 Troubleshoot Touchscreen
Check if the Touchscreen responds: cat /dev/input/event1 If you touch the Screen and see some garbage Output in the screen, it means that the device is working.