Public bug reported:

Binary package hint: xorg

When using a touchscreen that requires specific calibration options
(ie... the generic evdev driver won't work out of the box with it), then
when the device is unplugged/powered off/removed, the device file in
/dev is no longer associated with the device, and the driver does not
know to reload the device when it is reinserted.

This is fixed by allowing Xorg drivers to receive arbitrary options via
the HAL hotplug mechanism (which is currently implemented, but only
supports the evdev driver for simple cases, and does NOT allow most
options to be set). Upstream has fixed this with commit
47eb658e802775021e3efec109f95431cca188ca in Xorg git... its a pretty
simple patch, and doesn't change any major components.

After the Xorg patch is applied, then the user can use FDI files placed
in /etc/hal/fdi/information to configure the device. The following is an
example FDI file I use with the evtouch driver, and my eGalax
touchscreen:


<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
          <match key="info.udi" 
contains="usb_device_eef_1_noserial_if0_logicaldev_input">

                <merge key="input.x11_driver"
type="string">evtouch</merge>

        <merge key="input.x11_options.MinX" type="string">1931</merge>
        <merge key="input.x11_options.MinY" type="string">1869</merge>
        <merge key="input.x11_options.MaxX" type="string">59</merge>
        <merge key="input.x11_options.MaxY" type="string">125</merge>
                <merge key="input.x11_options.SwapY" type="string">1</merge>

                <merge key="input.x11_options.MoveLimit"
type="string">40</merge>

                <!-- <merge key="input.x11_options.Calibrate"
type="string">1</merge> -->

      </match>
  </device>
</deviceinfo>

** Affects: xorg (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Touchscreen stops functioning correctly in Xorg if the device is 
removed/reinserted
https://bugs.launchpad.net/bugs/212073
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to