PenMount DMC9000 Linux X Window drivers & utilities Version 2.1(Support XFree86 version 4.x.x !!)

** If your X window version is 3.3.x, please install Penmount 3.3.x driver!!.

Files:
Driver/penmount_drv.o          -- Penmount driver
Driver/Source                  -- Penmount driver source code
Calibration/pencal-2.00        -- Penmount calibration utility
Calibration/bcircle.xpm        -- bitmap file, for Penmount calibration utility
Calibration/rcircle.xpm        -- bitmap file, for Penmount calibration utility
XF86Config.sample              -- XF86Config sample

Please check your X Window XFree86 version first and download the PenMount driver,
then follow the procedures to install Linux driver and calibration utilities.

A. Driver installation procedures:

  1. Login system with "root"
  
  2. # cd /root  

  3. Copy penmount driver "penmount_drv.o" into the directory named "/usr/X11R6/lib/modules/input".
      #mount /dev/cdrom /mnt/cdrom  
      #cp /mnt/cdrom/Driver/Linux\ XFree86\ 4.x.x\ V2.0/Driver/penmount_drv.o /usr/X11R6/lib/modules/input
     
  4. Edit XF86Config file to load driver. You can refer to /mnt/cdrom/Driver/Linux\ XFree86\ 4.x.x\ V2.0/XF86Config.sample        
       NOTE: Make sure your XFree86 server is using XF86Config or XF86Config-4 first.           
     # X -version            
     ( If the screen shows "XFree86 Version 4.x.x / X Window System", then go to Next. If not, you are using XFree86 Version 3.x.x driver.)
     #cd /etc/X11
     #rm X
     #ln -s /usr/X11R6/bin/XFree86 X
     #mv XF86Config XF86Config.old
     #mv XF86Config-4 XF86Config
     #ln -s XF86Config XF86Config-4

     
     a. # gedit /etc/X11/XF86Config  (in Xwindow only, or you can use "vi" text mode editor)
                                                      (use copy and paste to modify the following lines)

     b. In the Section "ServerLayout", add a statement :

        InputDevice    "Penmount" "AlwaysCore"

     c. Add a Section "InputDevice" :¡]Here we suppose that touch screen controller is connecting to COM1)

        Section "InputDevice"
        
	Identifier  "PenMount"
	Driver      "penmount"
	Option      "Protocol"	   "Auto"
	Option      "Device"	   "/dev/ttyS0"  #ttys0=COM1,ttys1=COM2
	Option      "PMode"        "1"
	Option	    "MinX"	   "10"
	Option	    "MaxX"	   "1000"
	Option	    "MinY"	   "10"
	Option	    "MaxY"	   "1000"
        Option      "Beep"         "1"		#  0 = no beep, 1 = beep enabled
        Option      "PressVol"     "100" 	#  volume of beep (press event)
        Option      "PressPitch"   "880" 	#  pitch of beep (press event)
        Option      "PressDur"     "15" 	#  length of beep in 10ms (press event)
        Option      "ReleaseVol"   "0"		#  volume of beep (release event)
        Option      "ReleasePitch" "1200"	#  pitch of beep (release event) 
        Option      "ReleaseDur"   "10"		#  length of beep in 10ms (release event)	
        EndSection
        
  5. # startx
  6. Do calibration for the first installation.
  7. The Penmount can work well.      

B. Calibration Utilities Installation procedures:

  1. Copy the calibrate file into the "/usr/local/pencal" directory.
     # mkdir /usr/local/pencal
     # cp /mnt/cdrom/Driver/Linux\ XFree86\ 4.x.x\ V2.0/Calibration/*.* /usr/local/pencal

  2. Input "startx" to start X window.
     # startx

  3. In the X window system, open a terminal window and type
     # cd /usr/local/pencal
     # ./pencal-2.00

  The display will appear a PenCal window, follow up the red points to do calibration, total 4
  points on display. When PenCal window shows "Finished! Please restart X window", wait a moment until the   PenCal 
  window eliminated, and restart the X window system.
  
  4. To get more information, type
     # ./pencal-2.00 --help 

SALT INTERATIONAL CORP.
Jan. 2002
