2

This isn't a question, as I have finally figured out how to get this all to work. I've had to break the links because I don't have enough reputation. sigh.

Instructions to use Mimo Monitors UM-710 (Display only), UM-720S, UM-720F (Both with full touch control) with Raspberry Pi.

Please visit http://www.mimomonitors.com or info@mimomonitors.com

These instructions only work with Mimo Monitors that have been manufactured since about January 2013. Newer units use a Microchip resistive touch controller. Older units use e2i Technologies controllers. The display will work with the older units, but the touch function will not work properly.

Hardware:

Mimo Monitors UM-720S mobile slider (http://www.mimomonitors.com/products/mimo-720-s) Powered USB Hub that can supply at least 1A of current (in the example case Dynax Model: U24H41) Raspberry Pi (in the example case, a model B) SD Card

  1. Download this: (http://) downloads.raspberrypi.org/raspbian_latest/2014-01-07-wheezy-raspbian.zip
  2. Burn the image onto an SD Card. This example uses a windows machine, and burned the image onto an 8 GB card using Win32DiskImager (http://) sourceforge.net/projects/win32diskimager/). If you prefer to do your work in Linux, use dd. The size of the SD card does not matter so long as it is larger than 4GB.
  3. Download the archive from Mimo (http://) cdn.shopify.com/s/files/1/0026/7132/files/RaspberryPi-Mimo710-720.zip?412)
  4. Mount the SD card on a Linux machine, or if you are using windows, you must install and use a program that understands Linux partitions. A good choice is (http://) www.paragon-software.com/home/extfs-windows/. It’s free for personal use. It must be able to WRITE ext4 partitions.
  5. Open the Mimo archive and Copy:

    • kernel.img to the boot partition of the SD Card (not the /boot directory of the ext4 file system). It’s good practice to keep the originals. So rename the existing kernel.img to kernel-stock.img The rest of the files go into the locations specified by the directory structure that is part of the archive file.
    • /etc/X11/Xorg.conf – file -This file doesn’t exit already, so no backup needed.
    • /usr/share/X11/xorg.conf.d/
    • /lib/firmware – directory – overwrites what is there. Again, it is suggested that you rename the existing directory firmware-stock
    • /lib/modules – directory – overwrites what is there. Again, it is suggested that you rename the existing directory modules-stock
  6. Please connect power to the Pi and the hub, and connect the screen to the hub, and the hub to the Pi. You may want a keyboard, mouse and/or network cable depending on how you choose to complete the next steps. You can connect a second monitor (in the example case, the config.txt needed to be changed by removing the ‘#’ in front of hdmi_force_hotplug). The other option is to boot with just the Mimo, and then ssh into the Raspberry Pi (requires a network connection of course).

  7. Boot the system. You should get a green screen on the Mimo.

  8. Either via SSH or console Run sudo raspi-config to:
    • expand filesystem
    • Enable boot to desktop/scratch -> desktop log in as user ‘pi’ at graphical desktop
    • Plus whatever else you prefer. In my case I changed the localization to en_US.UTF-8 UTF-8
    • reboot

At this point, you should have a functional X session and a touch response. It is however likely that you will have calibration issues, and X or Y could be reversed. To calibrate the touch screen:

  1. Open the evdev configuration file in your favorite text editor. We use vi: /usr/share/X11/xorg.conf.d/10-evdev.conf

At the end of the file is this section:

Section "InputClass"
        Identifier "Microchip touchscreen catchall"
        MatchVendor "Microchip_Technology"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
        Option "InvertX" "true"
        Option "Calibration" "110 3973 170 3960"
        Option "EmulateThirdButton" "1"
        Option "EmulateThirdButtonTimeout" "750"
        Option "EmulateThirdButtonMoveThreshold" "30"
EndSection

The touch screen alignment requires us to set some parameters that tell the driver how to “stretch” the touch screen input across the available screen area. To do this, we have to download a simple utility called evtest. You can use the Debian Advanced Package Tool (Apt) tool to download the utility.

  1. Call the command sudo apt-get install evtest to download and install the evtest package.
  2. Run evtest.
  3. Evtest will list the attached input devices. Select the number of the device for Microchip_Technology AR1100 Interface (this was device number three in the example system).
  4. Evtest will show some configuration data then pause, waiting for input.
  5. Using your finger or a stylus, touch the very top left corner of the touch screen. You will see the evtest scrolling a series of data output with both ABS_X and ABS_Y lines, followed by numeric values:

Event: time 1374175747.420998, type 3 (EV_ABS), code 0 (ABS_X), value 484 Event: time 1374175747.421011, type 3 (EV_ABS), code 1 (ABS_Y), value 3364

  1. Of these values, write down the lowest observed ABS_X value and the highest observed ABS_Y value.
  2. Now repeat the process, but this time touch the lower right hand corner of the screen and write down the highest ABS_X value and the lowest ABS_Y.
  3. Now open the 10-evdev.conf file we used in the last step and change the: Option "Calibration" "110 3973 170 3960". The numbers are: “minX maxX minY maxY”, substituting minX, etc., for the observed values from above.
  4. If the X values are swapped, remove the line: Option "InvertX" "true”. If the Y values are swapped, add the line: Option "InvertY" "true". In the example case, when the user pushed on the right side of the screen, it registered on the left and vice versa. Top and bottom just needed calibration values. Each screen is different, so it is quite possible your screen could be reversed.

  5. Save the file, reboot, and now your cursor should follow your finger very closely.

The rest of the section is to enable “Hold-For Right Click”. If you press in one area and don’t move (use a stylus), you will get the right click menu to run, etc.

Calibration procedure borrowed and modified from here (http://) news.hopeindustrial.com/2013/using-a-raspberry-pi-with-a-hope-industrial-systems-touch-screen-part-ii-touch-screen-setup/)

  • 2
    You don't have to put your solution in question box. Answering your own question is fair game! :-) – James Feb 4 '14 at 1:51
  • Why are Mimo Monitors better than other options? otherwise this seems like a promotion for them... – user2813274 Aug 26 '14 at 13:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.