LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-06-2004, 11:19 AM   #1
whitefox
Member
 
Registered: Apr 2003
Location: Singapore
Distribution: slackware 9.1
Posts: 55

Rep: Reputation: 15
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.
 
Old 02-06-2004, 12:46 PM   #2
Misel
Member
 
Registered: Mar 2003
Location: Berlin
Distribution: Slackware current
Posts: 310

Rep: Reputation: 30
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.
 
Old 02-08-2004, 09:48 AM   #3
whitefox
Member
 
Registered: Apr 2003
Location: Singapore
Distribution: slackware 9.1
Posts: 55

Original Poster
Rep: Reputation: 15
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?
 
Old 02-08-2004, 10:21 AM   #4
Misel
Member
 
Registered: Mar 2003
Location: Berlin
Distribution: Slackware current
Posts: 310

Rep: Reputation: 30
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.
 
Old 02-09-2004, 10:45 AM   #5
whitefox
Member
 
Registered: Apr 2003
Location: Singapore
Distribution: slackware 9.1
Posts: 55

Original Poster
Rep: Reputation: 15
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.
 
Old 02-18-2004, 10:30 AM   #6
KMcD
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slack -- current
Posts: 354

Rep: Reputation: 30
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.
 
Old 02-18-2004, 10:38 AM   #7
KMcD
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slack -- current
Posts: 354

Rep: Reputation: 30
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
 
  


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 10:09 PM
help getting usb mouse working liquigel Debian 1 02-18-2004 01:45 PM
ps/2-mouse via usb-adaptor not working - usb error=-110 mule Fedora 0 01-30-2004 06:23 AM
slackware 9.1 USB mouse and other usb devices not working jimMC Linux - Hardware 11 01-24-2004 10:58 AM
usb mouse not working eduardo_ha Linux - Hardware 14 01-22-2003 10:12 PM


All times are GMT -5. The time now is 10:35 AM.

Main Menu
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