Bug#726965: (no subject)
There's a fix available upstream and also in unstable. Downloading source package of xserver-xorg-video-trident from unstable (1:1.3.7-1), compiling it (dpkg-buildpackage) and installing makes the driver work. -- Ondrej Zary
Bug#726965: xserver-xorg-video-trident: blank screen on X startup (trident)
Package: xserver-xorg-video-trident Version: 1:1.3.6-2+b2 Followup-For: Bug #726965 Just upgraded to Jessie and hit the same bug. Seems to be related to the missing XAA. The driver tries to use shadowfb and it hangs the system completely. -- Package-specific info: X server symlink status: lrwxrwxrwx 1 root root 13 Apr 7 2014 /etc/X11/X - /usr/bin/Xorg -rwxr-xr-x 1 root root 2564976 Feb 11 02:23 /usr/bin/Xorg VGA-compatible devices on PCI bus: -- 01:00.0 VGA compatible controller [0300]: Trident Microsystems CyberBlade XP4m32 [1023:2100] (rev 91) /etc/X11/xorg.conf does not exist. /etc/X11/xorg.conf.d does not exist. /etc/modprobe.d contains no KMS configuration files. Kernel version (/proc/version): --- Linux version 4.1.0-trunk-686-pae (debian-ker...@lists.debian.org) (gcc version 4.9.3 (Debian 4.9.3-1) ) #1 SMP Debian 4.1.1-1~exp1 (2015-07-07) Xorg X server log files on system: -- -rw-r--r-- 1 root root 24838 Jul 11 19:22 /var/log/Xorg.0.log Contents of most recent Xorg X server log file (/var/log/Xorg.0.log): - [ 1721.104] X.Org X Server 1.16.4 Release Date: 2014-12-20 [ 1721.104] X Protocol Version 11, Revision 0 [ 1721.104] Build Operating System: Linux 3.2.0-4-amd64 i686 Debian [ 1721.104] Current Operating System: Linux portege 4.1.0-trunk-686-pae #1 SMP Debian 4.1.1-1~exp1 (2015-07-07) i686 [ 1721.104] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.1.0-trunk-686-pae root=UUID=7bfcf541-c486-4de6-a2f1-bb5f8cfe4fc0 ro [ 1721.104] Build Date: 11 February 2015 01:14:26AM [ 1721.105] xorg-server 2:1.16.4-1 (http://www.debian.org/support) [ 1721.105] Current version of pixman: 0.32.6 [ 1721.105]Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 1721.105] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 1721.105] (==) Log file: /var/log/Xorg.0.log, Time: Sat Jul 11 19:22:38 2015 [ 1721.166] (==) Using system config directory /usr/share/X11/xorg.conf.d [ 1721.189] (==) No Layout section. Using the first Screen section. [ 1721.189] (==) No screen section available. Using defaults. [ 1721.189] (**) |--Screen Default Screen Section (0) [ 1721.189] (**) | |--Monitor default monitor [ 1721.208] (==) No monitor specified for screen Default Screen Section. Using a default monitor configuration. [ 1721.208] (==) Automatically adding devices [ 1721.208] (==) Automatically enabling devices [ 1721.208] (==) Automatically adding GPU devices [ 1721.222] (WW) The directory /usr/share/fonts/X11/misc does not exist. [ 1721.223]Entry deleted from font path. [ 1721.223] (WW) The directory /usr/share/fonts/X11/cyrillic does not exist. [ 1721.223]Entry deleted from font path. [ 1721.223] (WW) The directory /usr/share/fonts/X11/100dpi/ does not exist. [ 1721.223]Entry deleted from font path. [ 1721.223] (WW) The directory /usr/share/fonts/X11/75dpi/ does not exist. [ 1721.223]Entry deleted from font path. [ 1721.223] (WW) The directory /usr/share/fonts/X11/Type1 does not exist. [ 1721.223]Entry deleted from font path. [ 1721.223] (WW) The directory /usr/share/fonts/X11/100dpi does not exist. [ 1721.223]Entry deleted from font path. [ 1721.223] (WW) The directory /usr/share/fonts/X11/75dpi does not exist. [ 1721.223]Entry deleted from font path. [ 1721.223] (==) FontPath set to: built-ins [ 1721.223] (==) ModulePath set to /usr/lib/xorg/modules [ 1721.223] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [ 1721.223] (II) Loader magic: 0x8033d700 [ 1721.223] (II) Module ABI versions: [ 1721.223]X.Org ANSI C Emulation: 0.4 [ 1721.223]X.Org Video Driver: 18.0 [ 1721.223]X.Org XInput driver : 21.0 [ 1721.223]X.Org Server Extension : 8.0 [ 1721.226] (--) PCI:*(0:1:0:0) 1023:2100:1179:0002 rev 145, Mem @ 0xf000/134217728, 0xefc0/4194304, 0xe000/134217728, 0xdfff8000/32768, BIOS @ 0x/262144 [ 1721.246] (II) LoadModule: glx [ 1721.293] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so [ 1721.805] (II) Module glx: vendor=X.Org Foundation [ 1721.805]compiled for 1.16.4, module version = 1.0.0 [ 1721.805]ABI class: X.Org Server Extension, version 8.0 [ 1721.805] (==) AIGLX enabled [ 1721.805] (==) Matched trident as autoconfigured driver 0 [ 1721.805] (==) Matched modesetting as autoconfigured driver 1 [ 1721.805] (==) Matched fbdev as autoconfigured driver 2 [ 1721.805] (==) Matched vesa as autoconfigured driver 3 [ 1721.805] (==) Assigned the driver to the
Bug#450713: Disable device grab to allow device access for other calibration utility
Hello, this patch adds GrabDevice option to the driver. When this option is set in xorg.conf to Off, it disables EVIOCGRAB, allowing other programs to access the device. This allows calibrator from touchkitusb to work. diff -urN xf86-input-evtouch-0.8.7/evtouch.c xf86-input-evtouch-0.8.7.new/evtouch.c --- xf86-input-evtouch-0.8.7/evtouch.c 2008-05-28 11:50:22.0 +0200 +++ xf86-input-evtouch-0.8.7.new/evtouch.c 2008-05-28 12:03:11.0 +0200 @@ -499,7 +499,7 @@ xf86FlushInput(local-fd); - if (ioctl(local-fd, EVIOCGRAB, (void *)1)) + if (priv-grab_device ioctl(local-fd, EVIOCGRAB, (void *)1)) xf86Msg(X_ERROR, %s: Unable to grab device (%s).\n, local-name, strerror(errno)); @@ -527,7 +527,8 @@ if (local-fd != -1) { - ioctl(local-fd, EVIOCGRAB, (void *)0); + if (priv-grab_device) + ioctl(local-fd, EVIOCGRAB, (void *)0); xf86RemoveEnabledDevice (local); if (priv-buffer) { @@ -1203,6 +1204,8 @@ priv-swap_y = xf86SetBoolOption(local-options, SwapY, FALSE); priv-swap_x = xf86SetBoolOption(local-options, SwapX, FALSE); + priv-grab_device = xf86SetBoolOption(local-options, GrabDevice, TRUE); + /* get calibration parameters from XF86Config */ diff -urN xf86-input-evtouch-0.8.7/evtouch.h xf86-input-evtouch-0.8.7.new/evtouch.h --- xf86-input-evtouch-0.8.7/evtouch.h 2008-05-28 11:50:19.0 +0200 +++ xf86-input-evtouch-0.8.7.new/evtouch.h 2008-05-28 12:01:59.0 +0200 @@ -128,6 +128,8 @@ int screen_num; /* Screen associated with the device */ int screen_width; /* Width of the associated X screen */ int screen_height; /* Height of the screen */ + + Bool grab_device; XISBuffer *buffer; struct input_event ev; /* packet being/just read */ -- Ondrej Zary -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]