This page is a documentation of my dealings with various touchscreen devices I've encountered. In my experience, most modern devices work out of the box with both 10.04 LTS or 12.04 LTS, but lack the proper calibration or configuration. Some older devices, especially those embedded in laptops such as GD Itronix line of rugged computers, use serial interfaces which lack the configuration to work in Linux. The methods documented here should work with other distros as well.
Global Dynamics Itronix GoBook XR-1
Tutorial - How to Install Ubuntu Mate 16.04 LTS - McFliP Mc Flip. Unsubscribe from Mc Flip? Cancel Unsubscribe. Subscribe Subscribed Unsubscribe 2. Dfu-programmer is a multi-platform command-line programmer for Atmel. Add experimental support for autocomplete on Ubuntu. But the Atmel-provided tool (FLIP. Unable to update ATMEGA 32U2 PPM. What you need to do is update the device driver AFTER you boot the APM board and install the jumper. Atmel Flip 3.4.
This is a rugged laptop I picked up from ebay for a good price, which the seller wiped with Ubuntu 10.04 due to the expense of Microsoft's Windows relicensing fee. The device has an integrated serial touchscreen, and the manufacturer is notorious for hiding any and all documentation on legacy devices such as this one. With a little trial and error however, it's relatively simple to configure this and similar devices. This method should work for most GD products, including the newer GD8000 which replaced this device. Skip to the section for configuring serial devices for these machines.
Checking for touchscreen connectivity
When encountering a new device, the first order of business is to determine how the touchscreen is connected to your computer. If the touchscreen produces no events out of the box, check to see if it's an USB device or not:
USB connection
Check the output for any reference to a touchscreen. If your touchscreen has an USB interface, and it isn't working, then you may need to blacklist the usbtouchscreen driver for it to work:
If your touchscreen begins to produce events, then you can permanently blacklist the usbtouchscreen driver:
Some touchscreens might already have good or perfect calibrations, otherwise you'll need to continue to the calibration section.
Atmel Flip Software
Serial connection
If there is no reference to a touchscreen device in your lsusb output, the connection is most likely through one of your serial ports. The actual IRQ mapping varies between manufacturers. In the case of Itronix devices, the default is /dev/ttyS3. A simple way to check for connections is to check each one for events:
Touch anywhere on your screen to check for any character output. If nothing happens, quit screen by pressing Ctrl+A and then the ' key to quit. Continue with /dev/ttyS1, etc. until you get a response. Once you've determined the device, we can try a few different drivers. In the case of Itronix (and most other devices using the Touchkit driver), the correct driver is touchit213.
Will work for most touchkit screens. The calibration or one or more axes may be swapped, but if the calibration is approximate then it's probably the correct driver. Press Ctrl+C to try a new mode. inputattach supports any of the following modes, which includes external touchscreens which may attach through a physical serial port:
If your device is built into a laptop, you'll have the best luck with the mtouch, touchright, touchwin, or touchit213 drivers. Likewise, non-Elo external touchscreens will most likely use touchit213. If your device is a tablet with stylus-only input, fujitsu is a popular maker of embedded tablet devices.
To attach the touchscreen at startup, edit your /etc/rc.local to look like the following:
Replace -t213 with your appropriate driver and /dev/ttyS3 with the correct device.
Install Atmel Flip Ubuntu Mateo
Again, don't worry if the calibration isn't perfect, or if an axis is inverted or reversed - this will be addressed in the calibration section.
Calibration
Thanks to the wonderful work of the freedesktop.org developers, calibration is no longer a black art in Linux. The calibration utility is included in Ubuntu 12.04 and later:
And for 10.04, there's a ppa available:
Packages and source files are available for other distros here.
The use is pretty straight forward. I had issues getting it to work properly with HAL, however this will work regardless:
Follow the instructions pressing each target, and the calibration output will be printed to the terminal. The calibration will be set immediately, but will not survive reboots. If you're using GDM, you can put the calibration command in your /etc/gdm/Init/Default. I placed calibration values for my XR-1 in both GDM and as a gnome startup script, since it uses automatic login:
Inverted/reversed axes
If your axes are swapped or reversed with the calibration output from xinput_calibrator (after a reboot or X restart), you may need to invert them explicitly, as I did with the XR-1.
The 0 and 1 in the above command enables axis inversion for the x or y axis (0=normal, 1=invert).
If your x and y axis are swapped, use the 'Evdev Axis Swap' 1 verb:
When you're satisfied with the result, you may need to perform calibration again with xinput-calibrator.
Troubleshooting
Different modes and drivers accept different xinput options. To get your touchscreen's device name, use xinput list. Individual driver options can be obtained by using xinput list-props <device name>, where <device name> is either the device name as a string or the id= number.
After fighting with USB eGalaxy Touchscreens for a week or so the solution turned out to be quite simple. I've documented everything with photos here on Google Drive
- https://docs.google.com/document/d/1G4oD6Y8vlyNHW6wJT89pxcjWHoETLLT-SEoAIW6_7Xc/pub
Files
You can get the files here on the website of EETI eGalax
http://www.eeti.com.tw/drivers_Linux.html
Unzip the file
Just unzip the file in the current directory
Here is a quick rundown of the steps
Ensure the Kernel Modules start on boot
Modify the file /etc/modules to add the modules usbtouchscreen and usbhid. These must come after lp and before rtc.
/etc/modules
Load the Kernel Modules (only the 1st time)
Then load the modules by hand the 1st time (or reboot)
sudo modprobe usbtouchscreen usbhid
Move the Daemon and Calibration Files
Move al the files in the folder /home/user/Downloads/eGalax/eGTouch_v2.5.4330.L-x/eGTouch64/eGTouch64withX to /usr/local/bin/ *Note the following command is one line
sudo rsync -avz /home/$USER/Downloads/eGalax/eGTouch_v2.5.4330.L-x/eGTouch64/eGTouch64withX /usr/local/bin/
Place Upstart Job
place the following Upstart job in /etc/init
/etc/init/egalaxtouch.conf
Start the Touchscreen Daemon
Start the touchscreen daemon with the following command
Atmel Flip Application
sudo service egalaxtouch start
Calibration
Calibrate the Touchscreen with eGTouchU
sudo /usr/local/bin/eGTouchU
For Dual Screen Configurations:
Follow the onscreen prompts of the config program for dual screen setup choose Left or Right mode!
Then calibrate the screen using the tools tab
CategoryHardware
Touchscreen (last edited 2015-05-30 10:25:36 by alan-pater)
This quick tutorial shows you how to install the latest AVR Downloader/UploaDEr 6.1 in Ubuntu 14.04 while Software Center provides an old version.
AVRDUDE, stands for AVR Downloader/UploaDEr, is software for programming Atmel AVR Microcontrollers. It provides a command-line interface for all downloading and uploading features. Supports a wide range of programming hardware, from cheap ISP plugs that connect the AVR’s ISP interface directly to a computer’s parallel port or serial port. Supports Intel Hex, Motorola S-Record, and raw binary files for input and output.
Jan 12, 2018 Features: - GODMODE ( Never die ) - Unlimited Money - All the weapons in the game with umlimited ammo spawn on Grove Street. - Some really cool vehicles also spawn at Grove Street such as a Tank, Jetpack, Maverick and that really cool Nascar type racing car, just to name a few. Sep 21, 2018 The New Era of iOS Hacking - Introducing iOSGods Auto Updater (Auto/Self Updating Hacks) Install Hacks on your Non-Jailbroken iOS Device! IOS 11 & iOS 12! - Giveaways Happening Now! Grand Theft Auto San Andreas (GTA San Andreas) Free Download For iPhone iOS 10/11 No Jailbreak No PC. Today we are going to show you about how to Download GTA San Andreas On your iPhone For Free even Without Jailbreak your device. Gta san andreas ios no jailbreak. Here are some features of the new gta 5 for iOS. Get gta 5 free for iOS from here. No need of jailbreak. Download for gta 5 iOS version. Great lag free app. Open world roam system. Roam around the world. Play missions like the normal gta 5 san andreas pc version game.
The latest version 6.1 was released with below changes:
- Atmel EDBG protocol support added (JTAGICE3, XplainedPro, Atmel-ICE)
- Atmel DFU, using FLIP protocol version 1 (AT90USB and ATmega*U* devices), or version 2 (Xmega devices) support.
- Atmel-ICE (ARM/AVR), JTAG, PDI, debugWIRE, ISP modi support.
- Fixed:
- AVRDUDE segfaults when writing eeprom
- Typo fix in fuses report (for 6.1-svn-20130917)
- verify errors for object size > 16 k on x32e5 due to typo in avrdude.conf
- Elf file support (possibly) not working on 6.0.1 windows build
- AT Mega2560 not correctly programmed with stk500(v1) ISP (solution patch)
- OS X: Avrdude messes with the usb stack?
- dfu.c missing include
- DFU FLIPv2 programming support
- (Some) programmers can take a list of USB PIDs now.
AVRDude 6.1 is available in a third-party repository for Ubuntu 14.04 LTS. To install it, run commands below one by one in terminal:
Once installed, run
man avrdude
to get help or read the documents.