LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 05-28-2004, 03:01 AM   #1
props666999
Member
 
Registered: Oct 2003
Location: Greece
Posts: 260

Rep: Reputation: 30
installing usb mice in slackware


Hello


Im on slackware 9.1 and im trying to install my microsoft usb mice on my toshiba laptop . Tried many things but didnt work .Any help ???


Thank You
 
Old 05-28-2004, 04:51 AM   #2
sueisfine
Member
 
Registered: Dec 2003
Distribution: Gentoo
Posts: 33

Rep: Reputation: 15
do you have hotplug service running?

if you have optical mouse, does your mouse light is lit, when machine boots up?
 
Old 05-28-2004, 04:57 AM   #3
props666999
Member
 
Registered: Oct 2003
Location: Greece
Posts: 260

Original Poster
Rep: Reputation: 30
when slackware loads at the beginning i read something like :" 5 buttons usb mouse detected "

and the mouse seems gets power from the usb(the bottom of the mice gets red) but is not working . Changing to ps2 works fine


just trying to make it work with usb


thanks for the reply!!
 
Old 05-28-2004, 05:01 AM   #4
sueisfine
Member
 
Registered: Dec 2003
Distribution: Gentoo
Posts: 33

Rep: Reputation: 15
does your mouse gets power after booting up or does it stay blank. is the light lit or is it not.

if it's lit, then the problem must be in your X config.
 
Old 05-28-2004, 08:16 AM   #5
skog
Member
 
Registered: Sep 2003
Location: TX
Distribution: slackware
Posts: 301

Rep: Reputation: 30
in /etc/X11/XF86Config

Section "InputDevice"

Identifier "Mouse"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"

EndSection

the option line is probably your problem, depending on how you have your kernel setup the device will be in different places.

Option "Device" "/dev/input/mice"

what you need to do is cat the mouse devices in your /dev directory and then move the mouse around it should put garbage on your screen then hit ctrl-c and change that file as the Device Option in your XF86Config.

some places you might want to look are
/dev/mouse
/dev/input/mice
/dev/input/mouse0
/dev/usb/mice
/dev/usb/mouse0

ex: cat /dev/mouse
it will say cat: mouse: No such device
or
you will get all kinds of garbage ... garbage in this case means you found your mouse.
 
Old 05-28-2004, 09:00 AM   #6
datadriven
Member
 
Registered: Jun 2003
Location: Holly Hill, Florida
Distribution: Slackware 10.1
Posts: 317

Rep: Reputation: 30
Error messages can be found in the file /var/log/XFree86.0.log
 
Old 05-28-2004, 10:40 AM   #7
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
I thought I read somewhere about GDM or whatever the program is for controlling your mouse in console, I thought you had to change that from IMPS/2 to USB, and then it'll work for USB mice.
 
Old 05-28-2004, 10:55 AM   #8
skog
Member
 
Registered: Sep 2003
Location: TX
Distribution: slackware
Posts: 301

Rep: Reputation: 30
IMPS/2 is for usb mice

PS2 is for ps2 mice

the mouse control in the console gpm is different from the mouse control in X
 
Old 05-28-2004, 11:07 AM   #9
props666999
Member
 
Registered: Oct 2003
Location: Greece
Posts: 260

Original Poster
Rep: Reputation: 30
my mice works fine when pluging into a ps2 extension , originally my mice is usb , it should be the usb drive that need to be fixed



Thank You
 
Old 05-28-2004, 12:00 PM   #10
sueisfine
Member
 
Registered: Dec 2003
Distribution: Gentoo
Posts: 33

Rep: Reputation: 15
we can understand you, seems like you have problems understanding us. did you try skog's advice? is the red (or whatever) light in your mouse lit, when plugged into USB?

we can't help you, when you keep sobbing about your problem.

Last edited by sueisfine; 05-28-2004 at 12:03 PM.
 
Old 05-28-2004, 12:16 PM   #11
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
just follow the advice skog gave? try step by step, for each /dev that he listed, (/dev/mouse, /dev/input/mice, etc) do this:

cat /dev/mouse
(now wave the mouse around)
ctrl-C

you're looking for the one that spews gibberish when you move the mouse. that means that it's pointing to the right device.

then, as he said, you need to make sure that your XF86Config file lists that device, and that the protocol is "IMPS/2" that should allow you to use your mouse plugged into a USB port.
 
Old 05-28-2004, 01:08 PM   #12
props666999
Member
 
Registered: Oct 2003
Location: Greece
Posts: 260

Original Poster
Rep: Reputation: 30
Smile

WORKS FINE!!

i followed skog directions correctly this time !!!


Thank You guys
 
Old 05-30-2004, 03:41 PM   #13
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,746

Rep: Reputation: 458Reputation: 458Reputation: 458Reputation: 458Reputation: 458
Is the 'cating' supposed to be done with gpm installed and running?
 
Old 05-31-2004, 03:01 AM   #14
sueisfine
Member
 
Registered: Dec 2003
Distribution: Gentoo
Posts: 33

Rep: Reputation: 15
in my mind, cat'ing is only for detecting devices. how this gpm stuff works?
 
Old 05-31-2004, 04:44 AM   #15
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,746

Rep: Reputation: 458Reputation: 458Reputation: 458Reputation: 458Reputation: 458
SKOG?
 
  


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 Wireless Optical Mice kayoss717 Linux - Newbie 4 10-30-2005 09:04 AM
USB vs PS/2 mice monohouse Linux - Hardware 4 01-04-2005 04:43 PM
xmodmap for multiple mice? external and laptop mice scrolling back/forward, etc. bleargh Linux - Software 3 12-31-2004 08:48 AM
What's the deal with USB mice and keyboards? R00ts General 20 09-19-2004 02:48 AM
Of Mice and USB ports .. haha kr00sh1n80r Linux - General 3 04-25-2002 02:29 AM


All times are GMT -5. The time now is 04:46 PM.

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