evtouch: Can't calibrate LG Flatron L1510SF

Bug #360770 reported by Ben Andersen
6
Affects Status Importance Assigned to Milestone
xf86-input-evtouch (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: xserver-xorg-input-evtouch

Ubuntu 9.04 beta
xserver-xorg-input-evtouch:0.8.8-0ubuntu3

1) Clean install
2) Installed xserver-xorg-input-evtouch
3) Update to the latest packages
4) calibrate_touchscreen

The calibration program says the following coordinates:
upper left: 256, 3939
upper right: 307, 204
lower left: 3801, 3909
lower right: 3762, 194

Touching the screen moves the pointer and performs clicks etc but in the totally wrong places!

I have a LG Flatron L1510SF monitor connected via USB.

Let me know what info is needed and I will try to supply it. You can also have a look at this (https://answers.launchpad.net/ubuntu/+question/60616) for Ubuntu 8.10..

Thanks!

[lspci]
00:00.0 Host bridge [0600]: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub [8086:2770] (rev 02)
     Subsystem: Intel Corporation Device [8086:464c]
00:02.0 VGA compatible controller [0300]: Intel Corporation 82945G/GZ Integrated Graphics Controller [8086:2772] (rev 02)
     Subsystem: Intel Corporation Device [8086:464c]

summary: - touch screen unusable
+ evtouch: Can't calibrate LG Flatron L1510SF
Revision history for this message
Bryce Harrington (bryce) wrote :

Hi ben72,

Please attach the output of `lspci -vvnn`, and attach your /var/log/Xorg.0.log (and maybe Xorg.0.log.old) file from after reproducing this issue. If you've made any customizations to your /etc/X11/xorg.conf please attach that as well.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-xorglog
tags: added: needs-lspci-vvnn
Changed in xf86-input-evtouch (Ubuntu):
status: New → Incomplete
Revision history for this message
Ben Andersen (ben72) wrote :
Revision history for this message
Ben Andersen (ben72) wrote :
Revision history for this message
Ben Andersen (ben72) wrote :

I haven't done any customizations. Let me know if more information is needed. I can possibly make a filmclip of it if it helps. Let me know what part is interesting in that case.

Bryce Harrington (bryce)
Changed in xf86-input-evtouch (Ubuntu):
status: Incomplete → Confirmed
Bryce Harrington (bryce)
description: updated
Revision history for this message
Ben Andersen (ben72) wrote :

I've tried using a lgtouch.fdi file, discussed here: https://answers.launchpad.net/ubuntu/+source/xorg/+question/48375

But it didn't make any difference..

Revision history for this message
Ben Andersen (ben72) wrote :

Here is the output from lshal

Revision history for this message
Ben Andersen (ben72) wrote :

Can I do anything else to help progess this issue? I'm thinking of getting rid of the monitor..

Revision history for this message
2GooD (david+launchpad) wrote :

@Ben Andersen

I have this monitor as well on Ubuntu 9.04 and after installing xserver-xorg-input-evtouch I did the following manual steps:

1. Ran the calibration, but removed everything but these lines from /etc/evtouch/config (of course your values will most likely be different)

MINX="246"
MINY="181"
MAXX="3827"
MAXY="3952"

2. Created /etc/hal/fdi/policy/touchscreen.fdi containing:

<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->

<deviceinfo version="0.2">
  <device>
      <match key="info.product" contains="ITM Inc USB Touch Panel">
        <match key="info.capabilities" contains="input.touchpad">
          <merge key="input.x11_options.SwapX" type="string">1</merge>
          <merge key="input.x11_options.SwapY" type="string">1</merge>
        </match>
    </match>
  </device>
</deviceinfo>

3. Rebooted. Worked.

The lshal info for evtouch looks like this for me now:

udi = '/org/freedesktop/Hal/devices/usb_device_403_f9e9_noserial_if0_logicaldev_input'
  button.has_state = false (bool)
  info.addons.singleton = {'hald-addon-input'} (string list)
  info.capabilities = {'input', 'button', 'input.touchpad'} (string list)
  info.category = 'input' (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_403_f9e9_noserial_if0' (string)
  info.product = 'ITM Inc USB Touch Panel' (string)
  info.subsystem = 'input' (string)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_403_f9e9_noserial_if0_logicaldev_input' (string)
  input.device = '/dev/input/event6' (string)
  input.originating_device = '/org/freedesktop/Hal/devices/usb_device_403_f9e9_noserial_if0' (string)
  input.product = 'ITM Inc USB Touch Panel' (string)
  input.x11_driver = 'evtouch' (string)
  input.x11_options.Rotate = 'CW' (string)
  input.x11_options.SwapX = '1' (string)
  input.x11_options.SwapY = '1' (string)
  input.x11_options.Swapx = '1' (string)
  input.x11_options.emulate3buttons = 'true' (string)
  input.x11_options.emulate3timeout = '50' (string)
  input.x11_options.maxx = '3827' (string)
  input.x11_options.maxy = '3952' (string)
  input.x11_options.minx = '246' (string)
  input.x11_options.miny = '181' (string)
  input.x11_options.reportingmode = 'raw' (string)
  input.x11_options.sendcoreevents = 'on' (string)
  linux.device_file = '/dev/input/event6' (string)
  linux.hotplug_type = 2 (0x2) (int)
  linux.subsystem = 'input' (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.0/input/input6/event6' (string)

Good luck!

Revision history for this message
Kiko Barcelli (kikobar) wrote :

Hi Ben,
I managed to get my LG Flatron working and I posted the solution at:
https://answers.launchpad.net/ubuntu/+source/xorg/+question/48375
Beware mine is 15", if you are using a 17" all the coordinates will be different... the calibration tool does not work you have to try and error until you find the right parameters.
I recall that if you give too big a parameter it gives you weird results closer to the centre, so somewhere there is an algorithm that computes a valid result despite it is nothing to do with the point you touched... this could be very confusing because you might be tempted to change some of the correct parameters again...
So, my recommendation is that you try to find the values for the edges of your touch-screen first, no matter they are reversed, upside-down or whatever, once you understand the "size" and "limits" of it, you can start playing with the other parameters...
Good luck!
Kiko

Revision history for this message
Ben Andersen (ben72) wrote :

Hello Kiko,

I've tried the solution without luck on Ubuntu 9.04. Have you tried it on 9.04?

How should I find the values for the edges? With the calibration program or some other way?

I think I have the same model monitor as you? It's a LG Flatron L1510SF 15", Product code (on the back): L1510SFN.AEUOEP, Manufactured: June 2008, FCC ID: BEJL1510BFN.

Thanks,
Ben

Revision history for this message
Kiko Barcelli (kikobar) wrote : Re: [Bug 360770] Re: evtouch: Can't calibrate LG Flatron L1510SF

Hi Ben,
I haven't tried on 9.04
I will check on the model tomorrow but I recall there were two
manufacturers for the touch fitted to this model.
What is the string you get from the USB deuice list?
Regards,
Kiko

On 8/18/09, Ben Andersen <email address hidden> wrote:
> Hello Kiko,
>
> I've tried the solution without luck on Ubuntu 9.04. Have you tried it
> on 9.04?
>
> How should I find the values for the edges? With the calibration program
> or some other way?
>
> I think I have the same model monitor as you? It's a LG Flatron L1510SF
> 15", Product code (on the back): L1510SFN.AEUOEP, Manufactured: June
> 2008, FCC ID: BEJL1510BFN.
>
> Thanks,
> Ben
>
> --
> evtouch: Can't calibrate LG Flatron L1510SF
> https://bugs.launchpad.net/bugs/360770
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
Enrique (Kiko) Barcelli
Email: <email address hidden>
Tel/Fax: +65 6836 4586
Mobile: +65 8125 9482

Revision history for this message
Ben Andersen (ben72) wrote :

Kiko,

Thanks in advance for testing this on 9.04. I was just about to give up and get rid of this monitor but if there's something more I can do I'd really like to try!

This is what lsusb gives:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 0403:f9e9 Future Technology Devices International, Ltd
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 0603:00f2 Novatek Microelectronics Corp.
Bus 002 Device 002: ID 046d:c03f Logitech, Inc. UltraX Optical Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

BR,
Ben

Revision history for this message
2GooD (david+launchpad) wrote :

Ben, have you tried to follow my instructions above yet? You should definitely not need to mess with xorg.conf as these configuration parameters are managed through HAL these days.

Please read comment #8 above. (http://bugs.launchpad.net/ubuntu/+source/xf86-input-evtouch/+bug/360770/comments/8)

I have also amended https://answers.launchpad.net/ubuntu/+source/xorg/+question/48375 with parts of my comments above.

If you doubt me, let me show my xorg.conf:

Section "Device"
        Identifier "Configured Video Device"
EndSection

Section "Monitor"
        Identifier "Configured Monitor"
EndSection

Section "Screen"
        Identifier "Default Screen"
        Monitor "Configured Monitor"
        Device "Configured Video Device"
EndSection

Bryce Harrington (bryce)
tags: added: jaunty
Revision history for this message
Bryce Harrington (bryce) wrote :

[This is an automatic notification.]

Hi Ben,

This bug was reported against an earlier version of Ubuntu, can you
test if it still occurs on Lucid?

Please note we also provide technical support for older versions of
Ubuntu, but not in the bug tracker. Instead, to raise the issue through
normal support channels, please see:

    http://www.ubuntu.com/support

If you are the original reporter and can still reproduce the issue on
Lucid, please run the following command to refresh the report:

  apport-collect 360770

If you are not the original reporter, please file a new bug report, so
we can work with you as the original reporter instead (you can reference
bug 360770 in your report if you think it may be related):

  ubuntu-bug xorg

If by chance you can no longer reproduce the issue on Lucid or if you
feel it is no longer relevant, please mark the bug report 'Fix Released'
or 'Invalid' as appropriate, at the following URL:

  https://bugs.launchpad.net/ubuntu/+bug/360770

Changed in xf86-input-evtouch (Ubuntu):
status: Confirmed → Incomplete
tags: added: needs-retested-on-lucid-by-june
Revision history for this message
Ben Andersen (ben72) wrote :

I've tried this on 10.04 now and it doesn't work ootb.

Here is what I did:
1. Clean install of 10.04 32-bit
2. Update the system with Update manager
3. Install xserver-xorg-input-evtouch
4. Reboot

Where ever I touch the screen I always launch the trashcan when I release it, which indicates the pointer is always positioned in the lower right corner of the screen. Nothing happens when I try to drag on the screen, when I release it the trashcan is launched.

Before I installed xserver-xorg-input-evtouch the touch screen was reacting more normal but left/right and up/down was reversed.

I tried to create fdi-files suggested here before in /etc/hal/fdi/policy/ and restarting but nothing changed.

Thanks for any help!

Bryce Harrington (bryce)
tags: removed: needs-xorglog
tags: removed: needs-lspci-vvnn
Changed in xf86-input-evtouch (Ubuntu):
status: Incomplete → Confirmed
Bryce Harrington (bryce)
tags: added: hardy
Revision history for this message
Ben Andersen (ben72) wrote :

Let me know if I can supply more information or do some more testing to solve this problem.

Revision history for this message
Esa Viitala (esa-viitala) wrote :

Works in 10.04 after changing evtouch xorg.conf.d snippet to match device path.

http://www.viitalat.net/index.php/htpc/2010/07/16/lg-1730sf-on-ubuntu-10-04

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Evtouch is going to be removed from the archive starting in natty, closing bugs that become obsolete due to that. Use the 'evdev' driver for touchscreens. There will be a new calibration tool too (xinput-calibrator).

Changed in xf86-input-evtouch (Ubuntu):
status: Confirmed → Won't Fix
Revision history for this message
Ben Andersen (ben72) wrote :

I've gotten rid of the monitor but it will be interesting to see if the new package will work more easily for touch screens. I've got a couple of asus eee-top et1602 to test on.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

At least natty should use evdev out of the box, so if you continue to have issues please file a new bug against xserver-xorg-input-evdev package, thanks!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.