LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-22-2003, 06:01 PM   #1
Pisces107
Member
 
Registered: Dec 2003
Distribution: Slackware Current, Gentoo , Debian SID
Posts: 90

Rep: Reputation: 15
X won't start, coz mouse not found ; just installed Slackware 9.1


hi, i just installed Slackware 9.1 (kernel 2.4.22) except KDE,GNOME . i have two main problems .
(it's a long post, but i would rather provide as much information as i think is at least needed)
----------------
Problem related specs::::
a. video card is nVidia Geoforce 4
b. monitor is FPD1810 (Gateway's Flat Panel).
c. Logitech USB wheel mouse (optical)
-----------------

------------
Problems:::::
------------

1. i'm unable to install LILO as the boot loader; i did choose to install lilo, but i think it couldn't overwrite the GRUB
in the MBR. i have Windows & RH 9 already setup with GRUB. so is there anyway i can put entries for Slackware OR install
LILO and put RH's and Windows' entries in LILO? and how?.... slckware's "/boot" is 'hdb7' and RH's "/boot" is 'hdb2' ;
and last but not the least, Windows' boot is 'hda1'.

2. when Slackware bootsup (with a boot floppy), before i get the login prompt i get this following error message:
--------------

Updating Xfonts indexes: /usr/X11R6/bin/fc-cache
Starting gpm: /usr/sbin/gpm -m /dev/mouse -t imps2
gpm: oops() invoked from gpm.c(977)
/dev/mouse:no such device

Welcome to Linux 2.4.22(tty1)

slack login:_
--------------

i have Logitech's USB wheel mouse, which RH 8/9 recognizes w/o any problems.

when i 'startx' , it comes with the error message:

-------------



-------------


XF86Config for Slackware is as follows: (NOTE: i'm copying only mouse/monitor/video card related
text)
-------------------------------------------------------
# *************************************************************
# Core Pointer's InputDevice section
# *************************************************************

Section "InputDevice"

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"

# On platforms where PnP mouse detection is supported the following
# protocol setting can be used when using a newer PnP mouse:

# Option "Protocol" "Auto"

# The available mouse protocols types that you can set below are:
# Auto BusMouse GlidePoint GlidePointPS/2 IntelliMouse IMPS/2
# Logitech Microsoft MMHitTab MMSeries Mouseman MouseManPlusPS/2
# MouseSystems NetMousePS/2 NetScrollPS/2 OSMouse PS/2 SysMouse
# ThinkingMouse ThinkingMousePS/2 Xqueue
Option "Protocol" "PS/2"

# The mouse device. The device is normally set to /dev/mouse,
# which is usually a symbolic link to the real device.

Option "Device" "/dev/mouse"
# Option "Device" "/dev/psaux"
# Option "Device" "/dev/ttyS0"
# Option "Device" "/dev/ttyS1"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

# Option "Protocol" "Xqueue"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

# Option "BaudRate" "9600"
# Option "SampleRate" "150"

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

# Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"

# ChordMiddle is an option for some 3-button Logitech mice

# Option "ChordMiddle"

EndSection

# *************************************************************
# Monitor section
# *************************************************************

# Any number of monitor sections may be present

Section "Monitor"

Identifier "My Monitor"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

HorizSync 31.5 - 50.0

# HorizSync 30-64 # multisync
# HorizSync 31.5, 35.2 # multiple fixed sync frequencies
# HorizSync 15-25, 30-50 # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

VertRefresh 40-90

EndSection


# *************************************************************
# Graphics device section
# *************************************************************

# Any number of graphics device sections may be present

Section "Device"
Identifier "VESA Framebuffer"
Driver "vesa"
#VideoRam 4096
# Insert Clocks lines here if appropriate
EndSection

# *************************************************************
# Screen sections
# *************************************************************

# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "Screen 1"
Device "VESA Framebuffer"
Monitor "My Monitor"

# If your card can handle it, a higher default color depth (like 24 or 32)
# is highly recommended.

# DefaultDepth 8
# DefaultDepth 16
DefaultDepth 24
# DefaultDepth 32

# "1024x768" is also a conservative usable default resolution. If you
# have a better monitor, feel free to try resolutions such as
# "1152x864", "1280x1024", "1600x1200", and "1800x1400" (or whatever your
# card/monitor can produce)

Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 32
Modes "1024x768" "800x600" "640x480"
EndSubsection

EndSection

# *************************************************************
# ServerLayout sections.
# *************************************************************

# Any number of ServerLayout sections may be present. Each describes
# the way multiple screens are organised. A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option. In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
Identifier "Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens. The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen. In this example, screen 2 is located to the
# right of screen 1.

Screen "Screen 1"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used. Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"

EndSection

------------------------------------------------------------------------------------------------



where as my Red Hat 9's XF86Config file is as follows : (NOTE: this is the whole file text)


---------------------------------------------------------

# XFree86 4 configuration created by redhat-config-xfree86

Section "ServerLayout"

#
Identifier "Anaconda Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "dri"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection

Section "InputDevice"

# Option "AutoRepeat" "500 5"
# when using XQUEUE, comment out the above line, and uncomment the
# following line
# Option "Protocol" "Xqueue"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
#Option "XkbOptions" ""
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
#Option "XkbVariant" ""
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "FPD1810"
HorizSync 31.0 - 81.0
VertRefresh 56.0 - 85.0
Option "dpms"
EndSection

Section "Device"

# no known options
#BusID
Identifier "NVIDIA GeForce 4 (generic)"
Driver "vesa"
VendorName "NVIDIA GeForce 4 (generic)"
BoardName "NVIDIA GeForce 4 (generic)"
EndSection

Section "Screen"
Identifier "Screen0"
Device "NVIDIA GeForce 4 (generic)"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection

--------------------------------------------------------------


when i do the 'startx', it looks like graphical screen is going to diplayed ( i can see the blurred horizontal lines, as used to appear in RH9 before graphical display) but then error messages are displayed instead. which are:

-------------------------
(EE) Mouse1: cannot open input device
(EE) PreInit failed for input device "Mouse1"
No core pointer

Fatal server error:
failed to initialize core devices

When reporting problems .........<<<< here the standard error message lines regarding reporting errors to XFree86 are spitted >>>>>>>.......
.........xfree86@xfree86.org

XIO: fatal IO error 104(Connection reset by peer) on X server ":0.0" after
0 requests (0 known processed) with 0 events
-----------------------------


anyone have any solution, advice or help?

thanks.
 
Old 12-22-2003, 06:09 PM   #2
poison
Member
 
Registered: Dec 2003
Location: Layer 7 =D
Distribution: Slackware, LFS, Rock Linux
Posts: 165

Rep: Reputation: 30
->duplicate post...
 
Old 12-23-2003, 07:42 AM   #3
kc00l
Member
 
Registered: Oct 2003
Location: France/Italy
Distribution: Slackware Current
Posts: 83

Rep: Reputation: 15
Re: X won't start, coz mouse not found ; just installed Slackware 9.1

Quote:
Originally posted by Pisces107
(snip)
1. i'm unable to install LILO as the boot loader; i did choose to install lilo, but i think it couldn't overwrite the GRUB
in the MBR. i have Windows & RH 9 already setup with GRUB. so is there anyway i can put entries for Slackware OR install
LILO and put RH's and Windows' entries in LILO? and how?.... slckware's "/boot" is 'hdb7' and RH's "/boot" is 'hdb2' ;
and last but not the least, Windows' boot is 'hda1'.
$man grub
$man lilo

Edit your /etc/lilo.conf in your root slackware partition and add the following:

#modify '/boot/kernelimage' to reflect the path to the kernel image in your RH9 partition
image = /boot/kernelimage
root = /dev/hdb2
label = RH9
read-only

#modify '/boot/vmlinuz' to reflect the path to the kernel image in your Slackware partition
image = /boot/vmlinuz
root = /dev/hdb7
label = slack
read-only

other = /dev/hda1
label = windows
table = /dev/hda

Quote:
2. when Slackware bootsup (with a boot floppy), before i get the login prompt i get this following error message:
--------------

Updating Xfonts indexes: /usr/X11R6/bin/fc-cache
Starting gpm: /usr/sbin/gpm -m /dev/mouse -t imps2
gpm: oops() invoked from gpm.c(977)
/dev/mouse:no such device
Welcome to Linux 2.4.22(tty1)

slack login:_
Either you edit your /etc/rc.d/rc.M and comment the following lines:

# Start the GPM mouse server:
if [ -x /etc/rc.d/rc.gpm ]; then
. /etc/rc.d/rc.gpm start
fi

Or recompile your kernel and enable USB mouse support. But anyway I suggest recompiling the kernel after a fresh Slack install, cause it would help you learn a bit more Linux if you didn't from your RH experience.

Quote:

XF86Config for Slackware is as follows: (NOTE: i'm copying only mouse/monitor/video card related
text)
-------------------------------------------------------
# *************************************************************
# Core Pointer's InputDevice section
# *************************************************************

Section "InputDevice"

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"

# On platforms where PnP mouse detection is supported the following
# protocol setting can be used when using a newer PnP mouse:

# Option "Protocol" "Auto"

# The available mouse protocols types that you can set below are:
# Auto BusMouse GlidePoint GlidePointPS/2 IntelliMouse IMPS/2
# Logitech Microsoft MMHitTab MMSeries Mouseman MouseManPlusPS/2
# MouseSystems NetMousePS/2 NetScrollPS/2 OSMouse PS/2 SysMouse
# ThinkingMouse ThinkingMousePS/2 Xqueue
Option "Protocol" "PS/2"
Here you need to modify "PS/2" to "IMPS/2"

Quote:
# The mouse device. The device is normally set to /dev/mouse,
# which is usually a symbolic link to the real device.

Option "Device" "/dev/mouse"
$ls -als /dev/mouse

It should point to /dev/input/mice.

Quote:
where as my Red Hat 9's XF86Config file is as follows : (NOTE: this is the whole file text)


---------------------------------------------------------

# XFree86 4 configuration created by redhat-config-xfree86

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "FPD1810"
HorizSync 31.0 - 81.0
VertRefresh 56.0 - 85.0
Option "dpms"
EndSection

Section "Device"

# no known options
#BusID
Identifier "NVIDIA GeForce 4 (generic)"
Driver "vesa"
VendorName "NVIDIA GeForce 4 (generic)"
BoardName "NVIDIA GeForce 4 (generic)"
EndSection

Section "Screen"
Identifier "Screen0"
Device "NVIDIA GeForce 4 (generic)"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection

--------------------------------------------------------------
Why don't you just modify your slackware /etc/X11/XF86Config to reflect your RH9 X config?

This should solve your problems.
 
Old 12-23-2003, 07:48 AM   #4
Pisces107
Member
 
Registered: Dec 2003
Distribution: Slackware Current, Gentoo , Debian SID
Posts: 90

Original Poster
Rep: Reputation: 15
i tried that too, but didn'twork.

in short , what i understand is ,Slackware is not recognizing my USB device(s) hence not recognizing my mouse.

http://www.linuxquestions.org/questi...hreadid=128202
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
yoper install fail on dual boot win-linux system coz `linux partition not found` coolview210 Yoper 5 11-24-2004 02:04 PM
Just installed Slackware 10! Just a few questions on mouse, and kernel, and so forth. RHLinuxGUY Slackware 7 09-12-2004 01:03 AM
XFree86 won't start because mouse is not found frankmulder Debian 3 08-17-2004 10:59 AM
USB mouse not found (slackware, _not_ an X config issue I think) ruahm Linux - Hardware 9 01-24-2004 02:53 PM
X won't start, coz mouse not found ; just installed Slackware 9.1 Pisces107 Slackware - Installation 18 12-27-2003 09:44 PM


All times are GMT -5. The time now is 09:02 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration