2. Obtain calibration utility binary from www.nextabyte.com/support/touchscreen (you want the file named “calibrator”). There's a good pdf how-to document in the directory you may also want to grab.
3. Open a terminal and type
Code:
cat /proc/bus/input/devices
4. Select the calibrator program on your desktop and right click on it. Select Properties. Click the Permissions tab and click the checkbox “Allow executing file as program.”
5. Open a terminal and navigate to where the calibration program is found (e.g., cd /home/bill/Desktop for me). Type
Code:
sudo ./calibrator /dev/input/eventX
The calibration program will modify your xorg.conf file with a new section as follows:
Code:
Section "InputDevice"
Identifier "touchscreen"
Driver "evtouch"
Option "Device" "/dev/input/event2"
Option "DeviceName" "touchscreen"
Option "MinX" "82"
Option "MinY" "3900"
Option "MaxX" "3960"
Option "MaxY" "195"
Option "SwapY" "1"
#Option "SwapXY" "1"
Option "ReportingMode" "Raw"
Option "Emulate3Buttons"
Option "Emulate3Timeout" "50"
Option "SendCoreEvents"
EndSection
• Note: the section snippet above contains my tweaked resolution values and not the original values returned by executing the calibration program. I found the calibration program values were a good starting point, but I needed to adjust the values slightly to achieve the best results. Getting the touchscreen calibration just right is a trial and error process.
• Make sure to restart X by hitting Ctrl Alt Backspace after each change to see the results.
• Note: In the section: Option “Device”, I changed the line to read
Code:
Option "Device" "/dev/input/mice"
The calibration program will also insert the following line at the top the section: Section “Server Layout”
Code:
InputDevice "touchscreen" "SendCoreEvents"
Code:
InputDevice "touchscreen" “CorePointer”
The calibration program also modified the section of xorg.conf called:
Section “Input Device’” for my mouse. I had to change the line to read:
Code:
Option "Device" "/dev/input/mice"
7. To enable Ubuntu’s silk keyboard for tapping keyboard input without an attached keyboard, I went to System>Preferences>Accessibility>Assistive Technology Preferences. Under On-screen keyboard, click the checkbox “Start on-screen keyboard at log in.” The keyboard will appear as Ubuntu is loaded. You can resize the keyboard and click the Minimize button to minimize it. There will be an icon in the upper task bar that you can click or touch to bring up the keyboard when you need it, like when typing in a web address when surfing the Net while in bed.
Ubuntu 7.04 has come a long way. I can remember when the major challenge for me in getting Ubuntu properly configured on a laptop was wireless networking. With this release, my wireless card was detected and worked right out of the box. We can only hope that with successive releases, the vexing challenges of touchscreens will become less problematic.
Thanks to wmadan
No comments:
Post a Comment