Installer dalle tactile Elotouch sous linux (j y crois pas m'enfin...)

Installer dalle tactile Elotouch sous linux (j y crois pas m'enfin...) - Logiciels - Linux et OS Alternatifs

Marsh Posté le 26-09-2002 à 17:55:56    

Salut,
 
J'ai à installer une dalle tactile elotouch (me rappelle plus du  
modele) sous linux mais ca marche pas ...
 
Le linux est une debian woody 3 et le serveur X un XFree V 4.x.x
(avec un XF86config-4 en fichier de config)
 
J'ai suivi toutes les instructions concernant l installation du
driver a savoir :
 
copier le driver elographics_drv.o dans /usr/X11R6/lib/modules/input
 
Mettre a jour le fichier xf86config-4 en rajoutant les lignes suivantes
 
CreateSection "InputDevice"
      name="touchscreen1"
      driver=elographics
      port=/dev/ttyS1
      option "alwayscore"
EndSection
 
et aussi la ligne dans serverlayout
 
InputDevice "touchscreen1" "sendcoreevents"
 
 
...
 
Je lance startx
 
apparemment dans le log de xfree (/var/log) il detecte bien la  
dalle car lorsqu elle n est pas branchée, le driver me met un warning
et lorsqu elle est branchée , il n'en met pas.
 
 
De plus la dalle fonctionne car sous windows (avec driver installé)
la dalle envoie bien les message souris ...
 
Sous linux si je fais un
 
od -h -w10 </dev/ttyS1  
 
et que je touche la dalle je recois bien des infos coherentes
(donc bien branchée ?!)
 
 
MAIS
 
le pointeur ne bouge pas sous X  
 
 
Je ne comprends pas , j'ai bien suivi les instructions mais rien n'y
fait, ca ne bouge pas.
 
Est ce que quelqu un a t il deja installé ce type de dalle et reussi
a la faire fonctionner ?
 
 
merci.

Reply

Marsh Posté le 26-09-2002 à 17:55:56   

Reply

Marsh Posté le 27-09-2002 à 11:40:39    

Up ?

Reply

Marsh Posté le 27-09-2002 à 13:39:41    

copie/colle le contenu de ton XF86config-4

Reply

Marsh Posté le 27-09-2002 à 16:00:06    

ok le voila :
 

Code :
  1. # File generated by xf86config.
  2. #
  3. # Copyright (c) 1999 by The XFree86 Project, Inc.
  4. #
  5. # Permission is hereby granted, free of charge, to any person obtaining a
  6. # copy of this software and associated documentation files (the "Software" ),
  7. # to deal in the Software without restriction, including without limitation
  8. # the rights to use, copy, modify, merge, publish, distribute, sublicense,
  9. # and/or sell copies of the Software, and to permit persons to whom the
  10. # Software is furnished to do so, subject to the following conditions:
  11. #
  12. # The above copyright notice and this permission notice shall be included in
  13. # all copies or substantial portions of the Software.
  14. #
  15. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  16. # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  17. # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
  18. # THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
  19. # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
  20. # OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  21. # SOFTWARE.
  22. #
  23. # Except as contained in this notice, the name of the XFree86 Project shall
  24. # not be used in advertising or otherwise to promote the sale, use or other
  25. # dealings in this Software without prior written authorization from the
  26. # XFree86 Project.
  27. #
  28. # **********************************************************************
  29. # Refer to the XF86Config(4/5) man page for details about the format of
  30. # this file.
  31. # **********************************************************************
  32. # **********************************************************************
  33. # Module section -- this  section  is used to specify
  34. # which dynamically loadable modules to load.
  35. # **********************************************************************
  36. #
  37. Section "Module"
  38. # This loads the DBE extension module.
  39.     Load        "dbe"   # Double buffer extension
  40. # This loads the miscellaneous extensions module, and disables
  41. # initialisation of the XFree86-DGA extension within that module.
  42.     SubSection  "extmod"
  43.       Option    "omit xfree86-dga"   # don't initialise the DGA extension
  44.     EndSubSection
  45. # This loads the Type1 and FreeType font modules
  46.     Load        "type1"
  47.     Load        "freetype"
  48. # This loads the GLX module
  49. #    Load       "glx"
  50. EndSection
  51. # **********************************************************************
  52. # Files section.  This allows default font and rgb paths to be set
  53. # **********************************************************************
  54. Section "Files"
  55. # The location of the RGB database.  Note, this is the name of the
  56. # file minus the extension (like ".txt" or ".db" ).  There is normally
  57. # no need to change the default.
  58.     RgbPath "/usr/X11R6/lib/X11/rgb"
  59. # Multiple FontPath entries are allowed (which are concatenated together),
  60. # as well as specifying multiple comma-separated entries in one FontPath
  61. # command (or a combination of both methods)
  62. #
  63. # If you don't have a floating point coprocessor and emacs, Mosaic or other
  64. # programs take long to start up, try moving the Type1 and Speedo directory
  65. # to the end of this list (or comment them out).
  66. #
  67. #    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
  68.     FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
  69.     FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
  70.     FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
  71.     FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
  72.     FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
  73.     FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
  74.     FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
  75. # The module search path.  The default path is shown here.
  76. #    ModulePath "/usr/X11R6/lib/modules"
  77. EndSection
  78. # **********************************************************************
  79. # Server flags section.
  80. # **********************************************************************
  81. Section "ServerFlags"
  82. # Uncomment this to cause a core dump at the spot where a signal is
  83. # received.  This may leave the console in an unusable state, but may
  84. # provide a better stack trace in the core dump to aid in debugging
  85. #    Option "NoTrapSignals"
  86. # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
  87. # This allows clients to receive this key event.
  88. #    Option "DontZap"
  89. # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
  90. # sequences.  This allows clients to receive these key events.
  91. #    Option "Dont Zoom"
  92. # Uncomment this to disable tuning with the xvidtune client. With
  93. # it the client can still run and fetch card and monitor attributes,
  94. # but it will not be allowed to change them. If it tries it will
  95. # receive a protocol error.
  96. #    Option "DisableVidModeExtension"
  97. # Uncomment this to enable the use of a non-local xvidtune client.
  98. #    Option "AllowNonLocalXvidtune"
  99. # Uncomment this to disable dynamically modifying the input device
  100. # (mouse and keyboard) settings.
  101. #    Option "DisableModInDev"
  102. # Uncomment this to enable the use of a non-local client to
  103. # change the keyboard or mouse settings (currently only xset).
  104. #    Option "AllowNonLocalModInDev"
  105. EndSection
  106. # **********************************************************************
  107. # Input devices
  108. # **********************************************************************
  109. # **********************************************************************
  110. # Core keyboard's InputDevice section
  111. # **********************************************************************
  112. Section "InputDevice"
  113.     Identifier "Keyboard1"
  114.     Driver "Keyboard"
  115. # For most OSs the protocol can be omitted (it defaults to "Standard" ).
  116. # When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
  117. # uncomment the following line.
  118. #    Option     "Protocol"      "Xqueue"
  119.     Option "AutoRepeat" "500 30"
  120. # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
  121. #    Option "Xleds"      "1 2 3"
  122. #    Option "LeftAlt"     "Meta"
  123. #    Option "RightAlt"    "ModeShift"
  124. # To customise the XKB settings to suit your keyboard, modify the
  125. # lines below (which are the defaults).  For example, for a non-U.S.
  126. # keyboard, you will probably want to use:
  127. #    Option "XkbModel"    "pc102"
  128. # If you have a US Microsoft Natural keyboard, you can use:
  129. #    Option "XkbModel"    "microsoft"
  130. #
  131. # Then to change the language, change the Layout setting.
  132. # For example, a german layout can be obtained with:
  133. #    Option "XkbLayout"   "de"
  134. # or:
  135. #    Option "XkbLayout"   "de"
  136. #    Option "XkbVariant"  "nodeadkeys"
  137. #
  138. # If you'd like to switch the positions of your capslock and
  139. # control keys, use:
  140. #    Option "XkbOptions"  "ctrl:swapcaps"
  141. # These are the default XKB settings for XFree86
  142. #    Option "XkbRules"    "xfree86"
  143. #    Option "XkbModel"    "pc101"
  144. #    Option "XkbLayout"   "us"
  145. #    Option "XkbVariant"  ""
  146. #    Option "XkbOptions"  ""
  147. #    Option "XkbDisable"
  148.     Option "XkbRules" "xfree86"
  149.     Option "XkbModel" "pc104"
  150.     Option "XkbLayout" "fr"
  151. EndSection
  152. # **********************************************************************
  153. # Core Pointer's InputDevice section
  154. # **********************************************************************
  155. Section "InputDevice"
  156. # Identifier and driver
  157.     Identifier  "Mouse1"
  158.     Driver  "mouse"
  159.     Option   "Protocol"    "Microsoft"
  160.     Option   "Device"      "/dev/ttyS0"
  161. # When using XQUEUE, comment out the above two lines, and uncomment
  162. # the following line.
  163. #    Option "Protocol" "Xqueue"
  164. # Baudrate and SampleRate are only for some Logitech mice. In
  165. # almost every case these lines should be omitted.
  166. #    Option "BaudRate" "9600"
  167. #    Option "SampleRate" "150"
  168. # Emulate3Buttons is an option for 2-button Microsoft mice
  169. # Emulate3Timeout is the timeout in milliseconds (default is 50ms)
  170. #    Option "Emulate3Buttons"
  171. #    Option "Emulate3Timeout"    "50"
  172. # ChordMiddle is an option for some 3-button Logitech mice
  173. #    Option "ChordMiddle"
  174. EndSection
  175. ################################
  176. # TOUCHSCREEN                  #
  177. ################################
  178. Section "InputDevice"
  179. Identifier  "touchscreen1"
  180. Driver   "elographics"
  181. Option "Device"  "/dev/ttyS1"
  182. Option "screenno" "0"
  183. Option "MinimumXPosition" "600"
  184. Option "MaximumXPosition" "3600"
  185. Option "MinimumYPosition" "600"
  186. Option "MaximumYPosition" "3600"
  187. Option "UntouchDelay" "3"
  188. Option "ReportDelay" "1"
  189. Option "AlwaysCore"
  190. EndSection
  191. ################################
  192. #                              #
  193. ################################
  194. # **********************************************************************
  195. # Other input device sections
  196. # this is optional and is required only if you
  197. # are using extended input devices.  This is for example only.  Refer
  198. # to the XF86Config man page for a description of the options.
  199. # **********************************************************************
  200. #
  201. # Section "InputDevice"
  202. #    Identifier  "Mouse2"
  203. #    Driver      "mouse"
  204. #    Option      "Protocol"      "MouseMan"
  205. #    Option      "Device"        "/dev/mouse2"
  206. # EndSection
  207. #
  208. # Section "InputDevice"
  209. #    Identifier "spaceball"
  210. #    Driver     "magellan"
  211. #    Option     "Device"        "/dev/cua0"
  212. # EndSection
  213. #
  214. # Section "InputDevice"
  215. #    Identifier "spaceball2"
  216. #    Driver     "spaceorb"
  217. #    Option     "Device"        "/dev/cua0"
  218. # EndSection
  219. #
  220. #
  221. # **********************************************************************
  222. # Monitor section
  223. # **********************************************************************
  224. # Any number of monitor sections may be present
  225. Section "Monitor"
  226.     Identifier  "My Monitor"
  227. # HorizSync is in kHz unless units are specified.
  228. # HorizSync may be a comma separated list of discrete values, or a
  229. # comma separated list of ranges of values.
  230. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
  231. # USER MANUAL FOR THE CORRECT NUMBERS.
  232.     HorizSync   31.5 - 57.0
  233. #    HorizSync 30-64         # multisync
  234. #    HorizSync 31.5, 35.2    # multiple fixed sync frequencies
  235. #    HorizSync 15-25, 30-50  # multiple ranges of sync frequencies
  236. # VertRefresh is in Hz unless units are specified.
  237. # VertRefresh may be a comma separated list of discrete values, or a
  238. # comma separated list of ranges of values.
  239. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
  240. # USER MANUAL FOR THE CORRECT NUMBERS.
  241.     VertRefresh 50-90
  242. EndSection
  243. # **********************************************************************
  244. # Graphics device section
  245. # **********************************************************************
  246. # Any number of graphics device sections may be present
  247. # Standard VGA Device:
  248. Section "Device"
  249.     Identifier "Standard VGA"
  250.     VendorName "Unknown"
  251.     BoardName "Unknown"
  252. # The chipset line is optional in most cases.  It can be used to override
  253. # the driver's chipset detection, and should not normally be specified.
  254. #    Chipset "generic"
  255. # The Driver line must be present.  When using run-time loadable driver
  256. # modules, this line instructs the server to load the specified driver
  257. # module.  Even when not using loadable driver modules, this line
  258. # indicates which driver should interpret the information in this section.
  259.     Driver     "vga"
  260. # The BusID line is used to specify which of possibly multiple devices
  261. # this section is intended for.  When this line isn't present, a device
  262. # section can only match up with the primary video device.  For PCI
  263. # devices a line like the following could be used.  This line should not
  264. # normally be included unless there is more than one video device
  265. # intalled.
  266. #    BusID      "PCI:0:10:0"
  267. #    VideoRam 256
  268. #    Clocks 25.2 28.3
  269. EndSection
  270. # Device configured by xf86config:
  271. Section "Device"
  272.     Identifier  "My Video Card"
  273.     Driver      "vesa"
  274. # unsupported card
  275.     VideoRam    4096
  276.     # Insert Clocks lines here if appropriate
  277. EndSection
  278. # **********************************************************************
  279. # Screen sections
  280. # **********************************************************************
  281. # Any number of screen sections may be present.  Each describes
  282. # the configuration of a single screen.  A single specific screen section
  283. # may be specified from the X server command line with the "-screen"
  284. # option.
  285. Section "Screen"
  286.     Identifier  "Screen 1"
  287.     Device      "My Video Card"
  288.     Monitor     "My Monitor"
  289.     DefaultDepth 16
  290.     Subsection "Display"
  291.         Depth       8
  292.         Modes       "1024x768
  293.         ViewPort    0 0
  294.     EndSubsection
  295.     Subsection "Display"
  296.         Depth       16
  297.         Modes       "1024x768"
  298.         ViewPort    0 0
  299.     EndSubsection
  300.     Subsection "Display"
  301.         Depth       24
  302.         Modes       "1024x768"
  303.         ViewPort    0 0
  304.     EndSubsection
  305. EndSection
  306. # **********************************************************************
  307. # ServerLayout sections.
  308. # **********************************************************************
  309. # Any number of ServerLayout sections may be present.  Each describes
  310. # the way multiple screens are organised.  A specific ServerLayout
  311. # section may be specified from the X server command line with the
  312. # "-layout" option.  In the absence of this, the first section is used.
  313. # When now ServerLayout section is present, the first Screen section
  314. # is used alone.
  315. Section "ServerLayout"
  316. # The Identifier line must be present
  317.     Identifier  "Simple Layout"
  318. # Each Screen line specifies a Screen section name, and optionally
  319. # the relative position of other screens.  The four names after
  320. # primary screen name are the screens to the top, bottom, left and right
  321. # of the primary screen.  In this example, screen 2 is located to the
  322. # right of screen 1.
  323.     Screen "Screen 1"
  324. # Each InputDevice line specifies an InputDevice section name and
  325. # optionally some options to specify the way the device is to be
  326. # used.  Those options include "CorePointer", "CoreKeyboard" and
  327. # "SendCoreEvents".
  328.     InputDevice "mouse1" "CorePointer"
  329.     InputDevice "Keyboard1" "CoreKeyboard"
  330.     InputDevice "touchscreen1" "SendCoreEvents"
  331. EndSection

Reply

Marsh Posté le 27-09-2002 à 18:49:12    

Up

Reply

Marsh Posté le 30-09-2002 à 13:07:02    

Up ... aidez moi c super important :cry:

Reply

Marsh Posté le 30-09-2002 à 19:22:26    

Up

Reply

Marsh Posté le 02-10-2002 à 19:23:17    

up

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed