View RSS Feed

Sonicxtacy02

  1. Automotive Computing (R)Evolution - The Android Head Unit Build - Touchscreen Setup

    by , 06-25-2013 at 07:50 PM

    A part of the thrill of using custom hardware is that eventually you will run across an obstacle. The resistive touchscreen that's used in the Lilliput and Xenarc monitors presented quite the thrill when connecting it to the ODROID-X2.

    Upon plugging in the USB connector the initial response is delightful. The touchscreen will automatically begin responding to touch. The problem lies in where those touches occur based on the position of your finger on the screen. The X and Y axes are reversed, leaving you with a touchscreen that cant really be used. Unfortunately, the solution isn't as easy as it would be in Windows, where a simple recalibration of the touchscreen would correct the issue. The driver that allows the touchscreen to operate on the ODROID-X2 is a part of the system kernel files, and the only real way to apply any fix is to recompile the OS with the modified kernel files.

    Luckily I have Googled enough to stumble on an easy to use guide to correct the issue and get the ODROID-X2 working in harmony with our standard touchscreen fare. This solution may work on other Android development boards, but obviously your source files will vary.

    I must note that I take NO credit for the solutions presented here. It's mostly a combination of information found at these two sources:

    http://forum.odroid.com/viewtopic.php?f=51&t=83
    https://groups.google.com/forum/#!to...86/uNo7a39-s3I



    Requirements
    -A computer running Ubuntu
    -Android SDK with ADB installed (I used this guide to set it up)
    -Download the Toolchain application for Ubuntu from here
    -Download the Android Beta 1.6 Kernel Sources from here

    Steps
    1. Open the Terminal application in Ubuntu and run the following command. You will need admin access as well as the admin password as these are root commands:
    Code:
    sudo apt-get install build-essential libqt4-dev xz
    2. If your Ubuntu is installed on a 64bit machine, you will need to run the following commands (if not, go to step 3)
    Code:
    sudo apt-get install package-name:i386
    sudo apt-get update
    sudo-apt-get install ia32-libs
    3.Run these commands to install and configure Toolchain:
    Code:
    tar -jxvf arm-2010q1.tar.xz
    cd arm-2010q1/bin
    export CROSS_COMPILE=`pwd`/arm-none-linux-gnueabi-
    4.Unpack the kernel sources. Run the following commands:
    Code:
    tar zxvf kernel_4412.tar.gz
    cd kernel_4412
    5.Configure Toolchain for your ODROID-X2 storage type.
    If using the eMMC module enter:
    Code:
    make ARCH=arm odroidx2_android_emmc_defconfig
    If using an SD card enter:
    Code:
    make ARCH=odroidx2_android_sdmmc_defconfig
    6.At this point you can minimize terminal, and navigate to the directory where your kernel sources were unzipped (should be in Home folder, a folder called kernel_4412). In this folder, navigate to the file kernel/drivers/hid/hid-input.c. Open this file with a text editor, as we will be modifying a small portion of the file with the corrected code.

    7.Find the hidinput_hid_event() function, and append the following code between the lines that read "input_event(input, EV_MSC, MSC_SCAN, usage->hid);" and "input_event(input, usage->type, usage->code, value);" . You can use the find/search capability to help locate these lines within the hidinput_hid_event() function:

    Code:
    -//+RDG: patch for eGalax touchscreen: swap X and Y, invert X
    direction
    -if (usage->type == EV_ABS)
    -{
    -        if (usage->hid == HID_GD_X) {
    -                usage->code = 1;        // vs 0 (X becomes Y)
    -                value = 4096 - value;
    -        } else if (usage->hid == HID_GD_Y) {
    -                usage->code = 0;        // vs 1 (Y becomes X)
    -        }
    -//printk("RDG: hidinput_hid_event: type = %d, code = %d, value = %d
    (hid = 0x%x)\n", usage->type, usage->code, value, usage->hid);
    -}
    -//-RDG
    (In the event you cant find this/don't want to be bothered with it, the modified version of the file is attached)



    8. Save and close the file and maximize your terminal window. Run the following command to build the modules:
    Code:
    make -j4 ARCH=arm zImage modules
    This step can take several minutes, so be patient.

    9. copy the modules to the ODROID-X2 by running this command:
    Code:
    adb remount
    for module in `find . -iname *.ko`; do adb push $module /system/lib/modules ; done
    10.Copy the kernel... we're almost there:
    Code:
    adb push arch/arm/boot/zImage /system/lib/modules
    11.Flash the kernel to complete the process!:
    Code:
    adb shell
    cd /system/lib/modules
    busybox dd conv=notrunc seek=2455 bs=512 if=zImage of=/dev/block/mmcblk0
    sync
    exit
    adb reboot
    This command reboots the ODROID and should fix the touchscreen axes!

    Attached Thumbnails Attached Files
  2. Hardware Review: Xenarc 700TSU USB Powered Touchscreen Monitor

    by , 10-13-2011 at 10:27 AM

    What is it?

    The Xenarc 700TSU is a USB controlled and powered 7-inch touchscreen monitor with optional composite support.

    The Verdict:

    The 700TSU takes a pretty large leap forward into making USB only touchscreen devices available to use as primary monitors. It maintains the rather stellar build quality of other Xenarc devices, while reducing the number of cables needed to operate the display. It's rather bulky when compared to other USB monitors, but with that size comes some pretty nice configuration options the segment has not yet seen.

    See the Xenarc 700TSU on the mp3Car Store here.



    What’s in the box?

    The Xenarc 700TSU comes packed with much more than most USB monitors include. There's the monitor, and a USB & composite (2 sets) cable for starters. Couple those with an optional 5v power brick, a cigarette lighter adapter, VESA mount, a full featured remote control, stylus pen, driver cd, and a host of operation manuals.


    Description:

    If you are a regular reader of the product review section, you may have noticed an abundance of reviews and videos regarding touchscreens recently. This is a great thing for the community, as newer touchscreens seem to come out regularly with better brightness, sunlight readability, cabling and power options. As a whole, we've seen a pretty dramatic evolution of these devices, and the Xenarc 700TSU attempts to keep true to that idea.

    The initial concept we've seen before. The 700TSU is a 7-inch touchscreen monitor which can be powered and controlled solely by USB. This means instead of having to poke around for VGA, or HDMI plugs, one (or occasionally two) USB ports instantly power up and display your PC through this unit. This technology is available by use of a special driver suite called DisplayLink, and the 700TSU uses the latest version of this driver to display a clear and crisp image whether what's displayed is static or in motion.


    This capability with DisplayLink in the 700TSU is the best I have personally seen. First generation devices left pictures dull and grainy, and made videos appear distorted and choppy. The 700TSU looks every bit as good as a VGA quality screen, and the controller for the 700TSU actually allows resolution options, again, a feat unseen in the USB segment before. Even at wide angles the 700TSU does an excellent job of providing a quality image.


    Instead of settling for this enhancement in the device, Xenarc took a larger step forward by incorporating two sets of composite connectors. This allows for an even larger array of devices that can be used with this screen. Instead of requiring one USB, the 700TSU allows you to run one of it's two auxiliary power options to the screen and display the composite device, sound included. Xenarc was gracious enough to remember to include the auto-switch composite signalling, so that people who intend to install a backup camera still have that option available with the 700TSU.


    The only drawback to all of this flexibility is the fact that the Xenarc, when compared to the other USB touchscreens, is quite large. That's not to say that it is ridiculously large. In fact, appearance-wise it looks pretty much identical to the Xenarc 700TSV VGA monitor. Only when compared to competing products from Mimo and Lilliput does the 700TSU's girth stand out. Remember though that with those competing devices all you get is USB.


    The only other problem with the Xenarc 700TSU is an inherent problem with all USB touchscreens at this time. They all require the PC to be loaded with drivers to display. That means you get no BIOS, no windows loading notification, or anything until the DisplayLink drivers are up and running.

    The Positive:

    • High quality screen available with only a single USB connection
    • Composite connectors allow for various installations
    • Several different power options available
    • Auto-switch with composite connection included
    • Only USB touchscreen with a full configuration menu, brightness, contrast etc can all be set
    • Resolution options are available, a first in the segment


    The Negative:

    • Size of display is large compared to competing USB screens
    • That annoying wait for drivers to load before display works


    The Verdict:

    The 700TSU takes a pretty large leap forward into making USB only touchscreen devices available to use as primary monitors. It maintains the rather stellar build quality of other Xenarc devices, while reducing the number of cables needed to operate the display. It's rather bulky when compared to other USB monitors, but with that size comes some pretty nice configuration options the segment has not yet seen.

    For more specifications on the Xenarc 700TSU click here
    For a video comparing the Xenarc 700TSU with the other latest USB Touchscreens click here
    For more pictures of the 700TSU click here

  3. 7 Inch USB Touchscreen Showdown

    by , 10-06-2011 at 11:51 AM
    In this second series comparing the latest 7" touchscreens we have the Xenarc 700TSU, the Mimo 720f 2G, and the Lilliput UM70C/T USB connected monitors. Check out the video below to assist you in deciding if a USB touchscreen is right for you and which one should you currently consider.

  4. 2011 7 Inch Touchscreen Showdown

    by , 09-07-2011 at 04:02 PM
    New to the scene and searching through the latest in touch screen devices? Maybe looking to upgrade an aging display with something more modern and feature rich? Check out this video for a quick glimpse of the most recent 7" touchscreen devices and how they compare with each other.

  5. Hardware Review: Lilliput 659GL-70NP/C/T Surface Acoustic Wave Touchscreen Monitor

    by , 08-19-2011 at 03:53 PM

    What is it?

    The Lilliput 659 is a 7" touchscreen monitor which uses Surface Acoustic Wave technology for accurate and precise touchscreen operation.

    The Verdict:

    As beautiful as the display is on the Lilliput 659, it may not be the best bet for every installation. The physical dimensions of the screens bezel and other components means you may very well need more than double din space for adequate installation. If you do have the space needed, the 659 may just be your best bet as its brightness and color saturation is head and shoulders above other factory Lilliput devices to this point.

    See the Lilliput 669HB on the mp3Car Store here.



    What’s in the box?

    As always with Lilliput monitors, everything is included with one minor omission. Connection options include an HDMI to HDMI/USB cable, DVI to HDMI/USB cable, and VGA/Composite cable with sub-connector. Included power options are a 12v cigarette lighter plug and brick-style home power connector. Also included are remote, driver CD, and desk stand. The one omission is the stylus that's typically built into the bezel of the monitor.


    Description:

    The Car PC market has been fed a steady diet of touchscreen options in the last several months. Not only have the major brands like Lilliput and Xenarc done more with their existing product line, the hobby has seen new companies start to promote new products. Though there are many slight differences on specifications between product lines, when it boils down to it, most devices use the same basic screen technology. In the 659GL, Lilliput has changed the game. The 659 uses a different type of touchscreen technology, creatively named "surface acoustic wave" (SAW). This technology isn't new by any means, but this is the first iteration we've seen in the 7-inch touchscreen genre. Surface acoustic wave touchscreens send ultrasonic waves constantly through the screen surface. When a user presses the screen, the wave is interrupted a touch event is sent to the controller for processing. Science aside, the surface wave technology in the Lilliput 659 allows for precise touchscreen presses, higher light transmission, and a sharper, more saturated image.


    Simply put, the image quality on the Lilliput 659 is fantastic. The colors are rich and images are sharp. Though the nit rating remains at 450, the light transmission the SAW touch panel allows makes the screen appear transflective. The glass is still glossy, but its mitigated by the amount of light it passes through. This benefit also allows for a extremely larger viewing radius when compared to resistive touchscreen devices.


    Equally as important to the display of the touchscreen is the response, and the Lilliput 659 comes through in this regard too. The SAW touchscreen is harder than the resistive variants, and this results in a surer button press. The Lilliput 659 eliminates the mushiness, giving users greater confidence in a press without needing the eyes fixated on the screen. I did note that it's harder to get a response on the outer 1/4 inch of the screen, but I'm not sure if this is a problem with my test unit or with all of the 659's.

    This small problem leads me to a larger gripe I have with the Lilliput 659. The bezel on this device when compared with any other 7" touchscreen available today is huge. Anyone looking to install this in a standard double din enclosure may encounter a problem getting it to fit. I'm not sure if the controller boards inside require the larger bezel, but its definitely something to take note of prior to hacking away at your dashboard. Check out my video comparing the bezel size with a Lilliput 669.



    The Positive:

    • Huge leap in image quality from the SAW touchscreen
    • HDMI, DVI, VGA, and Composite connections available
    • Accurate and satisfying touchscreen feedback
    • Auto-On still available (via factory menu)

    The Negative:

    • Bezel size may prohibit double din installation for some
    • Missing auto composite switch wire


    The Verdict:

    As beautiful as the display is on the Lilliput 659, it may not be the best bet for every installation. The physical dimensions of the screens bezel and other components means you may very well need more than double din space for adequate installation. If you do have the space needed, the 659 may just be your best bet as its brightness and color saturation is head and shoulders above other factory Lilliput devices to this point.

    For more specifications on the Lilliput 659 click here
    For more pictures of the Lilliput 659 click here

    Updated 08-19-2011 at 03:58 PM by Sonicxtacy02

    Categories
    Product Reviews
Page 1 of 2 12 LastLast