Bug#577769: xserver-xorg-core: ignores /usr/lib/X11/xorg.conf.d/ in the presence of /etc/X11/xorg.conf.d/

2010-04-14 Thread Stefan Lippers-Hollmann
Package: xserver-xorg-core
Version: 2:1.7.6-2
Severity: important

Hi

If /etc/X11/xorg.conf.d/ is in use, it does not augment the package 
preconfiguration in /usr/lib/X11/xorg.conf.d/, but totally ignores the
contents of /usr/lib/X11/xorg.conf.d/ - thereby breaking essential
preconfiguration like 05-evdev.conf and killing keyboard/ mouse support 
in X.

My system does not use a /etc/X11/xorg.conf anymore, but I nevertheless
need to configure my dual-screen setup for radeon through the attached
/etc/X11/xorg.conf.d/20-device.conf. With today's upload of 
xserver-xorg-input-evdev 1:2.3.2-5, evdev starts to depend on the (new)
preconfiguration in /usr/lib/X11/xorg.conf.d/05-evdev.conf, but due to
the presence of my custom /etc/X11/xorg.conf.d/20-device.conf, 
xserver-xorg-core never attempts to load 05-evdev.conf (or 10-vmmouse.conf
for that matter).

$ LANG=C ls -al /etc/X11/xorg.conf.d/ /usr/lib/X11/xorg.conf.d/
/etc/X11/xorg.conf.d/:
total 12
drwxr-xr-x  2 root root 4096 Apr 14 12:30 .
drwxr-xr-x 11 root root 4096 Apr  9 14:44 ..
-rw-r--r--  1 root root  354 Apr  9 14:48 20-device.conf

/usr/lib/X11/xorg.conf.d/:
total 20
drwxr-xr-x 2 root root 4096 Apr 14 12:01 .
drwxr-xr-x 7 root root 4096 Apr 11 03:07 ..
-rw-r--r-- 1 root root  946 Apr 13 18:02 05-evdev.conf
-rw-r--r-- 1 root root  102 Apr 13 18:16 10-vmmouse.conf

To temporarily unbreak my system, I've added a symlink for 05-evdev.conf in
/etc/X11/xorg.conf.d/, but this would be very fragile in regards to future 
evdev updates and/ or other packages switching to distribution defaults stored 
in /usr/lib/X11/xorg.conf.d/
ln -s ../../../usr/lib/X11/xorg.conf.d/05-evdev.conf 
/etc/X11/xorg.conf.d/05-evdev.conf

Regards
Stefan Lippers-Hollmann

Post scriptum: As an unrelated side note, I'd suggest adding
   /etc/X11/xorg.conf.d/*.conf and 
   ls -al /usr/lib/X11/xorg.conf.d/ to the bug templates.

-- 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 Aug 28  2008 /etc/X11/X - /usr/bin/Xorg
-rwxr-xr-x 1 root root 1876992 Apr  5 16:37 /usr/bin/Xorg

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

VGA-compatible devices on PCI bus:
01:00.0 VGA compatible controller: ATI Technologies Inc RV630 [Radeon HD 2600 
Series]

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

Xorg X server log files on system:
-rw-r--r-- 1 root root 37806 Apr 14 12:31 /var/log/Xorg.0.log

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.33-2.slh.6-sidux-amd64 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xserver-xorg-core depends on:
ii  keyboard-configuration   1.54system-wide keyboard preferences
ii  libaudit01.7.13-1+b1 Dynamic library for security audit
ii  libc62.10.2-6Embedded GNU C Library: Shared lib
ii  libdrm2  2.4.18-3Userspace interface to kernel DRM 
ii  libgcrypt11  1.4.5-2 LGPL Crypto library - runtime libr
ii  libpciaccess00.11.0-2Generic PCI access library for X
ii  libpixman-1-00.16.4-1pixel-manipulation library for X a
ii  libselinux1  2.0.94-1SELinux runtime shared libraries
ii  libudev0 151-3   libudev shared library
ii  libxau6  1:1.0.5-2   X11 authorisation library
ii  libxdmcp61:1.0.3-2   X11 Display Manager Control Protoc
ii  libxfont11:1.4.1-2   X11 font rasterisation library
ii  udev 151-3   /dev/ and hotplug management daemo
ii  xserver-common   2:1.7.6-2   common files used by various X ser
ii  xserver-xorg 1:7.5+5 the X.Org X server

Versions of packages xserver-xorg-core recommends:
ii  libgl1-mesa-dri   7.7.1-1A free implementation of the OpenG

Versions of packages xserver-xorg-core suggests:
ii  xfonts-100dpi 1:1.0.1100 dpi fonts for X
ii  xfonts-75dpi  1:1.0.175 dpi fonts for X
ii  xfonts-scalable   1:1.0.1-1  scalable fonts for X

-- no debconf information
Section Monitor
Identifier  DVI-0
Option  Primary   true
#Option PreferredMode 1600x1200
EndSection
Section Monitor
Identifier  DVI-1
Option  RightOf   DVI-0
#Option PreferredMode 1280x1024
EndSection
Section Device
Identifier  ATI Radeon HD 2600
Option  Monitor-DVI-0 DVI-0
Option  Monitor-DVI-1 DVI-1
EndSection
[0.00] No AGP bridge found
[0.00] No AGP bridge found
[0.510614] Linux agpgart interface v0.103
[8.563403] [drm] Initialized drm 1.1.0 

Bug#577769: xserver-xorg-core: ignores /usr/lib/X11/xorg.conf.d/ in the presence of /etc/X11/xorg.conf.d/

2010-04-14 Thread Julien Cristau
severity 577769 wishlist
kthxbye

On Wed, Apr 14, 2010 at 13:24:03 +0200, Stefan Lippers-Hollmann wrote:

 If /etc/X11/xorg.conf.d/ is in use, it does not augment the package 
 preconfiguration in /usr/lib/X11/xorg.conf.d/, but totally ignores the
 contents of /usr/lib/X11/xorg.conf.d/ - thereby breaking essential
 preconfiguration like 05-evdev.conf and killing keyboard/ mouse support 
 in X.
 
 My system does not use a /etc/X11/xorg.conf anymore, but I nevertheless
 need to configure my dual-screen setup for radeon through the attached
 /etc/X11/xorg.conf.d/20-device.conf. With today's upload of 
 xserver-xorg-input-evdev 1:2.3.2-5, evdev starts to depend on the (new)
 preconfiguration in /usr/lib/X11/xorg.conf.d/05-evdev.conf, but due to
 the presence of my custom /etc/X11/xorg.conf.d/20-device.conf, 
 xserver-xorg-core never attempts to load 05-evdev.conf (or 10-vmmouse.conf
 for that matter).
 
So use xorg.conf instead of /etc/X11/xorg.conf.d.

Cheers,
Julieb


signature.asc
Description: Digital signature


Processed: Re: Bug#577769: xserver-xorg-core: ignores /usr/lib/X11/xorg.conf.d/ in the presence of /etc/X11/xorg.conf.d/

2010-04-14 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 severity 577769 wishlist
Bug #577769 [xserver-xorg-core] xserver-xorg-core: ignores 
/usr/lib/X11/xorg.conf.d/ in the presence of /etc/X11/xorg.conf.d/
Severity set to 'wishlist' from 'important'

 kthxbye
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
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/handler.s.c.12712479866336.transcr...@bugs.debian.org



Bug#577769: xserver-xorg-core: ignores /usr/lib/X11/xorg.conf.d/ in the presence of /etc/X11/xorg.conf.d/

2010-04-14 Thread Bernard Gray
On Wed, Apr 14, 2010 at 14:26:19 +0200, Julien Cristau wrote:

 severity 577769 wishlist
 kthxbye

Hi Julien,
In my case, I use a laptop whose keyboard was rendered useless in X
with this update.
Thankfully I only had a small upgraded set of packages on this day so
the culprit was fairly obvious, and I was able to boot to runlevel 3
and a downgrade to the testing package got me going temporarily.

I also don't use an /etc/X11/xorg.conf, but I have a config in
/etc/X11/xorg.conf.d/ for my synaptics touchpad to enable tapping.

Please consider resetting the severity to higher than wishlist.

Regards,
Bernie



-- 
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/o2rc058e98e1004141427z19358d84z875ee0b97384f...@mail.gmail.com



Bug#577769: xserver-xorg-core: ignores /usr/lib/X11/xorg.conf.d/ in the presence of /etc/X11/xorg.conf.d/

2010-04-14 Thread Julien Cristau
On Thu, Apr 15, 2010 at 07:27:24 +1000, Bernard Gray wrote:

 I also don't use an /etc/X11/xorg.conf, but I have a config in
 /etc/X11/xorg.conf.d/ for my synaptics touchpad to enable tapping.
 
Then move it from xorg.conf.d to xorg.conf.  Problem solved.  We'll
consider allowing xorg.conf.d, and worst case it will be there with
xserver 1.8 after squeeze, but this is still wishlist.

Cheers,
Julien


signature.asc
Description: Digital signature


Bug#577769: xserver-xorg-core: ignores /usr/lib/X11/xorg.conf.d/ in the presence of /etc/X11/xorg.conf.d/

2010-04-14 Thread Kan-Ru Chen
Hi Julien,

The manpage xorg.conf(5) gives a impression that all configuration files
will be searched, in a sane order. Combine the InputClass sections'
description, users will think: okay, I can override the default settings
by adding files to /etc/X11/xorg.conf.d

Because other conf.d, rules.d, etc. have this kind of usage. But the
Xorg's behavior is rather surprising.

Regards,
Kanru


pgpgiWsV5IttR.pgp
Description: PGP signature