Bug 1915 - X -configure picks wrong mouse device trashes console display and keyboard input
Summary: X -configure picks wrong mouse device trashes console display and keyboard input
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Input/Mouse (show other bugs)
Version: 6.8.1
Hardware: x86 (IA32) Linux (All)
: high critical
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-24 06:32 UTC by Trent Jarvi
Modified: 2008-02-27 15:21 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Trent Jarvi 2004-11-24 06:32:19 UTC
I offer you this fine speciman of a bug.  Some of the comments are fedora
related (I was recommended to this bug forum) but the fact remains that X
-configure fails to properly configure the mouse and running X after that
trashes the console and keyboard while the machine still accepts ssh connections.


Looks like the rodent moved but xorg didnt.

yum update fc-devel xorg-x11-6.8.1-12.FC3.1
fairly complete update save Xchat, ooffice.org and their missing deps.  running
fc-devel kernel-2.6.9-1.650_devel.  Thinkpad 600x neomagic, ps/2 pointer.

X -configure failes to detect mouse.

resulting in:


(**) Mouse0: Core Pointer
(**) Option "Device" "/dev/mouse"
(EE) xf86OpenSerial: Cannot open device /dev/mouse
        No such file or directory.
(EE) Mouse0: cannot open input device
...
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
No core pointer

Fatal server error:
failed to initialize core devices
...
FatalError re-entered, aborting
Caught signal 11.  Server aborting


xorg.conf from X -configure

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/mouse"
EndSection


This should be

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
EndSection

running mouseconfig makes no changes (even if the file
is corrected).

The incorrect config results in X trashing the display and keyboard input which
I see was reported upstream as instructed.  The machine will appear dead to new
users on run level 5.

/etc/sysconfig/mouse
FULLNAME="Generic - 3 Button Mouse (PS/2)"
MOUSETYPE="imps2"
XEMU3="no"
XMOUSETYPE="IMPS/2"
DEVICE=/dev/input/mice

Expected results are working X11.
Comment 1 Trent Jarvi 2004-11-24 08:23:11 UTC
Start of this trail:
https://bugzilla.redhat.com/beta/show_bug.cgi?id=140697

Log and typescript with X11 leaving console unusable available at:
https://bugzilla.redhat.com/beta/show_bug.cgi?id=140722

Comment 2 Erik 2005-04-14 14:46:53 UTC
I had this problem too, wit Gentoo and xorg-x11-6.8.2-r1. I was experimenting   
with different mouse settings, and sometimes when something did not work, X   
locked the console, so I had to restart the computer (since I do not have   
another computer to log in from over ssh).   
Comment 3 Erik Andren 2006-05-21 02:11:54 UTC
Any improvements using a more current version of xorg?
Comment 4 Erik Andren 2006-06-16 02:06:47 UTC
Ping!
Comment 5 Benjamin Close 2008-01-11 02:37:58 UTC
Bugzilla Upgrade Mass Bug Change

NEEDSINFO state was removed in Bugzilla 3.x, reopening any bugs previously listed as NEEDSINFO.

  - benjsc
    fd.o Wrangler
Comment 6 Peter Hutterer 2008-02-27 15:21:51 UTC
Last feedback was nearly 3 years ago. It's 2008, and life has moved on. To 7.X releases for example. 


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.