LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   USB mouse not working? (http://www.linuxquestions.org/questions/slackware-14/usb-mouse-not-working-405674/)

jazzaddict 01-20-2006 01:11 AM

USB mouse not working?
 
Hi guys!

My USB mouse refuse to work, I'm on thinkpad x31. Here's the changes i had made to rc.modules

# Universal Host Controller Interface (Intel standard):
/sbin/modprobe usb-uhci

# USB "Human Interface Device" driver; handles most USB mice, joysticks,
# gamepads, steering wheels, keyboards, trackballs and digitizers.
/sbin/modprobe hid

I had also tried:

# Simple HIDBP USB mouse driver, if hid doesn't work:
/sbin/modprobe usbmouse

But mouse still still refuse to work, though the mouse does light up. At least my trackpoint still works. What am i missing here?

jazzaddict 01-20-2006 01:15 AM

i did a lsmod

those modules related to USB seems to be loaded, but unused? why is this so?

usbmouse 1880 0 (unused)
hid 20868 0 (unused)
usbcore 59148 1 [uhci ehci-hcd usb-storage printer usbmouse hid]

jazzaddict 01-20-2006 02:40 AM

sorry, somewhat i got my mouse working after doing xorgconfig, i configured my mouse USB 2 button mouse with 3 button emulated however my scroll wheel is not working.

the mouse is located @ /dev/input/mice

does this mean that i can only connect one mouse at anytime? i would like to have my trackpoint enabled at the same time.

gbonvehi 01-20-2006 03:38 AM

There are threads about this on the forum, make a search. You can have two mouses at the same time, you just have to edit xorg.conf and add another input device manually.

jazzaddict 01-20-2006 10:29 AM

Quote:

Originally Posted by gbonvehi
There are threads about this on the forum, make a search. You can have two mouses at the same time, you just have to edit xorg.conf and add another input device manually.

usually PS/2 mouse is mapped to which file?

Crobat 01-20-2006 11:45 AM

PS/2 mouse should be /dev/psaux. Add this line in your xorg.conf file in the section of your mouse.

Code:

Option "ZAxisMapping" "4 5"
That should get your wheel working. If you have any other questions, refer to the "this is how I do it" thread.

nick021 01-21-2006 11:11 PM

hi u can have both mouse working
 
hi jazzadict..
me too faced the same prob.i want to use optical IBM usb scroll mouse.
i made following addition in the /etc/xorg.conf file:>
Code:

Section "InputDevice"
Identifier "Mouse2"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "dev/input/mice"
Option "AlwaysCore" "true"
Option "ZAxis Mapping" "4 5" #for mouse scroll
End Section

#can also use "SendCoreEvents" "true" in place of "AlwaysCore"

make changes in Section "ServerLayout" also.
remember:ur entries in this section corresponding to entry 'InputDevice' , should be same as in Section "InputDevice"

Code:


Section "ServerLayout"
Identifier "SimpleLayout"
.
.
.
.
Input Device "Mouse1" "CorePointer"  #as in Section "InputDevice"
Input Device "Mouse2" "AlwaysPointer" #as in Section "InputDevice"
#can also use........."SendCoreEvents"
.
.
.
.
End Section

my mouse and touchscreen both works fine and can use them symaltaneously
let me know if this helps...

jazzaddict 01-22-2006 10:01 AM

hi nick,

here's are the errors posted when i attempted to add your suggested lines

Parse error on line 225 of section InputDevice in the file /etc/X11/xorg.conf

Multiple "Identifier" lines.

jazzaddict 01-22-2006 10:04 AM

And X refuse to load with the following error:

XIO: fata IO error 104 (COnnection reset by peer) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.

nick021 01-22-2006 12:21 PM

mouse prob
 
hi jazzaddict

first of all make bkup of ur original xorg.conf ,
if u havent.. then remove/coment(using #) new entry u made in xorg.conf

now ..
did u added those line in same 'Section "InputDevice"'
i got the same error when i added these lines in same section:
eg:
Code:

Section "InputDevice"
Identifier "Mouse1"    *
Identifier "Mouse2"    *

Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "dev/input/mice"
Option "AlwaysCore" "true"
Option "ZAxis Mapping" "4 5" #for mouse scroll
End Section

is this sth what u did..
"Multiple "Identifier" lines" means u have declared more than one identifier in same Section..(indicated by * in eg.)

dont worry
simply make new Section "InputDevice" and add previous lines as follows..

Code:

#the original entry in xorg.conf for touchpad..
Section "InputDevice"
Identifier "Mouse1"   
Driver "mouse"
Option "Protocol"....
Option "Device" ......
Option ".......
.
.
End Section

#new section that u have to add..
#this made my usb mouse work symaltaneouly..
Section "InputDevice"
Identifier "Mouse2"   
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "dev/input/mice"
Option "AlwaysCore" "true"
Option "ZAxis Mapping" "4 5" #for mouse scroll
End Section


nick021 01-22-2006 12:32 PM

mouse prob..
 
remeber to make corresponding changes in serverlayout section also..

jazzaddict 01-23-2006 02:31 AM

hi nick, you've have been a lifesaver ^^; yes, i did not created a new section for a identifier, i'll do that again.

the odd thing is this, i upgraded my kernel to 2.6.15.1 and recomplie everything, and wala! with just one USB mouse identifier in xorg.conf, both my PS/2 & USB work together.

boot time is just 1/3 of what previously. i'm very amazed. I always assumed that linux took longer to boot than windows, it just fly when complie properly.

nick021 01-23-2006 05:35 AM

enjoy...friends r there to help
 
hi jazzadict

nice to hear that ....
now enjoy..


All times are GMT -5. The time now is 11:42 AM.