<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>Hello Folks,<br></span></div><div><br>I am trying to manually configure a eGalax touchscreen using the evdev driver which is currently working great. The problem I am having is that allowing Xorg to autoconfigure the devices from udev results in ~100% cpu utilization as soon as the touchscreen is touched with the USB keyboard and <span class="tab"></span>mouse connected. I found a thread that this is a bug somewhere along the lines, but the the workaround is to use the "Option AutoAddDevices false". I have done this is and all is well, except for when I actually need to use a mouse or the keyboard while developing my applications. With AutoAddDevices set to off, I can't can't configure an InputClass to save my soul and I am all out of ideas. Would you have any insight how I could manually tell Xorg to use the keyboard and mouse
when present?<span class="tab"></span> <br><br>My xorg.conf:<br><br><code><br>
Section "ServerFlags"<br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><font size="2"> Option "AutoAddDevices" "false"<br>EndSection<br><br>Section "ServerLayout"<br> Identifier "Touchscreen Configuration"<br> Screen "Screen0"<br> #InputDevice "Mouse0" "CorePointer"<br> InputDevice "Keyboard0" "CoreKeyboard"<br> InputDevice "touchscreen0"<br>EndSection</font></div><div style="color: rgb(0, 0, 0); font-size: 13px;
font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><font size="2"><br></font></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><font size="2">Section "Files"<br> ModulePath "/usr/lib/xorg/modules"<br> FontPath "/usr/share/fonts/X11/misc"<br> FontPath "/usr/share/fonts/X11/100dpi/:unscaled"<br> FontPath "/usr/share/fonts/X11/75dpi/:unscaled"<br> FontPath "/usr/share/fonts/X11/Type1"<br> FontPath
"/usr/share/fonts/X11/100dpi"<br> FontPath "/usr/share/fonts/X11/75dpi"<br> FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"<br> FontPath "built-ins"<br>EndSection<br><br></font>Section "Module"<br> Load "extmod"<br> Load "dbe"<br> Load "glx"<br> Load "dri"<br> Load "dri2"<br> Load "record"<br>EndSection<br><br>Section "InputDevice"<br> Identifier "Keyboard0"<br>
Driver "evdev"<br> Option "xkb_rules" "evdev"<br> Option "xkb_model" "pc105"<br> Option "xkb_layout" "us"<br> #Option "SendCoreEvents" "On"<br>EndSection<br><br>Section "InputClass"<br> Identifier "MouseAll"<br> Driver "evdev"<br> MatchIsPointer "On"<br> MatchDevicePath "/dev/input/event*"<br> MatchProduct "Logitech Optical
USB Mouse"<br>EndSection<br><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"># This works well but requires AutoAddDevices to be off<br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">Section "InputDevice"<br> Identifier "touchscreen0"<br> Driver "evdev"<br> #Option "CorePointer"<br> Option "Device" "/dev/input/touchscreen0"<br> Option "DeviceName" "touchscreen0"<br> #Option "Emulate3Buttons"<br> #Option "Emulate3Timeout"
"50"<br> Option "SwapAxes" "On"<br> Option "InvertX" "On"<br> Option "InvertY" "On"<br> #Option "Rotate" "CW"<br> #Option "Calibration" "48 757 34 530"<br> #Option "Calibrate" "1"<br> #Option "SendCoreEvents" "On"<br> #Option "ReportingMode" "Raw"<br>EndSection<br><br>Section "Monitor"<br> Identifier "Monitor0"<br> VendorName "Xenarc"<br> ModelName "Monitor Model"<br> #DisplaySize
340 270<br> #HorizSync 31.0 - 83.0<br> #VertRefresh 56.0 - 76.0<br> #Option "dpms"<br>EndSection<br><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">Section "Device"<br> Identifier "Card0"<br> Driver "radeon"<br> VendorName "ATI Technologies Inc"<br> BoardName "RV280 [Radeon 9200]"<br> BusID
"PCI:0:16:0"<br> #Option "UseFBDev" "true"<br> Option "DRI" "false"<br> Option "RenderAccel" "true"<br> Option "AGPFastWrite" "true"<br> #Option "AGPFastWrite" "false"<br> Option "EnablePageFlip" "true"<br> Option "AGPMode"
"4"<br>EndSection<br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">Section "Screen"<br> Identifier "Screen0"<br> Device "Card0"<br> Monitor "Monitor0"<br> DefaultDepth 24<br> SubSection "Display"<br> Viewport 0 0<br>
Depth 24<br> #Modes "1024x768" "800x600" "640x480"<br> Modes "800x600"<br> EndSubSection<br>EndSection<br><br>#Section "DRI"<br># Mode 0666<br>#EndSection<br></code><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family:
arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><font size="2"><br></font></div></div></body></html>