LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (http://www.linuxquestions.org/questions/mandriva-30/)
-   -   no working mouse (even with HID in modules file) (http://www.linuxquestions.org/questions/mandriva-30/no-working-mouse-even-with-hid-in-modules-file-85958/)

xizar 08-26-2003 02:22 PM

no working mouse (even with HID in modules file)
 
Hello.

I would like some help getting mouse support in Mandrake's 9.0 version. I'm using the infamous(e) MS Wireless Intellimouse Explorer.

I've had odd amounts of success getting the mouse to work, ranging from the standard "moves up and down, and inches to the right when I click mouse buttons" to "Eureka!" to "nothing at all".

XWindows comes up fine, but my mouse no longer works at all. If I switch to a text only session, I can remove the "usbmouse" "hid" and "usb-usci" (sp?) modules, and then readd them with "hid" first, and that worked for about an hour.

Then I fiddled with my XF86Config files, and now they won't work at all. I'm going to post the relevent sections of some of the files, in the hopes that you folks can help me set things right.
I'm posting the files in seperate replies here, in the hopes that this will make them easier to read.

xizar 08-26-2003 02:23 PM

module and module.conf
 
/etc/modules

# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line. Comments begin with
# a `#', and everything on the line after them are ignored.

NVdriver
scsi_hostadapter
hid

Next file
/etc/modules.conf


probeall scsi_hostadapter ide-scsi
alias eth0 8139too
alias sound-slot-0 audigy
probeall hid usb-interface usb-uhci
alias ieee1394-controller ohci1394

xizar 08-26-2003 02:23 PM

XF86Config and XF86Config-4
 
Next File (with some stuff cut out, like display adaptor refresh rates)
/etc/X11/XF86Config

# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
EndSection

Section "Keyboard"
Protocol "Standard"
XkbModel "pc105"
XkbLayout "us"
XkbOptions ""
EndSection

Section "Pointer"
Protocol "IMPS/2"
Device "/dev/usbmouse"
EndSection
Section "Monitor"
Identifier "monitor1"
VendorName "Generic"
ModelName "1024x768 @ 70 Hz"
HorizSync 31.5-57.0
VertRefresh 50-70
EndSection

Section "Device"
Identifier "device1"
VendorName "NVidia"
BoardName "NVIDIA GeForce (fbdev)"
Option "power_saver"
EndSection

Section "Screen"
Driver "fbdev"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24

Subsection "Display"
Depth 8
Modes "default"
EndSubsection

Subsection "Display"
Depth 15
Modes "default"
EndSubsection

Subsection "Display"
Depth 16
Modes "default"
EndSubsection

Subsection "Display"
Depth 24
Modes "default"
EndSubsection

Subsection "Display"
Depth 32
Modes "default"
EndSubsection
EndSection

Finally
/etc/X11/XF86Config-4

# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "/usr/X11R6/lib/modules/extensions/libglx.so"
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbOptions" ""
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/usbmouse"
Option "Buttons" 7
Option "ZAxisMapping" "6 7"
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Generic"
ModelName "1024x768 @ 70 Hz"
HorizSync 31.5-57.0
VertRefresh 50-70

# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync

# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection

Section "Device"
Identifier "device1"
VendorName "NVidia"
BoardName "NVIDIA GeForce (fbdev)"
Driver "nvidia"
Option "DPMS"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24

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

Subsection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubsection

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

Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection

xizar 08-28-2003 03:23 PM

Fine... I'll fix it Windows style, since I can't do it on my own, and the hordes of people willing to help are so ever-present

Louis-Charles D 08-28-2003 05:31 PM

how to solve your problem
 
Hi,


Login as root in console mode

-first to reset your XFree86 config you messed up.
delete the file /etc/X11/XF86Config-4

-reset your X11 config
run /usr/sbin/XFdrake ... and generate a new config file with the GUI

-For your mouse
run /usr/sbin/drakconf and reset your mouse...

if it doesnt work, try the others /usr/sbin/drak* applications in the folder

please message me if it works or dont works at lcdumais@hotmail.com.

thank you,
Louis-Charles Dumais


All times are GMT -5. The time now is 01:50 AM.