Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-06-2004, 11:19 AM
|
#1
|
Member
Registered: Apr 2003
Location: Singapore
Distribution: slackware 9.1
Posts: 55
Rep:
|
USB mouse is on, but not working....
I just installed slackware 9.1. I have a USB optical mouse. Its light is on, but the cursor is not reacting when the mouse moves.
I have a USB keyboard, which is working well.
Could anyone tell me how to solve this problem ?
thanks.
|
|
|
02-06-2004, 12:46 PM
|
#2
|
Member
Registered: Mar 2003
Location: Berlin
Distribution: Slackware current
Posts: 310
Rep:
|
you have to add it in your /etc/XF86Config
It should look like this:
Code:
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
EndSection
and in the Serverlayout section add
Code:
InputDevice "Mouse1" "AlwaysCore"
This lets you plug in other USB-mice as well.
|
|
|
02-08-2004, 09:48 AM
|
#3
|
Member
Registered: Apr 2003
Location: Singapore
Distribution: slackware 9.1
Posts: 55
Original Poster
Rep:
|
Hey, man, I still haven't got the mouse running.
here is my XF86Config code:
Code:
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "Auto"
Option "Device" "/dev/mouse"
and for the ServerLayout section, I have :
Code:
InputDevice "Mouse1" "CorePointer"
any idea?
|
|
|
02-08-2004, 10:21 AM
|
#4
|
Member
Registered: Mar 2003
Location: Berlin
Distribution: Slackware current
Posts: 310
Rep:
|
Erm,.... check what I wrote and what you wrote! Note the difference?
A USB mouse uses another inputsystem that create device files in /dev/input. There should be several /dev/input/mouseX and one /dev/input/mice and a couple others. "mice" stands for all mouseX together.
To check whether it's there or not, do a `cat /dev/input/mice` and move your mouse. You should see gibberish. Those are signals from your mouse and they mean that the device is working.
Then you have to change "/dev/mouse" to "/dev/input/mice".
If not then do an `lsmod` and post it here.
|
|
|
02-09-2004, 10:45 AM
|
#5
|
Member
Registered: Apr 2003
Location: Singapore
Distribution: slackware 9.1
Posts: 55
Original Poster
Rep:
|
yes, you are right, using cat /dev/input/mice, the mouse was generating something on the screen. However, after modified the XF86Config as you told, startx cannot work. so I turned it back to the old setting( the one showed in old post), and
this is the result of lsmod:
Code:
Module Size Used by Not tainted
snd-pcm-oss 37252 0
snd-mixer-oss 11992 0 [snd-pcm-oss]
usbkbd 3416 0 (unused)
keybdev 1952 0 (unused)
mousedev 4244 0
hid 21156 0 (unused)
usbmouse 2008 0 (unused)
input 3200 0 [usbkbd keybdev mousedev hid usbmouse]
snd-intel8x0 17156 0
snd-pcm 55904 0 [snd-pcm-oss snd-intel8x0]
snd-timer 13252 0 [snd-pcm]
snd-ac97-codec 37240 0 [snd-intel8x0]
snd-page-alloc 6004 0 [snd-intel8x0 snd-pcm]
snd-mpu401-uart 3136 0 [snd-intel8x0]
snd-rawmidi 12512 0 [snd-mpu401-uart]
snd-seq-device 3920 0 [snd-rawmidi]
snd 27460 0 [snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 3332 3 [snd]
eepro100 19380 1
mii 2304 0 [eepro100]
usb-ohci 18888 0 (unused)
ehci-hcd 16872 0 (unused)
usbcore 58400 1 [usbkbd hid usbmouse usb-ohci ehci-hcd]
ds 6568 2
yenta_socket 10368 1
pcmcia_core 40032 0 [ds yenta_socket]
ide-scsi 9424 0
agpgart 39576 0 (unused)
I appreciate your help. thanks.
|
|
|
02-18-2004, 10:30 AM
|
#6
|
Member
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slack -- current
Posts: 354
Rep:
|
I have the exact same problem, when I tried the modifications to the XF86Config file startx just wouldn't work so I had to revert to the original.
Any advice on this would be appreciated.
|
|
|
02-18-2004, 10:38 AM
|
#7
|
Member
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slack -- current
Posts: 354
Rep:
|
Ignore my question, did some more digging and found the solution. For anyone else that is stuck, here where I found it:
http://www.linuxquestions.org/questi...ight=usb+mouse
|
|
|
All times are GMT -5. The time now is 01:07 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|