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

Advertising

Anonymous
Monday, April 9th, 2007 at 5:53:31pm UTC 

  1. USB Touch Screen setup:
  2.  
  3. The version of USB touch screen driver composed of two parts. tkusb.ko, a kernel module to
  4. represent a serial interface to user programs. and a XInput module unitouch_drv.o.
  5.  
  6. The following are steps:
  7. 1. Copy tkusb.ko to a directory, I'll assume /usr/irtouch.
  8. 2. run: cd /usr/irtouch
  9. 3. copy unitouch_drv.o to /usr/lib/xorg/modules/input.
  10. 4. Add one line to /etc/rc.d/rc.local:
  11.    insmod /usr/irtouch/tkusb.ko before the line startx.
  12. 5.Setup the /etc/X11/xorg.conf as follows:
  13. a) Add one line:
  14. InputDevice    "irtouch" "SendCoreEvents"
  15. to Section SererLayout.
  16.  
  17. b) Add one section InputDevice as follows:
  18.  
  19. Section "Inputdevice"
  20.               Identifier "irtouch"
  21.               Driver "unitouch"
  22.               Option "Device" "/dev/tkpanel0"
  23.               Option "AlwaysCore"
  24.               Option "screenno" "0"
  25.               Option "MinX"  "70"
  26.               Option "MaxX"  "4055"
  27.               Option "MinY"  "4095"
  28.               Option "MaxY"  "90"
  29.               Option "UntouchDelay" "3"
  30.               Option "ReportDelay" "1"
  31. EndSection
  32.  
  33. Possbile problems:
  34. 1. verMagic mismatch
  35. run modinfo tkusb.ko , the following are output in my computer
  36. author:         IRTOUCHSYSTEMS 
  37. description:    Infrared USB TouchScreen Driver
  38. license:        GPL
  39. vermagic:       2.6.4 preempt VIAC3-2 gcc-3.3
  40. depends:
  41.  
  42.  
  43. compare the line vermagic with output from your kernel module. If the output don't match, please send your output to me.
  44.  
  45. 2. after run insmod irtouchusb.ko and before entering X11, run
  46. od -h < /dev/tkpanel0, if you can see output, the installation is right, or something bad happens, such as , you haven't plug touch screen or touch screen is bad.
  47. 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
worth-right