Bug#693158: Xorg: symbol lookup error: ...penmount_drv.so: undefined symbol: xf86XInputSetScreen

2012-11-22 Thread Guenter Bartsch
Julien,

sorry for my late reply - simply didn't have time to investigate this
further. but: good news is that inputattach is working perfectly!
thanks for the hint :)

I have documented the whole thing in my blog entry

https://sites.google.com/site/guenterbartsch/blog/updateonpenmounttouchscreensupportondebian7

thanks again and best regards,

   guenter



On Tue, Nov 13, 2012 at 8:29 PM, Julien Cristau jcris...@debian.org wrote:
 On Tue, Nov 13, 2012 at 20:05:18 +0100, Guenter Bartsch wrote:

 Package: xserver-xorg-input-penmount
 Version: 1:1.5.0-1+b2
 Severity: important

 Dear Maintainer,

 penmount driver will crash the Xorg server on every touch attempt because it
 seems to use outdated API functions:

 Xorg: symbol lookup error: /usr/lib/xorg/modules/input/penmount_drv.so: 
 undefined symbol: xf86XInputSetScreen

 the attached patch fixes it (at the expense of probably losing multiple 
 screen
 support, but at least for single-screen setups the package remains useful and
 stable).

 Thanks for the patch.

 Out of interest, does using inputattach (from the package of the same
 name; see /usr/share/doc/inputattach/README.Debian for setup
 instructions) work with your device?  (That should use the standard
 xserver-xorg-input-evdev driver, which contrary to
 xserver-xorg-input-penmount is still being maintained.)

 Cheers,
 Julien


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CADaHQ6yN0o59s=3VVESHvK=fo9uO4ScygUgShTQ7AoJ1k6u=4...@mail.gmail.com



Bug#693158: Xorg: symbol lookup error: ...penmount_drv.so: undefined symbol: xf86XInputSetScreen

2012-11-13 Thread Guenter Bartsch
Package: xserver-xorg-input-penmount
Version: 1:1.5.0-1+b2
Severity: important

Dear Maintainer,

penmount driver will crash the Xorg server on every touch attempt because it
seems to use outdated API functions:

Xorg: symbol lookup error: /usr/lib/xorg/modules/input/penmount_drv.so: 
undefined symbol: xf86XInputSetScreen

the attached patch fixes it (at the expense of probably losing multiple screen
support, but at least for single-screen setups the package remains useful and
stable).

additional info on my setup:

/etc/udev/rules.d/50-input-penmount.rules

ACTION!=add|change, GOTO=penmount_end
KERNEL==ttyS3 ENV{NAME}=PenMount Serial Touch Screen, 
ENV{SUBSYSTEM}=input, ENV{ID_INPUT}=1, ENV{ID_INPUT_MOUSE}=1
LABEL=penmount_end

/usr/share/X11/xorg.conf.d/10-input-penmount.conf

Section InputClass
   Identifier  Penmount Touch Screen
   MatchIsPointer  on
   MatchDevicePath /dev/ttyS3
   Driver  penmount

   Option  Device /dev/ttyS3
   Option  ControllerModelDMC9000
   Option  ReportingMode  raw
   Option  MinX   112
   Option  MaxX   892
   Option  MinY   120
   Option  MaxY   888
   Option  InvertY1
   Option  InvertX1
   #Option  ScreenNumber   0
   #Option  ButtonNumber   1
   #Option  SwapXY 0

EndSection



-- Package-specific info:
X server symlink status:

lrwxrwxrwx 1 root root 13 Nov 10 20:25 /etc/X11/X - /usr/bin/Xorg
-rwxr-xr-x 1 root root 2027892 Sep 30 14:42 /usr/bin/Xorg

VGA-compatible devices on PCI bus:
--
00:01.1 VGA compatible controller [0300]: Advanced Micro Devices [AMD] Geode LX 
Video [1022:2081]

/etc/X11/xorg.conf does not exist.

/etc/X11/xorg.conf.d does not exist.

KMS configuration files:

/etc/modprobe.d/radeon-kms.conf:
  options radeon modeset=1

Kernel version (/proc/version):
---
Linux version 3.2.0-4-486 (debian-ker...@lists.debian.org) (gcc version 4.6.3 
(Debian 4.6.3-12) ) #1 Debian 3.2.32-1

Xorg X server log files on system:
--
-rw-r--r-- 1 root root 10888 Nov 13 15:19 /var/log/Xorg.2.log
-rw-r--r-- 1 root root 21244 Nov 13 19:28 /var/log/Xorg.1.log
-rw-r--r-- 1 root root 20707 Nov 13 19:40 /var/log/Xorg.0.log

Contents of most recent Xorg X server log file (/var/log/Xorg.0.log):
-
[  2977.405] 
X.Org X Server 1.12.4
Release Date: 2012-08-27
[  2977.405] X Protocol Version 11, Revision 0
[  2977.405] Build Operating System: Linux 2.6.32-5-amd64 i686 Debian
[  2977.405] Current Operating System: Linux telkamp 3.2.0-4-486 #1 Debian 
3.2.32-1 i586
[  2977.405] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-4-486 
root=UUID=b491cd27-043f-4212-babe-5c2f6940c9e3 ro video=lxfb:1024x768-32@60 
quiet
[  2977.406] Build Date: 30 September 2012  12:36:23PM
[  2977.406] xorg-server 2:1.12.4-1 (Julien Cristau jcris...@debian.org) 
[  2977.406] Current version of pixman: 0.26.0
[  2977.406]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[  2977.406] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  2977.407] (==) Log file: /var/log/Xorg.0.log, Time: Tue Nov 13 19:40:52 
2012
[  2977.407] (==) Using system config directory /usr/share/X11/xorg.conf.d
[  2977.409] (==) No Layout section.  Using the first Screen section.
[  2977.409] (==) No screen section available. Using defaults.
[  2977.409] (**) |--Screen Default Screen Section (0)
[  2977.409] (**) |   |--Monitor default monitor
[  2977.411] (==) No monitor specified for screen Default Screen Section.
Using a default monitor configuration.
[  2977.412] (==) Automatically adding devices
[  2977.412] (==) Automatically enabling devices
[  2977.412] (WW) The directory /usr/share/fonts/X11/cyrillic does not exist.
[  2977.412]Entry deleted from font path.
[  2977.412] (WW) The directory /usr/share/fonts/X11/100dpi/ does not exist.
[  2977.412]Entry deleted from font path.
[  2977.412] (WW) The directory /usr/share/fonts/X11/75dpi/ does not exist.
[  2977.412]Entry deleted from font path.
[  2977.412] (WW) The directory /usr/share/fonts/X11/100dpi does not exist.
[  2977.412]Entry deleted from font path.
[  2977.412] (WW) The directory /usr/share/fonts/X11/75dpi does not exist.
[  2977.413]Entry deleted from font path.
[  2977.413] (WW) The directory 
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType does not exist.
[  2977.413]Entry deleted from font path.
[  2977.413] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[  2977.413] (==) ModulePath