The mouse cannot be found when xserver is started In debian.

Source: Internet
Author: User
The mouse cannot be found when xserver is started In debian. For more information, see Debian. Hardware Platform:
Cpu: p4 2.4
Graphics card: integrated graphics card i845G
00:02. 0 VGA compatible controller: Intel Corporation 82845G/GL [Brookdale-G]/GE Chipset Integrated Graphics Device (rev 03)
Mouse: PS/2, photoelectric Problem description:
The installation process is as follows:
For a clean hard disk, start the debian3.1 stable disc and select linux26 Kernel
Configure apt source after installation
First, upgrade to testing, apt-get dist-upgrade.
Then start to install x, apt-get install xserver-xorg gnome
After installation, startx can start x.
A series of upgrades in x are all irrelevant software, such as firefox, mlterm, qterm, and scim.
After ctrl + backspace exits x, startx cannot enter x
The error message is as follows:
(EE) xf86OpenSerial: Cannot open device/dev/input/mice
No such device.
Fatal: failed to initialize core devices

The configuration block of the Mouse is as follows:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2 ″
Option "Emulate3Buttons" "true"
EndSection
Mouse device/dev/input/mice
But in the terminal cat/dev/input/mice, move the mouse, there is no output on the terminal.
It indicates that the mouse driver is not loaded.

Solution:
Start google search for "Cannot open device/dev/input/mice"
First look at the Chinese site, no useful information found
Then start to read the Foreign Forums and get useful information.

1. When xserver is started, add a parameter to skip the mouse. xserver can be started without a mouse. Add a Section in/etc/X11/xorg. conf.
Section "ServerFlags"
Option "AllowMouseOpenFail" "true"
EndSection
This method can enter x, but the mouse cannot be moved because there is no driver

Try 2. Find the following paragraph
It seems that since Kernel-2.6, 3 modules have to bee load:
-Psmouse
-Input
-Mousedev
And the new link for the PS/2 mouse is/dev/input/mice, but/dev/psaux still run for compatibility.

After kernel2.6, the ps/2 device is/dev/input/mice. In this domestic forum, some people say that the mice indicates that the usb mouse is different.
In addition, the three kernel modules psmouse input and mousedev must both be loaded.

Using lsmod to query the system, we found that only the psmouse module was loaded.
Use modprobe-l to query the system and find that the input and mousedev modules are in the/lib/module/'uname-R'/directory.
Call modconf and select the input and mousedev modules.

Reboot system, startx. Find it with the mouse.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.