Hello community, here is the log from the commit of package xorg-x11-driver-input checked in at Tue Aug 12 00:05:11 CEST 2008. -------- --- xorg-x11-driver-input/xorg-x11-driver-input.changes 2008-08-04 11:49:07.000000000 +0200 +++ xorg-x11-driver-input/xorg-x11-driver-input.changes 2008-08-11 17:27:51.628214930 +0200 @@ -1,0 +2,7 @@ +Mon Aug 11 17:26:54 CEST 2008 - sndirsch@suse.de + +- xf86-input-evdev-sig11-bug416043.diff + * fixes occasional crashes when evdev is used as kbd driver + (bnc #416043) + +------------------------------------------------------------------- New: ---- xf86-input-evdev-sig11-bug416043.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xorg-x11-driver-input.spec ++++++ --- /var/tmp/diff_new_pack.A13420/_old 2008-08-12 00:03:07.000000000 +0200 +++ /var/tmp/diff_new_pack.A13420/_new 2008-08-12 00:03:07.000000000 +0200 @@ -2,9 +2,16 @@ # spec file for package xorg-x11-driver-input (Version 7.3) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. # +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -16,7 +23,7 @@ BuildRequires: Mesa-devel pkgconfig xorg-x11-proto-devel xorg-x11-server-sdk Url: http://xorg.freedesktop.org/ Version: 7.3 -Release: 113 +Release: 120 License: X11/MIT BuildRoot: %{_tmppath}/%{name}-%{version}-build Group: System/X11/Servers/XF86_4 @@ -61,6 +68,7 @@ Patch11: xf86-input-evdev-max_fixes.diff Patch12: zap_warning_kbd.diff Patch14: xf86-input-vmmouse.diff +Patch15: xf86-input-evdev-sig11-bug416043.diff %description This package contains X.Org input drivers. @@ -86,6 +94,7 @@ %patch6 -p1 %patch7 -p0 %patch11 -p1 +%patch15 -p0 popd pushd xf86-input-aiptek-*/src tar xzf %{S:100} @@ -134,6 +143,10 @@ %{_mandir}/man4/* %changelog +* Mon Aug 11 2008 sndirsch@suse.de +- xf86-input-evdev-sig11-bug416043.diff + * fixes occasional crashes when evdev is used as kbd driver + (bnc #416043) * Mon Aug 04 2008 sndirsch@suse.de - updated fpit driver to git commit e8620e9 * Check for XINPUT ABI 3; possibly addresses bnc #381278 ++++++ xf86-input-evdev-sig11-bug416043.diff ++++++ diff -u -p -r ../xf86-input-evdev-1.1.5.orig//src/evdev.c ./src/evdev.c --- ../xf86-input-evdev-1.1.5.orig//src/evdev.c 2008-08-11 15:08:00.000000000 +0200 +++ ./src/evdev.c 2008-08-11 15:50:25.000000000 +0200 @@ -335,7 +335,11 @@ EvdevNew(evdevDriverPtr driver, evdevDev if (driver->configured) { xf86ActivateDevice (pInfo); - pInfo->dev->inited = (device->callback(device->pInfo->dev, DEVICE_INIT) == Success); + if (device->pInfo->dev) { + pInfo->dev->inited = (device->callback(device->pInfo->dev, DEVICE_INIT) == Success); + } else { + pInfo->dev->inited = 0; + } EnableDevice (pInfo->dev); } diff -u -p -r ../xf86-input-evdev-1.1.5.orig//src/evdev_brain.c ./src/evdev_brain.c --- ../xf86-input-evdev-1.1.5.orig//src/evdev_brain.c 2008-08-11 15:08:00.000000000 +0200 +++ ./src/evdev_brain.c 2008-08-11 15:11:47.000000000 +0200 @@ -211,7 +211,7 @@ evdevScanDevice (evdevDriverPtr driver, found = 0; for (device = driver->devices; device; device = device->next) { if (MatchDevice (device, info)) { - if (device->seen != (evdev_seq - 1)) { + if ((device->seen != (evdev_seq - 1)) && device->pInfo->dev) { device->device = xstrdup(info->dev); device->phys = xstrdup(info->phys); device->callback(device->pInfo->dev, DEVICE_ON); @@ -298,7 +298,7 @@ evdevRescanDevices (InputInfoPtr pInfo) for (driver = evdev_drivers; driver; driver = driver->next) for (device = driver->devices; device; device = device->next) - if (device->seen == (evdev_seq - 1)) { + if ((device->seen == (evdev_seq - 1)) && device->pInfo->dev) { device->callback(device->pInfo->dev, DEVICE_OFF); if (device->device) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org