LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 09-28-2003, 10:24 PM   #1
waslit
LQ Newbie
 
Registered: Sep 2003
Location: Ireland
Posts: 23

Rep: Reputation: 0
Angry usb mouse problems


I just don't understand what the problem is I have run through my kernel config many times to check that I haven't omitted something small and everything seems okay. I get no errors for the usb device. Yet it just does not work. I have once had it working and I don't know how I got it to work. gpm doesn't even pick it up and is stopped before going into xwindows, so that shouldn't conflict. I have done everything that same as I would on my debian system yet to no good. Can somebodey maybe suggest where I am going wrong. I am using Redhat 9 on a kernel 2.4.21

###Kernel Log

usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 22:30:54 Sep 26 2003
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 11 for device 00:1d.0
PCI: Sharing IRQ 11 with 01:00.0
PCI: Setting latency timer of device 00:1d.0 to 64
usb-uhci.c: USB UHCI at I/O 0xbf80, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 11 for device 00:1d.2
PCI: Sharing IRQ 11 with 00:1f.1
PCI: Sharing IRQ 11 with 02:00.0
PCI: Setting latency timer of device 00:1d.2 to 64
usb-uhci.c: USB UHCI at I/O 0xbf20, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
hub.c: new USB device 00:1d.0-1, assigned address 2
: USB HID v1.10 Mouse [Logitech USB Receiver] on usb1:2.0

####XF86Config Log

(**) Option "Protocol" "PS/2"
(**) Mouse1: Protocol: "PS/2"
(**) Option "CorePointer"
(**) Mouse1: Core Pointer
(**) Option "Device" "/dev/psaux"
(**) Mouse1: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Mouse1: ZAxisMapping: buttons 4 and 5
(**) Mouse1: Buttons: 5
(**) Option "Protocol" "IMPS/2"
(**) Mouse2: Protocol: "IMPS/2"
(**) Option "SendCoreEvents"
(**) Mouse2: always reports core events
(**) Option "Device" "/dev/input/mice"
(**) Mouse2: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Mouse2: ZAxisMapping: buttons 4 and 5
(**) Mouse2: Buttons: 5
(II) Keyboard "Keyboard1" handled by legacy driver
(II) XINPUT: Adding extended input device "Mouse2" (type: MOUSE)
(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
(II) Mouse1: ps2EnableDataReporting: succeeded
(II) Mouse2: ps2EnableDataReporting: succeeded

###XF86Config

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
EndSection

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

Section "ServerLayout"

# The Identifier line must be present
Identifier "Server 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.

Screen "Screen0"

# 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 "Mouse2" "SendCoreEvents"
InputDevice "Keyboard1" "CoreKeyboard"

EndSection


This is so frustrating because I know it is something so small and silly I will kick my self when I find it
 
Old 09-28-2003, 10:39 PM   #2
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
Quote:
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
EndSection

hmm could it be that you have your mouse listed as ps2


Im not sure if that is the problem

what brand of mouse

have you set up the mouse in
menu>system settings>mouse
??

Last edited by ehdwuld; 09-28-2003 at 10:42 PM.
 
Old 09-28-2003, 10:48 PM   #3
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
that would be the most likely problem. you could manually edit the xf86config-4 file but that, as far as i know, only takes care of X Windows. or you can run /usr/sbin/mouseconfig and choose the right drivers for your usb mouse which should configure your mouse for the whole system.
 
Old 09-29-2003, 01:08 AM   #4
waslit
LQ Newbie
 
Registered: Sep 2003
Location: Ireland
Posts: 23

Original Poster
Rep: Reputation: 0
the problem is that I know that the XF86config file is set up correctly. Cause if I use the kernel image that came with RedHat 9 it all works fine. But the custom Kernel I built doesn't seem to want to recognise it. I have selected the correct modules cause they are successfully being probes and picking up the correct drivers in my logs. Plus I also have set the correct mouse settings in the kernel for ps/2 and the other non bus mouse. But the problem persists like a girlfriend that just does not want to stop nagging.
 
Old 09-29-2003, 01:11 AM   #5
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
once again
what brand of mouse are u useing?

and am I correct in that
you have Two mice?

Last edited by ehdwuld; 09-29-2003 at 01:13 AM.
 
Old 09-29-2003, 09:17 AM   #6
trutnev
Member
 
Registered: Sep 2003
Distribution: RedHat 9.0, Mandrake 9.1
Posts: 68

Rep: Reputation: 15
I had exactly the same problem: while installing and using RH, usb mouse and keyboard (Logitech Wireless) are well recognized, but after compiling and using custom kernel, they are not. It was strange, but when you make 'xconfig', if you choose 'USB support' as module, then UHCI/OHCI/etc should also be choosed as modules. I have nothing understood, what you should do is to recompile kernel with ?boot/config-2.4.20-XXXXX file loaded as configuration file. Don't touch 'USB support' part...
 
Old 09-29-2003, 06:06 PM   #7
waslit
LQ Newbie
 
Registered: Sep 2003
Location: Ireland
Posts: 23

Original Poster
Rep: Reputation: 0
Well I got it all working again. I removed those modules for mouse support and usb support. compiled the kernel without it. And then added it again with those as modules and recomplied the kernel and she is all working. I don't understand it. But as my dad always said, " if it works don't touch it or try to understand why. Just understand that it works." :-)
 
  


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
USB Mouse Problems Yomaoni Linux - Hardware 2 05-30-2005 10:58 AM
USB mouse problems R3N3G4D3 Linux - Hardware 1 03-13-2004 10:45 AM
USB mouse, keyboard, hid, console mouse problems jqcaducifer Linux - General 1 08-05-2003 09:43 AM
USB Mouse and Trackpad Mouse problems macshark Linux - Hardware 6 12-24-2002 10:56 PM
USB Mouse Problems Goatdemon Linux - General 7 06-26-2002 03:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 02:42 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration