LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 12-12-2002, 01:11 AM   #16
burp
LQ Newbie
 
Registered: Nov 2002
Location: Malaysia
Distribution: Slackware 8.1
Posts: 21

Rep: Reputation: 15

I am running slackware 8.1 with a win XP partition. I had a running PS/2 mouse at gpm as well as gnome for about a month since I first install my slackware.

My cordless mouse went caput 3 days ago. I wanted to try out an optical mouse and purchase a 2 button with a wheel optical mouse (Orion to be specific compatible with Microsoft Intellimouse) It comes as a usb mouse with a ps/2 adapter.

When I plugged it into my ps/2 slot it just run fine without the need to make any changes.

Yesterday I had a nightmare. My Keyboard and mouse both refuse to function. It lagged and not all keys got picked up. And this problem was not confined to the Linux OS but with winXP as well.

I removed the ps/2 adapter and changed into its USB slot. With winXP in was autodetected and is running perfect. The keyboard problem was resolved.

However I could not get my mouse to run in linux both as gpm in console as well as X-window.

This was what I have done:
Uncomment in /etc/rc.d/rc.modules
/sbin/modprobe usb-uhci
/sbin/modprobe hid
/sbin/modprobe usbmouse
/sbin/modprobe mousedev

In XF86Config I had made the following changes
"input device'
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"

In my /dev directory
my /dev/mouse is linked -> to psaux
but my /dev/input/mice has no such link

At boot, it says gpm loaded
but my mouse does not light up. And gpm not functioning
Neither is in X-window. I guess without the former, this is expected.

Question:
What else do I have to do?
Do I have to make the link at /dev/input/mice -> psaux?
Do I have to uncomment for /sbin/modprobe usbkb and
/sbin/modprobe keybdev as well ?
The lingering question was what went wrong anyway. Why did my keyboard got effected. Any idea?
I have read on one of the post that something need to be done at mouseconfig. Is this the place that I had to go.

Thanks
 
Old 12-14-2002, 07:29 PM   #17
burp
LQ Newbie
 
Registered: Nov 2002
Location: Malaysia
Distribution: Slackware 8.1
Posts: 21

Rep: Reputation: 15
There were certain things that I have found out since my last posting.

When I have my intellimouse connected to PS/2 I would intially at login get both the mouse as well as keyboard function. Eventually after a few keypress I find that the keypress lags and unresponsive. This problem extends even into X-windows.

I could overcome this when I kill gpm.

Once gpm is killed, the mouse works fine including wheel scroll but and I have no problem typing in console as well as X-windows

I would still like to get back mouse in console.

Thanks
 
Old 12-15-2002, 01:48 AM   #18
hecresper
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & FreeBSD
Posts: 169

Rep: Reputation: 30
Hmm,

I'm running gpm for the console mode and using IMPS/2 + /dev/mouse in XF86Config for X mode. I have an MS Intellimouse Explorer Optical connected thru PS/2 port. I also have the ZAxisMapping option in there.
 
Old 01-02-2003, 12:33 PM   #19
jymbo
Member
 
Registered: Jan 2003
Posts: 217

Rep: Reputation: 30
Cool USB Optical Intellimouse with Slackware

Hey, all. Glad to have finally found a Slack playground. Can I play?

Here is a contrib I sent-in to LNO. I Hope you get some use out of it:
(oh, and btw, yes, Slackware does rule...)


"Fed-up with all the RedHat USB mice HowTos, I finally discovered the correct way to get this and almost any USB mouse working under Slackware 8.1-

1.) Load the USB modules. Edit /etc/rc.d/rc.modules and uncomment-out (or just add) the following lines:

/sbin/modprobe usb-uhci (for Intel and VIA chips)
/sbin/modprobe usbmouse
/sbin/modprobe mousedev

2.) Plug in your USB mouse and reboot

3.) Check to see if your mouse was recognized:

$ dmesg |grep usb

note: if all went well, you should see reference to your USB mouse being assigned to "input0" or "input1". If so, congratulations...if not, well, then I can't help you...

4.) Test it.
$ cat /dev/input/mouse0 (if your usb mouse was assigned to "input1", then change to "mouse1")

Move the mouse around....you should see some garble displayed on your terminal.

Got it? Good. Now reconfig your XFree86 file:

5.) Here's my config. It works with both my Intellimouse and my Logitech USB trackball (input0):

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mouse0"
Option "ZAxisMapping" "4 "5

6.) Restart X and enjoy!"
 
Old 01-31-2003, 12:44 AM   #20
Grim Reaper
Member
 
Registered: Apr 2002
Distribution: Gentoo 2006.0 AMD64
Posts: 399

Rep: Reputation: 30
jymbo...does that allow your scroll, forward + back buttons to work also? without installing that imwheel software?
 
Old 01-31-2003, 03:17 PM   #21
jymbo
Member
 
Registered: Jan 2003
Posts: 217

Rep: Reputation: 30
Unhappy

If you add:

Option "Buttons" "5"

the back button on the Intellimouse will work, but the forward doesn't (go figure).
 
Old 02-05-2003, 02:07 AM   #22
calpha
LQ Newbie
 
Registered: Feb 2003
Posts: 3

Rep: Reputation: 0
Thank you Lawhd!.

I've been dying like a mofo to get my friggin mouse from doing it's heroin crack dance ever since I installed Slack.

The Mandrake & RH Distro's really spoiled me.....

but hte IMPS/2 and dev/psaux saved my life.

I can use KDE with the Mouse now. Cuz dear god, using keys only was about to drive me insane.

TYVM.
 
Old 02-05-2003, 07:07 AM   #23
Neshaug
LQ Newbie
 
Registered: Jan 2003
Posts: 5

Rep: Reputation: 0
Hey

xset m 0 0 (turns off accleration and so on)

And everything you do with the X settings will have an effect on the how the mouse works in q3..
 
Old 04-30-2003, 08:13 PM   #24
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
Thank God for this thread!

Quote:
Originally posted by moorcito
With my generic "intellimouse" if I use "/dev/mouse", it goes all crazy like, so you might try changing this the "InputDevice" section of your XF86Config from

Option "Device" "/dev/mouse"


To look like this:

Option "Device" "/dev/psaux"

And make sure that you add the "ZAxisMapping" part that pesho_p posted. You'll also have to make sure that you have turned off 'emulate 3mouse buttons'. If that is on then the Zmapping won't work, and thus you wheel won't work.
Thankyou! This saved me! Ahh, it's nice to have control over the mouse again!
 
Old 04-30-2003, 09:11 PM   #25
Zarnce
LQ Newbie
 
Registered: Apr 2003
Location: Chicago, IL
Distribution: Slack since 94
Posts: 12

Rep: Reputation: 0
using the mouse wheel

The best way to set up the wheel on your mouse and find out more mouse info is with a program call IMWheel. My friend wrote it and supports it. You can find it on freshmeat or on his web site jonatkins.org.

It will alow you to use the wheel under console and X.

Just thought I would add in my 2 cents.

Zarnce
 
Old 05-01-2003, 01:44 PM   #26
DaFrEQ
Member
 
Registered: Mar 2002
Location: Earth... for now
Distribution: SuSE9.2 AMD64; LFS; GentooAMD64; Ubuntu10.04; RHEL 5.5; Solaris10(SPARC)
Posts: 418

Rep: Reputation: 30
Ok, so I'm having the same prob with Slack9. (Regular install from ISO)

PS/2 mouse works, center wheel "click" works, but not scroll.
I changed the XF86Config file to read:

Quote:
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5"
EndSection
Then, the X server will not start because it says "4 5" isn't a valid word.

Any ideas?
I removed the "4 5" protion (and kept the remainder of the config) and X started up just fine. No wheel, but everything else still worked.

L8rz
 
Old 05-01-2003, 01:52 PM   #27
DaFrEQ
Member
 
Registered: Mar 2002
Location: Earth... for now
Distribution: SuSE9.2 AMD64; LFS; GentooAMD64; Ubuntu10.04; RHEL 5.5; Solaris10(SPARC)
Posts: 418

Rep: Reputation: 30
P.S. I tried the /dev/psaux as well
 
Old 05-01-2003, 02:22 PM   #28
hecresper
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & FreeBSD
Posts: 169

Rep: Reputation: 30
You're missing this:

Option "Buttons" "5"

before the ZAxisMapping line.
 
Old 05-01-2003, 02:55 PM   #29
DaFrEQ
Member
 
Registered: Mar 2002
Location: Earth... for now
Distribution: SuSE9.2 AMD64; LFS; GentooAMD64; Ubuntu10.04; RHEL 5.5; Solaris10(SPARC)
Posts: 418

Rep: Reputation: 30
Nope. It says "5" is not a valid keyword in this section

Thats what it keeps saying anytime there is a numerical value used for Buttons or ZAxisMapping.

Ideas?

L8rz n tnx
 
Old 05-01-2003, 04:14 PM   #30
hecresper
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & FreeBSD
Posts: 169

Rep: Reputation: 30
Sorry, I assumed it was not there by looking at what you posted.

Ok, so how about this:

Option "Protocol" "ExplorerPS/2"
 
  


Reply



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
Bluetooth Intellimouse ricey Linux - Hardware 16 01-07-2004 12:01 PM
PS/2 vs. Intellimouse ?? CodeWarrior Linux - Hardware 3 05-29-2003 01:59 AM
Need help with intellimouse numnuttz Linux - Newbie 1 02-26-2003 11:15 AM
Intellimouse questions again? wass29 Linux - Hardware 5 02-05-2003 07:55 AM
intellimouse llama_meme *BSD 4 05-16-2002 12:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:36 PM.

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
Open Source Consulting | Domain Registration