LinuxQuestions.org
Review your favorite Linux distribution.
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 01-20-2006, 02:11 AM   #1
jazzaddict
LQ Newbie
 
Registered: Jan 2005
Distribution: slackware 10.2
Posts: 13

Rep: Reputation: 0
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?
 
Old 01-20-2006, 02:15 AM   #2
jazzaddict
LQ Newbie
 
Registered: Jan 2005
Distribution: slackware 10.2
Posts: 13

Original Poster
Rep: Reputation: 0
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]
 
Old 01-20-2006, 03:40 AM   #3
jazzaddict
LQ Newbie
 
Registered: Jan 2005
Distribution: slackware 10.2
Posts: 13

Original Poster
Rep: Reputation: 0
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.
 
Old 01-20-2006, 04:38 AM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
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.
 
Old 01-20-2006, 11:29 AM   #5
jazzaddict
LQ Newbie
 
Registered: Jan 2005
Distribution: slackware 10.2
Posts: 13

Original Poster
Rep: Reputation: 0
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?
 
Old 01-20-2006, 12:45 PM   #6
Crobat
Member
 
Registered: Dec 2005
Distribution: Slackware 10.2, Slackware 11.0
Posts: 135

Rep: Reputation: 15
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.
 
Old 01-22-2006, 12:11 AM   #7
nick021
Member
 
Registered: Jan 2005
Location: india
Distribution: slackware 10.0 (kernel 2.4.26)
Posts: 104

Rep: Reputation: 15
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...

Last edited by nick021; 01-22-2006 at 12:14 AM.
 
Old 01-22-2006, 11:01 AM   #8
jazzaddict
LQ Newbie
 
Registered: Jan 2005
Distribution: slackware 10.2
Posts: 13

Original Poster
Rep: Reputation: 0
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.
 
Old 01-22-2006, 11:04 AM   #9
jazzaddict
LQ Newbie
 
Registered: Jan 2005
Distribution: slackware 10.2
Posts: 13

Original Poster
Rep: Reputation: 0
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.
 
Old 01-22-2006, 01:21 PM   #10
nick021
Member
 
Registered: Jan 2005
Location: india
Distribution: slackware 10.0 (kernel 2.4.26)
Posts: 104

Rep: Reputation: 15
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
 
Old 01-22-2006, 01:32 PM   #11
nick021
Member
 
Registered: Jan 2005
Location: india
Distribution: slackware 10.0 (kernel 2.4.26)
Posts: 104

Rep: Reputation: 15
mouse prob..

remeber to make corresponding changes in serverlayout section also..
 
Old 01-23-2006, 03:31 AM   #12
jazzaddict
LQ Newbie
 
Registered: Jan 2005
Distribution: slackware 10.2
Posts: 13

Original Poster
Rep: Reputation: 0
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.
 
Old 01-23-2006, 06:35 AM   #13
nick021
Member
 
Registered: Jan 2005
Location: india
Distribution: slackware 10.0 (kernel 2.4.26)
Posts: 104

Rep: Reputation: 15
enjoy...friends r there to help

hi jazzadict

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


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 not working Googly Linux - Hardware 2 04-26-2004 11:09 PM
USB mouse is on, but not working.... whitefox Slackware 6 02-18-2004 11:38 AM
ps/2-mouse via usb-adaptor not working - usb error=-110 mule Fedora 0 01-30-2004 07:23 AM
slackware 9.1 USB mouse and other usb devices not working jimMC Linux - Hardware 11 01-24-2004 11:58 AM
usb mouse not working fullmark Linux - Newbie 0 01-20-2003 09:54 PM


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

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration