Bug#457722: xserver-xorg-input-fpit: using touchscreen kills x
https://bugs.freedesktop.org/show_bug.cgi?id=14057 thank you TreeBoy wrote: I'm afraid that the change appears to make no difference at all. I can still cat /dev/ttyS1 and see the stuff being sent, but nothing happens to the mouse pointer. I have forwarded the bug upstream at the URL above. Feel free to add any comment there if you think it could help. Brice -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#457722: xserver-xorg-input-fpit: using touchscreen kills x
On Tuesday 25 December 2007 22:52:29 Julien Cristau wrote: Does it work better if you set is_core_pointer to 0 instead of 1? Cheers, Julien Hello, again. I'm afraid that the change appears to make no difference at all. I can still cat /dev/ttyS1 and see the stuff being sent, but nothing happens to the mouse pointer. Regards, -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#457722: xserver-xorg-input-fpit: using touchscreen kills x
On Tuesday 25 December 2007 01:17:13 Julien Cristau wrote: On Mon, Dec 24, 2007 at 22:57:30 +, TreeBoy wrote: If I connect from another PC, I get an error along the lines of Undefined function IsCorePointer Hi, can you rebuild the fpit driver with the attached patch, and tell me if it works for you? Thanks, Julien Hello, Julien. Many thanks for your speedy response and Season's Greetings to you and yours. I have applied the patch and installed and the crashing has now stopped. Unofrtunately, the touchscreen no longer does anything. If I cat /dev/ttyS1 I do see data, but the mouse pointer doesn't respond at all. Kind regards, Peter -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#457722: xserver-xorg-input-fpit: using touchscreen kills x
On Tue, Dec 25, 2007 at 12:27:25 +, TreeBoy wrote: I have applied the patch and installed and the crashing has now stopped. Thanks for testing. Unofrtunately, the touchscreen no longer does anything. If I cat /dev/ttyS1 I do see data, but the mouse pointer doesn't respond at all. Does it work better if you set is_core_pointer to 0 instead of 1? Cheers, Julien -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#457722: xserver-xorg-input-fpit: using touchscreen kills x
Package: xserver-xorg-input-fpit Version: 1:1.1.0-3 Severity: grave Justification: renders package unusable When running X everything is fine until I touch the touchscreen when X dies. The system is unusbale as the display does not refresh and all I see is the non-updating X server window, even though all X processes are no longer running. If I connect from another PC, I get an error along the lines of Undefined function IsCorePointer I'm afraid I do nt have access to another machine to check this from at the moment. Using the version cuurently in Lenny works fine, but Sid produces this error. Any more info I can give, I shall try getting another machine to try running the startx from another machine again. Regards, TreeBoy -- Package-specific info: /var/lib/x11/X.roster does not exist. /var/lib/x11/X.md5sum does not exist. X server symlink status: lrwxrwxrwx 1 root root 13 2007-12-24 16:56 /etc/X11/X - /usr/bin/Xorg -rwxr-xr-x 1 root root 1672764 2007-12-22 00:43 /usr/bin/Xorg Contents of /var/lib/x11/xorg.conf.roster: xserver-xorg VGA-compatible devices on PCI bus: 00:14.0 VGA compatible controller: Trident Microsystems Cyber 9525 (rev 49) /etc/X11/xorg.conf does not match checksum in /var/lib/x11/xorg.conf.md5sum. Xorg X server configuration file status: -rw-r--r-- 1 root root 2230 2007-12-24 18:16 /etc/X11/xorg.conf Contents of /etc/X11/xorg.conf: # xorg.conf (xorg X Window System server configuration file) # # This file was generated by dexconf, the Debian X Configuration tool, using # values from the debconf database. # # Edit this file with caution, and see the xorg.conf manual page. # (Type man xorg.conf at the shell prompt.) # # This file is automatically updated on xserver-xorg package upgrades *only* # if it has not been modified since the last upgrade of the xserver-xorg # package. # # If you have edited this file but would like it to be automatically updated # again, run the following command: # sudo dpkg-reconfigure -phigh xserver-xorg Section Files EndSection Section InputDevice Identifier Generic Keyboard Driver kbd Option CoreKeyboard Option XkbRules xorg Option XkbModel pc105 Option XkbLayout gb EndSection Section InputDevice Identifier Configured Mouse Driver mouse Option CorePointer Option Device/dev/input/mice Option Protocol ImPS/2 EndSection Section InputDevice Identifier touchscreen Driver fpit Option CorePointer Option AlwaysCore on Option Device /dev/ttyS1 Option BaudRate 9600 Option MaximumXPosition 4070 Option MinimumXPosition 0 Option MaximumYPosition 4020 Option MinimumYPosition 0 Option Passive EndSection #Section InputDevice # Identifier Synaptics Touchpad # Driver synaptics # Option SendCoreEventstrue # Option Device/dev/psaux # Option Protocol auto-dev # Option HorizScrollDelta 0 #EndSection Section Device Identifier Trident Microsystems Cyber 9525 Driver trident BusID PCI:0:20:0 EndSection Section Monitor Identifier Generic Monitor Option DPMS EndSection Section Screen Identifier Default Screen Device Trident Microsystems Cyber 9525 Monitor Generic Monitor DefaultDepth24 SubSection Display Modes 800x600 EndSubSection EndSection Section ServerLayout Identifier Default Layout Screen Default Screen InputDevice Generic Keyboard CoreKeyboard InputDevice Configured Mouse CorePointer InputDevice touchscreen SendCoreEvents #InputDeviceSynaptics Touchpad EndSection Xorg X server log files on system: -rw-r--r-- 1 root root 32229 2007-12-24 22:45 /var/log/Xorg.0.log Contents of most recent Xorg X server log file /var/log/Xorg.0.log: X.Org X Server 1.4.0 Release Date: 5 September 2007 X Protocol Version 11, Revision 0 Build Operating System: Linux Debian (xorg-server 2:1.4.1~git20071212-2) Current Operating System: Linux stylistic 2.6.22-3-686 #1 SMP Mon Nov 12 08:32:57 UTC 2007 i686 Build Date: 22 December 2007 01:30:34AM Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==)
Bug#457722: xserver-xorg-input-fpit: using touchscreen kills x
On Mon, Dec 24, 2007 at 22:57:30 +, TreeBoy wrote: If I connect from another PC, I get an error along the lines of Undefined function IsCorePointer Hi, can you rebuild the fpit driver with the attached patch, and tell me if it works for you? Thanks, Julien commit e4495f76e30bb66cdb5974e915fc4f85cd74674b Author: Julien Cristau [EMAIL PROTECTED] Date: Tue Dec 25 02:14:56 2007 +0100 Don't crash with xserver 1.4 xf86IsCorePointer() is gone. diff --git a/src/xf86Fpit.c b/src/xf86Fpit.c index b7a9a60..f80a1df 100644 --- a/src/xf86Fpit.c +++ b/src/xf86Fpit.c @@ -182,7 +182,7 @@ static void xf86FpitReadInput(LocalDevicePtr local) { FpitPrivatePtr priv = (FpitPrivatePtr) local-private; int len, loop; - int is_core_pointer; + int is_core_pointer = 1; int x, y, buttons, prox; DeviceIntPtr device; int conv_x, conv_y; @@ -251,7 +251,9 @@ static void xf86FpitReadInput(LocalDevicePtr local) prox = (priv-fpitData[loop] PROXIMITY_BIT) ? 0 : 1; buttons = (priv-fpitData[loop] BUTTON_BITS); device = local-dev; +#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) == 0 is_core_pointer = xf86IsCorePointer(device); +#endif xf86FpitConvert(local, 0, 2, x, y, 0, 0, 0, 0, conv_x, conv_y); xf86XInputSetScreen(local, priv-screen_no, conv_x, conv_y);