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

Advertising

Miscellany
Wednesday, October 24th, 2007 at 2:40:11am UTC 

  1. /etc/X11/xorg.conf
  2.  
  3. Section "Files"
  4.   InputDevices "/dev/input/event2"      ## correspond to the touchscreen event number
  5. EndSection
  6.  
  7. Section "InputDevice"
  8.         Identifier      "Generic Keyboard"
  9.         Driver    "kbd"
  10.         Option    "CoreKeyboard"
  11.         Option    "XkbRules"        "xorg"
  12.         Option    "XkbModel"        "pc105"
  13.         Option    "XkbLayout"       "us"
  14. EndSection
  15.  
  16. Section "InputDevice"
  17.         Identifier      "Configured Mouse"
  18.         Driver    "mouse"
  19.         Option    "CorePointer"
  20.         Option    "Device"  "/dev/input/mice"
  21.         Option    "Protocol"        "ImPS/2"
  22.         Option    "ZAxisMapping"    "4 5"
  23.         Option    "Emulate3Buttons" "true"
  24. EndSection
  25.  
  26. Section "InputDevice"
  27.         Identifier      "Synaptics Touchpad"
  28.         Driver    "synaptics"
  29.         Option    "SendCoreEvents"  "true"
  30.         Option    "Device"  "/dev/psaux"
  31.         Option    "Protocol"        "auto-dev"
  32.         Option    "HorizEdgeScroll" "0"
  33. EndSection
  34.  
  35. Section "InputDevice"          
  36.         Identifier "touchscreen"
  37.         Driver "evtouch"
  38.         Option "Device" "/dev/input/event2"  # correspond to the touchscreen event number
  39.         Option "DeviceName" "touchscreen"
  40.         #########################################
  41.         Option "MinX" "44"
  42.         Option "MinY" "105"
  43.         Option "MaxX" "3985"
  44.         Option "MaxY" "3994"   
  45.         Option "x0" "-1"
  46.         Option "y0" "-3"
  47.         Option "x1" "-6"
  48.         Option "y1" "-4"
  49.         Option "x2" "-2"
  50.         Option "y2" "-6"
  51.         Option "x3" "-2"
  52.         Option "y3" "-3"
  53.         Option "x4" "-4"
  54.         Option "y4" "-3"
  55.         Option "x5" "2"
  56.         Option "y5" "-1"
  57.         Option "x6" "-5"
  58.         Option "y6" "-3"
  59.         Option "x7" "-2"
  60.         Option "y7" "1"
  61.         Option "x8" "5"
  62.         Option "y8" "2"
  63.         #########################################
  64.        #Option "ReportingMode" "Raw"
  65.         Option "Emulate3Buttons"
  66.         Option "Emulate3Timeout" "50"
  67.        #Option "SendCoreEvents"
  68.         ######################
  69.         Option "TapTimer" "0"
  70.         Option "LongTouchTimer" "250"
  71.         Option "ReportingMode" "Raw"
  72.         Option "SendCoreEvents" "On"
  73.         Option "SendCoreEvents"
  74. #    Option "Calibrate"  "1"
  75. EndSection
  76.  
  77. # Section "InputDevice"
  78. #       Driver                "wacom"
  79. #       Identifier    "stylus"
  80. #       Option                "Device"        "/dev/input/wacom"
  81. #       Option                "Type"  "stylus"
  82. #       Option                "ForceDevice"   "ISDV4"# Tablet PC ONLY
  83. # EndSection
  84.  
  85. #Section "InputDevice"
  86. #       Driver  "wacom"
  87. #       Identifier     "eraser"
  88. #       Option  "Device" "/dev/input/wacom"
  89. #       Option  "Type"   "eraser"
  90. #       Option  "ForceDevice"    "ISDV4"# Tablet PC ONLY
  91. #EndSection
  92.  
  93. #Section "InputDevice"
  94. #       Driver  "wacom"
  95. #       Identifier     "cursor"
  96. #       Option  "Device" "/dev/input/wacom"
  97. #       Option  "Type"   "cursor"
  98. #       Option  "ForceDevice"    "ISDV4"# Tablet PC ONLY
  99. #EndSection
  100.  
  101. Section "Device"
  102.         Identifier      "nVidia Corporation C51 [Geforce 6150 Go]"
  103.         Driver    "nvidia"
  104.         Busid      "PCI:0:5:0"
  105.         Option    "AddARGBVisuals"  "True"
  106.         Option    "AddARGBGLXVisuals"       "True"
  107.         Option    "NoLogo"  "True"
  108. EndSection
  109.  
  110. Section "Monitor"
  111.         Identifier      "Generic Monitor"
  112.         Option    "DPMS"
  113.         Horizsync       28-64
  114.         Vertrefresh     43-60
  115. EndSection
  116.  
  117. Section "Screen"
  118.         Identifier      "Default Screen"
  119.         Device    "nVidia Corporation C51 [Geforce 6150 Go]"
  120.         Monitor  "Generic Monitor"
  121.         Defaultdepth    24
  122.         SubSection "Display"
  123.                 Modes      "1280x800"
  124.         EndSubSection
  125. EndSection
  126.  
  127. Section "ServerLayout"
  128.         Identifier      "Default Layout"
  129.   screen "Default Screen"
  130.         Inputdevice     "Generic Keyboard"
  131.         Inputdevice     "Configured Mouse"
  132.        
  133.         # Uncomment if you have a wacom tablet
  134.         #       InputDevice     "stylus"       "SendCoreEvents"
  135.         #       InputDevice     "cursor"       "SendCoreEvents"
  136.         #       InputDevice     "eraser"       "SendCoreEvents"
  137.         Inputdevice     "Synaptics Touchpad"
  138.         InputDevice  "touchscreen" "CorePointer"
  139. EndSection
  140.  
  141. Section "Module"
  142.         Load        "glx"
  143. EndSection
  144.  
  145.  
  146. -------------------------------------------------------------
  147. cat /proc/bus/input/devices
  148.  
  149. I: Bus=0017 Vendor=0001 Product=0001 Version=0100
  150. N: Name="Macintosh mouse button emulation"
  151. P: Phys=
  152. S: Sysfs=/class/input/input0
  153. U: Uniq=
  154. H: Handlers=mouse0 event0
  155. B: EV=7
  156. B: KEY=70000 0 0 0 0 0 0 0 0
  157. B: REL=3
  158.  
  159. I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
  160. N: Name="AT Translated Set 2 keyboard"
  161. P: Phys=isa0060/serio0/input0
  162. S: Sysfs=/class/input/input1
  163. U: Uniq=
  164. H: Handlers=kbd event1
  165. B: EV=120013
  166. B: KEY=1004 2200002 3802078 f950d401 feffffdf ffefffff ffffffff ffffffff
  167. B: MSC=10
  168. B: LED=7
  169.  
  170. I: Bus=0003 Vendor=0eef Product=0001 Version=0210
  171. N: Name="eGalax INC. USB TouchController"
  172. P: Phys=usb-0000:00:0b.1-2.3/input0
  173. S: Sysfs=/class/input/input2
  174. U: Uniq=
  175. H: Handlers=mouse1 event2
  176. B: EV=b
  177. B: KEY=401 0 30000 0 0 0 0 0 0 0 0
  178. B: ABS=f
  179.  
  180. I: Bus=0010 Vendor=001f Product=0001 Version=0100
  181. N: Name="PC Speaker"
  182. P: Phys=isa0061/input0
  183. S: Sysfs=/class/input/input3
  184. U: Uniq=
  185. H: Handlers=kbd event3
  186. B: EV=40001
  187. B: SND=6
  188.  
  189. I: Bus=0011 Vendor=0002 Product=0007 Version=01b1
  190. N: Name="SynPS/2 Synaptics TouchPad"
  191. P: Phys=isa0060/serio1/input0
  192. S: Sysfs=/class/input/input4
  193. U: Uniq=
  194. H: Handlers=mouse2 event4
  195. B: EV=b
  196. B: KEY=6420 0 70000 0 0 0 0 0 0 0 0
  197. B: ABS=11000003
  198.  
  199. I: Bus=0019 Vendor=0000 Product=0002 Version=0000
  200. N: Name="Power Button (FF)"
  201. P: Phys=button_power/button/input0
  202. S: Sysfs=/class/input/input5
  203. U: Uniq=
  204. H: Handlers=kbd event5
  205. B: EV=3
  206. B: KEY=100000 0 0 0
  207.  
  208. I: Bus=0019 Vendor=0000 Product=0001 Version=0000
  209. N: Name="Power Button (CM)"
  210. P: Phys=PNP0C0C/button/input0
  211. S: Sysfs=/class/input/input6
  212. U: Uniq=
  213. H: Handlers=kbd event6
  214. B: EV=3
  215. B: KEY=100000 0 0 0
  216.  
  217. I: Bus=0019 Vendor=0000 Product=0003 Version=0000
  218. N: Name="Sleep Button (CM)"
  219. P: Phys=PNP0C0E/button/input0
  220. S: Sysfs=/class/input/input7
  221. U: Uniq=
  222. H: Handlers=kbd event7
  223. B: EV=3
  224. B: KEY=4000 0 0 0 0
  225.  
  226. I: Bus=0019 Vendor=0000 Product=0005 Version=0000
  227. N: Name="Lid Switch"
  228. P: Phys=PNP0C0D/button/input0
  229. S: Sysfs=/class/input/input8
  230. U: Uniq=
  231. H: Handlers=event8
  232. B: EV=21
  233. B: SW=1
  234.  
  235.  
  236. --------------------------------------------
  237.  
  238. lsusb
  239.  
  240. Bus 002 Device 002: ID 03f0:171d Hewlett-Packard
  241. Bus 002 Device 001: ID 0000:0000 
  242. Bus 001 Device 006: ID 0eef:0001 D-WAV Scientific Co., Ltd eGalax TouchScreen
  243. Bus 001 Device 005: ID 08ff:1600 AuthenTec, Inc.
  244. Bus 001 Device 004: ID 0c45:62c0 Microdia
  245. Bus 001 Device 002: ID 04b4:6560 Cypress Semiconductor Corp. CY7C65640 USB-2.0 "TetraHub"
  246. Bus 001 Device 001: ID 0000:0000 

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
worth-right