Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate

Advertising

Untitled
Wednesday, April 11th, 2007 at 11:18:39pm UTC 

  1. IRTOUCHSYSTEMS Co.Ltd  USB Touch Screen setup:
  2.  
  3.  
  4.  
  5. The version of USB touch screen driver composed of¡¡two parts. tkusb.ko , a kernel module to
  6.  
  7. represent a serial interface to user programs. and a¡¡X Input module unitouch_drv.o.
  8.  
  9.  
  10.  
  11. The following are steps:
  12.  
  13. 1. Copy tkusb.ko to a directory, I'll assume "/usr/irtouch".
  14.  
  15. 2. run: "cd /dev/usb"
  16.  
  17. 3. run: "mknod tkpanel0 c 180 180"
  18.  
  19. 2. copy unitouch_drv.o to "/usr/X11R6/lib/modules/input".
  20.  
  21. 3. Add one line to /etc/rc.d/rc.local:
  22.  
  23. insmod /usr/irtouch/tkusb.ko before the line startx.
  24.  
  25.  
  26.  
  27. 4.Setup the /etc/X11/xorg.conf as follows:
  28.  
  29. a) Add one line:
  30.  
  31.  
  32.  
  33. InputDevice    "irtouch" "SendCoreEvents"
  34.  
  35. to Section SererLayout.
  36.  
  37.  
  38.  
  39. b) Add one section InputDevice as follows:
  40.  
  41.  
  42.  
  43. Section "Inputdevice"
  44.  
  45.               Identifier "irtouch"
  46.  
  47.               Driver "unitouch"
  48.  
  49.               Option "Device" "/usr/irtouch/tkpanel0"
  50.  
  51.               Option "AlwaysCore"
  52.  
  53.               Option "screenno" "0"
  54.  
  55.               Option "MinX"  "70"
  56.  
  57.               Option "MaxX"  "4055"
  58.  
  59.               Option "MinY"  "4095"
  60.  
  61.               Option "MaxY"  "90"
  62.  
  63.               Option "UntouchDelay" "3"
  64.  
  65.               Option "ReportDelay" "1"
  66.  
  67. EndSection
  68.  
  69.  
  70.  
  71. Possbile problems:
  72.  
  73.  
  74.  
  75.  after run insmod tkusb.ko and before entering X11,
  76.  
  77. run: "od -h < /dev/usb/tkpanel0", if you can see output, the installation is right, or something bad happens, such as ,
  78.  
  79. you haven't plug touch screen or touch screen is bad.
  80.  
  81.  
  82.  
  83. If you encounter any problem, please don't hesitate to let me know

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus