Bug#829304: Acknowledgement (xserver-xorg: Display no longer survives suspend/resume)

2016-07-19 Thread Paul "LeoNerd" Evans
reassign 829304 xfce4
merge 829304 781288
thanks

Turns out this isn't an X server bug at all. The login manager (xdm or
lightdm) both survive a suspend just fine, as does my own X session if
I log in directly to an emergency xterm or similar. It seems quite
specific to xfce4.

Also it seems related to #781288, so I'll merge it.

-- 
Paul "LeoNerd" Evans

leon...@leonerd.org.uk  |  https://metacpan.org/author/PEVANS
http://www.leonerd.org.uk/  |  https://www.tindie.com/stores/leonerd/



Bug#829304: Acknowledgement (xserver-xorg: Display no longer survives suspend/resume)

2016-07-04 Thread Paul "LeoNerd" Evans
Actually; I'm suddenly not sure this is an xserver bug.

I tried an experiment by logging out of my desktop (xfce) to leave the
machine at the plain xdm login screen. It seems that xdm itself is
perfectly happy to suspend and resume without issue.

I wonder if therefore the black display is more related to something in
my desktop environment of xfce, than the X server itself.

-- 
Paul "LeoNerd" Evans

leon...@leonerd.org.uk  |  https://metacpan.org/author/PEVANS
http://www.leonerd.org.uk/  |  https://www.tindie.com/stores/leonerd/



Bug#829304: xserver-xorg: Display no longer survives suspend/resume

2016-07-02 Thread Paul "LeoNerd" Evans
Package: xserver-xorg
Version: 1:7.7+15
Severity: normal

Yesterday I performed a dist-upgrade which replaced a lot of packages
(probably about 3 to 4 months worth). Today, the X server no longer
displays anything on resume from suspend. Prior to this update it worked
fine.

The symptoms are that the screen is just solid black. The machine hasn't
crashed entirely; networking is still fine, as are the plain-text
console terminals of tty1 to tty6. I can rescue the machine by switching
to tty1, logging in as root and running

 $ /etc/init.d/xdm restart

which successfully shuts down and restarts the X server.

The machine is a Lenovo Thinkpad X220; I believe the information below
contains the rest of the relevant configuration.


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

lrwxrwxrwx 1 root root 13 Jul 29  2011 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 274 Apr  5 08:05 /usr/bin/Xorg

VGA-compatible devices on PCI bus:
--
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core 
Processor Family Integrated Graphics Controller [8086:0116] (rev 09)

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

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

KMS configuration files:

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

Kernel version (/proc/version):
---
Linux version 4.6.0-1-amd64 (debian-ker...@lists.debian.org) (gcc version 5.4.0 
20160609 (Debian 5.4.0-4) ) #1 SMP Debian 4.6.2-2 (2016-06-25)

Xorg X server log files on system:
--
-rw-r--r-- 1 root root 32439 Jul 21  2013 /var/log/Xorg.20.log
-rw-r--r-- 1 root root 35837 Jul  2 12:33 /var/log/Xorg.0.log

Contents of most recent Xorg X server log file (/var/log/Xorg.0.log):
-
[ 32136.795] 
X.Org X Server 1.18.3
Release Date: 2016-04-04
[ 32136.795] X Protocol Version 11, Revision 0
[ 32136.795] Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
[ 32136.795] Current Operating System: Linux shy 4.6.0-1-amd64 #1 SMP Debian 
4.6.2-2 (2016-06-25) x86_64
[ 32136.795] Kernel command line: BOOT_IMAGE=/vmlinuz-4.6.0-1-amd64 
root=/dev/mapper/vg_shy-root ro quiet
[ 32136.795] Build Date: 05 April 2016  07:00:43AM
[ 32136.795] xorg-server 2:1.18.3-1 (http://www.debian.org/support) 
[ 32136.795] Current version of pixman: 0.33.6
[ 32136.795]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 32136.795] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 32136.795] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jul  2 12:32:46 
2016
[ 32136.796] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 32136.796] (==) No Layout section.  Using the first Screen section.
[ 32136.796] (==) No screen section available. Using defaults.
[ 32136.796] (**) |-->Screen "Default Screen Section" (0)
[ 32136.796] (**) |   |-->Monitor ""
[ 32136.796] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 32136.796] (==) Automatically adding devices
[ 32136.796] (==) Automatically enabling devices
[ 32136.796] (==) Automatically adding GPU devices
[ 32136.796] (==) Max clients allowed: 256, resource mask: 0x1f
[ 32136.796] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 32136.796]Entry deleted from font path.
[ 32136.796] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[ 32136.796] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 32136.796] (II) The server relies on udev to provide the list of input 
devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
[ 32136.796] (II) Loader magic: 0x55daada60dc0
[ 32136.796] (II) Module ABI versions:
[ 32136.796]X.Org ANSI C Emulation: 0.4
[ 32136.796]X.Org Video Driver: 20.0
[ 32136.796]X.Org XInput driver : 22.1
[ 32136.796]X.Org Server Extension : 9.0
[ 32136.797] (++) using VT number 7

[ 32136.797] (II) systemd-logind: logind integration requires -keeptty and 
-keeptty was not provided, disabling logind integration
[ 32136.797] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 32136.799] (--) PCI:*(0:0:2:0) 8086:0116:17aa:21da rev 9, Mem @ 
0xf000/4194304, 0xe000/268435456, I/O @ 0x5000/64, BIOS @ 
0x/131072
[ 32136.799] (II) LoadModule: "glx"
[ 32136.799] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 32136.800] (II) Module glx: vendor="X

Re: Bug#694375: xterm: Please update to a later upstream version

2012-11-26 Thread Paul LeoNerd Evans
On Sun, Nov 25, 2012 at 07:38:15PM -0500, Thomas Dickey wrote:
> There are several features and fixes.  I released #279 a few weeks before
> the current freeze began; however it was fairly large, and according to
> the package maintainer beyond his ability to inspect it.  Direct access
> to my source archives would not change that assessment, however I've long
> been cooperative about digesting changes to assist packagers in applying
> specific changes.

OK, so what is the overall upshot here?

I'd quite like to play around with the VT4xx column-based features
(DECSLRM, DECIC, DECDC) at least, and perhaps some of the other newer
features as well.

Is an updated version in debian likely soon, or would I be best to fetch
sources and build an updated version locally myself?

-- 
Paul "LeoNerd" Evans

leon...@leonerd.org.uk
ICQ# 4135350   |  Registered Linux# 179460
http://www.leonerd.org.uk/


signature.asc
Description: Digital signature


Bug#491061: mouse side buttons stopped working

2009-11-24 Thread Paul LeoNerd Evans
Package: xserver-xorg-input-evdev
Version: 1:2.2.5-1
Severity: normal

Actually I've found even worse. My side buttons aren't reported as
buttons at all.

Strangely, something happens, just what it is that happens isn't a mouse
press event:

Normal mouse buttons do this in xev:

  ButtonPress event, serial 30, synthetic NO, window 0x321,
  root 0xdd, subw 0x0, time 2617592264, (110,89), root:(125,149),
  state 0x0, button 1, same_screen YES

  ButtonRelease event, serial 30, synthetic NO, window 0x321,
  root 0xdd, subw 0x0, time 2617592368, (110,89), root:(125,149),
  state 0x100, button 1, same_screen YES

  ButtonPress event, serial 30, synthetic NO, window 0x321,
  root 0xdd, subw 0x0, time 2617593897, (110,89), root:(125,149),
  state 0x0, button 2, same_screen YES

  ButtonRelease event, serial 30, synthetic NO, window 0x321,
  root 0xdd, subw 0x0, time 2617594084, (110,89), root:(125,149),
  state 0x200, button 2, same_screen YES

  ButtonPress event, serial 30, synthetic NO, window 0x321,
  root 0xdd, subw 0x0, time 2617594784, (110,89), root:(125,149),
  state 0x0, button 3, same_screen YES

  ButtonRelease event, serial 30, synthetic NO, window 0x321,
  root 0xdd, subw 0x0, time 2617594887, (110,89), root:(125,149),
  state 0x400, button 3, same_screen YES

The mouse wheel is reported as fake buttons 4/5:

  ButtonPress event, serial 30, synthetic NO, window 0x321,
  root 0xdd, subw 0x0, time 2617597121, (110,89), root:(125,149),
  state 0x0, button 4, same_screen YES

  ButtonRelease event, serial 30, synthetic NO, window 0x321,
  root 0xdd, subw 0x0, time 2617597121, (110,89), root:(125,149),
  state 0x800, button 4, same_screen YES

  ButtonPress event, serial 30, synthetic NO, window 0x321,
  root 0xdd, subw 0x0, time 2617597604, (110,89), root:(125,149),
  state 0x0, button 5, same_screen YES

  ButtonRelease event, serial 30, synthetic NO, window 0x321,
  root 0xdd, subw 0x0, time 2617597604, (110,89), root:(125,149),
  state 0x1000, button 5, same_screen YES

But pressing the thumb buttons yields only this:

  LeaveNotify event, serial 30, synthetic NO, window 0x321,
  root 0xdd, subw 0x0, time 2617599507, (110,89), root:(125,149),
  mode NotifyGrab, detail NotifyAncestor, same_screen YES,
  focus YES, state 0

  EnterNotify event, serial 30, synthetic NO, window 0x321,
  root 0xdd, subw 0x0, time 2617599514, (110,89), root:(125,149),
  mode NotifyUngrab, detail NotifyAncestor, same_screen YES,
  focus YES, state 0

  KeymapNotify event, serial 30, synthetic NO, window 0x0,
  keys:  4294967261 0   0   0   0   0   0   0   0   0   0   0   0   0   0   
0   
 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

  LeaveNotify event, serial 30, synthetic NO, window 0x321,
  root 0xdd, subw 0x0, time 2617600275, (110,89), root:(125,149),
  mode NotifyGrab, detail NotifyAncestor, same_screen YES,
  focus YES, state 0

  EnterNotify event, serial 30, synthetic NO, window 0x321,
  root 0xdd, subw 0x0, time 2617600277, (110,89), root:(125,149),
  mode NotifyUngrab, detail NotifyAncestor, same_screen YES,
  focus YES, state 0

  KeymapNotify event, serial 30, synthetic NO, window 0x0,
  keys:  4294967261 0   0   0   0   0   0   0   0   0   0   0   0   0   0   
0   
 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

-- 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 Oct 25 17:44 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 1689944 Oct 13 12:31 /usr/bin/Xorg

/var/lib/x11/xorg.conf.roster does not exist.

VGA-compatible devices on PCI bus:
02:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G550 AGP (rev 01)

/var/lib/x11/xorg.conf.md5sum does not exist.

Xorg X server configuration file status:
-rw-r--r-- 1 root root 3227 Nov 14 18:05 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
### BEGIN DEBCONF SECTION
# XF86Config-4 (XFree86 server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# If you want your changes to this file preserved by dexconf, only make changes
# before the "### BEGIN DEBCONF SECTION" line above, and/or after the
# "### END DEBCONF SECTION" line below.
#
# To change things within the debconf section, run the command:
#   dpkg-reconfigure xserver-xfree86
# as root.  Also see "How do I add custom sections to a dexconf-generated
# XF86Config or XF86Config-4 file?" in /usr/share/doc/xfree86-common/FAQ.gz.

Section "Files"
FontPath"/usr/share/fonts/truetype"

FontPath"/usr/share/fonts/X11/misc"
  

Bug#373681: xserver-xorg: Fast scrolling mouse wheel sometimes reports wrong button numbers

2006-06-14 Thread Paul LeoNerd Evans
Package: xserver-xorg
Version: 1:7.0.20
Severity: normal

If you roll the mouse wheel slowly it works "as expected"; i.e. reports
buttons 4 and 5. But if you roll it very quickly, sometimes an event of
button 6 or 7 appears as well. E.g; the following from xev:

  ButtonPress event, serial 27, synthetic NO, window 0x81,
  root 0x4d, subw 0x0, time 2707326669, (77,150), root:(656,363),
  state 0x10, button 4, same_screen YES

  ButtonRelease event, serial 27, synthetic NO, window 0x81,
  root 0x4d, subw 0x0, time 2707326669, (77,150), root:(656,363),
  state 0x810, button 4, same_screen YES

  ButtonPress event, serial 27, synthetic NO, window 0x81,
  root 0x4d, subw 0x0, time 2707326682, (77,150), root:(656,363),
  state 0x10, button 4, same_screen YES

  ButtonRelease event, serial 27, synthetic NO, window 0x81,
  root 0x4d, subw 0x0, time 2707326682, (77,150), root:(656,363),
  state 0x810, button 4, same_screen YES

  ButtonPress event, serial 27, synthetic NO, window 0x81,
  root 0x4d, subw 0x0, time 2707326694, (77,150), root:(656,363),
  state 0x10, button 6, same_screen YES

  ButtonRelease event, serial 27, synthetic NO, window 0x81,
  root 0x4d, subw 0x0, time 2707326694, (77,150), root:(656,363),
  state 0x10, button 6, same_screen YES

In case it's of relevance, the mouse is a Logitech MX900 Bluetooth
mouse, connected via the Bluetooth HID stack. However, I've also
observed the same behaviour when using a MX310, directly over USB. I
don't have a PS/2 wheel mouse, so I can't check whether it is a USB-only
problem.


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13-mh2.nim
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages xserver-xorg depends on:
ii  debconf   1.5.1  Debian configuration management sy
ii  x11-common1:7.0.20   X Window System (X.Org) infrastruc
ii  xbase-clients 1:7.0.1-2  miscellaneous X clients
ii  xkb-data  0.8-5  X Keyboard Extension (XKB) configu
ii  xserver-xorg-core 1:1.0.2-8  X.Org X server -- core server
ii  xserver-xorg-input-al 1:7.0.20   the X.Org X server -- input driver
ii  xserver-xorg-input-ev 1:1.0.0.5-2X.Org X server -- evdev input driv
ii  xserver-xorg-input-kb 1:1.0.1.3-2X.Org X server -- keyboard input d
ii  xserver-xorg-input-mo 1:1.0.4-3  X.Org X server -- mouse input driv
ii  xserver-xorg-video-al 1:7.0.20   the X.Org X server -- output drive
ii  xserver-xorg-video-ap 1:1.0.1.5-2X.Org X server -- APM display driv
ii  xserver-xorg-video-ar 1:0.5.0.5-2X.Org X server -- ark display driv
ii  xserver-xorg-video-at 1:6.5.8.0-1X.Org X server -- ATI display driv
ii  xserver-xorg-video-ch 1:1.0.1.3-3X.Org X server -- Chips display dr
ii  xserver-xorg-video-ci 1:1.0.0.5-2X.Org X server -- Cirrus display d
ii  xserver-xorg-video-cy 1:1.0.0.5-2X.Org X server -- Cyrix display dr
ii  xserver-xorg-video-du 1:0.1.0.5-2X.Org X server -- dummy display dr
ii  xserver-xorg-video-fb 1:0.1.0.5-2X.Org X server -- fbdev display dr
ii  xserver-xorg-video-gl 1:1.0.1.3-3X.Org X server -- Glint display dr
ii  xserver-xorg-video-i1 1:1.1.0.5-2X.Org X server -- i128 display dri
ii  xserver-xorg-video-i7 1:1.0.0.5-2X.Org X server -- i740 display dri
ii  xserver-xorg-video-i8 1:1.5.1.0-2X.Org X server -- Intel i8xx, i9xx
ii  xserver-xorg-video-im 1:1.0.0.5-2X.Org X server -- IMSTT display dr
ii  xserver-xorg-video-mg 1:1.2.1.3.dfsg.1-2 X.Org X server -- MGA display driv
ii  xserver-xorg-video-ne 1:1.0.0.5-2X.Org X server -- Neomagic display
ii  xserver-xorg-video-ne 1:0.1.4.1-3X.Org X server -- Newport display 
ii  xserver-xorg-video-ns 1:2.7.6.5-2X.Org X server -- NSC display driv
ii  xserver-xorg-video-nv 1:1.0.1.5-2X.Org X server -- NV display drive
ii  xserver-xorg-video-re 1:4.0.1.3.dfsg.1-2 X.Org X server -- Rendition displa
ii  xserver-xorg-video-s3 1:1.8.6.5-2X.Org X server -- S3 ViRGE display
ii  xserver-xorg-video-sa 1:2.0.2.3-4X.Org X server -- Savage display d
ii  xserver-xorg-video-si 1:1.3.1.5-3X.Org X server -- SiliconMotion di
ii  xserver-xorg-video-si 1:0.8.1.3-2X.Org X server -- SiS display driv
ii  xserver-xorg-video-si 1:0.7.1.3-2X.Org X server -- SiS USB display 
ii  xserver-xorg-video-td 1:1.1.1.3-3X.Org X server -- tdfx display dri
ii  xserver-xorg-video-tg 1:1.0.0.5-3X.Org X server -- TGA display driv
ii  xserver-xorg-video-tr 1:1.0.1.2-2X.Org X server -- Trident display 
ii  xserver-xorg-video-ts 1:1.0.0.5-2X.Org X server -- Tseng display dr
ii  xserver-xorg-video