On Lucid, xserver-xorg-input-evtouch does not install ev_calibrate

Bug #546487 reported by hackeron
This bug report is a duplicate of:  Bug #557566: evtouch does not work on Lucid. Edit Remove
36
This bug affects 7 people
Affects Status Importance Assigned to Milestone
xf86-input-evtouch (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

root@intercom1:~# ev_calibrate
The program 'ev_calibrate' is currently not installed. You can install it by typing:
apt-get install xserver-xorg-input-evtouch
root@intercom1:~# apt-get install xserver-xorg-input-evtouch
Reading package lists... Done
Building dependency tree
Reading state information... Done
xserver-xorg-input-evtouch is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

So it's impossible to tell evtouch to use a calibration config which makes the touchscreen pointless :(

Tags: lucid
Revision history for this message
hackeron (hackeron) wrote :

Actually, it's installed to /usr/lib/xf86-input-evtouch

But unfortunately then it shows a different error:

# /usr/lib/xf86-input-evtouch/ev_calibrate
XLoadQueryFont: failed loading font '*freemono*'

Revision history for this message
hackeron (hackeron) wrote :

Made a patch:

# cat debian/patches/07_fixfont.diff
--- xserver-xorg-input-evtouch.orig/ev_calibrate.c 2010-03-24 23:23:13.000000000 +0000
+++ xserver-xorg-input-evtouch/ev_calibrate.c 2010-03-24 23:25:29.000000000 +0000
@@ -198,7 +198,7 @@ int main (void)
         Pixmap cursor_pic;
         XColor cursor_fg, cursor_bg;
         XFontStruct* font_info;
- char* font_name = "*freemono*";
+ char* font_name = "*lucidasans*";
         char str[256];
         unsigned int cursor_width, cursor_height;
         int hotspot_x, hotspot_y;

This seems to make ev_calibrate start and /usr/lib/xf86-input-evtouch/calibrate.sh work.

But what happened to /etc/init.d/xserver-xorg-input-evtouch ?

Bryce Harrington (bryce)
tags: added: lucid
Changed in xf86-input-evtouch (Ubuntu):
status: New → Fix Released
Revision history for this message
Fabián Rodríguez (magicfab) wrote :

I just upgraded and to my suprise ev_calibrate is gone.

Marking as "confirmed".

Changed in xf86-input-evtouch (Ubuntu):
status: Fix Released → In Progress
status: In Progress → Confirmed
importance: Undecided → Low
Revision history for this message
Fabián Rodríguez (magicfab) wrote :

I meant to write "gone from the menu".

@hackeron, Lucida Sans does not seem to be part of a default Lucid Install and it's not a mono font. Deja Vu Sans Mono seems a better candidate to fix that. I am not even sure the font should be hardcoded, but should rather use the system's defaults.

Revision history for this message
DarkJavi (darkjavi) wrote :

Same here, can't calibrate my touchscreen and is useless with 90º degree rotation between image and touch. on karmic I overided it by setting ccw on the fdi file but is no longer avaiable.Where can I manually rotate it until the calibrator is fixed?

Revision history for this message
DarkJavi (darkjavi) wrote :

This looks a typo problem, on my system I got FreeMono font instead freemono

Revision history for this message
george (georgebroodryk) wrote :

hopefully you guys can help me out. Got Ubuntu 10.04 LTS - the Lucid Lynx - released in April 2010 that uses emc2 set up on a PC that needs to operate an CNC machine but cant seem to configure my touchscreen to what the net gave me so var... I'm using a "LG FLATRON L1730SF touchscreen" axis seemed to shrink and that damn config file not on the PC nor do seem to be able to add it ( limited Linux experience )

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

Other bug subscribers

Remote bug watches

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