Bug#346461: AllowMouseOpenFail doesn't work with evdev-mouse

2007-06-17 Thread Brice Goglin
Hi,

About 18 months ago, you reported a bug to the Debian BTS regarding
Xserver failing to start when an evdev-driven mouse is not connected.
Did you reproduce this problem recently? With Xorg/Etch? With latest
xserver-xorg-core and drivers in unstable? If not, I will close this bug
in the next weeks.

Note that the evdev config now requires you to use a /dev/input/eventX
file, see the manpage for details.

Thanks,
Brice



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#346461: AllowMouseOpenFail doesn't work with evdev-mouse

2006-01-07 Thread Juergen Kreileder
Package: xserver-xorg
Version: 6.9.0.dfsg.1-2
Severity: normal

It's not possible to use the new evdev driver for mouse devices
which are not always connected because X dies when the specified
device doesn't exist.

E.g. on a laptop which has a synaptics touchpad and an external
mouse configured, X dies after the following message when
the external mouse is not connected:

,
| (**) Option CorePointer
| (**) Synaptics Touchpad: Core Pointer
| (**) Option SendCoreEvents true
| (**) IntelliMouse Optical: always reports core events
| (**) IntelliMouse Optical: Device: /dev/input/intellimouse
| (EE) Unable to open evdev device /dev/input/intellimouse.
| (EE) PreInit failed for input device IntelliMouse Optical
| (II) UnloadModule: evdev
| (II) XINPUT: Adding extended input device Synaptics Touchpad (type: MOUSE)
`

-- Package-specific info:
Contents of /var/lib/xfree86/X.roster:
xserver-xfree86
xserver-xorg

/etc/X11/X target unchanged from checksum in /var/lib/xfree86/X.md5sum.

X server symlink status:
lrwxrwxrwx 1 root root 17 2005-07-15 11:30 /etc/X11/X - /usr/bin/X11/Xorg
-rwxr-xr-x 1 root root 1852284 2006-01-06 11:15 /usr/bin/X11/Xorg

Contents of /var/lib/xfree86/xorg.conf.roster:
xserver-xorg

VGA-compatible devices on PCI bus:
:01:00.0 VGA compatible controller: nVidia Corporation NV41.8 [GeForce Go 
6800] (rev a2)

/etc/X11/xorg.conf does not match checksum in /var/lib/xfree86/xorg.conf.md5sum.

Xorg X server configuration file status:
-rw-r--r-- 1 root root 5791 2006-01-08 06:36 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  ([EMAIL PROTECTED])  Tue Dec 27 18:14:40 PST 
2005

# 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.dpkg-new 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 commands as root:
#
#   cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
#   md5sum /etc/X11/xorg.conf /var/lib/xfree86/xorg.conf.md5sum
#   dpkg-reconfigure xserver-xorg

Section ServerFlags
Option  AllowMouseOpenFail true
EndSection

Section ServerLayout
Identifier Default Layout
Screen Default Screen 0 0
InputDeviceGeneric Keyboard
InputDeviceSynaptics Touchpad
InputDeviceIntelliMouse Optical
EndSection

Section Extensions
Option  Composite enable
EndSection

Section Files
FontPath/usr/lib/X11/fonts/misc:unscaled
FontPath/usr/lib/X11/fonts/100dpi:unscaled
FontPath/usr/lib/X11/fonts/75dpi:unscaled
FontPath/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
FontPath/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID
FontPath/usr/lib/X11/fonts/Type1
FontPath/usr/lib/X11/fonts/misc
FontPath/usr/lib/X11/fonts/100dpi
FontPath/usr/lib/X11/fonts/75dpi
FontPath/usr/X11R6/lib/X11/fonts/encodings
FontPath/usr/X11R6/lib/X11/fonts/util
EndSection

Section Module
Load   bitmap
Load   dbe
Load   ddc
Load   extmod
Load   freetype
Load   glx
Load   int10
Load   record
Load   type1
Load   vbe
Load   synaptics
EndSection

Section InputDevice
Identifier Generic Keyboard
Driver keyboard
Option CoreKeyboard
Option XkbRules xorg
Option XkbModel pc104
Option XkbLayout en_US,de
Option XkbVariant nodeadkeys,basic
Option XkbOptions 
ctrl:nocaps,compose:rctrl,grp_led:caps,grp:shifts_toggle
EndSection

Section InputDevice
Identifier IntelliMouse Optical
Driver evdev
Option Device /dev/input/intellimouse
Option SendCoreEvents true
Option Emulate3Buttons false
EndSection

Section InputDevice
Identifier Synaptics Touchpad
Driver synaptics
Option CorePointer
Option Protocol auto-dev
Option SHMConfig on
Option LeftEdge 120
Option RightEdge 830
Option TopEdge 120
Option BottomEdge 600
Option FingerLow 25
Option FingerHigh 30
Option MaxTapTime 180
Option MaxTapMove 110
Option MaxDoubleTapTime 180
Option ClickTime 100
Option FastTaps 1
Option EmulateMidButtonTime 75
Option VertScrollDelta 10
Option