[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#385078: xserver-xorg: impossible mouse configuration other than /dev/input/mice



Package: xserver-xorg
Version: 1:7.0.23
Severity: serious

Hello,

upgrading xserver-xorg from 6.9.0.dfsg.1-6 to 1:7.0.23 broke my
previously running X:

	No core pointer

	Fatal server error:
	failed to initialize core devices

This is because xserver-xorg.config forces mouse port to /dev/input/mice
while it was /dev/gpmdata before. And since /dev/input/mice just doesn't
exist, startx fails.
I think this is because xserver-xorg.config seems to hardcode the mouse
port to /dev/input/mice currently:

xserver-xorg.config:2022:AUTODETECTED_PORT="/dev/input/mice"
xserver-xorg.config:2023:AUTODETECTED_PROTOCOL="ImPS/2"
xserver-xorg.config:2024:
xserver-xorg.config:2025:db_subst xserver-xorg/config/inputdevice/mouse/port choices $AUTODETECTED_PORT
xserver-xorg.config:2026:auto_answer db_input "$(priority_ceil low)" xserver-xorg/config/inputdevice/mouse/port "${AUTODETECTED_PORT}"
xserver-xorg.config:2027:
xserver-xorg.config:2028:db_get xserver-xorg/config/inputdevice/mouse/port

And because I always configured X via xserver-xorg, the config entry has
the seen flag set and is not shown again. I'm not even able to change it
via dpkg-reconfigure :/ Yes, my debconf/priority is set to low, but also
an explicit dpkg-reconfigure -plow doesn't show it.

I don't know why you think you need to hardcode things this way - okay,
the mouse autodetection didn't work well with 6.9 (especially with gpm
running it left the mouse in some strange state), but IMHO asking users
then would be a better option.

Since for most users /dev/input/mice should be available, I don't set
the bug's severity to grave. However, I don't think the package is
suitable for release with this behaviour. Especially because the package
currently breaks previously running systems this way.

My X was always configured via the package's config-interface. This is
currently impossible - I have to manually fix my xorg.conf since the
package doesn't leave me another chance :/


regards
   Mario
-- 
It is practically impossible to teach good programming style to students
that have had prior exposure to BASIC: as potential programmers they are
mentally mutilated beyond hope of regeneration.  -- Dijkstra

Attachment: signature.asc
Description: Digital signature


Reply to: