PathPilot2 ADMIN TOUCHSCREEN not possible + solution

Results 1 to 4 of 4

Thread: PathPilot2 ADMIN TOUCHSCREEN not possible + solution

  1. #1
    Registered
    Join Date
    Apr 2015
    Posts
    4
    Downloads
    0
    Uploads
    0

    Default PathPilot2 ADMIN TOUCHSCREEN not possible + solution

    My 15" ELO Touchscreen was not working properly with PathPilot 2. The y-axis of the touchscreen was flipped and when I touched on the top the pointer was on the bottom...

    After a long search I found the solution:

    I bootet to the desktop. The touchpanel showed up with these two commands:
    Code:
    lsusb
    xinput --list
    All I had to do was to install xinput_calibrator with
    Code:
    sudo apt-get install xinput-calibrator
    After calibrating with
    Code:
    xinput_calibrator
    everything worked fine again!

    I hope this can help someone else in the future!

    Manfred

    PS.: ADMIN TOUCHSCREEN is still not running but I can start it manually with xinput_calibrator on the console

    Similar Threads:


  2. #2
    Registered
    Join Date
    Jul 2007
    Location
    Italia
    Posts
    5
    Downloads
    0
    Uploads
    0

    Default Re: PathPilot2 ADMIN TOUCHSCREEN not possible + solution

    I had problems with ADMIN TOUCHSCREEN not running

    I found the solution that modifies the file: touchscreen_env
    In the directory: operator / v2.1.4 / scripts

    I modified this way


    Code:
    #-----------------------------------------------------------------------
    # coding=utf-8
    #
    # Copyright © 2014-2018 Tormach® Inc. All rights reserved.
    # License: GPL Version 2
    #-----------------------------------------------------------------------
    
    #
    # sourced by touchscreen calibration scripts
    #
    TMC_DIR="$HOME/tmc"
    GCODE_DIR="$HOME/gcode"
    
    TSCAL_BINARY="$TMC_DIR/bin/xinput_calibrator"
    
    # this file path must match in calibration script called from PathPilot UI
    TSCALFILE="$GCODE_DIR/pointercal.xinput"
    
    TSLOGFILE="$GCODE_DIR/logfiles/xinput_calibrator.pointercal.log"
    
    echo "list of xinput devices:"
    xinput --list
    
    #TS_DEVICE=`detect_touchscreen.sh`
    #if [ $? != 0 ]; then
    #    echo "could not find any touchscreen device"
    #    exit 1
    #fi
    
    echo "Touchscreen device = \"$TS_DEVICE\""
    Now he executes ADMIN TOUCHSCREEN but I have to do it again every time I start Pathpilot

    I hope you may be interested
    Excuse my language but use google translator.

    Roberto.



  3. #3
    Registered
    Join Date
    Apr 2015
    Posts
    4
    Downloads
    0
    Uploads
    0

    Default Re: PathPilot2 ADMIN TOUCHSCREEN not possible + solution

    Hi Roberto, thank you for your input!

    I have installed v2.1.5 and there they have introduced ~operator/v2.1.5/scripts/detect_touchscreen.py
    In v2.1.4 they used detect_touchscreen.sh

    Now I took the output of input --list into the list of known devices in detect_touchscreen.py as follows:
    Code:
    operator@tormachpcnc:~$ xinput --list
    ? Virtual core pointer                        id=2    [master pointer  (3)]
    ?   ? Virtual core XTEST pointer                  id=4    [slave  pointer  (2)]
    ?   ? Elo TouchSystems, Inc. Elo TouchSystems 2700 IntelliTouch(r) USB Touchmonitor Interface    id=9    [slave  pointer  (2)]
    ?   ? PixArt USB Optical Mouse                    id=10    [slave  pointer  (2)]
    ? Virtual core keyboard                       id=3    [master keyboard (2)]
        ? Virtual core XTEST keyboard                 id=5    [slave  keyboard (3)]
        ? Power Button                                id=6    [slave  keyboard (3)]
        ? Video Bus                                   id=7    [slave  keyboard (3)]
        ? Power Button                                id=8    [slave  keyboard (3)]
        ? AT Translated Set 2 keyboard                id=11    [slave  keyboard (3)]
    Added (in my case) 'Elo TouchSystems, Inc. Elo TouchSystems 2700 IntelliTouch(r) USB Touchmonitor Interface' to the list...

    Code:
    operator@tormachpcnc:~$ gedit ~operator/v2.1.5/scripts/detect_touchscreen.py
    
    
    LIST_OF_KNOWN_DEVICES = ['eGalax Inc. USB TouchController',
                            'D-WAV Scientific Co., Ltd eGalax TouchScreen',
                            'eGalax Inc. USB TouchControlle?', # trailing 3 byte sequence " 0xe1 0x81 0xb2"
                            'EloTouchSystems,Inc Elo TouchSystems 2216 AccuTouch® USB Touchmonitor Interface',
                            'FUJITSU COMPONENT LIMITED USB Touch Panel',
                            'Elo TouchSystems, Inc. Elo TouchSystems 2700 IntelliTouch(r) USB Touchmonitor Interface'
                            ]
    Now the ADMIN TOUCHSCREEN command is working on the MDI input!

    But this change will be gone with the next update... or TORMACH is so kind and adds this line for me in the next version :-))

    This should make the steps in my first post obsolete but it was the step in the right direction...

    all the best
    Manfred



  4. #4
    Member
    Join Date
    Nov 2012
    Location
    United States
    Posts
    591
    Downloads
    0
    Uploads
    0

    Default Re: PathPilot2 ADMIN TOUCHSCREEN not possible + solution

    I wish there was a hook for local edits that the path pilot would run on start-up...
    Perhaps with the option to not run it if shift is held down or something (for troubleshooting.)



Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

PathPilot2 ADMIN TOUCHSCREEN not possible + solution

PathPilot2 ADMIN TOUCHSCREEN not possible + solution