  Linux Touch Screen HOWTO

  Christoph Baumann, cgb@debian.org
  Oct 24, 2000
  ȣguru2k@kldp.org <mailto:guru2k@kldp.org>

    XFree86 ġ ũ Է ġ  ϴ 
  . ڴ  EloTouch(R)  MicroTouch(R) ġ  ȸ
  ־  Ͽ    ġ  ̴.
  ______________________________________________________________________

  

  1.   ġ ⿡ ϰ Ǵ?
  2.  ġ ϴ 
  3. ġ ۵Ű
  4. ġ ũ з 콺 ϱ
  5. Ÿ 

  ______________________________________________________________________

  1.    ġ ⿡ ϰ Ǵ?

   Ͽ ø Ʈ(/dev/ttyS0 Ȥ /dev/ttyS1)   ġ
  鿡 Ѵ.

  2.   ġ ϴ 

  ġ ũ ġ XF86Config  (κ /etc/X11/XF86Config Ȥ
  /etc/XF86Config)  Xinput κп Ǿ. ó ġ ̹
   ϴ Ȯ϶. װ͵ /usr/X11R6/lib/modules/ ִ
  (ٵ xf86Elo.so  xf86MuTouch.so ġ   ).
   XF86Config . ű ̰Ͱ  ̴ κ ־ Ѵ:

  Section "Files"
  ...
  ModulePath "/usr/X11R6/lib/modules"
  ...
  EndSection

  X   Ǵ    Ͱ  κ ű⿡ ־
   Ѵ:

  Section "Module"
  Load "xf86Elo.so"
  EndSection

     κ ִ. X ġ   Ű  ʿ 
  .  Ͱ  ̴ ̰  κ ("man XF86Config" 
  ׸  ):

  Section "Xinput"
   SubSection "Elographics"
  #the entry for a MicroTouch device would be SubSection "MicrotouchFinger"
    Port "/dev/ttyS1" # for a device at serial port 2
    DeviceName "TouchScreen" #could be any unambiguous name
    MinimumXPosition 300
    MaximumXPosition 3700
    MinimumYPosition 300
    MaximumYPosition 3700
    UntouchDelay 10 #not supported with MuTouch
    ReportDelay 10  #not supported with MuTouch
    AlwaysCore #activates the device on startup
   EndSubSection
  EndSection

   ϵ   Ư  MinimumXPosition, Ÿ Է
  ϶ (ġ ũ 谡 ִ  ҿ ޷ִ).  
     (xmax ymax X õ ػ󵵿 ޷ִ,
  1024x768 )   (0,0)  (xmax,yman)   ġ ũ
  ϴ   .  ġ ̹   а ٸ ǥ
   ִ´. :

   --------------touch screen area-----------------
   I                                              I
   I  ########visible monitor area##############  I
   I  #x                                       #  I
   I  # (0,0)                                  #  I
   I  # (MinimumXPosition,MinimumYPosition)    #  I
   I  #                                        #  I
   I  #                                        #  I
   I  #                                        #  I
   I  #                                        #  I
   I  #                                        #  I
   I  #                                        #  I
   I  #                                        #  I
   I  #     (MaximumXPosition,MaximumYPosition)#  I
   I  #                             (xmax,ymax)#  I
   I  #                                       x#  I
   I  ##########################################  I
   I                                              I
   ------------------------------------------------

   ϱ   Ȥ ġ ̼  б⿡  
  ִ ( ø Ʈ α׷ ʿϴ, "The Linux Serial
  Programming HOWTO"  ). Eletouch MicroTouch ٺ  
   Ѵ (  ڿ  ,
  ftp://metalab.unc.edu/pub/linux/X11/xutils/touchcal-0.1.tar.gz
  <ftp://metalab.unc.edu/pub/linux/X11/xutils/touchcal-0.1.tar.gz>) 
  ã  ִ).

  3.  ġ ۵Ű

  X  Ŀ, ͹̳ο  ɾ Ķ

  xsetpointer <devicename>

  <devicename>  XF86Config DeviceName "....."  ٿ 
  ̸ ,   TouchScreen ̴.

  ġ Ҷ ۵ Ű ġ ũ AlwaysCore ض.

  4.  ġ ũ з 콺 ϱ

  ġ ũ з 콺 Ϸ Xinput-section mouse
  specs  Ѿ Ѵ.  Ǵ Pointer-section   ־
  Ѵ. Ʒ PS/2-mouse  ִ:

  Section "Xinput"
     SubSection "Mouse"
        Protocol "PS/2"
        Port "/dev/mouse" #could also be /dev/psaux
        DeviceName "Mouse"
        AlwaysCore
     EndSubSection
  ...
  EndSection

      ָϰ Ѵ. Ư AlwaysCore ɼ .  
   ο Ѵ.

  5.  Ÿ 

  o  XF86Config 

  o  http://www.elotouch.com/Support/linux.asp
     <http://www.elotouch.com/Support/linux.asp>

  o  http://www.hof-berlin.de/tablet/tablet.html <http://www.hof-
     berlin.de/tablet/tablet.html> ( URL ˷ Christer Olofsso
      Ѵ.)

  o   ġ ũ Բ  ޴ :-)

